You are not logged in.

#1 2019-01-20 09:09:20

jacopastorius
Member
From: Italy
Registered: 2006-05-01
Posts: 115

Can't run steam with primusrun steam

Hi all. I have a laptop with bumblebee; it is running and i am using it setting the launch options in steam games

 primusrun %command%. 
[root@du du]# pacman -Qs nvidia-*
local/bumblebee 3.2.1-20
    NVIDIA Optimus support for Linux through VirtualGL
local/lib32-libvdpau 1.1.1-3
    Nvidia VDPAU library
local/lib32-nvidia-390xx-utils 390.87-2
    NVIDIA drivers utilities (32-bit), 390xx legacy branch
local/libvdpau 1.1.1+3+ga21bf7a-1
    Nvidia VDPAU library
local/libxnvctrl 415.27-1
    NVIDIA NV-CONTROL X extension
local/nvidia-390xx 390.87-28
    NVIDIA drivers for linux, 390xx legacy branch
local/nvidia-390xx-utils 390.87-1
    NVIDIA drivers utilities
local/nvidia-settings 415.27-1
    Tool for configuring the NVIDIA graphics driver
[root@du du]# optirun glxspheres64
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce GTX 860M/PCIe/SSE2
180.317589 frames/sec - 201.234429 Mpixels/sec

But i can't run civilization 6 with both launch options primusrun and LD_PRELOAD=/usr/lib/libfreetype.so so i am trying to running steam with

primusrun steam-runtime

but a little steam window with the text glxchooseVisual Error appears and in the shell:

[du@du ~]$ primusrun steam-runtime   
/home/du/.local/share/Steam/steam.sh: line 106: VERSION_ID: unbound variable
/home/du/.local/share/Steam/steam.sh: line 106: VERSION_ID: unbound variable
Running Steam on arch  64-bit
/home/du/.local/share/Steam/steam.sh: line 106: VERSION_ID: unbound variable
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Installing breakpad exception handler for appid(steam)/version(1546909276)
Installing breakpad exception handler for appid(steam)/version(1546909276)
/usr/share/themes/Breeze/gtk-2.0/widgets/entry:70: error: unexpected identifier `direction', expected character `}'

(steam:2803): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Breeze/gtk-2.0/widgets/styles:36: error: invalid string constant "combobox_entry", expected valid string constant
/usr/share/themes/Breeze/gtk-2.0/widgets/entry:70: error: unexpected identifier `direction', expected character `}'

(steam:2803): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Breeze/gtk-2.0/widgets/styles:36: error: invalid string constant "combobox_entry", expected valid string constant
Installing breakpad exception handler for appid(steam)/version(1546909276)
Fontconfig warning: line 5: unknown element "its:rules"
Fontconfig warning: line 6: unknown element "its:translateRule"
Fontconfig warning: line 9: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 8: unknown element "description"
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 76: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 76: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 84: saw unknown, expected number
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/60-latin.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/60-latin.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/60-latin.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/65-fonts-persian.conf", line 34: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/65-fonts-persian.conf", line 35: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 8: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/69-unifont.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/69-unifont.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/80-delicious.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/80-delicious.conf", line 5: unknown element "its:translateRule"
Fontconfig warning: "/etc/fonts/conf.d/90-synthetic.conf", line 4: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/conf.d/90-synthetic.conf", line 5: unknown element "its:translateRule"
[2019-01-20 11:05:03] Startup - updater built Jan  4 2019 23:23:22
[2019-01-20 11:05:04] Verifying installation...
[2019-01-20 11:05:04] Verification complete
glXChooseVisual failed
glXChooseVisual failedMain.cpp (332) : Assertion Failed: Fatal Error: glXChooseVisual failed
Main.cpp (332) : Assertion Failed: Fatal Error: glXChooseVisual failed
Installing breakpad exception handler for appid(steam)/version(1546909276)
crash_20190120110504_5.dmp[2829]: Uploading dump (out-of-process)
/tmp/dumps/crash_20190120110504_5.dmp
[0120/110504.900269:INFO:crash_reporting.cc(216)] Crash reporting enabled for process: browser
[0120/110504.919695:WARNING:crash_reporting.cc(255)] Failed to set crash key: UserID with value: 0
[0120/110504.919763:WARNING:crash_reporting.cc(255)] Failed to set crash key: BuildID with value: 1546644248
[0120/110504.919767:WARNING:crash_reporting.cc(255)] Failed to set crash key: SteamUniverse with value: Public
[0120/110504.919770:WARNING:crash_reporting.cc(255)] Failed to set crash key: Vendor with value: Valve
[0120/110504.926846:ERROR:gpu_process_transport_factory.cc(1026)] Lost UI shared context.
crash_20190120110504_5.dmp[2829]: Finished uploading minidump (out-of-process): success = yes
crash_20190120110504_5.dmp[2829]: response: CrashID=bp-bc0d3ff0-3d09-4f01-be44-832fa2190120
crash_20190120110504_5.dmp[2829]: file ''/tmp/dumps/crash_20190120110504_5.dmp'', upload yes: ''CrashID=bp-bc0d3ff0-3d09-4f01-be44-832fa2190120''

EDIT:
I can run steam with dedicated nvidia graphic car with

optirun -b primus steam-runtime

i checked that by

[root@du GameGuide]# cat /proc/acpi/bbswitch 
0000:01:00.0 ON

but civilization 6 wants to run only with intel graphic card (the options menu let choose which graphic card choose and only intel is present. Also,game performance are not corresponding to a 860M graphic card

Last edited by jacopastorius (2019-01-20 10:18:16)

Offline

Board footer

Powered by FluxBB