Re: Wine not detecting correctly graphic vendor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Recently i changed my old 6600GT with a less old HD4850, uninstalled the nvidia drivers and install the propietary catalyst last version. All run perfectly, glxinfo shows direct rendering yes and the corresponding bunch of extensions and glxgears rate clear high.
> 
> But when i try to run any 3D app through wine it fails with for example:
> 
> $ wine Oblivion.exe 
> fixme:mixer:ALSA_MixerInit No master control found on HDA ATI HDMI, disabling mixer
> fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x1765a8,0x176508): stub
> err:wgl:has_opengl Failed to load libGL: libnvidia-tls.so.1: no se puede abrír el archivo de objeto compartido: No existe el archivo o directorio
> err:wgl:has_opengl OpenGL support is disabled.
> 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.
> 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:dinput:SysMouseAImpl_Acquire Clipping cursor to (0,0)-(326,265)
> fixme:dinput:SysMouseAImpl_Acquire Clipping cursor to (0,22)-(326,287)
> fixme:dinput:SysMouseAImpl_Acquire Clipping cursor to (0,22)-(326,287)
> err:mmtime:TIME_MMTimeStop Timer still active?!
> 
> as you can see, wine misdetect (I think) my card as a NVIDIA one, trying to load related stuff, but failing because no existence. I saw this year some patches about card detection (mostly related to ram amount) changing the detection method. Anyway, I think this isnt enought realiable because is confusing even the vendor.
> 
> I tryed to force IDs via registry but nothing changed, maybe wgl detects available libraries with an unrelated own method, but it trouble because you may know there are few laptops with mix of cards, I think it should be more accurated.
> 
> My hw ids are: 02:00.0 0300: 1002:9442 (shapphire HD4850)
> 
> Finally, what can I do? maybe if anyone post a working ids I can copy, or a magic "nvidia drivers rubish your system, delete the file xyz" etc
> I have deleted by hand all trace of nvidia named libs on my system, but not enought as I can see. Im also on a clean .wine prefix.
> 
> Thanks
> 

Hi!
  It looks that you still have the Nvidia version of libGL.so online instead of
the needed one. Wine itself doesn't use nvidia-tls, but nvidia's libGL does:
patrol@arcus:/opt64/Nvidia/lib32$ ldd libGL.so.1
        linux-gate.so.1 =>  (0xf77cc000)
        libnvidia-tls.so.260.19.12 => not found
        libnvidia-glcore.so.260.19.12 => not found
        libX11.so.6 => /opt64/X11/lib32/libX11.so.6 (0xf75e3000)
        libXext.so.6 => /opt64/X11/lib32/libXext.so.6 (0xf75d5000)
        libc.so.6 => /lib/libc.so.6 (0xf74a2000)
        libdl.so.2 => /lib/libdl.so.2 (0xf749e000)
        libxcb-xlib.so.0 => /opt64/X11/lib32/libxcb-xlib.so.0 (0xf749c000)
        libxcb.so.1 => /opt64/X11/lib32/libxcb.so.1 (0xf7484000)
        libXau.so.6 => /opt64/X11/lib32/libXau.so.6 (0xf7481000)
        /lib/ld-linux.so.2 (0xf77cd000)
        libXdmcp.so.6 => /opt64/X11/lib32/libXdmcp.so.6 (0xf747b000)
  How did you uninstall the Nvidia drivers ? Maybe the uninstaller has failed
and forgot libGL in place, and because it doesn't contain "nvidia" string, you
didn't find it. 
  Depending on the dynamic linker preferences, some apps (glxgears..) may find
the new library, while others (wine) may still pick the old one.
  Also, running ldconfig is a good thing after any manipulation with dynamic
libraries. It's harmless and it can help sometimes.

With regards, Pavel.




[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux