ubuntu@ubuntu-desktop:~$ '/home/ubuntu/Tibia' WARNING: Application calling GLX 1.3 function "glXCreatePbuffer" when GLX 1.3 is not supported! This is an application bug! X Error of failed request: BadDrawable (invalid Pixmap or Window parameter) Major opcode of failed request: 136 (XFree86-DRI) Minor opcode of failed request: 7 () Resource id in failed request: 0x3400008 Serial number of failed request: 66 Current serial number in output stream: 66 Ubuntu 9.10 Radeon 9600 and open drivers.
Please attach your xorg log and config. GLX 1.3/1.4 is only available with dri2 which requires kms on radeon.
Created attachment 30452 [details] [review] Xorg config
You can download this game on: http://download.tibia.com/tibia852.tgz I upload here all informations: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/452296
The graphics stack you are using only supports glx 1.2. The game needs to check what version of GLX is supported before using 1.3 functions.
So how I fix it? On Windows this game works excellent. On wine and screen: *fixme:mixer:ALSA_MixerInit No master control found on MPU-401 UART, disabling mixer fixme:reg:GetNativeSystemInfo (0x32fcec) using GetSystemInfo() fixme:win:EnumDisplayDevicesW ((null),0,0x32f590,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),1,0x32f590,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x32e60c,0x00000000), stub! fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface fixme:win:EnumDisplayDevicesW ((null),0,0x32e2fc,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x32d604,0x00000000), stub! fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface fixme:d3d:IWineD3DSwapChainImpl_Present Unhandled present rects (0,0)-(600,450)/(null) fixme:d3d:IWineD3DSwapChainImpl_Present Unhandled present rects (0,0)-(600,450)/(null) err:d3d_surface:IWineD3DSurfaceImpl_ModifyLocation 0x1ab9380: Surface does not have any up to date location err:d3d_surface:IWineD3DSurfaceImpl_ModifyLocation 0x1ab9380: Surface does not *have any up to date location Requirements this game: a) Windows: * Windows 95/98/ME/XP/2000/Vista * DirectX version 5.0 or later * 38 MB free space on your hard disk * A connection to the internet b) Linux: # Linux with libc version 6 or later # X-Window system installed # Hardware accelerated graphics driver # 40 MB free hard disk space # A connection to the interne
Created attachment 30454 [details] Screen game on wine
(In reply to comment #5) > So how I fix it? On Windows this game works excellent. On wine and screen: Windows doesn't use glx so it's not an issue there. It's a game bug. The game needs to check the version of glx supported by the xserver and only use the entry points for that version of glx. If fixing the game is not an option, then you might try kms, but that involves upgrading most of your graphics stack. I believe karmic provides the option to try kms. I'm not sure about older versions; maybe via ppa.
(In reply to comment #5) > So how I fix it? On Windows this game works excellent. On wine and screen: This is a Wine bug.
Do you have a (Wine) +wgl log for this? (Or alternatively, does there already exist a Wine bug for this?)
Created attachment 30482 [details] Wine log with parametr -engine 0
Created attachment 30483 [details] Wine log without parametrs
Do you have a (Wine) +wgl log for this? (Or alternatively, does there already exist a Wine bug for this?) You need something else? Look here, too: 1. Screen without parametrs: http://bugs2.winehq.org/attachment.cgi?id=24164 2. Screen with -engine 0: http://bugs2.winehq.org/attachment.cgi?id=24165 And here: http://bugs.winehq.org/show_bug.cgi?id=5586
I posted a reply in the Wine bug wrt the misplaced graphics. For this bug, could you start the game as following: WINEDEBUG="+wgl" wine '/home/krzysztof/.wine/dosdevices/c:/Program Files/Tibia1/Tibia.exe' &> trace.log and attach the trace.log file that creates?
Created attachment 30485 [details] WINEDEBUG="+wgl" wine '/home/krzysztof/.wine/dosdevices/c:/Program Files/Tibia1/Tibia.exe' &> trace.log
Created attachment 30486 [details] WINEDEBUG="+wgl" wine '/home/krzysztof/.wine/dosdevices/c:/Program Files/Tibia1/Tibia.exe' engine 0 &> trace1.log
When game starts with "engine 0", game works good but slow and look at "Screen with -engine 0".
Created attachment 30497 [details] Glxinfo
Right, so this only happens with the Linux Tibia Client. (Which makes it not a Wine bug either.)
Stop posting to this bug. GLX 1.3 *is* supported for the drivers which can do it (all DRI2 drivers) with latest Xserver from git. That's enough for this bug to be closed. If your game still isn't working after you've made sure you're using GLX 1.3+ and no longer getting that warning, feel free to open a *new* bug. Or go open a Wine bug, since this appears to be theirs and not ours. ~ C.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.