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
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 1605
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
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jul 2016
Posts: 87

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
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jul 2016
Posts: 87

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: 12951

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
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jul 2016
Posts: 87

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
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jul 2016
Posts: 87

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
threadau
n00b
n00b


Joined: 22 May 2012
Posts: 15

PostPosted: Sun Jul 22, 2018 8:27 am    Post subject: Reply with quote

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


Joined: 22 May 2012
Posts: 15

PostPosted: Sun Jul 22, 2018 8:40 am    Post subject: Reply with quote

In hindsight - I'm surprised that the 32bit chroot guide is not referenced in the steam article:
https://wiki.gentoo.org/wiki/Project:AMD64/32-bit_Chroot_Guide

(It seems to use all "mount -o bind" calls.)
Back to top
View user's profile Send private message
n05ph3r42
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jul 2016
Posts: 87

PostPosted: Mon Jul 23, 2018 7:49 am    Post subject: Reply with quote

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


Joined: 05 Aug 2018
Posts: 2
Location: Brasil

PostPosted: Sun Aug 05, 2018 7:05 pm    Post subject: New chat reboot crash and possible solution Reply with quote

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
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5283

PostPosted: Sun Aug 05, 2018 8:10 pm    Post subject: Re: New chat reboot crash and possible solution Reply with quote

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


Joined: 05 Aug 2018
Posts: 2
Location: Brasil

PostPosted: Sun Aug 05, 2018 8:48 pm    Post subject: Re: New chat reboot crash and possible solution Reply with quote

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
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5283

PostPosted: Sun Aug 05, 2018 9:12 pm    Post subject: Reply with quote

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


Joined: 30 Aug 2012
Posts: 27

PostPosted: Wed Aug 22, 2018 3:49 pm    Post subject: Reply with quote

Why isn't Steam in the portage tree?
Back to top
View user's profile Send private message
Juippisi
Apprentice
Apprentice


Joined: 30 Sep 2005
Posts: 288
Location: /home

PostPosted: Fri Aug 24, 2018 7:42 am    Post subject: Reply with quote

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


Joined: 22 Nov 2003
Posts: 473

PostPosted: Sun Aug 26, 2018 10:59 pm    Post subject: Reply with quote

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


Joined: 30 Aug 2012
Posts: 27

PostPosted: Mon Aug 27, 2018 3:38 am    Post subject: Reply with quote

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


Joined: 21 May 2004
Posts: 5472
Location: Removed by Neddy

PostPosted: Sat Sep 01, 2018 4:01 pm    Post subject: Reply with quote

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
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
Juippisi
Apprentice
Apprentice


Joined: 30 Sep 2005
Posts: 288
Location: /home

PostPosted: Sat Sep 01, 2018 4:48 pm    Post subject: Reply with quote

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


Joined: 21 May 2004
Posts: 5472
Location: Removed by Neddy

PostPosted: Sat Sep 01, 2018 7:23 pm    Post subject: Reply with quote

scrap that, got it working, both of them and well my kids and I lost the entire afternoon playing lego:incredibles
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
arnvidr
Guru
Guru


Joined: 19 Aug 2004
Posts: 580
Location: Oslo, Norway

PostPosted: Sun Sep 02, 2018 8:07 am    Post subject: Reply with quote

Anything particular that was wrong?
_________________
Noone wrote:
anything
Back to top
View user's profile Send private message
AndrewLong
n00b
n00b


Joined: 11 Oct 2006
Posts: 9

PostPosted: Fri Oct 26, 2018 3:54 am    Post subject: Reply with quote

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


Joined: 03 Mar 2005
Posts: 1675
Location: 127.0.0.1

PostPosted: Fri Oct 26, 2018 6:50 pm    Post subject: Reply with quote

Hi guys,

I post it here, because I (more or less) fought this crash for months.
Native Team Fortress 2 is crashing with segfault right after starting if system's app-crypt/p11-kit is built with abi_x86_32.

Links :
--
1. https://wiki.gentoo.org/wiki/Steam/Games_troubleshooting#Team_Fortress_2
2. https://github.com/ValveSoftware/Source-1-Games/issues/2619
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