Soldier of Fortune 1 OpenGL error

Questions about Wine on Linux
Locked
megalanya
Newbie
Newbie
Posts: 3
Joined: Fri Apr 14, 2017 7:46 am

Soldier of Fortune 1 OpenGL error

Post by megalanya »

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

Screenshot:

Image

Thanks.
ls_boy
Level 2
Level 2
Posts: 45
Joined: Sat Dec 12, 2015 3:24 pm

Re: Soldier of Fortune 1 OpenGL error

Post by ls_boy »

This is an older game using a quake engine.
I think the opengl extension sting is too long.

If you are using nvidia drivers. Try this:
__GL_ExtensionStringVersion=17700
megalanya
Newbie
Newbie
Posts: 3
Joined: Fri Apr 14, 2017 7:46 am

Re: Soldier of Fortune 1 OpenGL error

Post by megalanya »

ls_boy wrote:This is an older game using a quake engine.
I think the opengl extension sting is too long.

If you are using nvidia drivers. Try this:
__GL_ExtensionStringVersion=17700
I am using an AMD card.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Soldier of Fortune 1 OpenGL error

Post by Bob Wya »

megalanya wrote: I am using an AMD card.
What's the output from:

Code: Select all

glxinfo | grep OpenGL
lspci -v | awk '{ vga=(vga||($0 ~ /VGA/)) && ($0 != ""); if (vga) {print $0} }'
uname --all
Also do you have the 32-bit graphics drivers installed for your AMD GPU?

Ta
Bob
megalanya
Newbie
Newbie
Posts: 3
Joined: Fri Apr 14, 2017 7:46 am

Re: Soldier of Fortune 1 OpenGL error

Post by megalanya »

Bob Wya wrote:
megalanya wrote: I am using an AMD card.
What's the output from:

Code: Select all

glxinfo | grep OpenGL
lspci -v | awk '{ vga=(vga||($0 ~ /VGA/)) && ($0 != ""); if (vga) {print $0} }'
uname --all
Also do you have the 32-bit graphics drivers installed for your AMD GPU?

Ta
Bob
Outputs: glxinfo | grep OpenGL;

Code: Select all

OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD CEDAR (DRM 2.43.0 / 4.4.0-72-generic, LLVM 4.0.0)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 17.0.4 - padoka PPA
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 17.0.4 - padoka PPA
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 17.0.4 - padoka PPA
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
lspci -v | awk '{ vga=(vga||($0 ~ /VGA/)) && ($0 != ""); if (vga) {print $0} }';

Code: Select all

00:02.0 VGA compatible controller: Intel Corporation 4th Generation Core Processor Family Integrated Graphics Controller (rev 06) (prog-if 00 [VGA controller])
	Subsystem: Gigabyte Technology Co., Ltd 4th Generation Core Processor Family Integrated Graphics Controller
	Flags: bus master, fast devsel, latency 0, IRQ 30
	Memory at f7800000 (64-bit, non-prefetchable) [size=4M]
	Memory at d0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series] (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. Cedar [Radeon HD 5000/6000/7350/8350 Series]
	Flags: bus master, fast devsel, latency 0, IRQ 31
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Memory at f7d20000 (64-bit, non-prefetchable) [size=128K]
	I/O ports at e000 [size=256]
	Expansion ROM at f7d00000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: radeon
	Kernel modules: radeon
uname --all;

Code: Select all

Linux Linux 4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Also no graphics driver installed.
Locked