X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled

Questions about Wine on Linux
Locked
industrai
Newbie
Newbie
Posts: 4
Joined: Mon Feb 01, 2010 11:50 pm

X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled

Post by industrai »

Hi All,

I'm trying to run Mavis Beacon Teaches Typing 20 on my Ubuntu 9.10 64 bit with wine 1.1.37, but it is extremely laggy. The mouse stutters ever 2 seconds or so, making it difficult to click on anything.

Running it from command line, I noticed this error message:

Code: Select all

err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most likely your OpenGL drivers haven't been installed correctly
I am using the ATI open source driver, and from what I can tell DRI is working. glxinfo says:

Code: Select all

display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
I've searched the error using the search function, but the search doesn't seem to bring back anything relevant. Using google found this forum thread,

http://forum.winehq.org/viewtopic.php?t=7370

The solution appears to be installing the 32bit DRI drivers, which I believe are ia32-libs. The version installed on my system is 2.7ubuntu17.

I found this bug:

https://bugs.launchpad.net/ubuntu/+sour ... bug/506320

Which appears to be specific to nvidia (and doesn't fix my problem). I also tried LD_PRELOAD=/usr/lib32/libGL.so wine Mavis.exe, and that made it even slower.

Anyone else run into something similar? Any thoughts appreciated.
Gert van den Berg

X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled

Post by Gert van den Berg »

On Tue, Feb 2, 2010 at 07:07, industrai <[email protected]> wrote:
Hi All,

I'm trying to run Mavis Beacon Teaches Typing 20 on my Ubuntu 9.10 64 bit with wine 1.1.37, but it is extremely laggy.  The mouse stutters ever 2 seconds or so, making it difficult to click on anything.

Running it from command line, I noticed this error message:


Code:
err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most likely your OpenGL drivers haven't been installed correctly
Is the program using any 3D? If not, that message is probably not relevant?

Gert
industrai
Newbie
Newbie
Posts: 4
Joined: Mon Feb 01, 2010 11:50 pm

Post by industrai »

I am not sure if it is using any 3D or not to render the menus.
Thunderbird
Level 5
Level 5
Posts: 336
Joined: Mon Nov 24, 2008 8:10 am

Post by Thunderbird »

The only time you see that warning is when a program uses 3D. In case of DRI drivers it can mean that libGL was unable to load the 32-bit dri module for your card. There used to be an ubuntu issue regarding the 32-bit dri path e.g. it used /usr/lib/dri instead of /usr/lib32/dri. Not sure if that issue is still around. If it is try 'export LIBGL_DRIVERS_PATH=/usr/lib32/dri' and then run wine from that terminal.
industrai
Newbie
Newbie
Posts: 4
Joined: Mon Feb 01, 2010 11:50 pm

Post by industrai »

Thunderbird wrote:try 'export LIBGL_DRIVERS_PATH=/usr/lib32/dri' and then run wine from that terminal.
I'll give that a shot tonight, thanks!
industrai
Newbie
Newbie
Posts: 4
Joined: Mon Feb 01, 2010 11:50 pm

Post by industrai »

after running export LIBGL_DRIVERS_PATH=/usr/lib32/dri, the screen redraws incredibly slow, making it difficult to find, let alone click any buttons.

Any ideas?
lev258
Newbie
Newbie
Posts: 3
Joined: Tue Aug 20, 2013 1:34 pm

X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled

Post by lev258 »

I have Ubuntu 12.04 64 bit with kernel 3.5. My Pc has an Intel HD 4000 video card. glxinfo shows direct rendering, but wine says: err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most likely your OpenGL drivers haven't been installed correctly (using GL renderer "Mesa DRI Intel(R) Ivybridge Mobile ", version "1.4 (3.0 Mesa 8.0.4)
Not sure, but I think I have the 32 bit libs. Trying to play Stranded II with wine 1.4.
Can you give me some advice?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: X11DRV_WineGL_InitOpenglInfo Direct rendering is disable

Post by dimesio »

Try reinstalling your graphics drivers. If you need help, ask on the Ubuntu forum.
lev258
Newbie
Newbie
Posts: 3
Joined: Tue Aug 20, 2013 1:34 pm

Re: X11DRV_WineGL_InitOpenglInfo Direct rendering is disable

Post by lev258 »

I am using the open source intel driver and as I said glxinfo says things are OK. I read some threads and I think the problem is that Wine somehow doesn't detect the installed opengl. That's why I am on this forum.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: X11DRV_WineGL_InitOpenglInfo Direct rendering is disable

Post by dimesio »

There is a known bug with Wine not being able to initialize directx on old Intel GPUs (http://bugs.winehq.org/show_bug.cgi?id=34238); however, the error messages that indicate that bug are different than the one you are seeing.

As the message itself states, in most cases the reason OpenGL is disabled is because your graphics drivers have not been properly installed. Since packages vary greatly from distro to distro, figuring out what package(s) you need to install is something for experienced users of your distro, and you are more likely to find someone who knows the answer on your distro forum. All I can tell you is that I have never had that problem on openSUSE, and that's obviously not helpful.
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: X11DRV_WineGL_InitOpenglInfo Direct rendering is disable

Post by lahmbi5678 »

This is just a guess, but I think you need both the mesa/opengl packages and the intel driver (typically called xserver-xorg-video-intel*) in 32 bit. Maybe you are missing one of them.
lev258
Newbie
Newbie
Posts: 3
Joined: Tue Aug 20, 2013 1:34 pm

Re: X11DRV_WineGL_InitOpenglInfo Direct rendering is disable

Post by lev258 »

As far as I know, I have the drivers installed, I even reinstalled them.
After some search I found something. The last post here helped me: http://forums.debian.net/viewtopic.php?p=390327. One of the packages weren't listed in Synaptic, but could install it from Terminal. I still have some issues with performance but that's my own problem. Thank you for the tips.
Locked