LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-02-2021, 09:00 AM   #16
elcore
Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 845

Rep: Reputation: Disabled

Quote:
Originally Posted by bassmadrigal View Post
That makes a lot of sense. I imagine it's probably defaulted to my hdmi output, so I'll have to play with it once I get home from work to figure out how to change the default audio device. However, would I be doing this in the container through alsa (bringing me back to the days before 14.2) or would I do it with pulseaudio (and if it's with pulseaudio, would I be using pavucontrol or some config file)?
Can't help with that, sorry. I never used or wanted to use none of these libpulse things, and I only use one analog device, the 1st device that is picked up on boot & the only device that is ever connected.
I don't even have CONFIG_SND_DYNAMIC_MINORS in my kernel because the machine has plenty of hdmi slots and nothing to plug into them, so i got rid of that part long ago.
So it's better to ask someone who actually uses the thing, all I can tell you is that winealsa.drv worked perfectly fine here for many years.
Apparently the main limitation of old winealsa.drv was that only a single source could use hw0,0 at the same time, but I guess it never bothered me enough to complain about it.
It's fine now and it was fine back then, if you ask me.
 
Old 04-02-2021, 11:28 AM   #17
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,121

Rep: Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651
I forgot to respond to this yesterday, but the container didn't have alsamixer, aplay, or alsactl, so I don't know where to go from here. Maybe I'll just need to file an issue with the dev and see if they can help me figure it out.

Unless anyone else has any ideas...
 
Old 04-02-2021, 05:23 PM   #18
speck
Member
 
Registered: Nov 2001
Location: US
Distribution: Slackware 14.2
Posts: 375

Rep: Reputation: 115Reputation: 115
Quote:
Originally Posted by bassmadrigal View Post
I forgot to respond to this yesterday, but the container didn't have alsamixer, aplay, or alsactl, so I don't know where to go from here. Maybe I'll just need to file an issue with the dev and see if they can help me figure it out.

Unless anyone else has any ideas...
The dev (Kron4ek) replied on the previous page with some suggestions.
 
1 members found this post helpful.
Old 04-02-2021, 11:26 PM   #19
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,121

Rep: Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651
Quote:
Originally Posted by speck View Post
The dev (Kron4ek) replied on the previous page with some suggestions.
Weird! Their post didn't show up for me with my previous post (but there was a glitch with the forum software showing two pages, but I couldn't access the second page).

Quote:
Originally Posted by Kron4ek View Post
Do you have some other programs that are actively using your sound card running in the background? And do you use manual ALSA config like /etc/asound.conf or ~/.asoundrc?
Thanks for chiming in! I don't have any programs outputting sound and my alsa config is set to use pulseaudio (via /etc/asound.conf, I don't have anything set with my individual user), and pulseaudio is set to run on demand (which is the default with Slackware).

Code:
jbhansen@craven-moorhead:~/Downloads$ cat /etc/asound.conf 
# ALSA system-wide config file
# By default, redirect to PulseAudio:
pcm.default pulse
ctl.default pulse
Quote:
Originally Posted by Kron4ek View Post
I suggest to try to run with SANDBOX enabled:

Code:
SANDBOX=1 BIND="${HOME}/04  - Linkin Park - New Divide - Linkin Park.mp3" bash conty.sh mpg123 ~/"04  - Linkin Park - New Divide - Linkin Park.mp3"
And you can try to bind /proc and/or whole /etc:
Code:
BIND="/proc /etc"  - Linkin Park - New Divide - Linkin Park.mp3" bash conty.sh mpg123 ~/"04  - Linkin Park - New Divide - Linkin Park.mp3"
Took some tweaking, but with binding ${home}, /proc, and /etc, I was able to play the song. YAY! After playing around some more, I just needed to bind ${HOME} and /etc to be able to play the song (with or without SANDBOX).

Code:
jbhansen@craven-moorhead:~/Downloads$ SANDBOX=1 BIND="${HOME} /proc /etc" bash conty.sh mpg123 ~/04\ \ -\ Linkin\ Park\ -\ New\ Divide\ -\ Linkin\ Park.mp3
Running Conty
Filesystem sandbox is enabled
Binded items: /home/jbhansen /proc /etc

High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
        version 1.26.5; written and copyright by Michael Hipp and others
        free software (LGPL) without any warranty but with best wishes
[/etc/pulse/client.conf:26] Unknown lvalue 'allow-autospawn-for-root' in section 'n/a'.

Directory: /home/jbhansen/

Terminal control enabled, press 'h' for listing of keys and functions.

Playing MPEG stream 1 of 1: 04  - Linkin Park - New Divide - Linkin Park.mp3 ...
[/etc/pulse/client.conf:26] Unknown lvalue 'allow-autospawn-for-root' in section 'n/a'.
[/etc/pulse/client.conf:26] Unknown lvalue 'allow-autospawn-for-root' in section 'n/a'.

MPEG 1.0 L III cbr320 44100 j-s

Title:   New Divide                                                                                  Artist: Linkin Park
Comment:                                                                                             Album:  One More Light Live
Year:    2017                                                                                        Genre:  Alternative Rock
[/etc/pulse/client.conf:26] Unknown lvalue 'allow-autospawn-for-root' in section 'n/a'.
[/etc/pulse/client.conf:26] Unknown lvalue 'allow-autospawn-for-root' in section 'n/a'.

[0:03] Decoding of 04  - Linkin Park - New Divide - Linkin Park.mp3 finished.
(I couldn't leave the song's filename included in the BIND argument... it failed saying bwrap couldn't find source path /home/jbhansen/04 -- quotes and backslashes wouldn't help).

Code:
jbhansen@craven-moorhead:~/Downloads$ SANDBOX=1 BIND="${HOME}/04 - Linkin Park - New Divide - Linkin Park.mp3" bash conty.sh mpg123 ~/04\ \ -\ Linkin\ Park\ -\ New\ Divide\ -\ Linkin\ Park.mp3 
Running Conty
Filesystem sandbox is enabled
Binded items: /home/jbhansen/04 - Linkin Park - New Divide - Linkin Park.mp3

bwrap: Can't find source path /home/jbhansen/04: No such file or directory
However, when I tried to run steam (with or without sandbox but keeping BIND for home and etc -- I tried with and without proc), I ran into a fatal error for glXChooseVisual...

Code:
jbhansen@craven-moorhead:~/Downloads$ SANDBOX=1 BIND="${HOME} /proc /etc" bash conty.sh steam
Running Conty
Filesystem sandbox is enabled
Binded items: /home/jbhansen /proc /etc

Running Steam on slackware 14.2 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Steam client's requirements are satisfied
WARNING: Using default/fallback debugger launch
/home/jbhansen/.local/share/Steam/ubuntu12_32/steam
[2021-04-02 18:01:44] Startup - updater built Mar 23 2021 20:11:00
Installing breakpad exception handler for appid(steam)/version(1616532526)
[2021-04-02 18:01:44] Loading cached metrics from disk (/home/jbhansen/.local/share/Steam/package/steam_client_metrics.bin)
[2021-04-02 18:01:44] Using the following download hosts for Public, Realm steamglobal
[2021-04-02 18:01:44] 1. https://cdn.akamai.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2021-04-02 18:01:44] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2021-04-02 18:01:44] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1616532526)
[2021-04-02 18:01:44] Verifying installation...
[2021-04-02 18:01:44] Verification complete
Loaded SDL version 2.0.15-6379350
Installing breakpad exception handler for appid(steam)/version(1616532526)
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
STEAM_RUNTIME_HEAVY: ./steam-runtime-heavy
glXChooseVisual failed
glXChooseVisual failedsrc/steamUI/Main.cpp (401) : Assertion Failed: Fatal Error: glXChooseVisual failed
src/steamUI/Main.cpp (401) : Assertion Failed: Fatal Error: glXChooseVisual failed
Installing breakpad exception handler for appid(steam)/version(1616532526)
assert_20210402180145_5.dmp[18312]: Uploading dump (out-of-process)
/tmp/dumps/assert_20210402180145_5.dmp
assert_20210402180145_5.dmp[18312]: Finished uploading minidump (out-of-process): success = yes
assert_20210402180145_5.dmp[18312]: response: CrashID=bp-84e34e9c-3e89-41f3-bb52-561f32210402
assert_20210402180145_5.dmp[18312]: file ''/tmp/dumps/assert_20210402180145_5.dmp'', upload yes: ''CrashID=bp-84e34e9c-3e89-41f3-bb52-561f32210402''
[0402/180146.324083:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: browser
[0402/180146.370022:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0
[0402/180146.370075:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1616530283
[0402/180146.370079:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public
[0402/180146.370086:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve
Fontconfig warning: "/etc/fonts/fonts.conf", line 102: unknown element "blank"
[0402/180146.576985:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0
[0402/180146.577080:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1616530283
[0402/180146.577087:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public
[0402/180146.577094:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve
[0402/180146.604712:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: gpu-process
[0402/180146.800281:ERROR:sandbox_linux.cc(372)] InitializeSandbox() called with multiple threads in process gpu-process.
[0402/180147.003567:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0
[0402/180147.003663:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1616530283
[0402/180147.003669:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public
[0402/180147.003674:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve
[0402/180147.025796:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: utility
I also tried without the sandbox and ran into the same issue.
 
Old 04-03-2021, 04:14 AM   #20
Kron4ek
LQ Newbie
 
Registered: Apr 2021
Posts: 8

Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
Weird! Their post didn't show up for me with my previous post (but there was a glitch with the forum software showing two pages, but I couldn't access the second page).
That's because of the premoderation of new user's comments, my comments appear with a delay (edit. now they appear immediately).

Quote:
Originally Posted by bassmadrigal View Post
Thanks for chiming in! I don't have any programs outputting sound and my alsa config is set to use pulseaudio (via /etc/asound.conf, I don't have anything set with my individual user), and pulseaudio is set to run on demand (which is the default with Slackware).

Code:
jbhansen@craven-moorhead:~/Downloads$ cat /etc/asound.conf 
# ALSA system-wide config file
# By default, redirect to PulseAudio:
pcm.default pulse
ctl.default pulse
Took some tweaking, but with binding ${home}, /proc, and /etc, I was able to play the song. YAY! After playing around some more, I just needed to bind ${HOME} and /etc to be able to play the song (with or without SANDBOX).

However, when I tried to run steam (with or without sandbox but keeping BIND for home and etc -- I tried with and without proc), I ran into a fatal error for glXChooseVisual...
Good, this means that some specific config(s) from /etc need to be binded (i believe it's /etc/asound.conf, and maybe also /etc/pulse and /etc/alsa). Binding the whole /etc is good for testing, but this may break things since /etc inside the container is specific for the package set and the package versions inside it, Steam broke because of this i suppose.

So the sound does work in mpg123 if you bind only /etc (without /proc), right? By the way, HOME is binded by default unless SANDBOX is enabled.

Could you please try this new Conty test build and see if the sound works for you by default now?

Last edited by Kron4ek; 04-03-2021 at 04:17 AM.
 
1 members found this post helpful.
Old 04-03-2021, 04:56 AM   #21
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, RPi OS, Mint & Android
Posts: 12,654

Rep: Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612
On a different aspect, running wine with no multilib is unwise, as the majority of windows programs are still 32bit. Your main app may be 64bit, but utilities?
 
Old 04-03-2021, 07:48 AM   #22
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 2,869

Rep: Reputation: 1056Reputation: 1056Reputation: 1056Reputation: 1056Reputation: 1056Reputation: 1056Reputation: 1056Reputation: 1056
Unprivileged container to run wine/steam on slackware64 with no multilib

^ the container has multi-lib. this means it can run 32 bit apps without needing to have multi-lib on the host.
 
2 members found this post helpful.
Old 04-03-2021, 10:11 PM   #23
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,121

Rep: Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651
Quote:
Originally Posted by Kron4ek View Post
So the sound does work in mpg123 if you bind only /etc (without /proc), right? By the way, HOME is binded by default unless SANDBOX is enabled.
Correct, I just needed to bind /etc and not /proc.

Quote:
Originally Posted by Kron4ek View Post
Could you please try this new Conty test build and see if the sound works for you by default now?
I tried and Steam still didn't provide sound and I still needed to bind /etc to allow sound for mpg123.

Here's the output for the various commands I tried:

Code:
jbhansen@craven-moorhead:~/Downloads$ bash conty_lite_test.sh steam # Tried running Half Life 1
Running Conty

Running Steam on arch rolling 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Steam client's requirements are satisfied
WARNING: Using default/fallback debugger launch
/home/jbhansen/.local/share/Steam/ubuntu12_32/steam
[2021-04-04 03:03:28] Startup - updater built Mar 23 2021 20:11:00
Installing breakpad exception handler for appid(steam)/version(1616532526)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2021-04-04 03:03:29] Loading cached metrics from disk (/home/jbhansen/.local/share/Steam/package/steam_client_metrics.bin)
[2021-04-04 03:03:29] Using the following download hosts for Public, Realm steamglobal
[2021-04-04 03:03:29] 1. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2021-04-04 03:03:29] 2. https://cdn.akamai.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2021-04-04 03:03:29] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1616532526)
[2021-04-04 03:03:29] Checking for update on startup
[2021-04-04 03:03:29] Checking for available updates...
[2021-04-04 03:03:29] Downloading manifest: https://cdn.cloudflare.steamstatic.com/client/steam_client_ubuntu12
Installing breakpad exception handler for appid(steam)/version(1616532526)
[2021-04-04 03:03:29] Download skipped: /client/steam_client_ubuntu12 version 1616532526, installed version 1616532526, existing pending version 0
[2021-04-04 03:03:29] Nothing to do
[2021-04-04 03:03:29] Verifying installation...
[2021-04-04 03:03:29] Performing checksum verification of executable files
[2021-04-04 03:03:30] Verification complete
Loaded SDL version 2.0.15-6379350
Installing breakpad exception handler for appid(steam)/version(1616532526)
STEAM_RUNTIME_HEAVY: ./steam-runtime-heavy
Installing breakpad exception handler for appid(steam)/version(1616532526)
Installing breakpad exception handler for appid(steam)/version(1616532526)
Installing breakpad exception handler for appid(steam)/version(1616532526)
CAppInfoCacheReadFromDiskThread took 90 milliseconds to initialize
Installing breakpad exception handler for appid(steam)/version(1616532526)
Installing breakpad exception handler for appid(steam)/version(1616532526)
Installing breakpad exception handler for appid(steam)/version(1616532526)
Installing breakpad exception handler for appid(steam)/version(1616532526)
Installing breakpad exception handler for appid(steam)/version(1616532526)
Warning: failed to set thread priority: set failed for 8: -1: setpriority() failed
Warning: failed to set thread priority: set failed for priority 8
Warning: support for elevated priorities is most likely unavailable, suppressing future warnings
Warning: failed to set thread priority: set failed for 8: -1: setpriority() failed
Installing breakpad exception handler for appid(steam)/version(1616532526)
Installing breakpad exception handler for appid(steam)/version(1616532526)
PulseAudio connect failed (used only for Mic Volume Control) with error: Access denied
CApplicationManagerPopulateThread took 74 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
Installing breakpad exception handler for appid(steam)/version(1616532526)
Installing breakpad exception handler for appid(steam)/version(1616532526)
Installing breakpad exception handler for appid(steam)/version(1616532526)
Proceed to auto login
Installing breakpad exception handler for appid(steam)/version(1616532526)
Installing breakpad exception handler for appid(steam)/version(1616532526)
Installing breakpad exception handler for appid(steam)/version(1616532526)
Installing breakpad exception handler for appid(steam)/version(1616532526)
[0404/030333.277099:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: browser
[0404/030333.416216:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0
[0404/030333.416312:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1616530283
[0404/030333.416321:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public
[0404/030333.416327:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve
[0404/030335.112998:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0
[0404/030335.113094:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1616530283
[0404/030335.113105:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public
[0404/030335.113113:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve
[0404/030336.594903:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: gpu-process
[0404/030336.733390:ERROR:sandbox_linux.cc(372)] InitializeSandbox() called with multiple threads in process gpu-process.
[0404/030336.867126:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0
[0404/030336.867217:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1616530283
[0404/030336.867228:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public
[0404/030336.867235:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve
[0404/030337.948242:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: utility
Installing breakpad exception handler for appid(steam)/version(1616532526)
Opted-in Controller Mask for AppId 0: 0

(steam:29551): Gtk-WARNING **: 03:03:41.672: gtk_disable_setlocale() must be called before gtk_init()
Installing breakpad exception handler for appid(steam)/version(1616532526)
roaming config store loaded successfully - 2975 bytes.
migrating temporary roaming config store
BRefreshApplicationsInLibrary 1: 21ms
Installing breakpad exception handler for appid(steam)/version(1616532526)
[0404/030343.098033:INFO:crash_reporting.cc(270)] Crash reporting enabled for process: renderer
[0404/030343.145841:INFO:crash_reporting.cc(270)] Crash reporting enabled for process: renderer
[0404/030343.177129:INFO:crash_reporting.cc(270)] Crash reporting enabled for process: renderer
Installing breakpad exception handler for appid(steam)/version(1616532526)
Failed to init SteamVR because it isn't installed
ExecCommandLine: "'/home/jbhansen/.local/share/Steam/ubuntu12_32/steam'"
System startup time: 13.27 seconds

(steam:29551): LIBDBUSMENU-GLIB-WARNING **: 03:03:43.696: Trying to remove a child that doesn't believe we're it's parent.

(steam:29551): LIBDBUSMENU-GLIB-WARNING **: 03:03:43.696: Trying to remove a child that doesn't believe we're it's parent.

(steam:29551): LIBDBUSMENU-GLIB-WARNING **: 03:03:43.697: Trying to remove a child that doesn't believe we're it's parent.

(steam:29551): LIBDBUSMENU-GLIB-WARNING **: 03:03:43.697: Trying to remove a child that doesn't believe we're it's parent.

(steam:29551): LIBDBUSMENU-GLIB-WARNING **: 03:03:43.697: Trying to remove a child that doesn't believe we're it's parent.

(steam:29551): LIBDBUSMENU-GLIB-WARNING **: 03:03:43.697: Trying to remove a child that doesn't believe we're it's parent.

(steam:29551): LIBDBUSMENU-GLIB-WARNING **: 03:03:43.697: Trying to remove a child that doesn't believe we're it's parent.

(steam:29551): LIBDBUSMENU-GLIB-WARNING **: 03:03:43.697: Trying to remove a child that doesn't believe we're it's parent.

(steam:29551): LIBDBUSMENU-GLIB-WARNING **: 03:03:43.697: Trying to remove a child that doesn't believe we're it's parent.

(steam:29551): LIBDBUSMENU-GLIB-WARNING **: 03:03:43.697: Trying to remove a child that doesn't believe we're it's parent.

(steam:29551): LIBDBUSMENU-GLIB-WARNING **: 03:03:43.697: Trying to remove a child that doesn't believe we're it's parent.

(steam:29551): LIBDBUSMENU-GLIB-WARNING **: 03:03:43.698: Trying to remove a child that doesn't believe we're it's parent.

(steam:29551): LIBDBUSMENU-GLIB-WARNING **: 03:03:43.698: Trying to remove a child that doesn't believe we're it's parent.

(steam:29551): LIBDBUSMENU-GLIB-WARNING **: 03:03:43.698: Trying to remove a child that doesn't believe we're it's parent.

(steam:29551): LIBDBUSMENU-GLIB-WARNING **: 03:03:43.698: Trying to remove a child that doesn't believe we're it's parent.
Warning: failed to set thread priority: set failed for 4: -1: setpriority() failed
Warning: failed to set thread priority: set failed for priority 4
Warning: support for elevated priorities is most likely unavailable, suppressing future warnings
[0404/030343.712821:INFO:crash_reporting.cc(270)] Crash reporting enabled for process: renderer
[0404/030343.716817:INFO:crash_reporting.cc(270)] Crash reporting enabled for process: renderer
Warning: failed to set thread priority: set failed for 4: -1: setpriority() failed
Warning: failed to set thread priority: set failed for priority 4
Warning: support for elevated priorities is most likely unavailable, suppressing future warnings
[0404/030344.156949:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[0404/030344.157001:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[0404/030344.157042:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[0404/030344.157054:WARNING:property.cc(145)] DaemonVersion: GetAndBlock: failed.
[0404/030344.157074:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[0404/030344.157095:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
BuildCompleteAppOverviewChange: 287
RegisterForAppOverview 1: 25ms
RegisterForAppOverview 2: 26ms
[0404/030346.838058:INFO:crash_reporting.cc(270)] Crash reporting enabled for process: renderer
[0404/030346.923905:INFO:crash_reporting.cc(270)] Crash reporting enabled for process: renderer
[70]Non-Steam Controller Configs Enabled: 1
Installing breakpad exception handler for appid(steam)/version(1616532526)
GameAction [AppID 70, ActionID 1] : LaunchApp changed task to ProcessingInstallScript with ""
GameAction [AppID 70, ActionID 1] : LaunchApp changed task to SynchronizingCloud with ""
CAPIJobRequestUserStats - Server response failed 2
GameAction [AppID 70, ActionID 1] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 70, ActionID 1] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 70, ActionID 1] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 70, ActionID 1] : LaunchApp continues with user response "CreatingProcess"
Opted-in Controller Mask for AppId 70: 0
Game update: AppID 70 "", ProcID 30204, IP 0.0.0.0:0
ERROR: ld.so: object '/home/jbhansen/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Starting app 70
>>> Adding process 30204 for game ID 70
GameAction [AppID 70, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
GameAction [AppID 70, ActionID 1] : LaunchApp changed task to Completed with ""
ERROR: ld.so: object '/home/jbhansen/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 30206 != 30205, skipping destruction (fork without exec?)
>>> Adding process 30205 for game ID 70
ERROR: ld.so: object '/home/jbhansen/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/jbhansen/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
>>> Adding process 30207 for game ID 70
>>> Adding process 30208 for game ID 70
Using breakpad crash handler
Game update: AppID 70 "", ProcID 30208, IP 0.0.0.0:0
RecordSteamInterfaceCreation (PID 30208): SteamUser016 / User
RecordSteamInterfaceCreation (PID 30208): SteamFriends013 / Friends
RecordSteamInterfaceCreation (PID 30208): SteamUtils005 / Utils
RecordSteamInterfaceCreation (PID 30208): SteamMatchMaking009 / Matchmaking
RecordSteamInterfaceCreation (PID 30208): SteamMatchMakingServers002 / MatchmakingServers
RecordSteamInterfaceCreation (PID 30208): STEAMUSERSTATS_INTERFACE_VERSION011 / UserStats
RecordSteamInterfaceCreation (PID 30208): STEAMAPPS_INTERFACE_VERSION005 / Apps
RecordSteamInterfaceCreation (PID 30208): SteamNetworking005 / Networking
RecordSteamInterfaceCreation (PID 30208): STEAMREMOTESTORAGE_INTERFACE_VERSION010 / RemoteStorage
RecordSteamInterfaceCreation (PID 30208): STEAMSCREENSHOTS_INTERFACE_VERSION002 / Screenshots
RecordSteamInterfaceCreation (PID 30208): STEAMHTTP_INTERFACE_VERSION002 / HTTP
RecordSteamInterfaceCreation (PID 30208): STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 / UnifiedMessages
Setting breakpad minidump AppID = 70
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561197970112770 [API loaded yes]
Steam_SetMinidumpSteamID:  Setting Steam ID:  76561197970112770
Installing breakpad exception handler for appid(steam)/version(1616532526)
GL_SIZES:  r:8 g:8 b:8 a:0 depth:24

Installing breakpad exception handler for appid(gameoverlayui)/version(20210323201103)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
Installing breakpad exception handler for appid(steam)/version(1616532526)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
[0404/030348:ERROR:object_proxy.cc(239)] Failed to call method: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
[0404/030348:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation
Platform config directory: platform/config
0:Initializing platform...
ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused

SDL_InitSubSystem(SDL_INIT_AUDIO) failed.
S_Startup: SNDDMA_Init failed.

[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused

Server module initialized.

World module initialized.

STEAM Auth Server

[0404/030348.681348:INFO:crash_reporting.cc(270)] Crash reporting enabled for process: renderer
ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused

AppActive: active
RecordSteamInterfaceCreation (PID 30208): SteamUtils005 / Utils
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
[0404/030348.760140:ERROR:frame_sink_video_capturer_impl.cc(206)] Invalid resolutions constraints: 0x0 must not be greater than 0x0; and also within media::limits.
AppActive: active
CAppInfoCacheReadFromDiskThread took 1 milliseconds to initialize
RecordSteamInterfaceCreation (PID 30208): SteamGameServer011 / GameServer
RecordSteamInterfaceCreation (PID 30208): SteamUtils005 / Utils
RecordSteamInterfaceCreation (PID 30208): STEAMAPPS_INTERFACE_VERSION005 / Apps
RecordSteamInterfaceCreation (PID 30208): STEAMHTTP_INTERFACE_VERSION002 / HTTP
RecordSteamInterfaceCreation (PID 30208): SteamNetworking005 / Networking
RecordSteamInterfaceCreation (PID 30208): SteamGameServerStats001 / GameServerStats
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561197970112770 [API loaded yes]
Steam_SetMinidumpSteamID:  Setting Steam ID:  76561197970112770
RecordSteamInterfaceCreation (PID 30208): SteamUtils005 / Utils
Game update: AppID 70 "", ProcID 30208, IP 0.0.0.0:27015
CApplicationManagerPopulateThread took 58 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
Unknown command: VModEnable

Installing breakpad exception handler for appid(steam)/version(1616532526)
Dropped Player from server
Reason:  Server shutting down

World module shutdown.

Server module shutdown.

Game removed: AppID 70 "", ProcID 30208 
Game 70 created interface STEAMAPPS_INTERFACE_VERSION005 / Apps
Game 70 created interface STEAMHTTP_INTERFACE_VERSION002 / HTTP
Game 70 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION010 / RemoteStorage
Game 70 created interface STEAMSCREENSHOTS_INTERFACE_VERSION002 / Screenshots
Game 70 created interface STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 / UnifiedMessages
Game 70 created interface STEAMUSERSTATS_INTERFACE_VERSION011 / UserStats
Game 70 created interface SteamFriends013 / Friends
Game 70 created interface SteamMatchMaking009 / Matchmaking
Game 70 created interface SteamMatchMakingServers002 / MatchmakingServers
Game 70 created interface SteamNetworking005 / Networking
Game 70 created interface SteamUser016 / User
Game 70 created interface SteamUtils005 / Utils
Game 70 method call count for IClientFriends::GetPersonaName : 1
Game 70 method call count for IClientUtils::GetAppID : 17
Game 70 method call count for IClientUtils::RecordSteamInterfaceCreation : 14
Game 70 method call count for IClientAppManager::BIsDlcEnabled : 1
Game 70 method call count for IClientAppManager::GetAppStateInfo : 1
Game 70 method call count for IClientAppManager::GetCurrentLanguage : 2
Game 70 method call count for IClientAudio::StopVoiceRecording : 2
Game 70 method call count for IClientUser::GetSteamID : 1
Game 70 method call count for IClientUser::BIsSubscribedApp : 107
Game 70 method call count for IClientUser::TerminateGameConnection : 1
Game 70 method call count for IClientUser::InitiateGameConnection : 1
Uploaded AppInterfaceStats to Steam
Exiting app 70
No cached sticky mapping in ActivateActionSet.Exiting workitem thread
[2021-04-04 03:04:08] Shutdown
Installing breakpad exception handler for appid(steam)/version(1616532526)
Installing breakpad exception handler for appid(steam)/version(1616532526)
Code:
jbhansen@craven-moorhead:~/Downloads$ BIND="/etc/" bash conty_lite_test.sh steam # Tried running HL1 again
Running Conty
Binded items: /etc/

Running Steam on slackware 14.2 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Steam client's requirements are satisfied
WARNING: Using default/fallback debugger launch
/home/jbhansen/.local/share/Steam/ubuntu12_32/steam
ExecCommandLine: "'/home/jbhansen/.local/share/Steam/ubuntu12_32/steam' -foreground"
[0404/025256.002394:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[0404/025256.002574:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[0404/025256.002658:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[0404/025256.002682:WARNING:property.cc(145)] DaemonVersion: GetAndBlock: failed.
[0404/025256.002731:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[0404/025256.002780:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
jbhansen@craven-moorhead:~/Downloads$ GameAction [AppID 70, ActionID 3] : LaunchApp changed task to ProcessingInstallScript with ""
GameAction [AppID 70, ActionID 3] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 70, ActionID 3] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 70, ActionID 3] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 70, ActionID 3] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 70, ActionID 3] : LaunchApp continues with user response "CreatingProcess"
Opted-in Controller Mask for AppId 70: 0
Game update: AppID 70 "", ProcID 27501, IP 0.0.0.0:0
ERROR: ld.so: object '/home/jbhansen/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Starting app 70
>>> Adding process 27501 for game ID 70
GameAction [AppID 70, ActionID 3] : LaunchApp changed task to WaitingGameWindow with ""
GameAction [AppID 70, ActionID 3] : LaunchApp changed task to Completed with ""
ERROR: ld.so: object '/home/jbhansen/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 27502 for game ID 70
pid 27503 != 27502, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/jbhansen/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/jbhansen/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
>>> Adding process 27504 for game ID 70
>>> Adding process 27505 for game ID 70
Using breakpad crash handler
Game update: AppID 70 "", ProcID 27505, IP 0.0.0.0:0
RecordSteamInterfaceCreation (PID 27505): SteamUser016 / User
RecordSteamInterfaceCreation (PID 27505): SteamFriends013 / Friends
RecordSteamInterfaceCreation (PID 27505): SteamUtils005 / Utils
RecordSteamInterfaceCreation (PID 27505): SteamMatchMaking009 / Matchmaking
RecordSteamInterfaceCreation (PID 27505): SteamMatchMakingServers002 / MatchmakingServers
RecordSteamInterfaceCreation (PID 27505): STEAMUSERSTATS_INTERFACE_VERSION011 / UserStats
RecordSteamInterfaceCreation (PID 27505): STEAMAPPS_INTERFACE_VERSION005 / Apps
RecordSteamInterfaceCreation (PID 27505): SteamNetworking005 / Networking
RecordSteamInterfaceCreation (PID 27505): STEAMREMOTESTORAGE_INTERFACE_VERSION010 / RemoteStorage
RecordSteamInterfaceCreation (PID 27505): STEAMSCREENSHOTS_INTERFACE_VERSION002 / Screenshots
RecordSteamInterfaceCreation (PID 27505): STEAMHTTP_INTERFACE_VERSION002 / HTTP
RecordSteamInterfaceCreation (PID 27505): STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 / UnifiedMessages
Setting breakpad minidump AppID = 70
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561197970112770 [API loaded yes]
Steam_SetMinidumpSteamID:  Setting Steam ID:  76561197970112770
GL_SIZES:  r:8 g:8 b:8 a:0 depth:24

Installing breakpad exception handler for appid(gameoverlayui)/version(20210323201103)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
[0404/025259:ERROR:object_proxy.cc(239)] Failed to call method: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
[0404/025259:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation
Platform config directory: platform/config
0:Initializing platform...
ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused

SDL_InitSubSystem(SDL_INIT_AUDIO) failed.
S_Startup: SNDDMA_Init failed.

[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused

Server module initialized.

World module initialized.

STEAM Auth Server

ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused

[0404/025259.468800:INFO:crash_reporting.cc(270)] Crash reporting enabled for process: renderer
AppActive: active
RecordSteamInterfaceCreation (PID 27505): SteamUtils005 / Utils
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
[0404/025259.626151:ERROR:frame_sink_video_capturer_impl.cc(206)] Invalid resolutions constraints: 0x0 must not be greater than 0x0; and also within media::limits.
AppActive: active
CAppInfoCacheReadFromDiskThread took 1 milliseconds to initialize
RecordSteamInterfaceCreation (PID 27505): SteamGameServer011 / GameServer
RecordSteamInterfaceCreation (PID 27505): SteamUtils005 / Utils
RecordSteamInterfaceCreation (PID 27505): STEAMAPPS_INTERFACE_VERSION005 / Apps
RecordSteamInterfaceCreation (PID 27505): STEAMHTTP_INTERFACE_VERSION002 / HTTP
RecordSteamInterfaceCreation (PID 27505): SteamNetworking005 / Networking
RecordSteamInterfaceCreation (PID 27505): SteamGameServerStats001 / GameServerStats
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561197970112770 [API loaded yes]
Steam_SetMinidumpSteamID:  Setting Steam ID:  76561197970112770
RecordSteamInterfaceCreation (PID 27505): SteamUtils005 / Utils
Game update: AppID 70 "", ProcID 27505, IP 0.0.0.0:27015
CApplicationManagerPopulateThread took 71 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
Unknown command: VModEnable

Dropped Player from server
Reason:  Server shutting down

World module shutdown.

Server module shutdown.

Game removed: AppID 70 "", ProcID 27505 
Game 70 created interface STEAMAPPS_INTERFACE_VERSION005 / Apps
Game 70 created interface STEAMHTTP_INTERFACE_VERSION002 / HTTP
Game 70 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION010 / RemoteStorage
Game 70 created interface STEAMSCREENSHOTS_INTERFACE_VERSION002 / Screenshots
Game 70 created interface STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 / UnifiedMessages
Game 70 created interface STEAMUSERSTATS_INTERFACE_VERSION011 / UserStats
Game 70 created interface SteamFriends013 / Friends
Game 70 created interface SteamMatchMaking009 / Matchmaking
Game 70 created interface SteamMatchMakingServers002 / MatchmakingServers
Game 70 created interface SteamNetworking005 / Networking
Game 70 created interface SteamUser016 / User
Game 70 created interface SteamUtils005 / Utils
Game 70 method call count for IClientFriends::GetPersonaName : 1
Game 70 method call count for IClientUtils::GetAppID : 17
Game 70 method call count for IClientUtils::RecordSteamInterfaceCreation : 14
Game 70 method call count for IClientAppManager::BIsDlcEnabled : 1
Game 70 method call count for IClientAppManager::GetAppStateInfo : 1
Game 70 method call count for IClientAppManager::GetCurrentLanguage : 2
Game 70 method call count for IClientAudio::StopVoiceRecording : 2
Game 70 method call count for IClientUser::GetSteamID : 1
Game 70 method call count for IClientUser::BIsSubscribedApp : 107
Game 70 method call count for IClientUser::TerminateGameConnection : 1
Game 70 method call count for IClientUser::InitiateGameConnection : 1
Uploaded AppInterfaceStats to Steam
Exiting app 70
No cached sticky mapping in ActivateActionSet.Exiting workitem thread
[2021-04-04 02:53:35] Shutdown
Code:
jbhansen@craven-moorhead:~/Downloads$ bash conty_lite_test.sh mpg123 ../04\ \ -\ Linkin\ Park\ -\ New\ Divide\ -\ Linkin\ Park.mp3 
Running Conty

High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
        version 1.26.5; written and copyright by Michael Hipp and others
        free software (LGPL) without any warranty but with best wishes

Directory: ../

Terminal control enabled, press 'h' for listing of keys and functions.

Playing MPEG stream 1 of 1: 04  - Linkin Park - New Divide - Linkin Park.mp3 ...
[src/libout123/modules/sdl.c:122] error: Couldn't open SDL audio: No available audio device

main: [src/mpg123.c:323] error: out123 error 7: failed to open device
jbhansen@craven-moorhead:~/Downloads$ bash conty_lite_test.sh mpg123 ~/04\ \ -\ Linkin\ Park\ -\ New\ Divide\ -\ Linkin\ Park.mp3 
Running Conty

High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
        version 1.26.5; written and copyright by Michael Hipp and others
        free software (LGPL) without any warranty but with best wishes

Directory: /home/jbhansen/

Terminal control enabled, press 'h' for listing of keys and functions.

Playing MPEG stream 1 of 1: 04  - Linkin Park - New Divide - Linkin Park.mp3 ...
[src/libout123/modules/sdl.c:122] error: Couldn't open SDL audio: No available audio device

main: [src/mpg123.c:323] error: out123 error 7: failed to open device
It works fine with binding /etc, but I ran out of characters to post the output.
 
Old 04-04-2021, 03:34 AM   #24
Kron4ek
LQ Newbie
 
Registered: Apr 2021
Posts: 8

Rep: Reputation: Disabled
bassmadrigal, ok. Try to bind only "/etc/pulse" with Conty test build, maybe this will help.
 
1 members found this post helpful.
Old 04-05-2021, 12:09 AM   #25
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,121

Rep: Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651
Quote:
Originally Posted by Kron4ek View Post
bassmadrigal, ok. Try to bind only "/etc/pulse" with Conty test build, maybe this will help.
I tried binding /etc/pulse and use mpg123 and it failed. I then tried adding /etc/asound.conf to bind and that still failed.

I then went through and tried binding a few other /etc directories like sysctl and xdg with no luck.

Code:
jbhansen@craven-moorhead:~/Downloads$ BIND="/etc/pulse/ /etc/xdg/ /etc/sysctl.d /etc/asound.conf" bash conty_lite_test.sh mpg123 ~/04\ \ -\ Linkin\ Park\ -\ New\ Divide\ -\ Linkin\ Park.mp3 
Running Conty
Binded items: /etc/pulse/ /etc/xdg/ /etc/sysctl.d /etc/asound.conf

High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
        version 1.26.5; written and copyright by Michael Hipp and others
        free software (LGPL) without any warranty but with best wishes
[/etc/pulse/client.conf:26] Unknown lvalue 'allow-autospawn-for-root' in section 'n/a'.
[/etc/pulse/client.conf:26] Unknown lvalue 'allow-autospawn-for-root' in section 'n/a'.
[/etc/pulse/client.conf:26] Unknown lvalue 'allow-autospawn-for-root' in section 'n/a'.

Directory: /home/jbhansen/

Terminal control enabled, press 'h' for listing of keys and functions.

Playing MPEG stream 1 of 1: 04  - Linkin Park - New Divide - Linkin Park.mp3 ...
[/etc/pulse/client.conf:26] Unknown lvalue 'allow-autospawn-for-root' in section 'n/a'.
[/etc/pulse/client.conf:26] Unknown lvalue 'allow-autospawn-for-root' in section 'n/a'.
[src/libout123/modules/sdl.c:122] error: Couldn't open SDL audio: No available audio device

main: [src/mpg123.c:323] error: out123 error 7: failed to open device
I also tried bingind /etc/sysconfig and /etc/dbus-1, but both lead to an error from bwrap stating it can't mkdir that folder: Read-only file system.

Code:
jbhansen@craven-moorhead:~/Downloads$ BIND="/etc/pulse/ /etc/xdg/ /etc/sysctl.d /etc/asound.conf /etc/sysconfig" bash conty_lite_test.sh mpg123 ~/04\ \ -\ Linkin\ Park\ -\ New\ Divide\ -\ Linkin\ Park.mp3 
Running Conty
Binded items: /etc/pulse/ /etc/xdg/ /etc/sysctl.d /etc/asound.conf /etc/sysconfig

bwrap: Can't mkdir /etc/sysconfig: Read-only file system
Would you prefer I take this to your github issues? I do appreciate the help so far!
 
Old 04-05-2021, 04:55 AM   #26
Kron4ek
LQ Newbie
 
Registered: Apr 2021
Posts: 8

Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
I tried binding /etc/pulse and use mpg123 and it failed. I then tried adding /etc/asound.conf to bind and that still failed.

I then went through and tried binding a few other /etc directories like sysctl and xdg with no luck.
I wrote a script that should automatically find which config (or configs) is needed. I hope it will help.

Code:
#!/usr/bin/env bash

conty_file="/home/user/conty_lite.sh"
mp3_file="/home/user/file.mp3"
custom_etc="/home/user/conty_etc"

cd "${HOME}"

for i in /etc/*; do
	clear

	binded_items="${binded_items} ${i}"
	bind_items="${bind_items} --bind-try ${i} ${i}"
	
	echo "Binded items: ${binded_items}"
	echo

	"${conty_file}" --bind "${custom_etc}" /etc ${bind_items} \
	bash -c "mpg123 -n 200 '${mp3_file}' && touch ok"

	if [ -f ok ]; then
		rm ok

		"${conty_file}" --bind "${custom_etc}" /etc --bind-try ${i} ${i} \
		bash -c "mpg123 -n 200 '${mp3_file}' && touch last_ok"

		echo
		echo "Success! Sound works."
		echo "Binded items were ${binded_items}"
		
		if [ -f last_ok ]; then
			rm last_ok

			echo "Binding only ${i} is enough."
		fi
	
		break
	fi
done
First of all, you need to copy /etc from the container to any location you want, this is easy to do - just run something long-running with Conty (e.g. ./conty_lite.sh glxgears) and while it's running copy /etc directory from /tmp/conty_lite.sh_username_somenumber/mnt. This is needed to avoid "Read-only file system" errors. For example:

Code:
cp -r /tmp/conty_lite.sh_username_somenumber/mnt/etc $HOME/conty_etc
Then edit the script i wrote above, set the first 3 environment variables to fit your pathes, custom_etc should point to the /etc your previously copied from /tmp. And use the regular Conty build in this script, not the test build. After that run the script, it will bind all items from your /etc one by one and should eventually show "Success! Sound works." and what configs were binded. This may take from a few seconds to a few minutes.

p.s. There may be many Conty-related dirs in /tmp, this is a know issue that will be fixed in the next release. You can remove all them manually.

Quote:
Originally Posted by bassmadrigal View Post
Would you prefer I take this to your github issues? I do appreciate the help so far!
Well, it doesn't matter for me where to discuss this, if it's convenient for you to discuss it here, then why not. If you yourself prefer github, then you can create an issue on github, i don't mind.

Last edited by Kron4ek; 04-05-2021 at 05:26 AM.
 
1 members found this post helpful.
Old 04-05-2021, 04:12 PM   #27
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,121

Rep: Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651
I decided to try this out while I was at work by ssh'ing into my home machine and running the script. It shows the script completed properly, unfortunately, it seems that it probably wasn't playing the sound based on the error, but the application still passed a non-error exit code. I won't know for sure if it was playing music or not until I get home, but based on the error below (I made it red), I don't think it was. I'll try to play with the code when I get home to see if I can get it to properly detect if it plays properly (or maybe use something other than mpg123... that was just one I found that I knew supported sound out and mp3s).

Code:
Running Conty

High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
        version 1.26.5; written and copyright by Michael Hipp and others
        free software (LGPL) without any warranty but with best wishes

Directory: /home/jbhansen/

Terminal control enabled, press 'h' for listing of keys and functions.

Playing MPEG stream 1 of 1: 04  - Linkin Park - New Divide - Linkin Park.mp3 ...

MPEG 1.0 L III cbr320 44100 j-s

Title:   New Divide                                                                                  Artist: Linkin Park
Comment:                                                                                             Album:  One More Light Live
Year:    2017                                                                                        Genre:  Alternative Rock

[0:05] Decoding of 04  - Linkin Park - New Divide - Linkin Park.mp3 finished.
Running Conty

High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
        version 1.26.5; written and copyright by Michael Hipp and others
        free software (LGPL) without any warranty but with best wishes

Directory: /home/jbhansen/

Terminal control enabled, press 'h' for listing of keys and functions.

Playing MPEG stream 1 of 1: 04  - Linkin Park - New Divide - Linkin Park.mp3 ...
[src/libout123/modules/alsa.c:129] error: initialize_device(): cannot set hw params
main: [src/mpg123.c:323] error: out123 error 7: failed to open device

Success! Sound works.
Binded items were  /etc/ConsoleKit /etc/DIR_COLORS /etc/HOSTNAME /etc/ImageMagick-6 /etc/NetworkManager /etc/OpenCL /etc/UPower /etc/X11 /etc/a2ps-site.cfg /etc/a2ps.cfg /etc/acpi /etc/adjtime /etc/allegro.cfg /etc/alternatives /etc/anthy-conf /etc/asciidoc /etc/asound.conf /etc/asound.state /etc/at-spi2 /etc/at.deny /etc/auto.master /etc/auto.master.d /etc/auto.misc /etc/auto.net /etc/auto.smb /etc/autofs_ldap_auth.conf /etc/avahi /etc/bash_completion.d /etc/bind.keys /etc/bluetooth /etc/bonobo-activation /etc/bootchartd.conf /etc/bootptab /etc/ca-certificates /etc/ca-certificates.conf /etc/ca-certificates.conf.orig /etc/cgconfig.conf /etc/cgconfig.d /etc/cgred.conf /etc/cgrules.conf /etc/cgsnapshot_blacklist.conf /etc/conntrackd /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.monthly /etc/cron.weekly /etc/crypttab /etc/csh.login /etc/cups /etc/cupshelpers /etc/dbus-1 /etc/default /etc/dhclient.conf /etc/dhclient.conf.example /etc/dhcpcd.conf /etc/dhcpcd.duid /etc/dhcpd.conf /etc/dhcpd.conf.example /etc/dialogrc /etc/distcc /etc/dnsmasq.conf /etc/dnsmasq.d /etc/dpkg /etc/enscript.cfg /etc/environment /etc/esd.conf /etc/etckeeper /etc/ethertypes /etc/exports /etc/fail2ban /etc/fancontrol /etc/fb.modes /etc/file /etc/fish /etc/fonts /etc/fpc.cfg /etc/fppkg /etc/fppkg.cfg /etc/freetds /etc/fstab /etc/ftpusers /etc/gamin /etc/gconf /etc/genpowerd.conf /etc/geoclue /etc/gettydefs /etc/gimp /etc/gnome-vfs-2.0 /etc/gnome-vfs-mime-magic /etc/gnupg /etc/gpm-root.conf /etc/gpm-syn.conf /etc/gpm-twiddler.conf /etc/group /etc/group- /etc/grub.d /etc/gshadow /etc/gshadow- /etc/gtk /etc/gtk-2.0 /etc/gtk-3.0 /etc/hardwareclock /etc/host.conf /etc/hosts /etc/hosts.allow /etc/hosts.deny /etc/hosts.equiv /etc/hp /etc/htdig /etc/httpd /etc/identd.conf /etc/idn.conf.sample /etc/idnalias.conf.sample /etc/inetd.conf /etc/init.d /etc/inittab /etc/inputrc /etc/iproute2 /etc/irssi.conf /etc/issue /etc/issue.net /etc/joe /etc/kde /etc/ld.so.cache /etc/ld.so.conf /etc/lftp.conf /etc/libnl /etc/libvirt /etc/lilo-error.19809 /etc/lilo.conf /etc/lilo.conf_example /etc/lirc /etc/lircd.conf /etc/lircmd.conf /etc/lircrc /etc/localtime /etc/localtime-copied-from /etc/login.access /etc/login.defs /etc/logrotate.conf /etc/logrotate.d /etc/lrzip.conf /etc/lvm /etc/lxc /etc/lynx.cfg /etc/lynx.lss /etc/machine-id
Also, was the script supposed to go back through and try and remove bound items to figure out the exact items that needed to be included?

Previous runs through the for loop would include similar output to the following:

Code:
Running Conty

High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
        version 1.26.5; written and copyright by Michael Hipp and others
        free software (LGPL) without any warranty but with best wishes

Directory: /home/jbhansen/

Terminal control enabled, press 'h' for listing of keys and functions.

Playing MPEG stream 1 of 1: 04  - Linkin Park - New Divide - Linkin Park.mp3 ...
[src/libout123/modules/sdl.c:122] error: Couldn't open SDL audio: No available audio device
It seems once this error went away, mpg123 exited gracefully, even though it doesn't look like the music actually played.
 
Old 04-05-2021, 05:39 PM   #28
Kron4ek
LQ Newbie
 
Registered: Apr 2021
Posts: 8

Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
I decided to try this out while I was at work by ssh'ing into my home machine and running the script. It shows the script completed properly, unfortunately, it seems that it probably wasn't playing the sound based on the error, but the application still passed a non-error exit code. I won't know for sure if it was playing music or not until I get home, but based on the error below (I made it red), I don't think it was. I'll try to play with the code when I get home to see if I can get it to properly detect if it plays properly (or maybe use something other than mpg123... that was just one I found that I knew supported sound out and mp3s).
Well, that's bad that mpg123 sometimes gives non-error exit code even if there were errors, i wasn't expecting that. Maybe ffplay will work as expected and give proper exit codes:

Code:
ffplay -t 2 -nodisp -autoexit file.mp3
Quote:
Originally Posted by bassmadrigal View Post
Also, was the script supposed to go back through and try and remove bound items to figure out the exact items that needed to be included?
No, but i hope it will still be easier to determine what configs are needed with a limited list of items the script will show. At least we will know that the last bound item the script stopped at is important, because sound started to work after it was bound.

Last edited by Kron4ek; 04-05-2021 at 05:52 PM.
 
1 members found this post helpful.
Old 04-06-2021, 10:31 AM   #29
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,121

Rep: Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651Reputation: 5651
Well, this is dumb. Apparently ffplay doesn't provide proper exit codes either, so I couldn't use that. So I found paplay (which only plays wav files) and swapped everything in the script for that. For wav files through paplay, I only need to bind /etc/machineid to allow the wav file to play, but mpg123 still errors out.

And now after rerunning the original script with mpg123 and the mp3 file, I realized the error I saw was after the successful attempt when the script tries to run with just the last entry bound. Sorry for the noise on that.

So, I went and modified the script to include --bind /etc/machine-id /etc/machine-id with the command and it succeeded after only adding /etc/asound.conf (both attempts at playing it succeeded, so it should only be /etc/asound.conf and /etc/machine-id to play files with mpg123). So, I tried with setting BIND to /etc/machine-id and /etc/asound.conf, but it bombed:

Code:
jbhansen@craven-moorhead:~/Downloads$ BIND="/etc/asound.conf /etc/machine-id" conty.sh mpg123 ../04\ \ -\ Linkin\ Park\ -\ New\ Divide\ -\ Linkin\ Park.mp3 
Running Conty
Binded items: /etc/asound.conf /etc/machine-id

bwrap: Can't create file at /etc/asound.conf: Read-only file system
I then tried including --bind conty_etc /etc and it still bombed:

Code:
BIND="/etc/asound.conf /etc/machine-id" conty.sh --bind conty_etc/ /etc mpg123 ../04\ \ -\ Linkin\ Park\ -\ New\ Divide\ -\ Linkin\ Park.mp3 
Running Conty
Binded items: /etc/asound.conf /etc/machine-id

bwrap: Can't create file at /etc/asound.conf: Read-only file system
I feel like we're getting close!
 
Old 04-06-2021, 11:57 AM   #30
Kron4ek
LQ Newbie
 
Registered: Apr 2021
Posts: 8

Rep: Reputation: Disabled
bassmadrigal The test build binds /etc/asound.conf by default, so you can additionally try to bind /etc/machine-id and see if the sound works after that (and if Steam works too):

Code:
BIND="/etc/machine-id" conty_lite_test.sh mpg123 ../04\ \ -\ Linkin\ Park\ -\ New\ Divide\ -\ Linkin\ Park.mp3

Last edited by Kron4ek; 04-06-2021 at 11:58 AM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to start unprivileged Lxc container on Debian Sid hurd Debian 0 02-02-2015 10:45 PM
LXC unprivileged container - operation no permitted gauthig Linux - Virtualization and Cloud 2 07-15-2014 03:34 PM
[ANN] mk-slack64-multilib : A tool to create slackware64+multilib tree/iso phenixia2003 Slackware 5 12-28-2012 05:42 AM
upgrading slackware64 13.1 multilib to slackware64 -current multilib Cultist Slackware 4 03-12-2011 09:04 AM
Steam on Wine, cannot login,"Steam is having trouble connecting to the Steam servers" cantab Linux - Games 1 06-19-2010 06:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration