LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-27-2021, 09:52 AM   #1
giomat
Member
 
Registered: Jul 2017
Posts: 357

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


So until now I was using flatpaks to install steam and wine stuff on my slackware64-current, this in order to avoid installing and maintaining multilib.
But today I found this cute little portable unprivileged container: Conty
The prepackaged release is based on arch and contains quite a lot of stuff: steam, wine staging, gcc, pcmanfm... but you can roll your own as minimal as you like according to the README.
It's also sandboxable with bubblewrap if you are a fan of this feature.
I briefly tested it and it ran my diablo 2 like a champ, so I'm definitely thinking about replacing the flatpaks with this.
The container requires unprivileged user containers to be enabled on the kernel and I found instructions on how to do so in Debian and Arch because they are disabled by default, but I don't recall setting anything specific here on slackware in the past, so it seems to run fine out-of-the-box, I hope someone can confirm this.
 
Old 03-28-2021, 06:30 AM   #2
M0M0
Member
 
Registered: Sep 2020
Location: Germany
Distribution: Slackware
Posts: 248

Rep: Reputation: 23
Thanks! It runs some applications better than alien's wine but doesn't run others at all. So it can't replace multilib + wine and crossover in my case but is a nice addition.

By testing this I found out that some programs that had bugs in former versions of the normal wine now run smoothly. It seems that some improvement have been made there as well. I probably do not need my windows vm anymore

That sad I have only tested commercial business software with wine. I did not test steam and lutris since I'm not a gamer.
 
1 members found this post helpful.
Old 03-28-2021, 12:05 PM   #3
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,230

Rep: Reputation: 1805Reputation: 1805Reputation: 1805Reputation: 1805Reputation: 1805Reputation: 1805Reputation: 1805Reputation: 1805Reputation: 1805Reputation: 1805Reputation: 1805
Looks very interesting! Thanks for the heads up. Have a little bit on my plate at the moment but I will definitely give this a run.
 
1 members found this post helpful.
Old 03-28-2021, 06:56 PM   #4
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,710
Blog Entries: 7

Rep: Reputation: 2816Reputation: 2816Reputation: 2816Reputation: 2816Reputation: 2816Reputation: 2816Reputation: 2816Reputation: 2816Reputation: 2816Reputation: 2816Reputation: 2816
Quote:
Originally Posted by giomat View Post
But today I found this cute little portable unprivileged container: Conty
Wow. That is very useful. Thanks for posting!

EDIT: I just tried this on a clean installation of Slackware64-current without multi-lib. It loads Warcraft 3 with no issues. It's brilliant! This is the way of the future.

Last edited by rkelsen; 03-29-2021 at 02:56 AM.
 
1 members found this post helpful.
Old 03-30-2021, 08:54 AM   #5
walecha
Member
 
Registered: Jan 2010
Location: Malang, +62
Distribution: slackware
Posts: 182

Rep: Reputation: 55
Interesting. Thank you for the info.

Quote:
Originally Posted by giomat View Post
The container requires unprivileged user containers to be enabled on the kernel and I found instructions on how to do so in Debian and Arch because they are disabled by default, but I don't recall setting anything specific here on slackware in the past, so it seems to run fine out-of-the-box, I hope someone can confirm this.
Regarding this, it's a bit misleading. The X-namespace kernel features are enabled by default, see /boot/config-generic-x
Code:
CONFIG_UTS_NS=y
CONFIG_TIME_NS=y
CONFIG_IPC_NS=y
CONFIG_USER_NS=y
CONFIG_PID_NS=y
CONFIG_NET_NS=y
It's up to the OS/user/program to use the namespace, that's why it came with sysfs entries that can be activated/deactivated in runtime (without reboot) via sysctl.
 
1 members found this post helpful.
Old 03-30-2021, 04:29 PM   #6
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,710
Blog Entries: 7

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

It runs Steam perfectly. Even on an older installation of Slackware64 current. Again without multilib.
 
1 members found this post helpful.
Old 03-31-2021, 11:37 AM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661
Anyone have any tricks to get sound working on a 14.2 install? Steam games are silent. I also tried using mpg123 to play an mp3 out of my home directory and got the following:

Code:
jbhansen@craven-moorhead:~/Downloads$ sh conty.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/alsa.c:129] error: initialize_device(): cannot set hw params
main: [src/mpg123.c:323] error: out123 error 7: failed to open device
EDIT: Steam doesn't seem to show any errors tied to audio (the below is me trying to launch the original Half Life game):

Code:
No cached sticky mapping in ActivateActionSet.GameAction [AppID 70, ActionID 2] : LaunchApp changed task to ProcessingInstallScript with ""
GameAction [AppID 70, ActionID 2] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 70, ActionID 2] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 70, ActionID 2] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 70, ActionID 2] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 70, ActionID 2] : LaunchApp continues with user response "CreatingProcess"
Game update: AppID 70 "", ProcID 21937, 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 21937 for game ID 70
GameAction [AppID 70, ActionID 2] : LaunchApp changed task to WaitingGameWindow with ""
GameAction [AppID 70, ActionID 2] : 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 21939 != 21938, 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.
>>> Adding process 21938 for game ID 70
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 21940 for game ID 70
>>> Adding process 21941 for game ID 70
Using breakpad crash handler
Game update: AppID 70 "", ProcID 21941, IP 0.0.0.0:0
RecordSteamInterfaceCreation (PID 21941): SteamUser016 / User
RecordSteamInterfaceCreation (PID 21941): SteamFriends013 / Friends
RecordSteamInterfaceCreation (PID 21941): SteamUtils005 / Utils
RecordSteamInterfaceCreation (PID 21941): SteamMatchMaking009 / Matchmaking
RecordSteamInterfaceCreation (PID 21941): SteamMatchMakingServers002 / MatchmakingServers
RecordSteamInterfaceCreation (PID 21941): STEAMUSERSTATS_INTERFACE_VERSION011 / UserStats
RecordSteamInterfaceCreation (PID 21941): STEAMAPPS_INTERFACE_VERSION005 / Apps
RecordSteamInterfaceCreation (PID 21941): SteamNetworking005 / Networking
RecordSteamInterfaceCreation (PID 21941): STEAMREMOTESTORAGE_INTERFACE_VERSION010 / RemoteStorage
RecordSteamInterfaceCreation (PID 21941): STEAMSCREENSHOTS_INTERFACE_VERSION002 / Screenshots
RecordSteamInterfaceCreation (PID 21941): STEAMHTTP_INTERFACE_VERSION002 / HTTP
RecordSteamInterfaceCreation (PID 21941): 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)
[0331/154109: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
[0331/154109:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation
Platform config directory: platform/config
0:Initializing platform...
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
Server module initialized.

World module initialized.

[0331/154109.853899:INFO:crash_reporting.cc(270)] Crash reporting enabled for process: renderer
STEAM Auth Server

AppActive: active
RecordSteamInterfaceCreation (PID 21941): SteamUtils005 / Utils
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
[0331/154110.001680: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 21941): SteamGameServer011 / GameServer
RecordSteamInterfaceCreation (PID 21941): SteamUtils005 / Utils
RecordSteamInterfaceCreation (PID 21941): STEAMAPPS_INTERFACE_VERSION005 / Apps
RecordSteamInterfaceCreation (PID 21941): STEAMHTTP_INTERFACE_VERSION002 / HTTP
RecordSteamInterfaceCreation (PID 21941): SteamNetworking005 / Networking
RecordSteamInterfaceCreation (PID 21941): 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 21941): SteamUtils005 / Utils
Game update: AppID 70 "", ProcID 21941, IP 0.0.0.0:27015
CApplicationManagerPopulateThread took 61 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 21941 
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.

Last edited by bassmadrigal; 03-31-2021 at 11:44 AM.
 
Old 03-31-2021, 12:38 PM   #8
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,813

Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
EDIT: Steam doesn't seem to show any errors tied to audio
Just a guess, but there's this openAL error in your log:
Code:
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
Got this (EE) here too, with a simple openal-info command, on 14.2 without pulseaudio.
Setting openal as default output driver for mplayer works fine, however.
 
Old 03-31-2021, 01:04 PM   #9
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661
Quote:
Originally Posted by elcore View Post
Just a guess, but there's this openAL error in your log:
Code:
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
Got this (EE) here too, with a simple openal-info command, on 14.2 without pulseaudio.
Setting openal as default output driver for mplayer works fine, however.
Good catch! I didn't realize ALSOFT was from OpenAL.

Unfortunately, this doesn't really give me anything to go off of. mpg123 wouldn't be using OpenAL, so it seems there's some issue with sharing audio between the container and the OS.
 
Old 03-31-2021, 03:18 PM   #10
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,813

Rep: Reputation: Disabled
Well if there's a difference in openal-info output when it runs from inside and outside the container, it may point to the probable cause.
Anyway, there must be some cli switch or configuration option like in winecfg to specify the correct audio device.
But I don't actually run the container, just noticed the same error that I already seen before with openal.
 
Old 03-31-2021, 04:56 PM   #11
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661
Not sure if it will help, but here's the diff between the two (red is openal-info on the host and green is openal-info from conty):

Code:
diff --git a/openal-info-regular.txt b/openal-info-conty.txt
index 50e6836..dbb6960 100644
--- a/openal-info-host.txt
+++ b/openal-info-conty.txt
@@ -1,47 +1,66 @@
+Running Conty
+
+[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
+[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
 Available playback devices:
-    HD-Audio Generic Analog Stereo
-    HDA ATI HDMI Digital Stereo (HDMI)
-    pcsp Analog Mono
+    ALSA Default
+    pcsp, pcsp (CARD=pcsp,DEV=0)
+    HDA ATI HDMI, HDMI 0 (CARD=HDMI,DEV=3)
+    HDA ATI HDMI, HDMI 1 (CARD=HDMI,DEV=7)
+    HDA ATI HDMI, HDMI 2 (CARD=HDMI,DEV=8)
+    HDA ATI HDMI, HDMI 3 (CARD=HDMI,DEV=9)
+    HDA ATI HDMI, HDMI 4 (CARD=HDMI,DEV=10)
+    HDA ATI HDMI, HDMI 5 (CARD=HDMI,DEV=11)
+    HD-Audio Generic, ALC1220 Analog (CARD=Generic,DEV=0)
+    HD-Audio Generic, ALC1220 Digital (CARD=Generic,DEV=1)
 Available capture devices:
-    HD-Audio Generic Analog Stereo
-    Monitor of HDA ATI HDMI Digital Stereo (HDMI)
-    Monitor of HD-Audio Generic Analog Stereo
-    Monitor of pcsp Analog Mono
-Default playback device: HD-Audio Generic Analog Stereo
-Default capture device: HD-Audio Generic Analog Stereo
+    ALSA Default
+    HD-Audio Generic, ALC1220 Analog (CARD=Generic,DEV=0)
+    HD-Audio Generic, ALC1220 Alt Analog (CARD=Generic,DEV=2)
+Default playback device: ALSA Default
+Default capture device: ALSA Default
 ALC version: 1.1
 
-** Info for device "HD-Audio Generic Analog Stereo" **
+** Info for device "ALSA Default" **
 ALC version: 1.1
 ALC extensions:
     ALC_ENUMERATE_ALL_EXT, ALC_ENUMERATION_EXT, ALC_EXT_CAPTURE,
     ALC_EXT_DEDICATED, ALC_EXT_disconnect, ALC_EXT_EFX,
-    ALC_EXT_thread_local_context, ALC_SOFTX_device_clock, ALC_SOFT_HRTF,
-    ALC_SOFT_loopback, ALC_SOFT_output_limiter, ALC_SOFT_pause_device
+    ALC_EXT_thread_local_context, ALC_SOFT_device_clock, ALC_SOFT_HRTF,
+    ALC_SOFT_loopback, ALC_SOFT_loopback_bformat, ALC_SOFT_output_limiter,
+    ALC_SOFT_pause_device
 Available HRTFs:
-    default-44100
-    default-48000
+    Default HRTF
+    Built-In HRTF
 OpenAL vendor string: OpenAL Community
 OpenAL renderer string: OpenAL Soft
-OpenAL version string: 1.1 ALSOFT 1.18.0
+OpenAL version string: 1.1 ALSOFT 1.21.1
 OpenAL extensions:
     AL_EXT_ALAW, AL_EXT_BFORMAT, AL_EXT_DOUBLE, AL_EXT_EXPONENT_DISTANCE,
     AL_EXT_FLOAT32, AL_EXT_IMA4, AL_EXT_LINEAR_DISTANCE, AL_EXT_MCFORMATS,
     AL_EXT_MULAW, AL_EXT_MULAW_BFORMAT, AL_EXT_MULAW_MCFORMATS, AL_EXT_OFFSET,
     AL_EXT_source_distance_model, AL_EXT_SOURCE_RADIUS, AL_EXT_STEREO_ANGLES,
-    AL_LOKI_quadriphonic, AL_SOFT_block_alignment, AL_SOFT_deferred_updates,
-    AL_SOFT_direct_channels, AL_SOFT_gain_clamp_ex, AL_SOFT_loop_points,
+    AL_LOKI_quadriphonic, AL_SOFT_bformat_ex, AL_SOFTX_bformat_hoa,
+    AL_SOFT_block_alignment, AL_SOFTX_callback_buffer,
+    AL_SOFTX_convolution_reverb, AL_SOFT_deferred_updates,
+    AL_SOFT_direct_channels, AL_SOFT_direct_channels_remix,
+    AL_SOFT_effect_target, AL_SOFT_events, AL_SOFTX_filter_gain_ex,
+    AL_SOFT_gain_clamp_ex, AL_SOFT_loop_points, AL_SOFTX_map_buffer,
     AL_SOFT_MSADPCM, AL_SOFT_source_latency, AL_SOFT_source_length,
     AL_SOFT_source_resampler, AL_SOFT_source_spatialize
 Available resamplers:
     Nearest
     Linear *
-    4-Point Sinc
-    Band-limited Sinc (12/24)
+    Cubic
+    11th order Sinc (fast)
+    11th order Sinc
+    23rd order Sinc (fast)
+    23rd order Sinc
 EFX version: 1.0
 Max auxiliary sends: 2
 Supported filters:
     Low-pass, High-pass, Band-pass
 Supported effects:
-    EAX Reverb, Reverb, Chorus, Distortion, Echo, Flanger, Ring Modulator,
-    Compressor, Equalizer, Dedicated Dialog, Dedicated LFE
+    EAX Reverb, Reverb, Chorus, Distortion, Echo, Flanger, Frequency Shifter,
+    Vocal Morpher, Pitch Shifter, Ring Modulator, Autowah, Compressor,
+    Equalizer, Dedicated Dialog, Dedicated LFE
 
Old 04-01-2021, 02:43 AM   #12
speck
Member
 
Registered: Nov 2001
Location: US
Distribution: Slackware 14.2
Posts: 375

Rep: Reputation: 115Reputation: 115
I'm running Steam with no issues (so far) on a pure 64bit 14.2 installation. I'm more than surprised.
 
1 members found this post helpful.
Old 04-01-2021, 03:53 AM   #13
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,813

Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
Not sure if it will help, but here's the diff between the two
OK, already figured the default playback device will differ because of your mpg123 output.
There is also the openal version mismatch which may or may not be relevant, but my first guess would be it's just trying to use the wrong device for whatever reason.

Few notes:
mpg123 has -a switch to specify device

The alsamixer on host and alsamixer on guest should display the same default device, so I guess when the correct device is specified in the guest it could be saved with "alsactl store".
Unless something else is using the host device; sound on the guest should just work the same as sound on the host.

Old wine (2.0 and below) required a hardware device and did not tolerate an emulated pulseaudio device, no idea about new wine and wine-staging as I don't really use it.
Since the OP appears to have sound working, it's probably just some local setting on your end.
 
1 members found this post helpful.
Old 04-01-2021, 10:56 AM   #14
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661Reputation: 6661
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)?
 
Old 04-02-2021, 08:04 AM   #15
Kron4ek
LQ Newbie
 
Registered: Apr 2021
Posts: 16

Rep: Reputation: Disabled
Hello,

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)?
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?

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"
Also try mpg123 with another output module (e.g. sdl).
Code:
mpg123 -o sdl

Last edited by Kron4ek; 04-02-2021 at 09:34 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 11:45 PM
LXC unprivileged container - operation no permitted gauthig Linux - Virtualization and Cloud 2 07-15-2014 04:34 PM
[ANN] mk-slack64-multilib : A tool to create slackware64+multilib tree/iso phenixia2003 Slackware 5 12-28-2012 06:42 AM
upgrading slackware64 13.1 multilib to slackware64 -current multilib Cultist Slackware 4 03-12-2011 10:04 AM
Steam on Wine, cannot login,"Steam is having trouble connecting to the Steam servers" cantab Linux - Games 1 06-19-2010 07:32 AM

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

All times are GMT -5. The time now is 02:04 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