HGL
sunny-green

Quake 4 on GoG

Hi, Prime is giving away Quake 4 free on GoG currently. Bit of a challenge, but trying to get it to run on Ubuntu. I get an error message about Unable to initialize openGL. Apparently this also happens on Windows and is due to it trying to run at 640x480, solutions online include tweaking the Quake4Config.cfg to include your monitors resolution. For some reason it doesn't create a config file by default, so I tried making one with no luck. Don't suppose anyone else has tackled this? Cheers 80 ...calling CDS: ok ...created window @ 0,0 (640x480) Initializing OpenGL driver ...getting DC: succeeded ...GLW_ChoosePFD failed Shutting down OpenGL subsystem ...wglMakeCurrent( NULL, NULL ): failed ...releasing DC: success ...resetting display ...shutting down QGL ...unloading OpenGL DLL Fatal Error: Unable to initialize OpenGL --------------- BSE Shutdown ---------------- --------------------------------------------- idRenderSystem::Shutdown() Unable to initialize OpenGL
34 Replies
adverse-sapphire
adverse-sapphire3y ago
I ran it with no issues, could you share whole log?
sunny-green
sunny-greenOP3y ago
sunny-green
sunny-greenOP3y ago
Running with Proton Experimental via Heroic
adverse-sapphire
adverse-sapphire3y ago
I mean Heroic log
sunny-green
sunny-greenOP3y ago
Ah ok
adverse-sapphire
adverse-sapphire3y ago
if you have trouble finding it is explained here https://discord.com/channels/812703221789097985/1044301598018515105
sunny-green
sunny-greenOP3y ago
adverse-sapphire
adverse-sapphire3y ago
yea, so you installed it in location inaccessible to flatpak /run/user/1000/doc/a57bb6fd/Heroic/Quake 4 since the path looks like this
sunny-green
sunny-greenOP3y ago
Oh really It's on my second hard drive, is that a bad idea?
adverse-sapphire
adverse-sapphire3y ago
not at all you just need to give heroic specific permission to access it you can use Flatseal app for this
sunny-green
sunny-greenOP3y ago
Great, I'll grab that from the software store
adverse-sapphire
adverse-sapphire3y ago
you need to restart heroic after the changes. and most likely re install the game
sunny-green
sunny-greenOP3y ago
No problem, luckily it's pretty tiny You think running with Proton experimental is alright?
adverse-sapphire
adverse-sapphire3y ago
we usually recommend Wine-GE, but whatever works for you
sunny-green
sunny-greenOP3y ago
Gotcha, I have flatseal now
adverse-sapphire
adverse-sapphire3y ago
using Proton outside of Steam is not generally advised
sunny-green
sunny-greenOP3y ago
No description
sunny-green
sunny-greenOP3y ago
I could enable All System Files?
adverse-sapphire
adverse-sapphire3y ago
you shouldn't do that for any flatpak app just add the path to Other files section
sunny-green
sunny-greenOP3y ago
So the path is /mnt/BiggieMint/Games/Heroic That's where I store my games, or was trying to
adverse-sapphire
adverse-sapphire3y ago
that should work
sunny-green
sunny-greenOP3y ago
Great, going to restart and reinstall now Fingers crossed
sunny-green
sunny-greenOP3y ago
Unfortuntely still crashing
adverse-sapphire
adverse-sapphire3y ago
it still has that weird path /run/user/1000/doc/a57bb6fd/Heroic/Quake 4
sunny-green
sunny-greenOP3y ago
I'll try install somewhere else I don't really know what that path is I installed to /mnt/BiggieMint/Games/Heroic
adverse-sapphire
adverse-sapphire3y ago
maybe put /mnt/BiggieMint to flatseal instead
sunny-green
sunny-greenOP3y ago
How to fix 'Unable to initialize OpenGL' error upon startup :: Quak...
Open C:\Program Files (x86)\Steam\steamapps\common\Quake 4\q4base\Quake4Config.cfg (you might want to make a backup first) Find and change the following 3 lines: seta r_customHeight "486" seta r_customWidth "720" seta r_mode "3" to: seta r_customHeight "1080" seta r_customWidth "1920" seta r_mode "-1" This worked for me anyway. I tried updating ...
adverse-sapphire
adverse-sapphire3y ago
if you don't fix that path game won't be able to load the files so
sunny-green
sunny-greenOP3y ago
But I run other games on heroic using that path? And I tried installing it to Home on my main hard drive with the same deal It does launch the game, so surly Heroic can access it - just the initial Unable to initialize openGL error is from Quake's console I fixed it! Slightly hacky approach, but added as a non-steam game on Steam and loaded it there
adverse-sapphire
adverse-sapphire3y ago
interesting probably was missing some libraries
genetic-orange
genetic-orange3y ago
Are you able to actually start the game @Jibwood ? I tried your method and it just returns back from Loading screen to main menu
sunny-green
sunny-greenOP3y ago
Yes I was Were you getting the same error as me initially?
genetic-orange
genetic-orange3y ago
Yes
sunny-green
sunny-greenOP3y ago
This guy also solved it in 2022: https://discord.com/channels/812703221789097985/956496322758868992/1032006327410630726 If you read down a bit from there

Did you find this page helpful?