Check out our Monthly Survey Page to see what our users are running.
Soldier of Fortune OpenGL error
Page: 1/3»
  Go to:
megalanya 8 September 2017 at 8:49 pm UTC

I am getting an OpenGL error in Soldier of Fortune. What could be the problem?



Thanks.

sr_ls_boy 5 years 8 September 2017 at 10:33 pm UTC

My guess is the opengl extension string is too long.

megalanya 8 September 2017 at 10:47 pm UTC

sr_ls_boyMy guess is the opengl extension string is too long.

How can I fix it?

sr_ls_boy 5 years 8 September 2017 at 11:16 pm UTC

By prepending an environment variable prior to starting the game.

megalanya 8 September 2017 at 11:26 pm UTC

sr_ls_boyBy prepending an environment variable prior to starting the game.

How can I do this?

sr_ls_boy 5 years 8 September 2017 at 11:54 pm UTC

That all depends on which driver you use. The driver will limit the strings for you.
Check the tips for games using Quake 3 Arena engine at the wine DB. I off hand don't
know what variable you need.

Hamish 9 September 2017 at 1:09 am UTC

Yeah, I had the same problem with SiN Gold.

Here is my forum post discussing how I resolved it:
https://www.gamingonlinux.com/forum/topic/2629?page=1

megalanya 9 September 2017 at 2:07 am UTC

sr_ls_boyThat all depends on which driver you use. The driver will limit the strings for you.
Check the tips for games using Quake 3 Arena engine at the wine DB. I off hand don't
know what variable you need.

I am using a AMD card and the open-source drivers.

Soldier of Fortune uses Quake II engine, nots Quake III.

Also there is no problem with other games that use OpenGL and Direct3D. Games like Quake III, Delta Force: Land Warrior, Call of Duty 2 and Urban Terror are running without any problems.

Only in Soldier of Fortune was such a distress.

Hamish 9 September 2017 at 3:29 am UTC

Yeah, this is a problem pretty specific to Quake II engine games like Soldier of Fortune and SiN.

Since you are using Mesa just enter the following command into a terminal before launching the game from the same terminal window (or shell script like I did for SiN Gold):
export MESA_EXTENSION_MAX_YEAR=2000

And you should be good to go.

megalanya 9 September 2017 at 12:31 pm UTC

HamishYeah, this is a problem pretty specific to Quake II engine games like Soldier of Fortune and SiN.

Since you are using Mesa just enter the following command into a terminal before launching the game from the same terminal window (or shell script like I did for SiN Gold):
export MESA_EXTENSION_MAX_YEAR=2000

And you should be good to go.

Unfortunately, it didn't work.

export MESA_EXTENSION_MAX_YEAR=2000

wine SoF.exe

fixme:winediag:start_process Wine Staging 2.15 is a testing version containing experimental patches.
fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16
recursive shutdown

ageres 9 September 2017 at 3:53 pm UTC

There is a Linux port of Soldier of Fortune. Why don't you use it?

You need to Register and Login to comment, submit articles and more.


Or login with...