 |
Author |
Message |
Joined: Thu Apr 06th, 2017 Posts: 13
|
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.
|
14 Apr 2017, 00:06 |
|
 |
Joined: Thu Mar 23rd, 2017 Posts: 12
|
Install proprietary drivers for your video card, they normally have support for OpenGL while native drivers may not: How to install proprietary drivers in Ubuntu
|
23 Apr 2017, 11:04 |
|
 |
Topic authorJoined: Thu Apr 06th, 2017 Posts: 13
|
My graphics card is ATI® Radeon™ HD 5450 and unfortunately there is no driver for Ubuntu 16.04.
|
28 Apr 2017, 19:50 |
|
 |
Joined: Thu Mar 23rd, 2017 Posts: 12
|
You are supposed to be covered by the default driver: RadeonDriver - Community Help WikiYour 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.9I'm sorry but I can't help you further than this, I have an Nvidia card.
|
01 May 2017, 17:29 |
|
 |
Topic authorJoined: Thu Apr 06th, 2017 Posts: 13
|
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:
|
20 May 2017, 17:59 |
|
 |
Joined: Mon Nov 21st, 2011 Location: UK Posts: 3086
|
I deleted your wine log megalanya, it was so long it stopped the page from loading. Upload it in a zip file or something ;)
|
20 May 2017, 18:02 |
|
 |
Joined: Thu Mar 23rd, 2017 Posts: 12
|
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: Soldier of Fortune thingsAs 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 
|
20 May 2017, 23:51 |
|
 |
Joined: Fri Dec 02nd, 2011 Posts: 125
|
64bit Ubuntu? EDIT: tell me version of ubuntu:) + architecture
Last edited by d3nd3 on 21 May 2017, 00:06, edited 1 time in total.
|
20 May 2017, 23:55 |
|
 |
Joined: Thu Mar 23rd, 2017 Posts: 12
|
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. 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.
|
21 May 2017, 00:05 |
|
 |
Joined: Fri Dec 02nd, 2011 Posts: 125
|
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.
|
21 May 2017, 00:08 |
|
 |
Topic authorJoined: Thu Apr 06th, 2017 Posts: 13
|
I apologize for the trouble. Thanks. 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: 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/0B6l0qI2uOWsIMFMyWE9wY3lMS1k/viewYes. I am using 64-bit Ubuntu 16.04.2
|
21 May 2017, 00:24 |
|
 |
Joined: Fri Dec 02nd, 2011 Posts: 125
|
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?
|
21 May 2017, 03:00 |
|
 |
Topic authorJoined: Thu Apr 06th, 2017 Posts: 13
|
I tried between 2.0 to 2.8 versions and did not get a result. Current Wine version: LIBGL_DEBUG=verbose wine SoF.exe wine SoF.exe +set gl_driver qeffectsgl PPA's were added later. Someone recommended Mesa PPAs, but it did not work. Details are in: https://forum.linuxmint.net.tr/index.php?topic=7940
|
21 May 2017, 03:30 |
|
 |
Joined: Thu Mar 23rd, 2017 Posts: 12
|
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? 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 
|
21 May 2017, 15:57 |
|
 |
Topic authorJoined: Thu Apr 06th, 2017 Posts: 13
|
You're right. Thank you. 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: 
|
21 May 2017, 17:27 |
|
 |
Joined: Thu Mar 23rd, 2017 Posts: 12
|
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. Run the following in your SoF directory: wine SoF.exe +set logfile 2 +set gl_log 1This should create the file sof.log in your User directory. Please post its content, or upload it somewhere if its too long.
|
21 May 2017, 20:01 |
|
 |
Topic authorJoined: Thu Apr 06th, 2017 Posts: 13
|
sof.log has been created. Is here; https://paste.ubuntu.com/24619780/
|
21 May 2017, 20:32 |
|
 |
Joined: Thu Mar 23rd, 2017 Posts: 12
|
That is super weird. Tell me what this returns: LIBGL_DEBUG=verbose glxinfoIf 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: Quake3: Arena Demo - FilePlanetI still don't have an answer why a Quake 3 game works and a Quake 2 one doesn't.
|
21 May 2017, 21:53 |
|
 |
Topic authorJoined: Thu Apr 06th, 2017 Posts: 13
|
 |  |  |  | ZXProto wrote: That is super weird. Tell me what this returns: LIBGL_DEBUG=verbose glxinfoIf 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: Quake3: Arena Demo - FilePlanetI still don't have an answer why a Quake 3 game works and a Quake 2 one doesn't. |  |  |  |  |
Mesa is already installed. Outputs; LIBGL_DEBUG=verbose glxinfohttps://paste.ubuntu.com/24620472/dmesg | egrep 'drm|radeon'https://paste.ubuntu.com/24620482/Quake III works great. Screenshot: 
|
21 May 2017, 22:34 |
|
 |
Joined: Thu Mar 23rd, 2017 Posts: 12
|
That is a software renderer. Somehow Q3 accepts it but Q2 rejects it. People say it's pretty quick, so I don't blame you if you couldn't tell the difference. llvmpipeI'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: Let's see if the game loads using the libraries from Steam.
|
21 May 2017, 23:39 |
|
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|
 |
|