http://bugs.winehq.org/show_bug.cgi?id=14689
Summary: no direct rendering with OpenGL and ATI (fglrx) Product: Wine Version: 1.1.2 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: opengl AssignedTo: wine-bugs@winehq.org ReportedBy: a.keusch@gmx.at
Created an attachment (id=15166) --> (http://bugs.winehq.org/attachment.cgi?id=15166) WINEDEBUG=+wgl wine Wow.exe
I'm using a ATI/AMD 4850 HD on Ubuntu 8.04.1 64 Bit with wine 1.1.2.
The fglrx is correctly installed (Catalyst 8.7):
# fglrxinfo display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: ATI Radeon HD 4800 Series OpenGL version string: 2.1.7769 Release
# glxinfo | grep rendering direct rendering: Yes
Native games work perfectly (90 fps in Savage 2), in the xorg.conf "UseFastTLS" is set to "2".
But if i run WoW using the opengl API (SET gxApi "opengl") it runs slow and with graphical corruption (missing minimap, missing textures), the cpu load is at 100%, and WINEDEBUG=+wgl wine Wow.exe reports:
trace:wgl:X11DRV_WineGL_InitOpenglInfo Direct rendering enabled: False
It looks like wine doesn't use direct rendering even if it works everywhere else.
http://bugs.winehq.org/show_bug.cgi?id=14689
--- Comment #1 from Alexander Keusch a.keusch@gmx.at 2008-07-29 13:55:58 --- Created an attachment (id=15167) --> (http://bugs.winehq.org/attachment.cgi?id=15167) /etc/X11/xorg.conf
http://bugs.winehq.org/show_bug.cgi?id=14689
--- Comment #2 from Alexander Keusch a.keusch@gmx.at 2008-07-29 13:57:35 --- Created an attachment (id=15168) --> (http://bugs.winehq.org/attachment.cgi?id=15168) glxinfo
http://bugs.winehq.org/show_bug.cgi?id=14689
Alexander Keusch a.keusch@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- OS/Version|other |Linux Platform|Other |PC-x86-64
http://bugs.winehq.org/show_bug.cgi?id=14689
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor
--- Comment #3 from Vitaliy Margolen vitaliy@kievinfo.com 2008-07-29 16:04:57 --- What distro? Did you disable compiz?
http://bugs.winehq.org/show_bug.cgi?id=14689
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|no direct rendering with |WoW using OpenGL runs slow |OpenGL and ATI (fglrx) |
http://bugs.winehq.org/show_bug.cgi?id=14689
--- Comment #4 from Alexander Keusch a.keusch@gmx.at 2008-07-30 01:48:19 --- My distro is Ubuntu 8.04.1 64Bit.
I've tried it with an without compiz. If i run WoW in fullscreen mode it doesn't change anything. In windowed mode WoW window additionally flickers if compiz is enabled.
http://bugs.winehq.org/show_bug.cgi?id=14689
--- Comment #5 from Lei Zhang thestig@google.com 2008-07-30 13:43:46 --- Do you have /usr/lib32/libGL.so.* ? If they don't exist, then Wine (a 32-bit app) won't be able to find the openGL libraries it needs, whereas glxinfo (a 64-bit app) will find 64-bit libGL in /usr/lib.
http://bugs.winehq.org/show_bug.cgi?id=14689
--- Comment #6 from Alexander Keusch a.keusch@gmx.at 2008-07-30 14:21:40 --- /usr/lib32/libGL.so.* is available:
# ls -l /usr/lib32/libGL.so.* lrwxrwxrwx 1 root root 12 2008-07-24 14:18 /usr/lib32/libGL.so.1 -> libGL.so.1.2 -rw-r--r-- 1 root root 483332 2008-07-24 14:16 /usr/lib32/libGL.so.1.2
http://bugs.winehq.org/show_bug.cgi?id=14689
Tomasz Sałaciński tsalacinski@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tsalacinski@gmail.com
--- Comment #7 from Tomasz Sałaciński tsalacinski@gmail.com 2008-08-06 04:50:16 --- I haven't got the message about direct rendering, but setting "Ground clutter destiny" and "Ground clutter radius" to minimum improved WoW performance a lot, from 12FPS to 89FPS.
http://bugs.winehq.org/show_bug.cgi?id=14689
--- Comment #8 from Roderick Colenbrander thunderbird2k@gmx.net 2008-08-12 07:40:26 --- This is a known issue (the direct rendering one). Most likely the drivers are running out of virtual memory (we only leave a few hundred MB for normal libraries). The nvidia drivers seem to be more tolerant to this. The real solution is to override the memory functions of libGL.so and forward those to win32 calls, so the drivers can use win32 memory of which we have enough. There is nothing else that can be done about it (except for using a memory hack which is attached to some other bug report).
http://bugs.winehq.org/show_bug.cgi?id=14689
Roderick Colenbrander thunderbird2k@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #9 from Roderick Colenbrander thunderbird2k@gmx.net 2008-08-16 10:50:23 --- Marking this bug as a duplicate of 13335 as it is really the same issue.
*** This bug has been marked as a duplicate of bug 13335 ***
http://bugs.winehq.org/show_bug.cgi?id=14689
James Hawkins truiken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from James Hawkins truiken@gmail.com 2008-08-16 11:53:02 --- Closing.