Skip to contentSkip to conversation

wine needs freetype?

Qemu-devel Jon Nall 5 participants 6 messages Aug 9, 2003 – Aug 11, 2003

lore
Share & tools
lore

Jon Nall

author
#0 lore raw

so i got bold last night and tried to run a wine program (putty.exe), but it crapped out with the following. anyone else seen this or know how to fix it? i'm using the qemu-0.1.6-i386-wine.tar.gz from the website.

thanks.
nall.

nall@reykjavik> ./qemu /usr/local/qemu-i386/wine/bin/wine /usr/local /qemu-i386/wine/c/Program\ Files/putty.exe /home/nall/qemu-cvs/test/qemu

Could not stat /mnt/fd0 (No such file or directory), ignoring drive A:
Could not stat /cdrom (No such file or directory), ignoring drive D:
qemu: Unsupported syscall: 186
qemu: Unsupported syscall: 186
Wine cannot find the FreeType font library. To enable Wine to use TrueType fonts please install a version of FreeType greater than or equal to 2.0.5.
http://www.freetype.org

X Error of failed request:  145
Major opcode of failed request:  136 (XFree86-DGA)
Minor opcode of failed request:  0 (XDGAQueryVersion)
Serial number of failed request:  174

Current serial number in output stream: 174

nall@reykjavik>echo $status
1

#1 lore raw

Maybe a problem related to Xfree DGA, not to Freetype.

Fabrice.

Quoted 36 lines · Jon Nall

so i got bold last night and tried to run a wine program (putty.exe), but it crapped out with the following. anyone else seen this or know how to fix it? i'm using the qemu-0.1.6-i386-wine.tar.gz from the website.

thanks.
nall.

nall@reykjavik> ./qemu /usr/local/qemu-i386/wine/bin/wine /usr/local /qemu-i386/wine/c/Program\ Files/putty.exe /home/nall/qemu-cvs/test/qemu

Could not stat /mnt/fd0 (No such file or directory), ignoring drive A:
Could not stat /cdrom (No such file or directory), ignoring drive D:
qemu: Unsupported syscall: 186
qemu: Unsupported syscall: 186
Wine cannot find the FreeType font library. To enable Wine to use TrueType fonts please install a version of FreeType greater than or equal to 2.0.5.
http://www.freetype.org

X Error of failed request:  145
Major opcode of failed request:  136 (XFree86-DGA)
Minor opcode of failed request:  0 (XDGAQueryVersion)
Serial number of failed request:  174

Current serial number in output stream: 174

nall@reykjavik>echo $status
1

------------------------------------------------------------------------

_______________________________________________
Qemu-devel mailing list
[email protected]
http://mail.nongnu.org/mailman/listinfo/qemu-devel

Signature · 1 line
Fabrice.
author
#2 lore raw
Quoted 2 lines · Fabrice Bellard

Maybe a problem related to Xfree DGA, not to Freetype.

yep. if in the XF86Config "Module" section i replace Load "extmod"

with
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection

putty.exe works great.

nall.

#3 lore raw
Quoted 11 lines · Jon Nall
Quoted 2 lines · Fabrice Bellard

Maybe a problem related to Xfree DGA, not to Freetype.

yep. if in the XF86Config "Module" section i replace Load "extmod"

with
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection

It's simpler to disable use of DGA in WINE config file (I don't have an example at hand, but it's rather easy, just grep for DGA in your .wine) and that way, you don't disable DGA usage for native X apps. There are a few other things in .wine that are worth tweaking with qemu, like using the native window manager etc...

Ben.

#4 lore raw
Quoted 4 lines

It's simpler to disable use of DGA in WINE config file (I don't have an example at hand, but it's rather easy, just grep for DGA in your .wine) and that way, you don't disable DGA usage for native X apps.

In your .wine/config file, in section [x11drv], uncomment (or add) the following line :

; Use XFree86 DGA extension if present
"UseDGA" = "N"

Lionel

Signature · 1 line
		 Lionel Ulmer - http://www.bbrox.org/
#5 lore raw
In reply to Jon Nall
Quoted 6 lines · Jon Nall
Quoted 1 line · Fabrice Bellard

Maybe a problem related to Xfree DGA, not to Freetype.

yep. if in the XF86Config "Module" section i replace Load "extmod"

Quoted 7 lines

with
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection

putty.exe works great.

FWIW, this is probably an endianness bug in the X server and/or the X libraries - the byte order is probably assumed to be the same for server and client for local connections. It might be a good idea to open a bug in the XFree86 bugzilla for this.

Signature · 2 lines
Earthling Michel Dänzer   \  Debian (powerpc), XFree86 and DRI developer
Software libre enthusiast  \     http://svcs.affero.net/rm.php?r=daenzer