Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Native Steam client and source game engine
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 13, 14, 15  
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
ddio
n00b
n00b


Joined: 24 Jun 2015
Posts: 5

PostPosted: Sun Jun 12, 2016 9:29 pm    Post subject: libva info: Trying to open nvidia_drv_video.so Reply with quote

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
View user's profile Send private message
Chiitoo
Moderator
Moderator


Joined: 28 Feb 2010
Posts: 1506
Location: Here and Away Again

PostPosted: Sun Dec 10, 2017 6:34 pm    Post subject: ><)))°€ Reply with quote

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).
_________________
Kind Regards,
~ The Noob Unlimited ~

Sore wa sore, kore wa kore.
Back to top
View user's profile Send private message
n05ph3r42
n00b
n00b


Joined: 11 Jul 2016
Posts: 68

PostPosted: Fri Jun 08, 2018 12:31 pm    Post subject: troubles running steam via chroot to x86 rootfs Reply with quote

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
View user's profile Send private message
n05ph3r42
n00b
n00b


Joined: 11 Jul 2016
Posts: 68

PostPosted: Sat Jun 09, 2018 6:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 12359

PostPosted: Sat Jun 09, 2018 6:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
n05ph3r42
n00b
n00b


Joined: 11 Jul 2016
Posts: 68

PostPosted: Sat Jun 09, 2018 7:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
n05ph3r42
n00b
n00b


Joined: 11 Jul 2016
Posts: 68

PostPosted: Sat Jun 09, 2018 8:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Goto page Previous  1, 2, 3 ... 13, 14, 15
Page 15 of 15

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum