Porteus-v5.1 alpha 1 bug reports

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
donald
Full of knowledge
Full of knowledge
Posts: 2106
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Porteus-v5.1 alpha 1 bug reports

Post#1 by donald » 05 Jan 2025, 15:06

whatever combination of settings I tried > No Audio

Code: Select all

guest@porteus:~/Downloads$ mpg321 1.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
	version 1.32.10; written and copyright by Michael Hipp and others
	free software (LGPL) without any warranty but with best wishes
[src/libout123/modules/pulse.c:open_pulse():190] error: Failed to open pulse audio output: Input/Output error
[src/libout123/libout123.c:check_output_module():1164] error: Module 'pulse' device open failed.
[src/libout123/libout123.c:out123_open():484] error: Found no driver out of [pulse] working with device <default>.
main: [src/mpg123.c:check_fatal_output():337] error: out123 error 3: failure loading driver module

Code: Select all

guest@porteus:~/Downloads$ ffplay 1.wav
ffplay version 7.1 Copyright (c) 2003-2024 the FFmpeg developers
  built with gcc 14.2.0 (GCC)
  .............................................
encoder         : Lavf61.7.100
  Duration: 00:04:48.60, bitrate: 1411 kb/s
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s
SDL_OpenAudio (2 channels, 44100 Hz): Could not connect PulseAudio stream
SDL_OpenAudio (1 channels, 44100 Hz): Could not connect PulseAudio stream
No more combinations to try, audio open failed
Failed to open file '1.wav'  

Code: Select all

guest@porteus:~/Downloads$ mpv 1.wav
Audio  --aid=1  (pcm_s16le 2ch 44100 Hz 1411 kbps)
AO: [pipewire] 44100Hz stereo 2ch s16
[ao/pipewire] Stream in error state, trying to reload...
[ao/pipewire] Error during playback: No such file or directory, no target node available
and Audacious even stalled while trying to play the file.

User avatar
AcnapyxoB
Contributor
Contributor
Posts: 239
Joined: 24 Dec 2014, 10:15
Distribution: Porteus
Location: Tellus

Porteus-XFCE-v5.1-alpha-x86_64

Post#2 by AcnapyxoB » 05 Jan 2025, 16:00

donald wrote:
05 Jan 2025, 15:06
whatever combination of settings I tried > No Audio
For me audio missing sometimes after restart.
Porteus-KDE-v5.1-alpha-x86_64

Also KDE taskbar app 'clipboard' do nothing !
Porteus v5.01 KDE x86_64

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4290
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus-XFCE-v5.1-alpha-x86_64

Post#3 by ncmprhnsbl » 06 Jan 2025, 01:22

looks like a pipewire problem..
what's the output of:

Code: Select all

wpctl status
and pavucontrol (gui) (and whatever the interface is called in kde)?
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Blaze
DEV Team
DEV Team
Posts: 3998
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus-XFCE-v5.1-alpha-x86_64

Post#4 by Blaze » 06 Jan 2025, 12:18

Try this fix for sound

Code: Select all

su
toor

# 1 step
rm -f /etc/xdg/autostart/{pipewire,pipewire-pulse,wireplumber}.desktop

# 2 step
echo '[Desktop Entry]
Version=1.0
Name=PipeWire Media System
Comment=Start the PipeWire Media System
Exec=/etc/pipewire/run-pipewire
Terminal=false
Type=Application
X-GNOME-Autostart-Phase=Initialization
X-KDE-autostart-phase=1' > /etc/xdg/autostart/pipewire.desktop

# 3 step
echo '#!/bin/sh

if ! pgrep -x "pipewire" > /dev/null; then
  pipewire &
fi

# Wait for pipewire to load
sleepTimes=50
while [ $sleepTimes -gt 0 ] && ! pgrep -x "pipewire" > /dev/null; do
  sleep 0.2
  sleepTimes=$((sleepTimes - 1))
done

if ! pgrep -x "wireplumber" > /dev/null; then
  wireplumber &
fi

if ! pgrep -x "pipewire-pulse" > /dev/null; then
  pipewire-pulse &
fi' > /etc/pipewire/run-pipewire

# 4 step
chmod +x /etc/pipewire/run-pipewire
Restart Porteus and test sound.

P.S. I rename name of topic to Porteus-v5.1 alpha 1 bug reports
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

donald
Full of knowledge
Full of knowledge
Posts: 2106
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Porteus-v5.1 alpha 1 bug reports

Post#5 by donald » 06 Jan 2025, 13:48

ncmprhnsbl wrote:
06 Jan 2025, 01:22
what's the output of:

Code: Select all

wpctl status
and pavucontrol (gui)
boot in always fresh -- no audio

Code: Select all

guest@porteus:~$ wpctl status
PipeWire 'pipewire-0' [1.2.7, [email protected], cookie:317541664]
 └─ Clients:
        33. WirePlumber                         [1.2.7, [email protected], pid:1357]
        34. pipewire                            [1.2.7, [email protected], pid:1351]
        47. WirePlumber [export]                [1.2.7, [email protected], pid:1357]
        48. xfce4-pulseaudio-plugin             [1.2.7, [email protected], pid:1369]
        56. wpctl                               [1.2.7, [email protected], pid:1907]

Audio
 ├─ Devices:
 │      49. Built-in Audio                      [alsa]
 │  
 ├─ Sinks:
 │  *   50. Built-in Audio Digital Stereo (IEC958) [vol: 0.40]
 │  
 ├─ Sources:
 │  *   51. Built-in Audio Digital Stereo (IEC958) [vol: 1.00]
 │  
 ├─ Filters:
 │  
 └─ Streams:

Video
 ├─ Devices:
 │  
 ├─ Sinks:
 │  
 ├─ Sources:
 │  
 ├─ Filters:
 │  
 └─ Streams:

Settings
 └─ Default Configured Devices:
guest@porteus:~$ 
Built-in Audio Digital Stereo is wrong I need "analog output"

However:
Open a mp3 in audacious > seems to play and in pavucontrol I see the play-indicator moving but
no sound output [speakers/headphones]

Normally I only have to select "analog output" in pavucontrol but that didn't work this time.
Audacious stopped playing the file like I had pressed pause and doesn't play it again.

wpctl status when set to "analog output" in pavucontrol:

Code: Select all

guest@porteus:~$ wpctl status
PipeWire 'pipewire-0' [1.2.7, [email protected], cookie:317541664]
 └─ Clients:
        33. WirePlumber                         [1.2.7, [email protected], pid:1357]
        34. pipewire                            [1.2.7, [email protected], pid:1351]
        47. WirePlumber [export]                [1.2.7, [email protected], pid:1357]
        48. xfce4-pulseaudio-plugin             [1.2.7, [email protected], pid:1369]
        56. wpctl                               [1.2.7, [email protected], pid:5491]

Audio
 ├─ Devices:
 │      49. Built-in Audio                      [alsa]
 │  
 ├─ Sinks:
 │      51. Built-in Audio Analog Stereo        [vol: 0.30]
 │  
 ├─ Sources:
 │  
 ├─ Filters:
 │  
 └─ Streams:

Video
 ├─ Devices:
 │  
 ├─ Sinks:
 │  
 ├─ Sources:
 │  
 ├─ Filters:
 │  
 └─ Streams:

Settings
 └─ Default Configured Devices:
guest@porteus:~$ 
Now I went into audacious audio settings and changed the output to alsa and chose my card in alsa settings.
I now have sound from audacious [but only from audacious] and the moving play-indicator in pavucontrol is gone.

Other programs like mpg123 and mpv still have no audio.


@Blaze
Will try thanks!

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4290
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus-v5.1 alpha 1 bug reports

Post#6 by ncmprhnsbl » 06 Jan 2025, 14:12

Blaze wrote:
06 Jan 2025, 12:18
Try this fix for sound
Blaze wrote:
06 Jan 2025, 12:18
Exec=/etc/pipewire/run-pipewire
one small problem with that: we don't have any such file ..
so.. i reproduced the(a) failure in with xfce in vbox .. pipewire/wireplumber failed to start ..logged out/in and then they worked.
edit: @donald something else seems to the problem for you, looks like pipewire is running just not communicating with alsa properly or smthng.

seem's to be that xdg autostart method might be a little brittle, at least the three .desktop approach that is the standard slackware method. eg. there no way to tell which order they start in, if that matters.
elsewhere i've used a script to run all three (which assume the none-existant/etc/pipewire/run-pipewire is meant to do)
or setting the pipewire.conf to run wireplumber and pipwire-pulse via the pipewire command.
from what i've seen there's quite a number of different ways to start them with little indication which is the 'best' or the 'correct' way.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

donald
Full of knowledge
Full of knowledge
Posts: 2106
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Porteus-v5.1 alpha 1 bug reports

Post#7 by donald » 06 Jan 2025, 15:11

@Blaze
Tried your fix - sorry, does not work
Result:

Code: Select all

guest@porteus:~$ wpctl status
Could not connect to PipeWire
and the icon says "not connected to the PulseAudio server"

User avatar
Blaze
DEV Team
DEV Team
Posts: 3998
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus-v5.1 alpha 1 bug reports

Post#8 by Blaze » 06 Jan 2025, 15:18

ncmprhnsbl, in step 3 echo generate it.

donald, damn :wall:

/etc/pipewire/run-pipewire is have

Code: Select all

chmod +x /etc/pipewire/run-pipewire
?
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

donald
Full of knowledge
Full of knowledge
Posts: 2106
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Porteus-v5.1 alpha 1 bug reports

Post#9 by donald » 06 Jan 2025, 17:54

@Blaze
With +x [and a reboot] it starts pipewire but the result is
the same as the original.
Built-in Audio Digital Stereo is set
and as soon as I try to set Built-in Audio Analog Stereo in
pavucontrol (gui) everything breaks.

User avatar
Ed_P
Contributor
Contributor
Posts: 8956
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus-v5.1 alpha 1 bug reports

Post#10 by Ed_P » 06 Jan 2025, 20:50

Booting:

Code: Select all

Porteus. Lightweight, lightning fast, portable.
^ searching for porteus-v5.1-x86_64.cfg file
^ device not ready yet? delaying 1 seconds

Porteus data not found.
Boot config:

Code: Select all

menuentry " Porteus 5.1 alpha ISO - Cinnamon"  --class slackware   --class user-icon-porteus  {

     set linux_folder=/porteu5.0
     set iso="/ISOs/Porteus/Porteus-CINNAMON-v5.1-alpha-x86_64.iso"
     
     set bootparms="volume=33 reboot=cold from=$iso" 
     search -f $iso --set=root
     loopback loop $iso
     linux  (loop)/boot/syslinux/vmlinuz $porteus_parms
     initrd (loop)/boot/syslinux/initrd.xz
     }

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4290
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus-v5.1 alpha 1 bug reports

Post#11 by ncmprhnsbl » 07 Jan 2025, 05:32

Blaze wrote:
06 Jan 2025, 15:18
ncmprhnsbl, in step 3 echo generate it.
sorry ;( didn't scroll down :p
in any case, all this does is do away with 'daemon' ("run any program as a daemon) , which might have some benefit, but, as we see doesn't help with donald's issue of pipewire not finding/setting the correct device or sink..
just for comparison, here's what my functioning output looks like:

Code: Select all

Audio
 ├─ Devices:
 │      48. Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] [alsa]
 │      49. Family 17h (Models 00h-0fh) HD Audio Controller [alsa]
 │  
 ├─ Sinks:
 │  *   33. Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo [vol: 0.46]
 │      56. Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] Digital Stereo (HDMI 4) [vol: 0.40]
 │  
 ├─ Sources:
 │      46. Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo [vol: 1.00]
 │  
 ├─ Filters:
 │  
 └─ Streams:
the asterisk marks the device in use.
@donald, that using alsa directly sort of works suggests it's not a kernel driver/firmware issue..
maybe try killing pipewire|wireplumber|pipewire-pulse process after login and then restarting them (with that script should do it)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4290
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus-v5.1 alpha 1 bug reports

Post#12 by ncmprhnsbl » 07 Jan 2025, 05:49

Ed_P wrote:
06 Jan 2025, 20:50
Booting:
no idea Ed, the build process for the isos is essentially the same as 5.0* .. they certainly boot as virtual disks in vbox. maybe try passing "debug" in the bootparms
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4290
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus-v5.1 alpha 1 bug reports

Post#13 by ncmprhnsbl » 07 Jan 2025, 06:09

AcnapyxoB wrote:
05 Jan 2025, 16:00
Also KDE taskbar app 'clipboard' do nothing !
oops, missing dependency: zxing-cpp (barcode scanner, because everyone needs one of those)
thanks :)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4290
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus-v5.1 alpha 1 bug reports

Post#14 by ncmprhnsbl » 07 Jan 2025, 06:43

from another topic:
seed_clapper wrote:
03 Jan 2025, 12:38
slapt-mod is missing file etc\slapt-get\slapt-modrc
slapt-mod not finding intel-media-driver package needed for hardware decode on integrated intel gpu
slapt-mod not finding picom package needed for fixing screen tearing in lxqt (change "backend = "xrender";" to "backend = "glx";" in etc\picom.conf)
etc\slapt-get\slapt-modrc : oops
i'll just put this here for anyone wanting it: /etc/slapt-get\slapt-modrc

Code: Select all

## config file for slapt-mod wrapper for slapt-get
## locale ? 0 or language code eg. de (german) all others will be removed
locale=0
## man pages ? 1 keep or 0 remove
man=0
## headers ? 1 keep or 0 remove
headers=0
## docs ? 1 keep or 0 remove
docs=0
for not finding packages:
slapt-get is configured for slackel repos which has not a huge range of packages, but is at least current.
you can try configuring other repos , even 15.0 ones, some packages might work , many definately won't.
otherwise it's compile it. SBO is helpful .. and there's a current version out there somewhere ... search github for ponce..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Blaze
DEV Team
DEV Team
Posts: 3998
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus-v5.1 alpha 1 bug reports

Post#15 by Blaze » 07 Jan 2025, 11:11

I have this in my log

Code: Select all

[E][00006.321607] mod.protocol-native | [module-protocol-:  740 init_socket_name()] server 0x55636b2ac0f0: name pipewire-0 is not an absolute path and no runtime dir found. Set one of PIPEWIRE_RUNTIME_DIR, XDG_RUNTIME_DIR or USERPROFILE in the environment
[E][00006.321649] pw.conf      | [          conf.c:  603 load_module()] 0x55636b296be0: could not load mandatory module "libpipewire-module-protocol-native": No such file or directory
[E][00006.321708] default      | [      pipewire.c:  124 main()] failed to create context: No such file or directory
and

Code: Select all

[E][00105.460298] spa.dbus     | [          dbus.c:  333 impl_connection_get()] Failed to connect to session bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[E][00105.460389] mod.portal   | [ module-portal.c:  318 pipewire__module_init()] Failed to connect to session bus: Input/output error
root@porteus:/home/guest# N 14:35:18.929370 wp-internal-comp-l ../lib/wp/private/internal-comp-loader.c:945:wp_internal_comp_loader_load: Loading profile 'main'
[E][00105.515101] spa.dbus     | [          dbus.c:  333 impl_connection_get()] Failed to connect to session bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
N 14:35:18.973517 wp-internal-comp-l ../lib/wp/private/internal-comp-loader.c:589:on_component_loaded: <WpCore:0x1a748a40> optional component 'support.dbus [module: libwireplumber-module-dbus-connection]' failed to load: Failed to connect to bus: The connection is closed
N 14:35:18.973530 wp-internal-comp-l ../lib/wp/private/internal-comp-loader.c:641:wp_component_array_load_task_execute_step: <WpCore:0x1a748a40> skipping component 'support.portal-permissionstore [module: libwireplumber-module-portal-permissionstore]' because some of its dependencies were not loaded
N 14:35:18.973535 wp-internal-comp-l ../lib/wp/private/internal-comp-loader.c:641:wp_component_array_load_task_execute_step: <WpCore:0x1a748a40> skipping component 'script.client.access-portal [script/lua: client/access-portal.lua]' because some of its dependencies were not loaded
N 14:35:18.991728 wp-internal-comp-l ../lib/wp/private/internal-comp-loader.c:641:wp_component_array_load_task_execute_step: <WpCore:0x1a748a40> skipping component 'support.reserve-device [module: libwireplumber-module-reserve-device]' because some of its dependencies were not loaded
N 14:35:18.991740 wp-internal-comp-l ../lib/wp/private/internal-comp-loader.c:641:wp_component_array_load_task_execute_step: <WpCore:0x1a748a40> skipping component 'monitor.alsa.reserve-device [virtual]' because some of its dependencies were not loaded
N 14:35:19.401976          wp-device ../lib/wp/device.c:630:wp_spa_device_new_from_spa_factory: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
N 14:35:19.401989 s-monitors-libcame enumerate-device.lua:30:chunk: PipeWire's libcamera SPA plugin is missing or broken. Some camera types may not be supported.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Post Reply