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
> 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 at 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.
>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:Thanks Pavel, I think you are totally right but let me explain: I run the NVIDIA-XXXX --uninstall and let it make the work, but lots of losts libraries were abandoned everywhere in my system, I rm'd the vast majority of them, but the problem I think are the ones that has no 'nvidia' in the name that are still lost. Reading your answer I remembered that some time ago I readed at phoronix that ATI binary driver has now his own prefix for libraries to avoid conflicts against the free driver they are helping to develop. I think there is the problem. Starting from locating libGL I get (sorry for the long log): $locate libGL /usr/lib/libGL.so /usr/lib/libGL.so.1 /usr/lib/libGL.so.1.2 /usr/lib/libGL.so.180.44 /usr/lib/libGL.so.185.18.36 /usr/lib/libGL.so.190.42 /usr/lib/libGLC.so.0 /usr/lib/libGLC.so.0.0.7 /usr/lib/libGLEW.so.1.5 /usr/lib/libGLEW.so.1.5.2 /usr/lib/libGLEWmx.so.1.5 /usr/lib/libGLEWmx.so.1.5.2 /usr/lib/libGLU.a /usr/lib/libGLU.so /usr/lib/libGLU.so.1 /usr/lib/libGLU.so.1.3.071000 /usr/lib/libGLcore.so.1 /usr/lib/libGLcore.so.180.44 /usr/lib/libGLcore.so.185.18.36 /usr/lib/fglrx/libGL.so /usr/lib/fglrx/libGL.so.1 /usr/lib/fglrx/libGL.so.1.2 /usr/lib/mesa/libGL.so /usr/lib/mesa/libGL.so.1 /usr/lib/mesa/libGL.so.1.2 /usr/lib32/libGL.so /usr/lib32/libGL.so.1 /usr/lib32/libGL.so.1.2 /usr/lib32/libGL.so.180.44 /usr/lib32/libGL.so.185.18.36 /usr/lib32/libGL.so.190.42 /usr/lib32/libGLU.so /usr/lib32/libGLU.so.1 /usr/lib32/libGLU.so.1.3.071000 /usr/lib32/libGLcore.so /usr/lib32/libGLcore.so.1 /usr/lib32/libGLcore.so.180.44 /usr/lib32/libGLcore.so.185.18.36 /usr/lib32/fglrx/libGL.so.1 /usr/lib32/fglrx/libGL.so.1.2 /usr/lib32/mesa/libGL.so.1 /usr/lib32/mesa/libGL.so.1.2 Now the question is, whats the one wine is looking for, to symlink it, because Im almost sure fglrx put his owns on /usr/lib/fglrx and leave the old untouched, and maybe the NVIDIA uninstaller wasnt able to restore previous, making wine to fail.
sombra2eternity wrote:> 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.This means you still have nvidia drivers installed. Remove them. A;so make sure you have 32-bit libopengl installed for your ati card.