Hello, I recently switched my OS to Ubuntu Dapper Drake amd64 (I used Breezy before) and now I'm facing strange issues regarding Counter Strike (old version, not "Source") via Steam. Steam starts up fine, but if I want to launch the game, the terminal puts out this error-message: err:wgl:X11DRV_ChoosePixelFormat glXChooseFBConfig returns NULL (glError: 0) while Steam itself opens first a small window saying "Error: ChoosePixelFormat failed" and then another one that tells me that OpenGL-support is disabled. Of course I have installed the fglrx-driver for my ati card (Radeon 9600 Pro) from the official Dapper repository (8.25.18) and according to glxgear it seems to work. Under Breezy everything had worked fine and I'm using exactly the same .wine directory as before. I have tested wine 0.9.14 and 0.9.9, the behaviour is exactly the same on both versions. Furthermore I of course have already searched the internet for a possibble solution, but I haven't found anything untill now. So I hope this may be the right place for such issues (sorry, if it is not)... Kind regards, Jan
Jan Rathmann <JanRathmann@t-online.de> wrote:> version, not "Source") via Steam. Steam starts up fine, but if I want to > launch the game, the terminal puts out this error-message: > > err:wgl:X11DRV_ChoosePixelFormat glXChooseFBConfig returns NULL (glError: 0)What does 'glxinfo' show? Daniel
Wei-Tsun Sun <wsun013.wine@gmail.com> wrote:> ./glxinfo > name of display: :0.0 > libGL: XF86DRIGetClientDriverName: 5.0.3 radeon (screen 0) > libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/radeon_dri.so > drmOpenByBusid: Searching for BusID pci:0000:01:00.0 > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 4, (OK) > drmOpenByBusid: drmOpenMinor returns 4 > drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0 > display: :0 screen: 0 > direct rendering: Yes > server glx vendor string: SGI > server glx version string: 1.2Here's your problem. glXChooseFBConfig is 'officially' not available for GLX version below 1.3 (in case of client/server differences, the lower version is significant). However, since many drivers (in particular binary drivers) chose to implement it irrespective of GLX version, the wine code was changed to use it. On most systems, it is indeed available; you are one of the unlucky few where it is not. There is little you can do besides wait until your X server supports it. Daniel