Sof 1 CE on Ubuntu/Wine?
Posts: 14
Joined: 06 Apr 2017, 20:08
Joined: 06 Apr 2017, 20:08
Sof 1 CE on Ubuntu/Wine?
I successfully install Soldier of Fortune Community Edition on Ubuntu Wine. But when I try to open it I get an OpenGL error like this.
Screenshot:
What could be the problem? Thanks.
Screenshot:
What could be the problem? Thanks.
Posts: 12
Joined: 23 Mar 2017, 03:10
Joined: 23 Mar 2017, 03:10
Re: Sof 1 CE on Ubuntu/Wine?
Install proprietary drivers for your video card, they normally have support for OpenGL while native drivers may not:
http://www.psychocats.net/ubuntu/drivers" onclick="window.open(this.href);return false;
http://www.psychocats.net/ubuntu/drivers" onclick="window.open(this.href);return false;
Posts: 14
Joined: 06 Apr 2017, 20:08
Joined: 06 Apr 2017, 20:08
Re: Sof 1 CE on Ubuntu/Wine?
My graphics card is ATI® Radeon™ HD 5450 and unfortunately there is no driver for Ubuntu 16.04.ZXProto wrote:Install proprietary drivers for your video card, they normally have support for OpenGL while native drivers may not:
http://www.psychocats.net/ubuntu/drivers" onclick="window.open(this.href);return false;
Posts: 12
Joined: 23 Mar 2017, 03:10
Joined: 23 Mar 2017, 03:10
Re: Sof 1 CE on Ubuntu/Wine?
You are supposed to be covered by the default driver:megalanya wrote:My graphics card is ATI® Radeon™ HD 5450 and unfortunately there is no driver for Ubuntu 16.04.
https://help.ubuntu.com/community/RadeonDriver" onclick="window.open(this.href);return false;
Your chipset is CEDAR and you should have 3D acceleration. Maybe you OpenGL renderer is set to "software rasterizer" or "llvmpipe" for some strange reason. Read that page for more info.
And what about trying a propietary driver for an older version of Ubuntu?
http://support.amd.com/en-us/download/d ... 4&rev=15.9" onclick="window.open(this.href);return false;
I'm sorry but I can't help you further than this, I have an Nvidia card.
Posts: 14
Joined: 06 Apr 2017, 20:08
Joined: 06 Apr 2017, 20:08
Re: Sof 1 CE on Ubuntu/Wine?
In fact, there is no problem with other games that use OpenGL and Direct3D. Games like Doom 2, Quake III, Delta Force: Land Warrior and Half-Life 1 are running without any problems. Only in Soldier of Fortune was such a distress. Wine logs for SoF, look like this:
Posts: 3046
Joined: 21 Nov 2011, 21:12
Joined: 21 Nov 2011, 21:12
Re: Sof 1 CE on Ubuntu/Wine?
I deleted your wine log megalanya, it was so long it stopped the page from loading.
Upload it in a zip file or something ;)
Upload it in a zip file or something ;)
Posts: 12
Joined: 23 Mar 2017, 03:10
Joined: 23 Mar 2017, 03:10
Re: Sof 1 CE on Ubuntu/Wine?
Before you post your compressed log, what version of the game are you using? The CE from this page, Platinum with SoFplus, or just Platinum without any patch? If you are just using vanilla Platinum, you will have to install SoFplus, or at the very least the modified ref_gl.dll:megalanya wrote:In fact, there is no problem with other games that use OpenGL and Direct3D. Games like Doom 2, Quake III, Delta Force: Land Warrior and Half-Life 1 are running without any problems. Only in Soldier of Fortune was such a distress. Wine logs for SoF, look like this:
http://sof1.megalag.org/obsolete/client/" onclick="window.open(this.href);return false;
As that page says, your video card driver is probably returning a GL_EXTENSIONS that's too long and makes the game crash.
If you already have SoFplus, please upload a zipped log somewhere
Posts: 168
Joined: 02 Dec 2011, 17:23
Joined: 02 Dec 2011, 17:23
Re: Sof 1 CE on Ubuntu/Wine?
64bit Ubuntu? EDIT: tell me version of ubuntu:) + architecture
Last edited by d3nd3 on 21 May 2017, 01:06, edited 1 time in total.
Posts: 12
Joined: 23 Mar 2017, 03:10
Joined: 23 Mar 2017, 03:10
Re: Sof 1 CE on Ubuntu/Wine?
Doesn't matter, Wine runs in 32. SoF runs great for me with QeffectsGL activated in Ubuntu 16.04 64bit, with both Wine 2.0 and 2.6.d3nd3 wrote:64bit Ubuntu?
The big problem it has is that Unity, the desktop environment, completely steals the ALT key, so the game loses focus if you press it and you have no option to regain it, having to manually kill the game. Fortunately, Gnome will come back for Ubuntu 18.
Posts: 168
Joined: 02 Dec 2011, 17:23
Joined: 02 Dec 2011, 17:23
Re: Sof 1 CE on Ubuntu/Wine?
I was asking OP. Please don't argue with me because i typed 2 words :D
I want to fix his problem. Mb OP should try qeffects instead of ref_gl then.
I want to fix his problem. Mb OP should try qeffects instead of ref_gl then.
Posts: 14
Joined: 06 Apr 2017, 20:08
Joined: 06 Apr 2017, 20:08
Re: Sof 1 CE on Ubuntu/Wine?
I apologize for the trouble. Thanks.ShocK wrote:I deleted your wine log megalanya, it was so long it stopped the page from loading.
Upload it in a zip file or something ;)
My English is too bad. I apologize for this. Unfortunately I have this problem in all SoF versions that I can find. I can finded and tested:ZXProto wrote:Before you post your compressed log, what version of the game are you using? The CE from this page, Platinum with SoFplus, or just Platinum without any patch? If you are just using vanilla Platinum, you will have to install SoFplus, or at the very least the modified ref_gl.dll:megalanya wrote:In fact, there is no problem with other games that use OpenGL and Direct3D. Games like Doom 2, Quake III, Delta Force: Land Warrior and Half-Life 1 are running without any problems. Only in Soldier of Fortune was such a distress. Wine logs for SoF, look like this:
http://sof1.megalag.org/obsolete/client/" onclick="window.open(this.href);return false;
As that page says, your video card driver is probably returning a GL_EXTENSIONS that's too long and makes the game crash.
If you already have SoFplus, please upload a zipped log somewhere
Soldier of Fortune for PC Demo
Soldier of Fortune for PC
Soldier of Fortune: Platinum Edition
Soldier of Fortune: Special Edition
Soldier of Fortune: Community Edition v6.2
SoF CE v6.2's Wine logs:
https://drive.google.com/file/d/0B6l0qI ... lMS1k/view
Yes. I am using 64-bit Ubuntu 16.04.2d3nd3 wrote:64bit Ubuntu?
Code: Select all
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS"
Posts: 168
Joined: 02 Dec 2011, 17:23
Joined: 02 Dec 2011, 17:23
Re: Sof 1 CE on Ubuntu/Wine?
Have you been able to test other versions of wine?
wine --version ( in terminal )
please.
EDIT: whilst being in the sof folder in terminal ... 'cd blablabla/sof' give me output of :
LIBGL_DEBUG=verbose wine SoF.exe
and try out of curiosity if this helps :
wine SoF.exe +set gl_driver qeffectsgl
EDIT2: have you tried using system defaults instead of bleeding edge things and extra PPA's. ( i noticed you are using an updated mesa ppa ). Or was that after you had problems?
Those games that you listed that WORK... did you use wine with them? If so, which ones?
wine --version ( in terminal )
please.
EDIT: whilst being in the sof folder in terminal ... 'cd blablabla/sof' give me output of :
LIBGL_DEBUG=verbose wine SoF.exe
and try out of curiosity if this helps :
wine SoF.exe +set gl_driver qeffectsgl
EDIT2: have you tried using system defaults instead of bleeding edge things and extra PPA's. ( i noticed you are using an updated mesa ppa ). Or was that after you had problems?
Those games that you listed that WORK... did you use wine with them? If so, which ones?
Posts: 14
Joined: 06 Apr 2017, 20:08
Joined: 06 Apr 2017, 20:08
Re: Sof 1 CE on Ubuntu/Wine?
I tried between 2.0 to 2.8 versions and did not get a result. Current Wine version:d3nd3 wrote:Have you been able to test other versions of wine?
wine --version ( in terminal )
please.
EDIT: whilst being in the sof folder in terminal ... 'cd blablabla/sof' give me output of :
LIBGL_DEBUG=verbose wine SoF.exe
and try out of curiosity if this helps :
wine SoF.exe +set gl_driver qeffectsgl
EDIT2: have you tried using system defaults instead of bleeding edge things and extra PPA's. ( i noticed you are using an updated mesa ppa ). Or was that after you had problems?
Those games that you listed that WORK... did you use wine with them? If so, which ones?
Code: Select all
wine-2.4 (Staging)
Code: Select all
fixme:winediag:start_process Wine Staging 2.4 is a testing version containing experimental patches.
fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
libGL: Can't open configuration file /home/ubuntu/.drirc: Böyle bir dosya ya da dizin yok.
libGL: pci id for fd 24: 1002:68f9, driver r600
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/r600_dri.so
libGL: Can't open configuration file /home/ubuntu/.drirc: Böyle bir dosya ya da dizin yok.
libGL: Can't open configuration file /home/ubuntu/.drirc: Böyle bir dosya ya da dizin yok.
libGL: Using DRI3 for screen 0
recursive shutdown
Code: Select all
fixme:winediag:start_process Wine Staging 2.4 is a testing version containing experimental patches.
fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
recursive shutdown
https://forum.linuxmint.net.tr/index.php?topic=7940
Posts: 12
Joined: 23 Mar 2017, 03:10
Joined: 23 Mar 2017, 03:10
Re: Sof 1 CE on Ubuntu/Wine?
Sorry Megalanya but I want to get back to this. From those games, only Delta Force is D3D, but also it's the only one which is Windows-only. How many of those are you running under Wine?megalanya wrote:In fact, there is no problem with other games that use OpenGL and Direct3D. Games like Doom 2, Quake III, Delta Force: Land Warrior and Half-Life 1 are running without any problems.
My real question is: have you successfully run any other Windows, OpenGL game under Wine?
And I feel your pain, english is not my primary language either but we have to communicate through something. You won't want to read my google-translated turkish
Posts: 14
Joined: 06 Apr 2017, 20:08
Joined: 06 Apr 2017, 20:08
Re: Sof 1 CE on Ubuntu/Wine?
You're right. Thank you.ZXProto wrote:Sorry Megalanya but I want to get back to this. From those games, only Delta Force is D3D, but also it's the only one which is Windows-only. How many of those are you running under Wine?megalanya wrote:In fact, there is no problem with other games that use OpenGL and Direct3D. Games like Doom 2, Quake III, Delta Force: Land Warrior and Half-Life 1 are running without any problems.
My real question is: have you successfully run any other Windows, OpenGL game under Wine?
And I feel your pain, english is not my primary language either but we have to communicate through something. You won't want to read my google-translated turkish
Half-Life 1 (Steam Linux version)
Half-Life: Opposing Force (Steam Linux version)
Half-Life: Blue Shift (Steam Linux version)
Runs without any problems. However, I tried some games with Wine. According to this;
Call of Duty 2 (Windows version)
Delta Force: Land Warrior (Windows version)
Urban Terror (Windows version)
Runs on Wine without any problems. As proof I got some screenshots:
Call of Duty 2:
Delta Force: Land Warrior:
Urban Terror:
Soldier of Fortune:
Posts: 12
Joined: 23 Mar 2017, 03:10
Joined: 23 Mar 2017, 03:10
Re: Sof 1 CE on Ubuntu/Wine?
Thanks for all the info. From those three, only Urban Terror is OpenGL, but that's good enough to discard it as the problem IMHO.megalanya wrote: However, I tried some games with Wine. According to this;
Call of Duty 2 (Windows version)
Delta Force: Land Warrior (Windows version)
Urban Terror (Windows version)
Runs on Wine without any problems.
Run the following in your SoF directory:
wine SoF.exe +set logfile 2 +set gl_log 1
This should create the file sof.log in your User directory. Please post its content, or upload it somewhere if its too long.
Posts: 14
Joined: 06 Apr 2017, 20:08
Joined: 06 Apr 2017, 20:08
Re: Sof 1 CE on Ubuntu/Wine?
sof.log has been created. Is here;ZXProto wrote:Thanks for all the info. From those three, only Urban Terror is OpenGL, but that's good enough to discard it as the problem IMHO.megalanya wrote: However, I tried some games with Wine. According to this;
Call of Duty 2 (Windows version)
Delta Force: Land Warrior (Windows version)
Urban Terror (Windows version)
Runs on Wine without any problems.
Run the following in your SoF directory:
wine SoF.exe +set logfile 2 +set gl_log 1
This should create the file sof.log in your User directory. Please post its content, or upload it somewhere if its too long.
https://paste.ubuntu.com/24619780/
Posts: 12
Joined: 23 Mar 2017, 03:10
Joined: 23 Mar 2017, 03:10
Re: Sof 1 CE on Ubuntu/Wine?
That is super weird. Tell me what this returns:
LIBGL_DEBUG=verbose glxinfo
If it doesn't work, do this:
sudo apt-get install mesa-utils
...and then try again.
Also, post what this returns:
dmesg | egrep 'drm|radeon'
If you have the patience, try the Q3A demo and see how it behaves:
https://www.fileplanet.com/34621/30000/ ... Arena-Demo" onclick="window.open(this.href);return false;
I still don't have an answer why a Quake 3 game works and a Quake 2 one doesn't.
Posts: 14
Joined: 06 Apr 2017, 20:08
Joined: 06 Apr 2017, 20:08
Re: Sof 1 CE on Ubuntu/Wine?
Mesa is already installed. Outputs;ZXProto wrote:That is super weird. Tell me what this returns:
LIBGL_DEBUG=verbose glxinfo
If it doesn't work, do this:
sudo apt-get install mesa-utils
...and then try again.
Also, post what this returns:
dmesg | egrep 'drm|radeon'
If you have the patience, try the Q3A demo and see how it behaves:
https://www.fileplanet.com/34621/30000/ ... Arena-Demo" onclick="window.open(this.href);return false;
I still don't have an answer why a Quake 3 game works and a Quake 2 one doesn't.
LIBGL_DEBUG=verbose glxinfo
https://paste.ubuntu.com/24620472/
dmesg | egrep 'drm|radeon'
https://paste.ubuntu.com/24620482/
Quake III works great. Screenshot:
Posts: 12
Joined: 23 Mar 2017, 03:10
Joined: 23 Mar 2017, 03:10
Re: Sof 1 CE on Ubuntu/Wine?
megalanya wrote:Mesa is already installed. Outputs;
LIBGL_DEBUG=verbose glxinfo
https://paste.ubuntu.com/24620472/
Code: Select all
OpenGL renderer string: Gallium 0.4 on AMD CEDAR (DRM 2.43.0 / 4.4.0-78-generic, LLVM 4.0.0)
https://www.mesa3d.org/llvmpipe.html" onclick="window.open(this.href);return false;
I'm sorry, but I don't know how it ended there or how to fix it. You can try asking in Linux forums about your card and how to change Gallium for an OpenGL renderer. As I said before, normally video drivers take care of that.
In any case, I'm curious about how Steam handles this. I'd like you to try one last thing: delete (if exists) config.cfg from the User directory inside SoF, then run the following in the SoF directory:
Code: Select all
LD_LIBRARY_PATH=~/.local/share/Steam/ubuntu12_32:~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu:~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu:. wine SoF.exe
Who is online
Users browsing this forum: Ahrefs, Claudebot and 0 guests