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
inland-turquoise•2y ago
I ran it with no issues, could you share whole log?
helpful-purpleOP•2y ago
helpful-purpleOP•2y ago
Running with Proton Experimental via Heroic
inland-turquoise•2y ago
I mean Heroic log
helpful-purpleOP•2y ago
Ah ok
inland-turquoise•2y ago
if you have trouble finding it is explained here https://discord.com/channels/812703221789097985/1044301598018515105
helpful-purpleOP•2y ago
inland-turquoise•2y ago
yea, so you installed it in location inaccessible to flatpak
/run/user/1000/doc/a57bb6fd/Heroic/Quake 4
since the path looks like thishelpful-purpleOP•2y ago
Oh really
It's on my second hard drive, is that a bad idea?
inland-turquoise•2y ago
not at all
you just need to give heroic specific permission to access it
you can use
Flatseal
app for thishelpful-purpleOP•2y ago
Great, I'll grab that from the software store
inland-turquoise•2y ago
you need to restart heroic after the changes. and most likely re install the game
helpful-purpleOP•2y ago
No problem, luckily it's pretty tiny
You think running with Proton experimental is alright?
inland-turquoise•2y ago
we usually recommend Wine-GE, but whatever works for you
helpful-purpleOP•2y ago
Gotcha, I have flatseal now
inland-turquoise•2y ago
using Proton outside of Steam is not generally advised
helpful-purpleOP•2y ago

helpful-purpleOP•2y ago
I could enable All System Files?
inland-turquoise•2y ago
you shouldn't do that for any flatpak app
just add the path to Other files section
helpful-purpleOP•2y ago
So the path is
/mnt/BiggieMint/Games/Heroic
That's where I store my games, or was trying toinland-turquoise•2y ago
that should work
helpful-purpleOP•2y ago
Great, going to restart and reinstall now
Fingers crossed
helpful-purpleOP•2y ago
Unfortuntely still crashing
inland-turquoise•2y ago
it still has that weird path
/run/user/1000/doc/a57bb6fd/Heroic/Quake 4
helpful-purpleOP•2y ago
I'll try install somewhere else
I don't really know what that path is
I installed to
/mnt/BiggieMint/Games/Heroic
inland-turquoise•2y ago
maybe put
/mnt/BiggieMint
to flatseal insteadhelpful-purpleOP•2y ago
Not luck as of yet, currently trying:
https://steamcommunity.com/app/2210/discussions/0/1479856439031603538/
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 ...
inland-turquoise•2y ago
if you don't fix that path game won't be able to load the files
so
helpful-purpleOP•2y 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
inland-turquoise•2y ago
interesting
probably was missing some libraries
sunny-green•2y 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
helpful-purpleOP•2y ago
Yes I was
Were you getting the same error as me initially?
sunny-green•2y ago
Yes
helpful-purpleOP•2y ago
This guy also solved it in 2022:
https://discord.com/channels/812703221789097985/956496322758868992/1032006327410630726
If you read down a bit from there