DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 12th October 2022
marek
-Guest-
 
Posts: n/a
Default user has no sound output. root does

Hey. Im getting no sound. Root has sound..
OpenBSD 7.1

user is in groups operator staff
but still no sound..

mpg123 has this error:
Code:
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
        version 1.29.3; written and copyright by Michael Hipp and others
        free software (LGPL) without any warranty but with best wishes
[src/libout123/modules/sndio.c:open_sndio():132] error: Got nothing from sio_open().
[src/libout123/libout123.c:check_output_module():982] error: Module 'sndio' device open failed.
[src/libout123/libout123.c:out123_open():483] error: Found no driver out of [sndio] working with device <default>.
main: [src/mpg123.c:check_fatal_output():332] error: out123 error 3: failure loading driver module
thanks.
Reply With Quote
  #2   (View Single Post)  
Old 12th October 2022
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

I can recreate this error *if* I stop the sndiod(8) daemon before running the program.

Did you make any customizations to running sndiod(8)? It should be enabled and running by default.
Reply With Quote
  #3   (View Single Post)  
Old 12th October 2022
marek
-Guest-
 
Posts: n/a
Default

Hey. Thanks.
No customisations..
Reply With Quote
  #4   (View Single Post)  
Old 12th October 2022
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Double check that it is set to the default -- which is enabled in /etc/rc.conf and not disabled or provisioned with optional flags in /etc/rc.conf.local:
Code:
$ grep sndiod /etc/rc.conf*
/etc/rc.conf:sndiod_flags=
Then, double-check that it is running.
Code:
$ rcctl ls on | grep sndiod
sndiod
$ pgrep -lf sndiod
51947 /usr/bin/sndiod
37704 sndiod: helper
If it is configured with default options and is confirmed to be running, you've either found a bug or you have multiple audio devices and requires sndiod(8) provisioning to select the proper device.

Last edited by jggimi; 12th October 2022 at 07:04 PM. Reason: clarity -- this likely isn't a bug.
Reply With Quote
  #5   (View Single Post)  
Old 13th October 2022
marek
-Guest-
 
Posts: n/a
Default

output:
Code:
$ grep sndiod /etc/rc.conf*
/etc/rc.conf:sndiod_flags=
/etc/rc.conf.local:sndiod_flags=-f rsnd/1

$ rcctl ls on | grep sndiod
sndiod

$ pgrep -lf sndiod
/usr/bin/sndiod -f rsnd/1
sndiod: helper
Reply With Quote
  #6   (View Single Post)  
Old 13th October 2022
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Quote:
Originally Posted by marek View Post
Hey. Thanks.
No customisations..
This isn't what you just posted. See the line highlighted in red.
Quote:
Originally Posted by marek View Post
output:
Code:
$ grep sndiod /etc/rc.conf*
/etc/rc.conf:sndiod_flags=
/etc/rc.conf.local:sndiod_flags=-f rsnd/1

$ rcctl ls on | grep sndiod
sndiod

$ pgrep -lf sndiod
/usr/bin/sndiod -f rsnd/1
sndiod: helper
Reply With Quote
  #7   (View Single Post)  
Old 13th October 2022
marek
-Guest-
 
Posts: n/a
Default

.. ou sorry i played around before.
Now i reinstalled system.
so:
Code:
# grep sndiod /etc/rc.conf*
/etc/rc.conf:sndiod_flags=

# rcctl ls on | grep sndiod
sndiod

# pgrep -lf sndiod
99415 /usr/bin/sndiod
97026 sndiod: helper
root also withous sound. so its not configured. But im lost at this configuration. Please help me. Thanks

Last edited by marek; 13th October 2022 at 05:43 AM. Reason: root also has no sound output
Reply With Quote
  #8   (View Single Post)  
Old 13th October 2022
marek
-Guest-
 
Posts: n/a
Default

OK.shame i have to read more. Its working...
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
non root user xfce4 does not start philo_neo71 OpenBSD Packages and Ports 20 25th February 2020 02:35 AM
How to get optical spdif sound output psypro OpenBSD General 0 21st December 2016 10:58 AM
root: unknown user roddierod FreeBSD General 9 28th April 2009 10:18 PM
Digital sound output Zodox FreeBSD General 5 12th November 2008 02:21 PM
Run daemon as other user than root phreud FreeBSD General 8 11th November 2008 04:11 AM


All times are GMT. The time now is 07:45 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick