1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Soldier of Fortune OpenGL error

Discussion in 'WINE' started by megalanya, Sep 8, 2017.

  1. megalanya

    megalanya New Member

    Joined:
    Sep 8, 2017
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Hello. I am getting an OpenGL error in Soldier of Fortune. What could be the problem?

    Screenshot:

    [​IMG]

    WINE logs

    Code:
    recursive shutdown
    System Information

    Code:
    WARNING: you should run this program as super-user.
    gnulinux                
        açıklama: Computer
        genişlik: 64 bits
        kapasiteler: vsyscall32
      *-core
          açıklama: Motherboard
          physical id: 0
        *-memory
              açıklama: Sistem belleği
              physical id: 0
              boyut: 3844MiB
        *-cpu
              ürün: Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz
              üretici: Intel Corp.
              physical id: 1
              bus info: cpu@0
              boyut: 3599MHz
              kapasite: 3600MHz
              genişlik: 64 bits
              kapasiteler: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp x86-64 constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm arat pln pts cpufreq
        *-pci
              açıklama: Host bridge
              ürün: 4th Gen Core Processor DRAM Controller
              üretici: Intel Corporation
              physical id: 100
              bus info: pci@0000:00:00.0
              sürüm: 06
              genişlik: 32 bits
              saat: 33MHz
              yapılandırma: driver=hsw_uncore
              kaynaklar: irq:0
            *-pci:0
                açıklama: PCI bridge
                ürün: Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller
                üretici: Intel Corporation
                physical id: 1
                bus info: pci@0000:00:01.0
                sürüm: 06
                genişlik: 32 bits
                saat: 33MHz
                kapasiteler: pci normal_decode bus_master cap_list
                yapılandırma: driver=pcieport
                kaynaklar: irq:24 ioport:e000(boyut=4096) bellek:f7d00000-f7dfffff ioport:e0000000(boyut=268435456)
              *-display
                    açıklama: VGA compatible controller
                    ürün: Cedar [Radeon HD 5000/6000/7350/8350 Series]
                    üretici: Advanced Micro Devices, Inc. [AMD/ATI]
                    physical id: 0
                    bus info: pci@0000:01:00.0
                    sürüm: 00
                    genişlik: 64 bits
                    saat: 33MHz
                    kapasiteler: vga_controller bus_master cap_list rom
                    yapılandırma: driver=radeon latency=0
                    kaynaklar: irq:31 bellek:e0000000-efffffff bellek:f7d20000-f7d3ffff ioport:e000(boyut=256) bellek:c0000-dffff
              *-multimedia
                    açıklama: Audio device
                    ürün: Cedar HDMI Audio [Radeon HD 5400/6300 Series]
                    üretici: Advanced Micro Devices, Inc. [AMD/ATI]
                    physical id: 0.1
                    bus info: pci@0000:01:00.1
                    sürüm: 00
                    genişlik: 64 bits
                    saat: 33MHz
                    kapasiteler: bus_master cap_list
                    yapılandırma: driver=snd_hda_intel latency=0
                    kaynaklar: irq:34 bellek:f7d40000-f7d43fff
            *-display
                açıklama: VGA compatible controller
                ürün: 4th Generation Core Processor Family Integrated Graphics Controller
                üretici: Intel Corporation
                physical id: 2
                bus info: pci@0000:00:02.0
                sürüm: 06
                genişlik: 64 bits
                saat: 33MHz
                kapasiteler: vga_controller bus_master cap_list
                yapılandırma: driver=i915 latency=0
                kaynaklar: irq:30 bellek:f7800000-f7bfffff bellek:d0000000-dfffffff ioport:f000(boyut=64)
            *-multimedia:0
                açıklama: Audio device
                ürün: Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
                üretici: Intel Corporation
                physical id: 3
                bus info: pci@0000:00:03.0
                sürüm: 06
                genişlik: 64 bits
                saat: 33MHz
                kapasiteler: bus_master cap_list
                yapılandırma: driver=snd_hda_intel latency=0
                kaynaklar: irq:35 bellek:f7e14000-f7e17fff
            *-usb:0
                açıklama: USB controller
                ürün: 8 Series/C220 Series Chipset Family USB xHCI
                üretici: Intel Corporation
                physical id: 14
                bus info: pci@0000:00:14.0
                sürüm: 05
                genişlik: 64 bits
                saat: 33MHz
                kapasiteler: xhc_ bus_master cap_list
                yapılandırma: driver=xhci_hcd latency=0
                kaynaklar: irq:27 bellek:f7e00000-f7e0ffff
            *-communication
                açıklama: Communication controller
                ürün: 8 Series/C220 Series Chipset Family MEI Controller #1
                üretici: Intel Corporation
                physical id: 16
                bus info: pci@0000:00:16.0
                sürüm: 04
                genişlik: 64 bits
                saat: 33MHz
                kapasiteler: bus_master cap_list
                yapılandırma: driver=mei_me latency=0
                kaynaklar: irq:32 bellek:f7e1e000-f7e1e00f
            *-usb:1
                açıklama: USB controller
                ürün: 8 Series/C220 Series Chipset Family USB EHCI #2
                üretici: Intel Corporation
                physical id: 1a
                bus info: pci@0000:00:1a.0
                sürüm: 05
                genişlik: 32 bits
                saat: 33MHz
                kapasiteler: ehc_ bus_master cap_list
                yapılandırma: driver=ehci-pci latency=0
                kaynaklar: irq:16 bellek:f7e1c000-f7e1c3ff
            *-multimedia:1
                açıklama: Audio device
                ürün: 8 Series/C220 Series Chipset High Definition Audio Controller
                üretici: Intel Corporation
                physical id: 1b
                bus info: pci@0000:00:1b.0
                sürüm: 05
                genişlik: 64 bits
                saat: 33MHz
                kapasiteler: bus_master cap_list
                yapılandırma: driver=snd_hda_intel latency=0
                kaynaklar: irq:33 bellek:f7e10000-f7e13fff
            *-pci:1
                açıklama: PCI bridge
                ürün: 8 Series/C220 Series Chipset Family PCI Express Root Port #1
                üretici: Intel Corporation
                physical id: 1c
                bus info: pci@0000:00:1c.0
                sürüm: d5
                genişlik: 32 bits
                saat: 33MHz
                kapasiteler: pci normal_decode bus_master cap_list
                yapılandırma: driver=pcieport
                kaynaklar: irq:25
            *-pci:2
                açıklama: PCI bridge
                ürün: 8 Series/C220 Series Chipset Family PCI Express Root Port #3
                üretici: Intel Corporation
                physical id: 1c.2
                bus info: pci@0000:00:1c.2
                sürüm: d5
                genişlik: 32 bits
                saat: 33MHz
                kapasiteler: pci normal_decode bus_master cap_list
                yapılandırma: driver=pcieport
                kaynaklar: irq:26 ioport:d000(boyut=4096) bellek:f7c00000-f7cfffff ioport:f0000000(boyut=1048576)
              *-network
                    açıklama: Eternet interface
                    ürün: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
                    üretici: Realtek Semiconductor Co., Ltd.
                    physical id: 0
                    bus info: pci@0000:03:00.0
                    mantıksal ad: enp3s0
                    sürüm: 06
                    serial: fc:aa:14:15:90:80
                    boyut: 100Mbit/s
                    kapasite: 1Gbit/s
                    genişlik: 64 bits
                    saat: 33MHz
                    kapasiteler: bus_master cap_list eternet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
                    yapılandırma: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168e-3_0.0.4 03/27/12 ip=192.168.1.2 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
                    kaynaklar: irq:28 ioport:d000(boyut=256) bellek:f7c00000-f7c00fff bellek:f0000000-f0003fff
            *-usb:2
                açıklama: USB controller
                ürün: 8 Series/C220 Series Chipset Family USB EHCI #1
                üretici: Intel Corporation
                physical id: 1d
                bus info: pci@0000:00:1d.0
                sürüm: 05
                genişlik: 32 bits
                saat: 33MHz
                kapasiteler: ehc_ bus_master cap_list
                yapılandırma: driver=ehci-pci latency=0
                kaynaklar: irq:23 bellek:f7e1b000-f7e1b3ff
            *-isa
                açıklama: ISA bridge
                ürün: C220 Series Chipset Family H81 Express LPC Controller
                üretici: Intel Corporation
                physical id: 1f
                bus info: pci@0000:00:1f.0
                sürüm: 05
                genişlik: 32 bits
                saat: 33MHz
                kapasiteler: isa bus_master cap_list
                yapılandırma: driver=lpc_ich latency=0
                kaynaklar: irq:0
            *-storage
                açıklama: SATA controller
                ürün: 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode]
                üretici: Intel Corporation
                physical id: 1f.2
                bus info: pci@0000:00:1f.2
                sürüm: 05
                genişlik: 32 bits
                saat: 66MHz
                kapasiteler: storage ahc__1.0 bus_master cap_list
                yapılandırma: driver=ahci latency=0
                kaynaklar: irq:29 ioport:f0b0(boyut=8) ioport:f0a0(boyut=4) ioport:f090(boyut=8) ioport:f080(boyut=4) ioport:f060(boyut=32) bellek:f7e1a000-f7e1a7ff
            *-serial UNCLAIMED
                açıklama: SMBus
                ürün: 8 Series/C220 Series Chipset Family SMBus Controller
                üretici: Intel Corporation
                physical id: 1f.3
                bus info: pci@0000:00:1f.3
                sürüm: 05
                genişlik: 64 bits
                saat: 33MHz
                yapılandırma: latency=0
                kaynaklar: bellek:f7e19000-f7e190ff ioport:f040(boyut=32)
        *-scsi
              physical id: 2
              mantıksal ad: scsi5
              kapasiteler: emulated
            *-cdrom
                açıklama: DVD-RAM writer
                ürün: DRW-24F1ST  a
                üretici: ASUS
                physical id: 0.0.0
                bus info: scsi@5:0.0.0
                mantıksal ad: /dev/cdrom
                mantıksal ad: /dev/cdrw
                mantıksal ad: /dev/dvd
                mantıksal ad: /dev/dvdrw
                mantıksal ad: /dev/sr0
                sürüm: 1.00
                kapasiteler: removable audio cd-r cd-rw dvd dvd-r dvd-ram
                yapılandırma: ansiversion=5 status=nodisc
    WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
    Are you using a wrapper? (e.g PlayOnLinux, CrossOver)

    No.

    WINE Version

    Code:
    wine-2.0.2
    Video cards and what drivers are you using!

    AMD card and open source drivers!

    Your linux distribution

    Ubuntu 16.04.3 LTS (64-bit)

    Thanks.
  2. booman

    booman Grand High Exalted Mystic Emperor of Linux Gaming Staff Member

    Joined:
    Dec 17, 2012
    Messages:
    7,488
    Likes Received:
    542
    Trophy Points:
    113
    Location:
    Linux, Arizona
    Home page:
    Welcome to the forum meglanya!
    So you are using Wine alone and trying to play Soldier of Fortune?

    Are your AMD proprietary drivers up-to-date?
    Can you run any other games in Wine?

    One thing I always try if stable Wine doesn't work.... try Wine Staging versions like 2.16-staging
  3. megalanya

    megalanya New Member

    Joined:
    Sep 8, 2017
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Hello.

    I am using open-source drivers. Because my graphics card is ATI® Radeon™ HD 5450 and unfortunately there is no driver for Ubuntu 16.04.

    I tried between 2.0 to 2.15 versions and did not get a result. Current Wine version:

    Code:
    wine-2.15 (Staging)
    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, Army Men: RTS and Urban Terror are running without any problems.

    Only in Soldier of Fortune and Medal of Honor: Allied Assault was such a distress.

    The modified "ref_gl.dll" method also does not work, unfortunately.
  4. booman

    booman Grand High Exalted Mystic Emperor of Linux Gaming Staff Member

    Joined:
    Dec 17, 2012
    Messages:
    7,488
    Likes Received:
    542
    Trophy Points:
    113
    Location:
    Linux, Arizona
    Home page:
    Ok, then its not your setup that is causing the problem.

    Check out WineHQ
    There are two posts that got platinum results. I'm not sure how, but they are using an older version of wine.
  5. megalanya

    megalanya New Member

    Joined:
    Sep 8, 2017
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    My English is very bad I apologize for this. I've entered the last two datasets in WineHQ.

    Soldier of Fortune and SiN Gold uses Quake II engine.

    The same problem happened in a game called SiN Gold GOG version. In a forum, the following method was suggested:

    Code:
    export MESA_EXTENSION_MAX_YEAR=1998
    Code:
    export WINEARCH=win32 WINEPREFIX=~/.wine32
    Code:
    GALLIUM_HUD="fps" wine sin.exe +set game 2015 +menu_main +set gl_driver opengl32
    This method works on SiN Gold without any problem. But did not works on Soldier of Fortune.
  6. booman

    booman Grand High Exalted Mystic Emperor of Linux Gaming Staff Member

    Joined:
    Dec 17, 2012
    Messages:
    7,488
    Likes Received:
    542
    Trophy Points:
    113
    Location:
    Linux, Arizona
    Home page:
    Ah.... I thought that might have been your post on WineHQs. I even checked your name to see if it was you, but you posted with a different name.

    I had a lot of problems testing Medal of Honor Allied Assault as well, but I don't own Soldier of Fortune.
    Is this the games: https://en.wikipedia.org/wiki/Soldier_of_Fortune_(video_game)
  7. megalanya

    megalanya New Member

    Joined:
    Sep 8, 2017
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Yes.

    If you want to examine:

    Soldier of Fortune Demo is here:

    https://www.fileplanet.com/36143/30000/fileinfo/Soldier-of-Fortune-Demo

    Soldier of Fortune: Community Edition is here:

    http://www.sof1.org/sofdownload.php
  8. booman

    booman Grand High Exalted Mystic Emperor of Linux Gaming Staff Member

    Joined:
    Dec 17, 2012
    Messages:
    7,488
    Likes Received:
    542
    Trophy Points:
    113
    Location:
    Linux, Arizona
    Home page:
    I found that community edition.
    Is this the version you are testing?
  9. megalanya

    megalanya New Member

    Joined:
    Sep 8, 2017
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Yes. 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 Retail Version
    Soldier of Fortune: Platinum Edition
    Soldier of Fortune: Special Edition
    Soldier of Fortune: Community Edition v6.2
  10. booman

    booman Grand High Exalted Mystic Emperor of Linux Gaming Staff Member

    Joined:
    Dec 17, 2012
    Messages:
    7,488
    Likes Received:
    542
    Trophy Points:
    113
    Location:
    Linux, Arizona
    Home page:
    Awesome! I will try the Community Edition this weekend and will report my findings.
    The main reason I am hopeful is because the Platinum ratings on WineHQs
    There has to be a way to get it to run, specially because its an older game.
  11. booman

    booman Grand High Exalted Mystic Emperor of Linux Gaming Staff Member

    Joined:
    Dec 17, 2012
    Messages:
    7,488
    Likes Received:
    542
    Trophy Points:
    113
    Location:
    Linux, Arizona
    Home page:
    I gave it a try in PlayOnLinux and it ran perfectly for me!

    I'm using a GeForce GTX 950 Nividia 384 drivers.
    So my guess is AMD or OpenSource drivers are causing the artifacts you are experiencing.

    Here is my video:
  12. megalanya

    megalanya New Member

    Joined:
    Sep 8, 2017
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    I think there's something wrong with your background musics. Does not play game soundtrack.

    I am using an AMD open-source driver. Is there a solution for the open-source driver?
  13. booman

    booman Grand High Exalted Mystic Emperor of Linux Gaming Staff Member

    Joined:
    Dec 17, 2012
    Messages:
    7,488
    Likes Received:
    542
    Trophy Points:
    113
    Location:
    Linux, Arizona
    Home page:
    I turned off the background music. I normally do that in games to increase realism.
    I only have one AMD card and do not use it anymore. All the rest of my PC's have Nvidia cards.

    I have read about special Wine versions called Gallium Nine or Gallium 9. You may want to research them because I've read that it increases game performance with a bunch of AMD video cards.
  14. megalanya

    megalanya New Member

    Joined:
    Sep 8, 2017
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    I installed Oibaf + Wine + Gallium Nine with PPA. And reboot of the system.

    https://launchpad.net/~oibaf/ archive/ubuntu/graphics-drivers

    https://launchpad.net/~commendsarnex/ archive/ubuntu/winedri3

    But I guess it didn't work. Did I make a mistake somewhere?

    Screenshots:

    [​IMG]

    [​IMG]
  15. booman

    booman Grand High Exalted Mystic Emperor of Linux Gaming Staff Member

    Joined:
    Dec 17, 2012
    Messages:
    7,488
    Likes Received:
    542
    Trophy Points:
    113
    Location:
    Linux, Arizona
    Home page:
    Hmm, I'm not sure??? You may have to re-install the game and make sure to select Windows XP for the operating system.

    I noticed in the video settings OpenGL is automatically selected. So it may support Direct X as well. I've never played Soldier of Fortune before, so this is all new ground for me.

    Do you think there is a configuration file where you can tell it to use Direct X?
  16. megalanya

    megalanya New Member

    Joined:
    Sep 8, 2017
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    I uninstall this game and reset of Wine:

    Code:
    rm -rf ~/.wine
    Then I installed the game again, but unfortunately it did not work.

    Screenshots:

    [​IMG]

    [​IMG]

    This game uses a Quake II engine. I think only uses OpenGL.
  17. booman

    booman Grand High Exalted Mystic Emperor of Linux Gaming Staff Member

    Joined:
    Dec 17, 2012
    Messages:
    7,488
    Likes Received:
    542
    Trophy Points:
    113
    Location:
    Linux, Arizona
    Home page:
    What did you find about Gallium Nine? I think it might be something related to drivers as well...
  18. megalanya

    megalanya New Member

    Joined:
    Sep 8, 2017
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    I think the GL extension string is too long. Crashes.

    I do not know how to solve it. I have tried many methods, but it didn't work..

    SoF 1 Wine logs is here:

    https://drive.google.com/file/d/0B6l0qI2uOWsIZkZxSnE4N0pFX28/view
  19. booman

    booman Grand High Exalted Mystic Emperor of Linux Gaming Staff Member

    Joined:
    Dec 17, 2012
    Messages:
    7,488
    Likes Received:
    542
    Trophy Points:
    113
    Location:
    Linux, Arizona
    Home page:
    Wow, that is a big log!

    There are a bunch of GL related errors and pixel errors. There is definitely something wrong. At this point it may be better to post on a Gallium Nine forum or even Reddit to see if anyone with a similar AMD card has the same problems. Since the game is free, they can test it without much difficulty.

    If you figure it out, please post here and I'll add the fix to my guide.
  20. megalanya

    megalanya New Member

    Joined:
    Sep 8, 2017
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    I guess they didn't really help Reddit. See:

    https://www.reddit.com/r/wine_gaming/comments/72uc47/soldier_of_fortune_opengl_error/

Share This Page