Soldat Talk > Need Help? Report Bugs!

Can't run game with dedicated nvidia gpu

(1/5) > >>

CCalp:
I have bought a new laptop with the following graphical configuration:

Card-1: Intel Broadwell-U Integrated Graphics HD 5500
Card-2: NVIDIA GM108M [GeForce 940M]

I have installed Manjaro 15.12 64 bit (based on Arch Linux) and the proprietary drivers for nvidia gpu (video-hybrid-intel-nvidia-bumblebee).

By running a program with "primusrun [name]" I can use my dedicated gpu. I can confirm that it's working by using tests like glxgears or the benchmark tool Unigine Heaven. The rendering gets displayed and the gpu is recognized properly.

--- Code: ---primusrun glxgears -info
GL_RENDERER   = GeForce 940M/PCIe/SSE2
GL_VERSION    = 4.5.0 NVIDIA 352.79
--- End code ---

However, if I run playonlinx with primusrun and want to start a game in Soldat / join a server I only get a sandy-coloured screen (super useful screenshot attached).

Here is the logs.txt from Soldat:

--- Code: ---16-02-19 01:57:11    Log Started
16-02-19 01:57:11 Opened C:\Soldat\soldat.ini
16-02-19 01:57:11 [GFX] Window size: 1920x1080
16-02-19 01:57:11 [GFX] Target resolution: 1920x1080
16-02-19 01:57:11 [GFX] Internal resolution: 1920x1080
16-02-19 01:57:11 [GFX] Loading game graphics
16-02-19 01:57:11 [GFX] OpenGL version: 4.5.0 NVIDIA 352.79
16-02-19 01:57:12 [GFX] Loading font (C:\Soldat\play-regular.ttf)
16-02-19 01:57:12 [GFX] Loading font (C:\Soldat\play-regular.ttf)
16-02-19 01:57:12 Game captions loaded from C:\Soldat\txt\default.Txt
16-02-19 01:57:12 Initializing Sound Library.
16-02-19 01:57:12 Loading sound effects
16-02-19 01:57:12 Loading weather sound effects
16-02-19 01:57:12 Loading music
16-02-19 01:57:12 Creating network interface.
16-02-19 01:57:12 Loading Animations.
16-02-19 01:57:12 Creating Weapons.
16-02-19 01:57:12 Loading Taunts From C:\Soldat\taunts.txt
16-02-19 01:57:12 Loading Weapon Names from C:\Soldat\txt\weaponnames.txt
16-02-19 01:57:12 Loading Map List
16-02-19 01:57:12 Loading Music List
16-02-19 01:57:12 Loading Lobby Servers List
16-02-19 01:57:12 Loading Favourite Servers List
16-02-19 01:57:12 [GFX] Loaded main spritesheet (4096x4096)
16-02-19 01:57:12 [GFX] Loaded interface spritesheet (2048x2048)
16-02-19 01:57:13 Config ticks 20014
16-02-19 01:57:13 Loading Map.
16-02-19 01:57:13 [GFX] Loaded map spritesheet (2048x1024)
16-02-19 01:57:13 Loading Weapon Names from C:\Soldat\txt\weaponnames.txt
16-02-19 01:57:13 Starting Game Server.
16-02-19 01:57:13 Network interface opened.
16-02-19 01:57:13 TCP/IP File Server started 23083
16-02-19 01:57:13  0
16-02-19 01:57:15 Network interface close.
16-02-19 01:57:15 [GFX] OpenGL version: 4.5.0 NVIDIA 352.79
16-02-19 01:57:16 [GFX] Loading font (C:\Soldat\play-regular.ttf)
16-02-19 01:57:16 [GFX] Loading font (C:\Soldat\play-regular.ttf)
16-02-19 01:57:16 Network interface close.
16-02-19 01:57:16 [GFX] Loaded main spritesheet (4096x4096)
16-02-19 01:57:16 [GFX] Loaded interface spritesheet (2048x2048)
16-02-19 01:57:17 Saving Options.
16-02-19 01:57:17 Saving soldat.ini.
16-02-19 01:57:17 Saving mapslist.
16-02-19 01:57:17 Freeing sprites.
16-02-19 01:57:17 UDP closing.
16-02-19 01:57:17 Fileserver closing.
16-02-19 01:57:17 FileServer closed.
16-02-19 01:57:17 Cipher closing.
16-02-19 01:57:17 Cipher destroyed.
16-02-19 01:57:17 Sound closing.
16-02-19 01:57:17 Opening link?
16-02-19 01:57:17    End of Log.
--- End code ---


Any ideas on how to fix that?

Let me know if you need any additional information.

Thanks in advance!

jrgp:
What if rather than using playonlinux, you remove that layer of abstraction, and just run primusrun wine Soldat.exe?

CCalp:

--- Quote from: jrgp on February 19, 2016, 01:48:55 am ---What if rather than using playonlinux, you remove that layer of abstraction, and just run primusrun wine Soldat.exe?

--- End quote ---

Thanks for the hint. This procedure, however, leads to the same result unfortunately.

Falcon`:
can you also paste console output? Maybe wine said something interesting.

darDar:
maybe try to disable one of your cards completely and also try use other drivers (there are usually open source drivers available , which often work better than the official ones).

Navigation

[0] Message Index

[#] Next page

Go to full version