http://bugs.winehq.org/show_bug.cgi?id=28730
Bug #: 28730 Summary: The game "RAGE"crash at startup with "SetPixelFormat failed" error Product: Wine Version: 1.3.30 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: opengl AssignedTo: wine-bugs@winehq.org ReportedBy: monsieurweller@gmail.com Classification: Unclassified
Created attachment 36912 --> http://bugs.winehq.org/attachment.cgi?id=36912 Wine bug log
The game "RAGE" won't launch, with "SetPixelFormat failed" error.
Wine itself throw this error : err:wgl:internal_SetPixelFormat Invalid iPixelFormat: 0
I Attach both RAGE console log and wine log.
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #1 from Mr.Weller monsieurweller@gmail.com 2011-10-15 06:24:30 CDT --- Created attachment 36913 --> http://bugs.winehq.org/attachment.cgi?id=36913 RAGE console output
http://bugs.winehq.org/show_bug.cgi?id=28730
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #36912|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=28730
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #36913|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #2 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-10-15 10:43:42 CDT --- What video card and drivers? Have you tried virtual desktop mode?
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #3 from Mr.Weller monsieurweller@gmail.com 2011-10-15 11:00:33 CDT --- Hi !
Video card (laptop) : 01:00.0 VGA compatible controller: nVidia Corporation GT218 [GeForce 310M] (rev ff) Drivers (laptop) : 270.41
Video card (desktop) : 01:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7800 GTX] (rev a1) Drivers : 285.05.09
In virtual desktop mode : same crash.
http://bugs.winehq.org/show_bug.cgi?id=28730
Alexey Loukianov mooroon2@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mooroon2@mail.ru
--- Comment #4 from Alexey Loukianov mooroon2@mail.ru 2011-10-15 11:06:50 CDT --- I've seen reports in comments with almost the same symptoms about RAGE crashing at start on Mac OS X 10.6.x/10.7.x. Reporters had been stating that their Macs are equipped with AMD Radeon videocards. Game console output you posted here seems to looks exactly the same.
Would you please specify the exact hardware and software configuration you use, including GPU driver's type and versions? The data you had submitted is very limited and for example I can't guess from it if your system had two different videocards or you're talking about two different systems, one with laptop videocard and another with GTX 7800 videocard. Also more detailed WINEDEBUG would help. You can look at Wine Wiki for tips of recording correct debug logs.
Thanks for your report.
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #5 from Mr.Weller monsieurweller@gmail.com 2011-10-15 11:22:35 CDT --- Hi ! I've spend my afternoon with testing with my other computer, since the report, so there's two computer tested.
I've generated reports with hardinfo. I will attach them soon.
I will investigate how to do more detailed wine bug reports, later.
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #6 from Mr.Weller monsieurweller@gmail.com 2011-10-15 11:24:08 CDT --- Created attachment 36917 --> http://bugs.winehq.org/attachment.cgi?id=36917 Laptop : hardware report
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #7 from Mr.Weller monsieurweller@gmail.com 2011-10-15 11:24:39 CDT --- Created attachment 36919 --> http://bugs.winehq.org/attachment.cgi?id=36919 Desktop : hardware report
http://bugs.winehq.org/show_bug.cgi?id=28730
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #8 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-10-15 11:29:08 CDT --- Sorry, your systems doesn't meet minimum requirements of this game: Video Card: GeForce 8800, Radeon HD 4200
Game RAGE starts here with 570gxt and 285.05.09 drivers.
http://bugs.winehq.org/show_bug.cgi?id=28730
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-10-15 11:30:42 CDT --- And yes, this game is very VERY picky about hardware! It does not work properly on non-beta drivers on Windows either. And that's on nVidia cards. ATI cards have all sorts of issues - see Steam forum.
Closing - driver/hardware issue.
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #10 from Alexey Loukianov mooroon2@mail.ru 2011-10-15 11:58:37 CDT --- Vitaly, you're right about GTX 7800 cars which is based on G70 nVIDIA GPU but you're wrong when it comes to laptop's GeForce 310M card which is based on GT218 GPU. GT218 GPU is the successor of GT9x GPU series which were base for GeForce 8xxx/9xxx series. Thus the game may fail to run on GTX 7800 but it should at least run on GeForce 310M.
So this prior to closing this report invalid OP should install at least 280.13 version of nVIDIA binary drivers on his laptop (it's the version I use to play this game under Wine - works well with G92 and GF116 based cards) and retest. Also OP should make sure that his laptop card has at least 512Mb of VRAM available (it is another minimal requirement - with less than this amount of VRAM the game would render with glitches). As a last resort OP should try to launch this game on the same laptop under Windows and report here if it works.
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #11 from Mr.Weller monsieurweller@gmail.com 2011-10-15 15:47:52 CDT --- Hi again !
I updated the drivers with the xorg-edgers ppa. Now, the laptop have 285.05.09 drivers.
Still the same issue.
As for the requirement : i don't know if the laptop is capable of running the game. I assume that he is, and pretty well, according to this video : http://www.youtube.com/watch?v=mYuB7wtqneU
For the VRAM, according to the spec : http://www.expertreviews.co.uk/laptops/1279453/asus-u35jc/specifications There's no problem on this side.
Last but no least : unfortunately, i can't test this on Windows, since i don't use any Microsoft product for years.
I will try to test it with the computer of a friend of mine, but it may take long, since steam must download almost 22Go of data for this game...
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #12 from Alexey Loukianov mooroon2@mail.ru 2011-10-15 21:05:04 CDT --- (In reply to comment #11)
I updated the drivers with the xorg-edgers ppa. Now, the laptop have 285.05.09 drivers.
Still the same issue.
As for the requirement : i don't know if the laptop is capable of running the game.
Try to specify "+jobs_numThreads 0" at the Steam Game Launch Options. You also may try to use "+jobs_numThreads -1" or "+jobs_numThreads 1" and see if it helps.
http://bugs.winehq.org/show_bug.cgi?id=28730
Mr.Weller monsieurweller@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|INVALID |
--- Comment #13 from Mr.Weller monsieurweller@gmail.com 2011-10-16 03:38:54 CDT --- Hi again !
I tested the +jobs_numThreads commands : same result as before : crash at startup with err:wgl:internal_SetPixelFormat Invalid iPixelFormat: 0.
http://bugs.winehq.org/show_bug.cgi?id=28730
Luke Bratch l_bratch@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |l_bratch@yahoo.co.uk
http://bugs.winehq.org/show_bug.cgi?id=28730
Thomas Luquet thomas@luquet.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thomas@luquet.net
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #14 from Thomas Luquet thomas@luquet.net 2011-10-25 09:04:20 CDT --- I got the same bug before. I have just rm my .wine/ and re-install rage. Now it work realy good ! (Sorry for my bad english)
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #15 from Alexey Loukianov mooroon2@mail.ru 2011-10-25 09:10:12 CDT --- (In reply to comment #14)
I got the same bug before. I have just rm my .wine/ and re-install rage. Now it work realy good ! (Sorry for my bad english)
Provide more details please. What's your OS/distro? What HW do you have? What makes you believe that your issue was the same as the OP reported?
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #16 from Thomas Luquet thomas@luquet.net 2011-10-25 09:18:10 CDT --- (In reply to comment #15)
(In reply to comment #14)
I got the same bug before. I have just rm my .wine/ and re-install rage. Now it work realy good ! (Sorry for my bad english)
Provide more details please. What's your OS/distro? What HW do you have? What makes you believe that your issue was the same as the OP reported?
Yea, i am on ubuntu 11.10 x86_64 , My proc is Core i7 , and my graphic card is a nvidia GTX 460 i go 4 Go of RAM
I got the same bug ("SetPixelFormat failed") at startup. When i clean my .wine/ folder everry thing work very well. (i don't configure anything)
In my last .wine/ folder i configure lots of stuff . I don't know where the problem coming.
http://bugs.winehq.org/show_bug.cgi?id=28730
lucid82@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lucid82@gmail.com
--- Comment #17 from lucid82@gmail.com 2011-10-27 10:10:57 CDT --- I had the same problem with my arch-installation. For me it seemed to fix the problem by installing the lib32-nvidia-utils package, but since i tried several things it might have been something else. Anyways it runs very smooth now.
http://bugs.winehq.org/show_bug.cgi?id=28730
Loris Zinsou the-lz-himself@orange.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |the-lz-himself@orange.fr
--- Comment #18 from Loris Zinsou the-lz-himself@orange.fr 2011-11-28 09:01:07 CST --- Same bug here : Wine 1.3.33 Intel i7 2630QM Nvidia GT540 M, 2GB VRAM
Wine is running fine with optirun (optimus with bumblebee), other games work. I have the same output about "setpixelformat".
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #19 from Loris Zinsou the-lz-himself@orange.fr 2011-11-28 09:25:47 CST --- Re-installing the game doesn't change anything.
Any clue ?
http://bugs.winehq.org/show_bug.cgi?id=28730
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #20 from joaopa jeremielapuree@yahoo.fr 2011-11-28 12:07:38 CST --- First, install the newest driver for your video card (for instance, nvidia is 290.10)
Then, remove your .wine folder. Finally, reinstall the game.
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #21 from Loris Zinsou the-lz-himself@orange.fr 2011-11-28 13:41:44 CST --- I already use drivers from the x-updates ppa for ubuntu. I backed up the game files, then deleted my .wine folder, and re-installed it in a clean prefix. Still experiencing the bug.
Is this a game file integrity issue ? Can I check the integrity of the game without re-downloading the whole game ?
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #22 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-11-28 18:57:37 CST --- Please post output from this command: glxinfo | grep version
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #23 from Loris Zinsou the-lz-himself@orange.fr 2011-11-28 19:10:44 CST --- Here are the results : loris@asus-N43SL:~$ glxinfo | grep version server glx version string: 1.4 client glx version string: 1.4 GLX version: 1.4 OpenGL version string: 2.1 Mesa 7.11 OpenGL shading language version string: 1.20 loris@asus-N43SL:~$ optirun glxinfo | grep version server glx version string: 1.4 client glx version string: 1.4 GLX version: 1.4 OpenGL version string: 4.2.0 NVIDIA 290.10 OpenGL shading language version string: 4.20 NVIDIA via Cg compiler
When I try to run Rage, I use "optirun wine", not "wine".
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #24 from Alexey Loukianov mooroon2@mail.ru 2011-11-30 01:43:14 CST --- Basing on the info people are posting on various forums I suspect that this bug is somehow related to the OpenGL implementation nVIDIA offers in their drivers for mobile GPU series. I've seen reports from people running Windows + mobile nVIDIA GPU posted on Steam forums about the game crashing at start complaining on failed calls to SetPixelFormat and/or GL_ARB_draw_elements_base_vertex. Unfortunately I hadn't seen any posts from people affected by this problem stating that they had been able to solve it.
Knowing the above and looking at the comments on this bug report makes me believe that most likely this problem is driver-related and not a Wine bug. Still, it isn't confirmed for sure and we've got at least one person who reported this problem to happen with desktop-series nVIDIA GPU (Thomas Luquet with his GTX460). Therefor, despite real status most likely is "NOTABUG" I think that this report should be kept open for a while with "Unconfirmed" status until someone would be able to prove if this is a bug in nVIDIA driver or not.
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #25 from Loris Zinsou the-lz-himself@orange.fr 2011-11-30 04:06:12 CST --- So that seems to be a nvidia issue ? What is the next step then (where to post about this and getting a chance of seeing this fixed) ?
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #26 from Alexey Loukianov mooroon2@mail.ru 2011-11-30 06:27:47 CST --- (In reply to comment #25)
So that seems to be a nvidia issue ? What is the next step then (where to post about this and getting a chance of seeing this fixed) ?
Yes it seems but that has to be proven yet. I can't do it due to I haven't got direct access to PC which is affected by this bug. What should be done is to hack-in testcase demonstrating this problem which can be compiled into native linux ELF binary and then post a bug report to official nVIDIA linux forums so they would add it into internal corporate bug tracker and - hopefully - fix it some time at distant future. IOW first step needed is to reproduce the problem with native linux app.
http://bugs.winehq.org/show_bug.cgi?id=28730
Nonoo nonoo@nonoo.hu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nonoo@nonoo.hu
--- Comment #27 from Nonoo nonoo@nonoo.hu 2011-12-02 15:42:31 CST --- My problem with SetPixelFormat failed was that wine couldn't load the 32bit OpenGL libs. Here's how I fixed it: http://dp.nonoo.hu/32bit-opengl-with-wine/
http://bugs.winehq.org/show_bug.cgi?id=28730
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Component|opengl |-unknown Resolution| |INVALID
--- Comment #28 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-12-02 21:31:30 CST --- Definitely invalid then.
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #29 from Loris Zinsou the-lz-himself@orange.fr 2011-12-03 03:14:11 CST --- Still not fixed for me after that lib32 thing.
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #30 from Loris Zinsou the-lz-himself@orange.fr 2011-12-03 04:34:38 CST --- It seems that every openGL app crashes in wine for me. I tried this extension viewer, it crashed : http://www.realtech-vr.com/glview/download.html
Could anyone running Rage try it and confirm that it works so i could be sure it comes from my specific configuration ?
(if someone else runs the extension viewer, that means it comes from bumblebee library handling, and i will report the issue to bumblebee developpers, so i really need people to run the test)
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #31 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-12-03 23:45:55 CST --- (In reply to comment #30)
It seems that every openGL app crashes in wine for me.
This points to incorrectly installed video driver. And not Wine bug.
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #32 from Loris Zinsou the-lz-himself@orange.fr 2011-12-04 02:12:13 CST --- Is there any way to know exactly what and where is missing for wine ?
I cannot install "correctly" nvidia drivers because i have a laptop with optimus. That means i have to install nvidia drivers first, and then install bumblebee to modify this installation (in order not to break my intel xorg configuration). I need to know what and where wine is searching for, to report this to bumblebee developpers so they can modify their scripts.
native 32 and 64 bit opengl apps run fine on nvidia/optimus and intel. Wine Direct2D apps run fine in Wine (nvidia/optimus) Wine OpengGL apps fail to run...
http://bugs.winehq.org/show_bug.cgi?id=28730
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #33 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-12-04 12:37:50 CST --- (In reply to comment #32)
Is there any way to know exactly what and where is missing for wine ?
What: 32-bit libopengl*.so that corresponds to installed video driver. Many times this library gets replaced by something else, like mesa software driver, or old nvidia driver version. Where: Anywhere specified in library search paths
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #34 from Loris Zinsou the-lz-himself@orange.fr 2011-12-05 11:49:26 CST --- It seems everything is at the right place... Perhaps it is a virtualGL (bumblebee is using virtualGL as a backend) issue, i'll have to find someone to check that.
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #35 from Loris Zinsou the-lz-himself@orange.fr 2011-12-10 08:58:54 CST --- I did run a debug test with DEBUG=+wgl I found a wine bug about ETQW (idTech4) whick lokked the same. Still sot a wine bug ?
trace:wgl:X11DRV_wglChoosePixelFormatARB (0x678, 0x2ac9980, (nil), 1, 0x152b00c, 0x2ac9a04): hackish trace:wgl:ConvertAttribWGLtoGLX pAttr[0] = 2010 trace:wgl:ConvertAttribWGLtoGLX pAttr[1] = WGL_SUPPORT_OPENGL_ARB: 1 trace:wgl:ConvertAttribWGLtoGLX pAttr[2] = 2015 trace:wgl:ConvertAttribWGLtoGLX pAttr[3] = GLX_RED_SIZE: 8 trace:wgl:ConvertAttribWGLtoGLX pAttr[4] = 2017 trace:wgl:ConvertAttribWGLtoGLX pAttr[5] = GLX_GREEN_SIZE: 8 trace:wgl:ConvertAttribWGLtoGLX pAttr[6] = 2019 trace:wgl:ConvertAttribWGLtoGLX pAttr[7] = GLX_BLUE_SIZE: 8 trace:wgl:ConvertAttribWGLtoGLX pAttr[8] = 201b trace:wgl:ConvertAttribWGLtoGLX pAttr[9] = GLX_ALPHA_SIZE: 8 trace:wgl:ConvertAttribWGLtoGLX pAttr[10] = 2022 trace:wgl:ConvertAttribWGLtoGLX pAttr[11] = GLX_DEPTH_SIZE: 24 trace:wgl:ConvertAttribWGLtoGLX pAttr[12] = 2023 trace:wgl:ConvertAttribWGLtoGLX pAttr[13] = GLX_STENCIL_SIZE: 8 trace:wgl:ConvertAttribWGLtoGLX pAttr[14] = 2011 trace:wgl:ConvertAttribWGLtoGLX pAttr[15] = GLX_DOUBLEBUFFER: 1 trace:wgl:ConvertAttribWGLtoGLX pAttr[?] = GLX_DRAWABLE_TYPE: 0xffffffff trace:wgl:ConvertAttribWGLtoGLX pAttr[?] = GLX_RENDER_TYPE: 0xffffffff warn:wgl:X11DRV_wglChoosePixelFormatARB Compatible Pixel Format not found trace:wgl:X11DRV_DescribePixelFormat (0x2b441488,0,40,0x152b010) trace:wgl:ConvertPixelFormatWGLtoGLX Number of returned pixelformats=234 warn:wgl:X11DRV_DescribePixelFormat unexpected iPixelFormat(0): not >=1 and <=nFormats(234), returning NULL! trace:wgl:X11DRV_SetPixelFormat (0x2b441488,0,0x152b010) trace:wgl:ConvertPixelFormatWGLtoGLX Number of returned pixelformats=234 err:wgl:internal_SetPixelFormat Invalid iPixelFormat: 0
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #36 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-12-10 12:57:36 CST --- Please attach complete output of glxinfo.
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #37 from Loris Zinsou the-lz-himself@orange.fr 2011-12-10 13:44:31 CST --- Created attachment 37909 --> http://bugs.winehq.org/attachment.cgi?id=37909 glxinfo
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #38 from Loris Zinsou the-lz-himself@orange.fr 2011-12-10 13:45:04 CST --- Created attachment 37910 --> http://bugs.winehq.org/attachment.cgi?id=37910 optirun glxinfo
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #39 from Loris Zinsou the-lz-himself@orange.fr 2011-12-10 13:46:42 CST --- There are two glxinfo results. I think the one you want is nvidia-glxinfo, because i'm trying to run Rage with optirun (virtualGL).
http://bugs.winehq.org/show_bug.cgi?id=28730
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #37909|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=28730
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #37910|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #40 from Loris Zinsou the-lz-himself@orange.fr 2011-12-13 06:30:12 CST --- Anything interesting from these files ?
http://bugs.winehq.org/show_bug.cgi?id=28730
Michael Abbott michael@araneidae.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |michael@araneidae.co.uk
--- Comment #41 from Michael Abbott michael@araneidae.co.uk 2012-02-04 08:47:58 CST --- I would prefer to see this reopened as valid, just clearly very system dependent, and so therefore difficult to reproduce.
I also get exactly the same problem.
I am running Arch Linux, this report is for wine-1.4-rc2, but the same problem has been seen with 1.3 versions. My graphics card is an AMD HD 6950 with the Radeon (ATI) drivers, so some versions:
Kernel: 3.2.2-1 Mesa: 7.11.2-1 GLX version: 1.4
Not sure what else to add. The Half Life 2 Source engine runs perfectly on this machine. Also, I can clearly confirm that this is not peculiar to the nVidia drivers!
I think it also has to be significant that searching for 'RAGE SetPixelFormat failed' mostly brings up references to this bug report.
Another possibility suggested by the correspondence in this bug report is missing lib32- components. Of course, this is very hard to rule out, but there is no sign of this in the Wine transcript, and as I said, Source Engine games work.
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #42 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-02-04 11:37:42 CST --- This bug is closed. If you think that this buggy game some how works on your ATI card - open a new bug. It will be closed as invalid as well.
FYI this game's engine has absolutely nothing to do with source engine, other then they initially came from the same company. Rage is 100% OpenGL.
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #43 from Michael Abbott michael@araneidae.co.uk 2012-02-04 13:57:29 CST --- Ok, can you be clear please: are you saying that the game in question is at fault, is the source of this bug?
If so, why does googling for the error message produced by this game only bring up this bug report? In other words, why does only Wine appear to provoke this particular failure?
Have to admit that http://forums.steampowered.com/forums/showthread.php?t=2154053 (Rage Issues, Bugs And Fixes Thread) shows *lots* of trouble with this game ... but searching the forum for SetPixelFormat only brings up references to DOOM3, which works perfectly on my machine (and Abe's Oddyssey, about which I know nothing).
So maybe there's something subtle here?
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #44 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-02-04 14:30:30 CST --- (In reply to comment #43)
why does only Wine appear to provoke this particular failure?
Because only Wine tells you what's wrong. You won't get anything on windows, just a crash or not working game.
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #45 from Michael Abbott michael@araneidae.co.uk 2012-02-04 16:51:34 CST --- (In reply to comment #44)
(In reply to comment #43)
why does only Wine appear to provoke this particular failure?
Because only Wine tells you what's wrong. You won't get anything on windows, just a crash or not working game.
Ah, now, that's where you're missing a point. The error message in question does *not* come from Wine, it comes from the RAGE game itself.
You'll notice that right from the beginning the reporter logged both the Wine output (rather uninformative in this particular case) together with the "RAGE console output" (second attachment). This output, as far as I can tell (it's the *only* conversation I've managed to have with the game so far) is entirely generated by the game itself and is nothing to do with Wine. In particular it's from *this* output that the error message "ERROR: SetPixelFormat failed" comes; this is nothing to do with Wine.
So, I think the game *is* trying to tell us something...
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #46 from Mr.Weller monsieurweller@gmail.com 2012-02-04 16:56:19 CST --- In fact, we can find a lot of topics about this problem on windows. Just look Steam forums.
Sorry, i've totally forgot this bug report. So, since last time i've post here, i've tested on a more up-to-date computer (AMD X2 4400+, 4Gb RAM, Nvidia 560 with latest beta drivers, on ubuntu natty X86_64)). And... It works.
On this computer, i've played a little with libgl1-mesa-* packages and nvidia 32bit openGL line : - If i don't put nvidia libs, it crash with this bug. - If i put nvidia libs, the game launch and works well. - If i do something like 'update-alternatives --remove-all x86_64-linux_gl_conf, reinstall libgl1-mesa-* packages, the game crash with the Setpixelformat error, again. - If i reinstall nvidia driver with nvidia lib after that, the game will launch.
Si, i guess the fact that the game won't launch on my laptop, is because of the particular setup of bumblebee, who probably doesn't package nvidia openGL 32bit compatibility libs.
Sorry if what i wrote is totally unclear. It's late here and i don't really understand this experiment myself...
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #47 from Loris Zinsou the-lz-himself@orange.fr 2012-08-26 08:39:26 CDT --- I have some news (wine 1.5.11, same nvidia Optimus m540): now KOTOR 2 (Wine version) crashes complaining about the same Pixel Format thing, as well as Team Fortress 2. And it seems to happen only on Optimus latops (these games launch and run fine on a non-optimus nvidia desktop).
Could any OpenGL guru (somedy who deals with the Pixel Format commits in Wine git) investigate this, at least to be sure this is a Bumblebee/VirtualGL issue, and not a bug in Wine which is triggered only on optimus laptops ?
For now, I see 3 things : 1) All these games crash because something goes wrong with the pixel format 2) This only happens on Optimus laptops 3) This only happens in Wine, Native games run fine with Bumblebee, and many other games run fine in Wine on Optimus laptops. For now I'm not sure all possibilities have been examinated.
http://bugs.winehq.org/show_bug.cgi?id=28730
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
--- Comment #48 from André H. nerv@dawncrow.de 2012-08-27 13:06:36 CDT --- (In reply to comment #46)
Sorry if what i wrote is totally unclear. It's late here and i don't really understand this experiment myself...
Why you don't just ask the bumblebee developers if they include 32-bit libs, much people maybe don't even know what bumblebee is or how it works. Meanwhile i have a look at that pixelformat stuff...
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #49 from André H. nerv@dawncrow.de 2012-08-27 13:24:49 CDT --- (In reply to comment #35)
warn:wgl:X11DRV_wglChoosePixelFormatARB Compatible Pixel Format not found
This means: Wine asks your native OpenGL (http://www.opengl.org/sdk/docs/man/xhtml/glXChooseFBConfig.xml) for a Pixelformat suitable for the needs of your Game. OpenGL response with "Computer says No"...
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #50 from Loris Zinsou the-lz-himself@orange.fr 2012-08-27 13:37:26 CDT --- My openGL setup (both Intel stack and nvidia stack) is right, as native linux openGL games (both 32 and 64 bit) work well. These issues only happen in Wine.
Bumblebee ships with a multiarch version of VirtualGL and ensures both 32 and 64 bit versions are installed. Same with mesa, libgl* packages, and nvidia proprietary driver.
VirtualGL dev says (in the last changelog from svn) that he fixed something with the openGL contexts in order to let software modify pixel storage properties, but I have to wait a few days, for Bumblebee devs to build the new packages (I'm not sur "raw" virtualGL will work with Bumblebee, since I don't know exactly what settings they use at build time).
http://bugs.winehq.org/show_bug.cgi?id=28730
--- Comment #51 from Loris Zinsou the-lz-himself@orange.fr 2012-08-31 15:30:19 CDT --- Created attachment 41540 --> http://bugs.winehq.org/attachment.cgi?id=41540 New trace for Rage (Steam version), wine 1.5.11, virtualGL 2.4 pre
This is my new trace for Rage. I hope this will be more useful than the previous one. I still don't know what's going on here, but VirtualGl works on pbuffers, which are transported from an xserver to the other. VirtualGL 2.4pre should now handle openGL direct contexts, and there's still something whrong with the "pixel format" thing, especially this part : "warn:wgl:X11DRV_wglChoosePixelFormatARB Compatible Pixel Format not found trace:wgl:glxdrv_wglDescribePixelFormat (0x3d4,0,40,0x1542db8) warn:wgl:glxdrv_wglDescribePixelFormat unexpected format 0 trace:wgl:glxdrv_wglSetPixelFormat (0x3d4,0,0x1542db8) err:wgl:glxdrv_wglSetPixelFormat Invalid iPixelFormat: 0 " This error is shown even out of the debug mode.