View previous topic :: View next topic |
Author |
Message |
ddio n00b

Joined: 24 Jun 2015 Posts: 5
|
Posted: Sun Jun 12, 2016 9:29 pm Post subject: libva info: Trying to open nvidia_drv_video.so |
|
|
Hi,
I'm using steam streaming client for the games which do not run under linux, and everytime I start it I get these messages:
Code: | libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/i386-linux-gnu/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
Installing breakpad exception handler for appid(streaming_client)/version(1.0)
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/i386-linux-gnu/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1 |
I guess this means, my video decoding is handled by the cpu, and not the gpu. So far lags only happen rarely, but I guess its because of that.
I have the nvidia_drv_video.so, but in a different location. Can I tell steam to search for it somewhere else or should I try to just create an symlink?
I do not use an chroot or anything special for steam.
Thanks for help! |
|
Back to top |
|
 |
Chiitoo Administrator


Joined: 28 Feb 2010 Posts: 2754 Location: Here and Away Again
|
Posted: Sun Dec 10, 2017 6:34 pm Post subject: ><)))°€ |
|
|
It's been quiet here for a while, so I figured it's time to make some noise, as I'm almost certain this will be of interest to some:
2017-12-07 at steamcommunity.com/linux - Platform-specific wishlisting
In short, there is a platform-specific wishlisting section the game developers will see, and as a user, we can make a difference by filtering games for Linux only in our Store Settings, and adding a title into our wishlist.
Quite a simple little thing to make things stand out a bit more, I maybe guess. :]
How much this will affect anything, we can only guess, but I know I added some items back to my wishlist after setting the filter (and re-added others for good measure). _________________ Kindest of regardses. |
|
Back to top |
|
 |
n05ph3r42 Tux's lil' helper

Joined: 11 Jul 2016 Posts: 135
|
Posted: Fri Jun 08, 2018 12:31 pm Post subject: troubles running steam via chroot to x86 rootfs |
|
|
Hi there.
I've tried to use https://wiki.gentoo.org/wiki/Steam#Chroot manual to use stem via x86 rootfs, but achieved this error:
Code: | /usr/local/steam32 # . /usr/local/bin/steam32
No protocol specified
Repairing installation, linking /home/steam/.steam/steam to /home/steam/.local/share/Steam
/home/steam/.local/share/Steam/steam.sh: line 154: VERSION_ID: unbound variable
/home/steam/.local/share/Steam/steam.sh: line 154: VERSION_ID: unbound variable
Running Steam on gentoo 64-bit
STEAM_RUNTIME is enabled by the user
Installing breakpad exception handler for appid(steam)/version(0)
No protocol specified
No protocol specified
Assert( Assertion Failed: Could not open connection to X ):../steamexe/updateui_xwin.cpp:339
Installing breakpad exception handler for appid(steam)/version(1.0)
sh: /home/steam/.local/share/Steam/steam_msg.sh: No such file or directory
crash_20180608121958_3.dmp[5815]: Uploading dump (out-of-process)
/tmp/dumps/crash_20180608121958_3.dmp
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[2018-06-08 12:19:58] Startup - updater built Nov 23 2016 01:05:42
../steamexe/updateui_xwin.cpp (339) : Assertion Failed: Could not open connection to X
../steamexe/main.cpp (525) : Assertion Failed: failed to initialize update status ui, or create initial window
/home/steam/.local/share/Steam/steam.sh: line 444: no match: ssfn*
crash_20180608121958_3.dmp[5815]: Finished uploading minidump (out-of-process): success = yes
crash_20180608121958_3.dmp[5815]: response: CrashID=bp-3209d2cd-387f-4f41-9467-62c182180608
crash_20180608121958_3.dmp[5815]: file ''/tmp/dumps/crash_20180608121958_3.dmp'', upload yes: ''CrashID=bp-3209d2cd-387f-4f41-9467-62c182180608'' |
I see that issue related to X - script cannot find it, but i specified "dbus-launch steam" in my script, as it described in sample (im using same script):
Code: | /usr/local/bin/steam32
#!/bin/sh
# steam chroot directory
chroot_dir="/usr/local/steam32"
# mount chroot directories
mount -R /dev "${chroot_dir}/dev"
mount -R /sys "${chroot_dir}/sys"
mount -t proc proc "${chroot_dir}/proc"
mount -R /usr/portage "${chroot_dir}/usr/portage"
# check for an existing dbus session
if [ -z "${DBUS_SESSION_BUS_ADDRESS}" ] ; then
chroot "${chroot_dir}" dbus-launch
fi
# chroot, substitute user, and start steam
chroot "${chroot_dir}" su steam -c "dbus-launch steam"
# unmount chroot directories when steam exits
umount -l "${chroot_dir}/dev"
umount -l "${chroot_dir}/sys"
umount -l "${chroot_dir}/proc"
umount -l "${chroot_dir}/usr/portage"
|
and i tested dbus session in native ~amd64 rootfs with:
Code: |
# echo ${DBUS_SESSION_BUS_ADDRESS}
unix:abstract=/tmp/dbus-P9Pzr7XpGP,guid=bd659b7eb45bfb9447aab47a5b16e5a5 |
what im doing wrong? |
|
Back to top |
|
 |
n05ph3r42 Tux's lil' helper

Joined: 11 Jul 2016 Posts: 135
|
Posted: Sat Jun 09, 2018 6:00 pm Post subject: |
|
|
Well. This script cant run anything on X without xhost.
Emerge xhost and add Code: | xhost local:localhost | after Code: | mount -R /usr/portage "${chroot_dir}/usr/portage" | line.
Moreover it is recommended to use linux32 before any chroot command :
https://wiki.gentoo.org/wiki/Project:AMD64/32-bit_Chroot_Guide
my script after modification:
Code: | #!/bin/sh
# steam chroot directory
chroot_dir="/usr/local/steam32"
# mount chroot directories
mount -R /dev "${chroot_dir}/dev"
mount -R /sys "${chroot_dir}/sys"
mount -t proc proc "${chroot_dir}/proc"
mount -R /usr/portage "${chroot_dir}/usr/portage"
# allow use X from chroot
xhost local:localhost
# check for an existing dbus session
if [ -z "${DBUS_SESSION_BUS_ADDRESS}" ] ; then
linux32 chroot "${chroot_dir}" dbus-launch
echo "started nu DBUS session ${DBUS_SESSION_BUS_ADDRESS}"
fi
# input 1 if you want chroot only, otherwise chroot and run steam as "steam" user
read -p "Input 1 if just chroot:" n
# echo "n is <$n>"
if test $n -eq 1; then
linux32 chroot "${chroot_dir}"
else
linux32 chroot "${chroot_dir}" su steam -c "dbus-launch steam"
fi
# unmount chroot directories when steam exits
umount -l "${chroot_dir}/dev"
umount -l "${chroot_dir}/sys"
umount -l "${chroot_dir}/proc"
umount -l "${chroot_dir}/usr/portage" |
Last edited by n05ph3r42 on Sat Jun 09, 2018 7:45 pm; edited 3 times in total |
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23123
|
Posted: Sat Jun 09, 2018 6:56 pm Post subject: |
|
|
Why open the X server to everything on localhost? You are already scripting the setup, so you could instead copy just the X11 authentication cookie you need into the chroot.
Likewise, it is not recommended to "use linux32 before any chroot command." Rather, it is recommended to use linux32 when calling chroot to enter a 32-bit chroot. If the target chroot is 64-bit, using linux32 will make things worse, not better. |
|
Back to top |
|
 |
n05ph3r42 Tux's lil' helper

Joined: 11 Jul 2016 Posts: 135
|
Posted: Sat Jun 09, 2018 7:34 pm Post subject: |
|
|
Hu wrote: | Why open the X server to everything on localhost? You are already scripting the setup, so you could instead copy just the X11 authentication cookie you need into the chroot. |
I have no idea how to do that. I just quoted xhost use from 32 bit chroot wiki article.
Quote: | Likewise, it is not recommended to "use linux32 before any chroot command." Rather, it is recommended to use linux32 when calling chroot to enter a 32-bit chroot. If the target chroot is 64-bit, using linux32 will make things worse, not better. |
Subject is in context of 32-bit chroot. It should be obvious that we need to use linux32 only for 32bit chroot. |
|
Back to top |
|
 |
n05ph3r42 Tux's lil' helper

Joined: 11 Jul 2016 Posts: 135
|
Posted: Sat Jun 09, 2018 8:10 pm Post subject: |
|
|
Hu wrote: | Why open the X server to everything on localhost? You are already scripting the setup, so you could instead copy just the X11 authentication cookie you need into the chroot.
|
Code: | xauth list ${DISPLAY#localhost}
gen2/unix:0 MIT-MAGIC-COOKIE-1 9bae68d4f23121ff8117de7a71ece679 |
this cookie ? |
|
Back to top |
|
 |
threadau n00b

Joined: 22 May 2012 Posts: 15
|
Posted: Sun Jul 22, 2018 8:27 am Post subject: |
|
|
I'm also working through the chroot guide, and having some issues.
After I run the script, all my terminals are messed up (can't su/sudo or open a new session):
- su -- "su: must be run from a terminal"
- sudo -- "sudo: no tty present and no askpass program specified"
- new sessions -- "Server refused to allocate pty"
I think it might be from the rbind mount/unmounts? The Arch wiki has a warning against using rbinds in this use case:
https://wiki.archlinux.org/index.php/change_root#Using_chroot
Quote: | Warning: When using --rbind, some subdirectories of dev/ and sys/ will not be unmountable. Attempting to unmount with umount -l in this situation will break your session, requiring a reboot. If possible, use -o bind instead. |
...but then they go ahead and use rbind in their example anyway.
In any case, I'm not quite knowledgeable enough to know equacly what detail is causing me trouble. Any ideas?
Also from the guide:
Quote: | Although the above script uses D-Bus, it is possible to run Steam without it, but a manual method is required to connect the X server from within the chroot. |
Doesn't this mean that the xhost commands suggested above are not necessary? Or if they are necessary, what are we using DBUS for?
Thanks all. |
|
Back to top |
|
 |
threadau n00b

Joined: 22 May 2012 Posts: 15
|
|
Back to top |
|
 |
n05ph3r42 Tux's lil' helper

Joined: 11 Jul 2016 Posts: 135
|
Posted: Mon Jul 23, 2018 7:49 am Post subject: |
|
|
From my experience with chroot 32 for steam, I noticed that steam is not working right with linux32. Steam browser said that 32-bit environment is not supported, or something like that. Steam works but show no embedded frames.And i wasn't able to start any program from steam, because GUI was inaccesible in fact, except main window.
So it seems you should NOT use linux32 for steam chroot.
I tired of this and moved back to multilib.
As for xhost AFAIK it allow to connect to local X session from chrooted env, dbus check is just for check is dbus already running, to run it if it is not. |
|
Back to top |
|
 |
kwarakwara n00b

Joined: 05 Aug 2018 Posts: 2 Location: Brasil
|
Posted: Sun Aug 05, 2018 7:05 pm Post subject: New chat reboot crash and possible solution |
|
|
Sorry if this doesn't belong here, but I recently had my machine "randomly" reboot after the Steam update that changed the chat. I was able to fix it by turning off all sound notifications. If this a bad post do warn me and I'll delete. |
|
Back to top |
|
 |
Ant P. Watchman

Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sun Aug 05, 2018 8:10 pm Post subject: Re: New chat reboot crash and possible solution |
|
|
kwarakwara wrote: | Sorry if this doesn't belong here, but I recently had my machine "randomly" reboot after the Steam update that changed the chat. I was able to fix it by turning off all sound notifications. If this a bad post do warn me and I'll delete. |
Are you using Pulseaudio or ALSA? |
|
Back to top |
|
 |
kwarakwara n00b

Joined: 05 Aug 2018 Posts: 2 Location: Brasil
|
Posted: Sun Aug 05, 2018 8:48 pm Post subject: Re: New chat reboot crash and possible solution |
|
|
Ant P. wrote: | kwarakwara wrote: | Sorry if this doesn't belong here, but I recently had my machine "randomly" reboot after the Steam update that changed the chat. I was able to fix it by turning off all sound notifications. If this a bad post do warn me and I'll delete. |
Are you using Pulseaudio or ALSA? |
ALSA and apulse. I do get some complaints on the terminal running Steam when it searches for libpulse, but so far those were only warnings. |
|
Back to top |
|
 |
Ant P. Watchman

Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sun Aug 05, 2018 9:12 pm Post subject: |
|
|
I've had steam crash for weird audio-related reasons lately as well, but not the entire machine. Do you have the kernel configured to reboot on panic? (cat /proc/sys/kernel/panic) That'd explain the reboots, though turning it off won't make the crashes go away. |
|
Back to top |
|
 |
shadywack n00b

Joined: 30 Aug 2012 Posts: 31
|
Posted: Wed Aug 22, 2018 3:49 pm Post subject: |
|
|
Why isn't Steam in the portage tree? |
|
Back to top |
|
 |
Juippisi Developer


Joined: 30 Sep 2005 Posts: 761 Location: /home
|
Posted: Fri Aug 24, 2018 7:42 am Post subject: |
|
|
Just wanted to let people know and say that I tried this:
https://steamcommunity.com/games/221410#announcements/detail/1696055855739350561
and many games are indeed working out-of-the box. Did get errors with few older games and japanese VNs (probably due to some wine-localization things)
But it's looking good! The only bad thing is, if you enable steam-beta you get many updates to it daily :) |
|
Back to top |
|
 |
jagdpanther l33t

Joined: 22 Nov 2003 Posts: 768
|
Posted: Sun Aug 26, 2018 10:59 pm Post subject: |
|
|
Juippisi:
If you don't want all of those updates, in each game's properties, under the "update" tab, you can switch the "automatic updates" to "Only update this game when I launch it." In your steam library, as long as you do not use grid view, the games that will need updating will be listed in blue text so it is easy to know if you will need an update before your play.
I have a question for you. I am using the steam-overlay via Layman and have followed the instructions https://wiki.gentoo.org/wiki/Steam . Including that long list of packages that need the abi_x86_32 use flag set. I switched to the new Linux beta steam client and when I try to play "windows" versions of games my entire steam client crashes. (I tried Fallen Enchantress and Skyrim.) Linux games still work (ex: Tomb Raider)
Do you have 'ABI_X86="64 32"' set in your /etc/portage/make.conf file? (I am getting errors like "Failed to open digital audio driver Couldn't open OAL device." and am wondering if I need more 32-bit support.) |
|
Back to top |
|
 |
shadywack n00b

Joined: 30 Aug 2012 Posts: 31
|
Posted: Mon Aug 27, 2018 3:38 am Post subject: |
|
|
jagdpanther wrote: | Juippisi:
If you don't want all of those updates, in each game's properties, under the "update" tab, you can switch the "automatic updates" to "Only update this game when I launch it." In your steam library, as long as you do not use grid view, the games that will need updating will be listed in blue text so it is easy to know if you will need an update before your play.
I have a question for you. I am using the steam-overlay via Layman and have followed the instructions https://wiki.gentoo.org/wiki/Steam . Including that long list of packages that need the abi_x86_32 use flag set. I switched to the new Linux beta steam client and when I try to play "windows" versions of games my entire steam client crashes. (I tried Fallen Enchantress and Skyrim.) Linux games still work (ex: Tomb Raider)
Do you have 'ABI_X86="64 32"' set in your /etc/portage/make.conf file? (I am getting errors like "Failed to open digital audio driver Couldn't open OAL device." and am wondering if I need more 32-bit support.) |
He's saying that the Steam runtime itself updates very often. |
|
Back to top |
|
 |
Naib Watchman


Joined: 21 May 2004 Posts: 6073 Location: Removed by Neddy
|
Posted: Sat Sep 01, 2018 4:01 pm Post subject: |
|
|
Juippisi wrote: | Just wanted to let people know and say that I tried this:
https://steamcommunity.com/games/221410#announcements/detail/1696055855739350561
and many games are indeed working out-of-the box. Did get errors with few older games and japanese VNs (probably due to some wine-localization things)
But it's looking good! The only bad thing is, if you enable steam-beta you get many updates to it daily  | I have been battling with this all weekend... the only windows game I have is Lego:Incredibles and it launches and runs great BUT it won't accept my two steam controllers... While proton is fantastic, there is the inherent issue of it being a windows application and to debug and frig is all but impossible in linux _________________ #define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0; |
|
Back to top |
|
 |
Juippisi Developer


Joined: 30 Sep 2005 Posts: 761 Location: /home
|
Posted: Sat Sep 01, 2018 4:48 pm Post subject: |
|
|
jagdpanther wrote: |
Do you have 'ABI_X86="64 32"' set in your /etc/portage/make.conf file? (I am getting errors like "Failed to open digital audio driver Couldn't open OAL device." and am wondering if I need more 32-bit support.)
|
Yes, I have that globally set in make.conf. Steam, wine.. I think even some Gnome dependencies wanted it. So it was easier to just enable globally instead of playing with package.use.
Naib wrote: |
BUT it won't accept my two steam controllers...
|
I'm actually having problems with my xbox360 controller in Dark Souls series. |
|
Back to top |
|
 |
Naib Watchman


Joined: 21 May 2004 Posts: 6073 Location: Removed by Neddy
|
Posted: Sat Sep 01, 2018 7:23 pm Post subject: |
|
|
scrap that, got it working, both of them and well my kids and I lost the entire afternoon playing lego:incredibles _________________ #define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0; |
|
Back to top |
|
 |
arnvidr l33t


Joined: 19 Aug 2004 Posts: 629 Location: Oslo, Norway
|
Posted: Sun Sep 02, 2018 8:07 am Post subject: |
|
|
Anything particular that was wrong? _________________
|
|
Back to top |
|
 |
AndrewLong n00b

Joined: 11 Oct 2006 Posts: 11
|
Posted: Fri Oct 26, 2018 3:54 am Post subject: |
|
|
When I try to start the Steam client, the client window never appears. The auto updater appears and seems to work, occasionally downloading updates.
Here's the console output when I try to run the client:
(I've deleted some "Installing breakpad exception handler for appid(steam)/version(1539393410)" lines to make it a bit shorter)
Code: | /home/andrew/.local/share/Steam/steam.sh: line 106: VERSION_ID: unbound variable
/home/andrew/.local/share/Steam/steam.sh: line 106: VERSION_ID: unbound variable
Running Steam on gentoo 64-bit
STEAM_RUNTIME is enabled by the user
Pins up-to-date!
Installing breakpad exception handler for appid(steam)/version(1539393410)
sh: lspci: command not found
Installing breakpad exception handler for appid(steam)/version(1539393410)
[1025/233618.382217:INFO:crash_reporting.cc(216)] Crash reporting enabled for process: browser
[1025/233618.500137:WARNING:crash_reporting.cc(255)] Failed to set crash key: UserID with value: 0
[1025/233618.500189:WARNING:crash_reporting.cc(255)] Failed to set crash key: BuildID with value: 1539391679
[1025/233618.500193:WARNING:crash_reporting.cc(255)] Failed to set crash key: SteamUniverse with value: Public
[1025/233618.500197:WARNING:crash_reporting.cc(255)] Failed to set crash key: Vendor with value: Valve
Installing breakpad exception handler for appid(steam)/version(1539393410)
CApplicationManagerPopulateThread took 0 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
CAppInfoCacheReadFromDiskThread took 119 milliseconds to initialize
[1025/233618.670969:ERROR:gpu_process_transport_factory.cc(1026)] Lost UI shared context.
Installing breakpad exception handler for appid(steam)/version(1539393410)
Local Device Found
type: 045e 028e
path: sdl://0
serial_number: - 0
Manufacturer:
Product: X360 Controller
Release: 114
Interface: -1
!! Steam controller device opened for index 0.
Steam Controller reserving XInput slot 0
[2018-10-25 23:36:16] Startup - updater built Oct 13 2018 00:47:09
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2018-10-25 23:36:16] Checking for update on startup
[2018-10-25 23:36:16] Checking for available updates...
[2018-10-25 23:36:16] Download skipped: /client/steam_client_ubuntu12 version 1539393410, installed version 1539393410
[2018-10-25 23:36:16] Nothing to do
[2018-10-25 23:36:16] Verifying installation...
[2018-10-25 23:36:16] Performing checksum verification of executable files
[2018-10-25 23:36:17] Verification complete
../common/pipes.cpp (770) : Assertion Failed: fatal stalled cross-thread pipe
../common/pipes.cpp (770) : Assertion Failed: fatal stalled cross-thread pipe
../common/pipes.cpp (770) : Fatal assert failed: ../common/pipes.cpp, line 770. Application exiting.
../common/pipes.cpp (770) : Fatal assert failed: ../common/pipes.cpp, line 770. Application exiting.
Installing breakpad exception handler for appid(steam)/version(1539393410)
assert_20181025233918_18.dmp[9996]: Uploading dump (out-of-process)
/tmp/dumps/assert_20181025233918_18.dmp
_ExitOnFatalAssert
assert_20181025233918_18.dmp[9996]: Finished uploading minidump (out-of-process): success = yes
assert_20181025233918_18.dmp[9996]: response: CrashID=bp-8d8c86d1-904c-4124-bea9-0961e2181025
assert_20181025233918_18.dmp[9996]: file ''/tmp/dumps/assert_20181025233918_18.dmp'', upload yes: ''CrashID=bp-8d8c86d1-904c-4124-bea9-0961e2181025'' |
Sometimes the dump is called assert_<timestamp>.dmp, others it is called crash_<timestamp>.dmp |
|
Back to top |
|
 |
netfab Veteran

Joined: 03 Mar 2005 Posts: 1975 Location: 127.0.0.1
|
|
Back to top |
|
 |
vyedmic n00b

Joined: 02 Dec 2010 Posts: 51
|
Posted: Sun Dec 30, 2018 9:52 pm Post subject: |
|
|
I am at loss, this is the only result - no matter whether using steam-meta from steam-overlay or trying manually as per the wiki.
Code: |
/home/user/.local/share/Steam/steam.sh: line 106: VERSION_ID: unbound variable
/home/user/.local/share/Steam/steam.sh: line 106: VERSION_ID: unbound variable
Running Steam on gentoo 64-bit
STEAM_RUNTIME is enabled by the user
Pins up-to-date!
/home/user/.local/share/Steam/steam.sh: line 823: /home/user/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh: No such file or directory
|
Can you please help?
UPDATE: Sorted by manually re-linking openGL libraries from mesa to nvidia.
Last edited by vyedmic on Wed Jan 09, 2019 9:17 pm; edited 2 times in total |
|
Back to top |
|
 |
|