Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Error with Rage (id software)


  • Please log in to reply
13 replies to this topic

#1 vanhouten

vanhouten

    Regular Member

  • Members
  • Pip
  • 18 posts
  • Graphics Card:AMD Radeon RX 580
  • Operating System:macOS 10.12 (Sierra)

Posted 23 May 2019 - 02:30 PM

I know Rage exists as a native app but it got this annoying texture streaming that kills the experience. So I wanted to try if it's better via Wine.


I've got this error on the Rage console when launching the game :

wglCreateContextAttribsARB failed

(I can post the full log if needed)

Didn't found anything about it in winehq.

I've tried with 4.7, 4.7 staging and CX 18.5.0.

#2 ovvldc

ovvldc

    Master Member

  • Members
  • 1236 posts
  • LocationEurope
  • Graphics Card:Intel Iris Plus
  • Operating System:Other OS/Not specified
  • I like to play:stories

Posted 23 May 2019 - 06:23 PM

You should have looked a bit more: https://appdb.winehq...ation&iId=13542

#3 vanhouten

vanhouten

    Regular Member

  • Members
  • Pip
  • 18 posts
  • Graphics Card:AMD Radeon RX 580
  • Operating System:macOS 10.12 (Sierra)

Posted 23 May 2019 - 08:03 PM

Hmmm of course but I meant I didn't see anything linked to my issue. Something to do with opengl I suppose…

#4 ovvldc

ovvldc

    Master Member

  • Members
  • 1236 posts
  • LocationEurope
  • Graphics Card:Intel Iris Plus
  • Operating System:Other OS/Not specified
  • I like to play:stories

Posted 23 May 2019 - 09:15 PM

Have you tried with a slightly older Wine, perhaps 4.0.1, or even older. AppDB suggest it works fine with Wine version as far back as 2.X, so maybe one of those does not have the bug that you hit.

I suggest it because the graphics subsystem of Wine is undergoing a lot of refactoring to make it easier to use Vulkan instead of OpenGL.

#5 vanhouten

vanhouten

    Regular Member

  • Members
  • Pip
  • 18 posts
  • Graphics Card:AMD Radeon RX 580
  • Operating System:macOS 10.12 (Sierra)

Posted 24 May 2019 - 08:30 PM

So, I made some tests with 3.10 or 4.0.1 : same error…

#6 ovvldc

ovvldc

    Master Member

  • Members
  • 1236 posts
  • LocationEurope
  • Graphics Card:Intel Iris Plus
  • Operating System:Other OS/Not specified
  • I like to play:stories

Posted 25 May 2019 - 05:50 AM

Sorry to send you on wild goose chase...

next possible idea is to see if restricting OpenGL version helps, by adding the following in the registry:
[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"MaxVersionGL"=dword:30002
That will only do something if CreateContextAttribsARB is from a later version of OpenGL, so maybe look at the specs first? I haven't checked, I just had an idea.

#7 vanhouten

vanhouten

    Regular Member

  • Members
  • Pip
  • 18 posts
  • Graphics Card:AMD Radeon RX 580
  • Operating System:macOS 10.12 (Sierra)

Posted 25 May 2019 - 03:27 PM

hexa or decimal ? (well I tried both and it didn't change anything)

Didn't find very detailed specs :

Here are the Rage System Requirements (Minimum)
CPU: Intel Core 2 Duo or Equivalent AMD
RAM: 2 GB
OS: Win XP SP3, Vista, Win 7
VIDEO CARD: GeForce 8800, Radeon HD 4200
TOTAL VIDEO RAM: 256 MB
PIXEL SHADER: 3.0
VERTEX SHADER: 3.0
FREE DISK SPACE: 25 GB
Rage Recommended Requirements
CPU: Intel Core 2 Quad or Equivalent AMD
RAM: 4 GB
OS: Win XP SP3, Vista, Win 7
VIDEO CARD: NVIDIA GeForce 9800 GTX, ATI Radeon HD 5550
TOTAL VIDEO RAM: 512 MB
PIXEL SHADER: 3.0
VERTEX SHADER: 3.0
FREE DISK SPACE: 25 GB

Here is a sample of the Rage log :

Quote

------- Initializing renderSystem --------
Initializing OpenGL subsystem
...registered window class
...registered fake window class
...using WGL_EXT_swap_control
X..WGL_EXT_swap_control_tear not found
ERROR_INVALID_VERSION_ARB
Rage.exe @ 0x006a96b4(  ) +  bytes () : ** UNKNOWN **( ** FUNC_PARAM_ERROR ** )


#8 ovvldc

ovvldc

    Master Member

  • Members
  • 1236 posts
  • LocationEurope
  • Graphics Card:Intel Iris Plus
  • Operating System:Other OS/Not specified
  • I like to play:stories

Posted 26 May 2019 - 01:36 PM

If this is about tearing, are you trying to use vsync? Or not? Just trying to figure out what feature might use this.

Did you file a bug in the Wine database? Maybe try it again with a recent plain Wine, otherwise they will close your bug without looking at it further. They may anyway, but they can't look at it at all until they know about it...

#9 vanhouten

vanhouten

    Regular Member

  • Members
  • Pip
  • 18 posts
  • Graphics Card:AMD Radeon RX 580
  • Operating System:macOS 10.12 (Sierra)

Posted 31 May 2019 - 11:07 PM

Quote

are you trying to use vsync?

Well I can't launch or configure anything.

Ok I'll may try to test that via the original Wine later to file a bug. (Just have to learn how to use it !)


Out of curiosity, I tried another id tech 5 game with good ratings in winehq : wolfenstein, the new order. And I get the same kind of error :

Quote

------- Initializing renderSystem --------
PreliminaryRenderSetup
---registered window class
---registered fake window class
---registered context window class
GetWGLExtensionsWithFakeWindow: OpenGL Vendor: "ATI Technologies Inc."
GetWGLExtensionsWithFakeWindow: OpenGL Renderer: "ATI Radeon HD Ellesmere Prototype OpenGL Engine"
GetWGLExtensionsWithFakeWindow: OpenGL version: "2.1 ATI-1.54.1"
---using WGL_EXT_swap_control
X..WGL_EXT_swap_control_tear not found
CreateOpenGLContextForCurrentThread: Assuming pre-checked Graphics Vendor: "ATI Technologies Inc."
CreateOpenGLContextOnDC: Using gl version 3.2
ERROR_INVALID_VERSION_ARB: 0x2095
FATAL ERROR: wglCreateContextAttribsARB failed
Dumped console text to C:\users\merlin\Saved Games\MachineGames\Wolfenstein The New Order\base\ErrorLog_06-01-2019__12-32-48am.txt.

idRenderSystem::Shutdown()
Shutting down OpenGL subsystem

***************************
FATAL ERROR: wglCreateContextAttribsARB failed

***************************



#10 ovvldc

ovvldc

    Master Member

  • Members
  • 1236 posts
  • LocationEurope
  • Graphics Card:Intel Iris Plus
  • Operating System:Other OS/Not specified
  • I like to play:stories

Posted 01 June 2019 - 06:25 PM

Interesting. You listed that you have an RX580. I don't think many people here have one of those. Could there be a drive issue? I am thinking that wglCreateContextAttribsARB should work, but maybe it is card-specific..

#11 vanhouten

vanhouten

    Regular Member

  • Members
  • Pip
  • 18 posts
  • Graphics Card:AMD Radeon RX 580
  • Operating System:macOS 10.12 (Sierra)

Posted 15 June 2019 - 12:39 AM

(sorry quite busy lately)

Oh it's probably because I'm using a hackintosh. A driver issue ? I tried a lot of native games, Rage included, without problems. Or maybe from the wine/opengl side ? Seems OK with directx but I don't think I've tried other opengl games.

#12 ovvldc

ovvldc

    Master Member

  • Members
  • 1236 posts
  • LocationEurope
  • Graphics Card:Intel Iris Plus
  • Operating System:Other OS/Not specified
  • I like to play:stories

Posted 15 June 2019 - 07:42 AM

I don't know, sorry. Maybe someone else has the game and can try it?

#13 Incredible Hulk

Incredible Hulk

    Professional Member

  • Members
  • PipPipPipPip
  • 169 posts
  • Graphics Card:6750M, OSX 10.12.2
  • Operating System:Other OS/Not specified
  • I like to play:PES, COD, Grid, FNV, RO

Posted 15 June 2019 - 08:03 PM

Old bug

https://bugs.winehq....ug.cgi?id=38969

"About the crash itself, Michael's analysis looks right. The game requests an OpenGL 3.1 context, which in the case of Mesa is in practice a 3.2 core profile context. That's perfectly legitimate but unfortunately not expected by the game, which on Windows would always get an actual 3.1 context with ARB_compatibility...."

#14 vanhouten

vanhouten

    Regular Member

  • Members
  • Pip
  • 18 posts
  • Graphics Card:AMD Radeon RX 580
  • Operating System:macOS 10.12 (Sierra)

Posted 20 June 2019 - 12:31 PM

Thanks for the info. Don't know if it's related but I completely missed this (old) comment :

Quote

Unfortunately it had been reported several times by Mac OS X users that the game fails to startup under Wine on Mac OS X giving an error about failing to set the required pixel format. I'm afraid that most likely this problem is not Wine-related but rather Mac OS X related with the OpenGL implementation not meeting the requirements RAGE expects from it.

I pushed the thing further lately with VMWare. It's going slightly beyond my error in WINE but still crashing at launch (well I get 1 second of black screen, that's a progress). So hm yeah something wrong with the opengl "translating layer" can be the explanation.

Anyway I give up for now.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users