Driver issues?

Questions about Wine on Linux
Locked
Kyle
Newbie
Newbie
Posts: 2
Joined: Sat Apr 28, 2012 2:16 pm

Driver issues?

Post by Kyle »

hi there,
I'm running Ubuntu 12.04 with wine 1.4, I have an nvidia gtx 480 card and installed the 295.40 drivers.
I'm trying to play touhou project but after a little dialog ask to choose a resolution and click ok I get some errors:

Code: Select all

err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most likely your OpenGL drivers haven't been installed correctly (using GL renderer "GeForce GTX 480/PCIe/SSE2", version "1.4 (2.1.2 NVIDIA 295.40)").
err:d3d_caps:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat.
err:d3d:InitAdapters Failed to get a gl context for default adapter
Direct3D9 is not available without OpenGL.
fixme:win:WINNLSEnableIME hwnd (nil) enable 1: stub!
So after lurking a bit around I tried to using this:
"LD_PRELOAD=/usr/lib32/libGL.so wine th12.exe"

But this time I get immediately this error before the resolution dialog pop up:

Code: Select all

wine: error while loading shared libraries: libnvidia-tls.so.295.40: wrong ELF class: ELFCLASS64
any tips?
thanks you
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Post by lahmbi5678 »

Kyle
Newbie
Newbie
Posts: 2
Joined: Sat Apr 28, 2012 2:16 pm

Post by Kyle »

thanks for the reply, solved after I had to reinstall ubuntu due a disk failure (I don't know whether to call it luck or not but a fresh install solved me a lot of things)

Anyway is bad to create a wine prefix without the dot in the name of the folder for hide it?
Usurp
Level 4
Level 4
Posts: 161
Joined: Sat Apr 19, 2008 7:16 am

Post by Usurp »

Kyle wrote:thanks for the reply, solved after I had to reinstall ubuntu due a disk failure (I don't know whether to call it luck or not but a fresh install solved me a lot of things)

Anyway is bad to create a wine prefix without the dot in the name of the folder for hide it?
You can give it any name you want, just avoid spaces for easier use.
I put CSI:Miami game into /home/syl/wineCSI.

In your case it would be :

Code: Select all

WINEPREFIX=/home/kyle/wineTh12 wine th12.exe
(I don't know if you still need LD_PRELOAD, don't forget to add it)
Locked