Steam for Linux

Steam for Linux

Killertjuh 7 Jan, 2015 @ 9:34pm
CS:GO with primusrun no performance
Hello,

I have installed Debian 8 (jessie 64bit).
I`m tryning to use primusrun with CS:GO but i dont have any performance boost.

When i run games outside steam i`ll see a alot of performance boost.

Intel GPU: around 30a40fps
nvidia GPU: around 100a120fps.

But when i run CS:GO with primusrun i have the follow fps:
Intel GPU: around 30a40fps
(i think)nvidia GPU: around 30a40fps


I have already trying to open steam with primusrun without succes.
Every things starts but no performance boost.

I found this artikle: https://steamhost.cn/steamcommunity_com/app/221410...9854395110175/

But when i use "primusrun %command%" in the launch options the game counld start nothing. When i only use primusrun the game will start but no performance boost.


I found some log files mabye permission problem ?

kernel: [ 4804.197019] vgaarb: device changed decodes: PCI:0000:02:00.0,olddecodes=none,decodes=nonewns =none
kernel: [ 4804.197493] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:02:00.0 on minor 1
kernel: [ 4804.197504] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 340.65 Tue Dec 2 09:50:34 PST 2014
gdm-Xorg-:0[2878]: removing GPU device /sys/devices/pci0000:00/0000:00:01.1/0000:02:00.0/drm/card1 /dev/dri/card1
gdm-Xorg-:0[2878]: (II) config/udev: Adding drm device (/dev/dri/card1)
gdm-Xorg-:0[2878]: (II) xfree86: Adding drm device (/dev/dri/card1)
gdm-Xorg-:0[2878]: (II) LoadModule: "modesetting"
gdm-Xorg-:0[2878]: (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
gdm-Xorg-:0[2878]: (II) Module modesetting: vendor="X.Org Foundation"
gdm-Xorg-:0[2878]: compiled for 1.15.99.904, module version = 0.9.0
gdm-Xorg-:0[2878]: Module class: X.Org Video Driver
gdm-Xorg-:0[2878]: ABI class: X.Org Video Driver, version 18.0
gdm-Xorg-:0[2878]: (II) UnloadModule: "modesetting"
gdm-Xorg-:0[2878]: (II) Unloading modesetting
gdm-Xorg-:0[2878]: (II) Failed to load module "modesetting" (already loaded, 32585)
gdm-Xorg-:0[2878]: xf86: found device 1
kernel: [ 4804.644717] nvidia 0000:02:00.0: irq 51 for MSI/MSI-X
kernel: [ 4804.649724] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
kernel: [ 4804.649897] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
kernel: [ 4804.650025] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
kernel: [ 4804.650148] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
kernel: [ 4804.650270] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
kernel: [ 4804.650727] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
kernel: [ 4804.651140] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
kernel: [ 4804.651267] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
kernel: [ 4807.428559] ACPI Error: Field [TBF3] at 270336 exceeds Buffer [NULL] size 262144 (bits) (20140424/dsopcode-236)
kernel: [ 4807.428568] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG_.VID_.GETB] (Node ffff88043d84f8d8), AE_AML_BUFFER_LIMIT (20140424/psparse-536)
kernel: [ 4807.428579] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG_.VID_._ROM] (Node ffff88043d84f900), AE_AML_BUFFER_LIMIT (20140424/psparse-536)
kernel: [ 4807.430266] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
acpid: client connected from 7108[0:999]
acpid: 1 client rule loaded
kernel: [ 4807.633259] thinkpad_acpi: asked for hotkey mask 0x0070ffbf, but firmware forced it to 0x0070ffbb
bumblebeed[2073]: [ 4616.372280] [WARN]Unable to disable discrete card.[ 4807.150144] [ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
bumblebeed[2073]: [ 4807.150167] [WARN][XORG] (WW) Unresolved symbol: fbGetGCPrivateKey
bumblebeed[2073]: [ 4807.150180] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
bumblebeed[2073]: [ 4807.150187] [ERROR][XORG] (EE) NVIDIA(0): Failed to initiate mode change.
bumblebeed[2073]: [ 4807.150191] [ERROR][XORG] (EE) NVIDIA(0): Failed to complete mode change
bumblebeed[2073]: [ 4807.150208] [ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
gdm-Xorg-:0[2878]: removing GPU device /sys/devices/pci0000:00/0000:00:01.1/0000:02:00.0/drm/card1 /dev/dri/card1
kernel: [ 4808.473055] [drm] Module unloaded
kernel: [ 4808.477312] bbswitch: disabling discrete graphics
kernel: [ 4808.477332] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)
kernel: [ 4808.492654] pci 0000:02:00.0: Refused to change power state, currently in D0

Can someone help me with this ?
< >
Showing 1-2 of 2 comments
Killertjuh 8 Jan, 2015 @ 12:30am 
I`ll found this article. i can try this later when i`m at home:

/dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
This could be worked around by appending following lines in /etc/bumblebee/xorg.conf.nvidia (see here):

Section "Screen"
Identifier "Default Screen"
Device "DiscreteNvidia"
EndSection

Bron: https://wiki.archlinux.org/index.php/bumblebee#.2Fdev.2Fdri.2Fcard0:_failed_to_set_DRM_interface_version_1.4:_Permission_denied


Edit: doesnt work. Still have the same error.

Edit2: Add this line to the bootloader also dosnt work "rcutree.rcu_idle_gp_delay=1"
Last edited by Killertjuh; 8 Jan, 2015 @ 9:56pm
Killertjuh 13 Jan, 2015 @ 4:39am 
This wil fix my problem:

Put this in the launch options:

LD_PRELOAD=/usr/lib/nvidia/libGL.so optirun %command%
< >
Showing 1-2 of 2 comments
Per page: 1530 50