* [Qemu-devel] [Bug 1825452] [NEW] Pulse audio backend doesn't work in v4.0.0-rc4 release
@ 2019-04-19 1:59 Ivan Volosyuk
2019-04-19 1:59 ` Ivan Volosyuk
` (5 more replies)
0 siblings, 6 replies; 10+ messages in thread
From: Ivan Volosyuk @ 2019-04-19 1:59 UTC (permalink / raw)
To: qemu-devel
Public bug reported:
Using Gentoo linux, build from source: qemu v4.0.0-rc4 release
(eeba63fc7fface36f438bcbc0d3b02e7dcb59983)
Pulse audio backend doesn't initialize because of the:
audio/paaudio.c:
- if (!popts->has_server) {
- char pidfile[64];
- char *runtime;
- struct stat st;
-
- runtime = getenv("XDG_RUNTIME_DIR");
- if (!runtime) {
- return NULL;
- }
- snprintf(pidfile, sizeof(pidfile), "%s/pulse/pid", runtime);
- if (stat(pidfile, &st) != 0) {
- return NULL;
- }
- }
XDG_RUNTIME_DIR is not set for me. There is no /run/user directory exist in my system.
Also:
$ less ~/.pulse/client.conf
default-server = unix:/home/ivan/.pulse_server
** Affects: qemu
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1825452
Title:
Pulse audio backend doesn't work in v4.0.0-rc4 release
Status in QEMU:
New
Bug description:
Using Gentoo linux, build from source: qemu v4.0.0-rc4 release
(eeba63fc7fface36f438bcbc0d3b02e7dcb59983)
Pulse audio backend doesn't initialize because of the:
audio/paaudio.c:
- if (!popts->has_server) {
- char pidfile[64];
- char *runtime;
- struct stat st;
-
- runtime = getenv("XDG_RUNTIME_DIR");
- if (!runtime) {
- return NULL;
- }
- snprintf(pidfile, sizeof(pidfile), "%s/pulse/pid", runtime);
- if (stat(pidfile, &st) != 0) {
- return NULL;
- }
- }
XDG_RUNTIME_DIR is not set for me. There is no /run/user directory exist in my system.
Also:
$ less ~/.pulse/client.conf
default-server = unix:/home/ivan/.pulse_server
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1825452/+subscriptions
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Qemu-devel] [Bug 1825452] [NEW] Pulse audio backend doesn't work in v4.0.0-rc4 release
2019-04-19 1:59 [Qemu-devel] [Bug 1825452] [NEW] Pulse audio backend doesn't work in v4.0.0-rc4 release Ivan Volosyuk
@ 2019-04-19 1:59 ` Ivan Volosyuk
2019-04-19 8:41 ` [Qemu-devel] [Bug 1825452] " Ivan Volosyuk
` (4 subsequent siblings)
5 siblings, 0 replies; 10+ messages in thread
From: Ivan Volosyuk @ 2019-04-19 1:59 UTC (permalink / raw)
To: qemu-devel
Public bug reported:
Using Gentoo linux, build from source: qemu v4.0.0-rc4 release
(eeba63fc7fface36f438bcbc0d3b02e7dcb59983)
Pulse audio backend doesn't initialize because of the:
audio/paaudio.c:
- if (!popts->has_server) {
- char pidfile[64];
- char *runtime;
- struct stat st;
-
- runtime = getenv("XDG_RUNTIME_DIR");
- if (!runtime) {
- return NULL;
- }
- snprintf(pidfile, sizeof(pidfile), "%s/pulse/pid", runtime);
- if (stat(pidfile, &st) != 0) {
- return NULL;
- }
- }
XDG_RUNTIME_DIR is not set for me. There is no /run/user directory exist in my system.
Also:
$ less ~/.pulse/client.conf
default-server = unix:/home/ivan/.pulse_server
** Affects: qemu
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1825452
Title:
Pulse audio backend doesn't work in v4.0.0-rc4 release
Status in QEMU:
New
Bug description:
Using Gentoo linux, build from source: qemu v4.0.0-rc4 release
(eeba63fc7fface36f438bcbc0d3b02e7dcb59983)
Pulse audio backend doesn't initialize because of the:
audio/paaudio.c:
- if (!popts->has_server) {
- char pidfile[64];
- char *runtime;
- struct stat st;
-
- runtime = getenv("XDG_RUNTIME_DIR");
- if (!runtime) {
- return NULL;
- }
- snprintf(pidfile, sizeof(pidfile), "%s/pulse/pid", runtime);
- if (stat(pidfile, &st) != 0) {
- return NULL;
- }
- }
XDG_RUNTIME_DIR is not set for me. There is no /run/user directory exist in my system.
Also:
$ less ~/.pulse/client.conf
default-server = unix:/home/ivan/.pulse_server
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1825452/+subscriptions
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Qemu-devel] [Bug 1825452] Re: Pulse audio backend doesn't work in v4.0.0-rc4 release
2019-04-19 1:59 [Qemu-devel] [Bug 1825452] [NEW] Pulse audio backend doesn't work in v4.0.0-rc4 release Ivan Volosyuk
2019-04-19 1:59 ` Ivan Volosyuk
@ 2019-04-19 8:41 ` Ivan Volosyuk
2019-04-19 8:41 ` Ivan Volosyuk
2019-04-25 13:19 ` Ivan Volosyuk
` (3 subsequent siblings)
5 siblings, 1 reply; 10+ messages in thread
From: Ivan Volosyuk @ 2019-04-19 8:41 UTC (permalink / raw)
To: qemu-devel
Removing this lines makes pa backend work fine again. Much better than
3.x versions due to buffer fixes.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1825452
Title:
Pulse audio backend doesn't work in v4.0.0-rc4 release
Status in QEMU:
New
Bug description:
Using Gentoo linux, build from source: qemu v4.0.0-rc4 release
(eeba63fc7fface36f438bcbc0d3b02e7dcb59983)
Pulse audio backend doesn't initialize because of the:
audio/paaudio.c:
- if (!popts->has_server) {
- char pidfile[64];
- char *runtime;
- struct stat st;
-
- runtime = getenv("XDG_RUNTIME_DIR");
- if (!runtime) {
- return NULL;
- }
- snprintf(pidfile, sizeof(pidfile), "%s/pulse/pid", runtime);
- if (stat(pidfile, &st) != 0) {
- return NULL;
- }
- }
XDG_RUNTIME_DIR is not set for me. There is no /run/user directory exist in my system.
Also:
$ less ~/.pulse/client.conf
default-server = unix:/home/ivan/.pulse_server
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1825452/+subscriptions
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Qemu-devel] [Bug 1825452] Re: Pulse audio backend doesn't work in v4.0.0-rc4 release
2019-04-19 8:41 ` [Qemu-devel] [Bug 1825452] " Ivan Volosyuk
@ 2019-04-19 8:41 ` Ivan Volosyuk
0 siblings, 0 replies; 10+ messages in thread
From: Ivan Volosyuk @ 2019-04-19 8:41 UTC (permalink / raw)
To: qemu-devel
Removing this lines makes pa backend work fine again. Much better than
3.x versions due to buffer fixes.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1825452
Title:
Pulse audio backend doesn't work in v4.0.0-rc4 release
Status in QEMU:
New
Bug description:
Using Gentoo linux, build from source: qemu v4.0.0-rc4 release
(eeba63fc7fface36f438bcbc0d3b02e7dcb59983)
Pulse audio backend doesn't initialize because of the:
audio/paaudio.c:
- if (!popts->has_server) {
- char pidfile[64];
- char *runtime;
- struct stat st;
-
- runtime = getenv("XDG_RUNTIME_DIR");
- if (!runtime) {
- return NULL;
- }
- snprintf(pidfile, sizeof(pidfile), "%s/pulse/pid", runtime);
- if (stat(pidfile, &st) != 0) {
- return NULL;
- }
- }
XDG_RUNTIME_DIR is not set for me. There is no /run/user directory exist in my system.
Also:
$ less ~/.pulse/client.conf
default-server = unix:/home/ivan/.pulse_server
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1825452/+subscriptions
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Qemu-devel] [Bug 1825452] Re: Pulse audio backend doesn't work in v4.0.0-rc4 release
2019-04-19 1:59 [Qemu-devel] [Bug 1825452] [NEW] Pulse audio backend doesn't work in v4.0.0-rc4 release Ivan Volosyuk
2019-04-19 1:59 ` Ivan Volosyuk
2019-04-19 8:41 ` [Qemu-devel] [Bug 1825452] " Ivan Volosyuk
@ 2019-04-25 13:19 ` Ivan Volosyuk
2019-04-25 13:19 ` Ivan Volosyuk
2019-05-02 7:30 ` Gerd Hoffmann
` (2 subsequent siblings)
5 siblings, 1 reply; 10+ messages in thread
From: Ivan Volosyuk @ 2019-04-25 13:19 UTC (permalink / raw)
To: qemu-devel
It looks like this code relies on the systemd specifics and doesn't work
with OpenRC used in Gentoo by default. Still not fixed in 4.0.0 release.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1825452
Title:
Pulse audio backend doesn't work in v4.0.0-rc4 release
Status in QEMU:
New
Bug description:
Using Gentoo linux, build from source: qemu v4.0.0-rc4 release
(eeba63fc7fface36f438bcbc0d3b02e7dcb59983)
Pulse audio backend doesn't initialize because of the:
audio/paaudio.c:
- if (!popts->has_server) {
- char pidfile[64];
- char *runtime;
- struct stat st;
-
- runtime = getenv("XDG_RUNTIME_DIR");
- if (!runtime) {
- return NULL;
- }
- snprintf(pidfile, sizeof(pidfile), "%s/pulse/pid", runtime);
- if (stat(pidfile, &st) != 0) {
- return NULL;
- }
- }
XDG_RUNTIME_DIR is not set for me. There is no /run/user directory exist in my system.
Also:
$ less ~/.pulse/client.conf
default-server = unix:/home/ivan/.pulse_server
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1825452/+subscriptions
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Qemu-devel] [Bug 1825452] Re: Pulse audio backend doesn't work in v4.0.0-rc4 release
2019-04-25 13:19 ` Ivan Volosyuk
@ 2019-04-25 13:19 ` Ivan Volosyuk
0 siblings, 0 replies; 10+ messages in thread
From: Ivan Volosyuk @ 2019-04-25 13:19 UTC (permalink / raw)
To: qemu-devel
It looks like this code relies on the systemd specifics and doesn't work
with OpenRC used in Gentoo by default. Still not fixed in 4.0.0 release.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1825452
Title:
Pulse audio backend doesn't work in v4.0.0-rc4 release
Status in QEMU:
New
Bug description:
Using Gentoo linux, build from source: qemu v4.0.0-rc4 release
(eeba63fc7fface36f438bcbc0d3b02e7dcb59983)
Pulse audio backend doesn't initialize because of the:
audio/paaudio.c:
- if (!popts->has_server) {
- char pidfile[64];
- char *runtime;
- struct stat st;
-
- runtime = getenv("XDG_RUNTIME_DIR");
- if (!runtime) {
- return NULL;
- }
- snprintf(pidfile, sizeof(pidfile), "%s/pulse/pid", runtime);
- if (stat(pidfile, &st) != 0) {
- return NULL;
- }
- }
XDG_RUNTIME_DIR is not set for me. There is no /run/user directory exist in my system.
Also:
$ less ~/.pulse/client.conf
default-server = unix:/home/ivan/.pulse_server
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1825452/+subscriptions
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Qemu-devel] [Bug 1825452] Re: Pulse audio backend doesn't work in v4.0.0-rc4 release
2019-04-19 1:59 [Qemu-devel] [Bug 1825452] [NEW] Pulse audio backend doesn't work in v4.0.0-rc4 release Ivan Volosyuk
` (2 preceding siblings ...)
2019-04-25 13:19 ` Ivan Volosyuk
@ 2019-05-02 7:30 ` Gerd Hoffmann
2019-05-02 7:30 ` Gerd Hoffmann
2021-04-19 5:58 ` Thomas Huth
2021-06-19 4:17 ` Launchpad Bug Tracker
5 siblings, 1 reply; 10+ messages in thread
From: Gerd Hoffmann @ 2019-05-02 7:30 UTC (permalink / raw)
To: qemu-devel
You can use -audiodev
pa,id=whatever,server=unix:/home/ivan/.pulse_server to get things going
with your configuration.
Oh, and this has nothing to do with systemd:
kraxel@gentoo ~ $ set | grep ^XDG
XDG_CONFIG_DIRS=/etc/xdg
XDG_DATA_DIRS=/usr/local/share:/usr/share
XDG_RUNTIME_DIR=/var/run/user/1000
XDG_SESSION_COOKIE=gentoo-1556780854.41316-799155214
(gentoo with openrc + xfce, serial console login, x11 login has a few
more of these set).
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1825452
Title:
Pulse audio backend doesn't work in v4.0.0-rc4 release
Status in QEMU:
New
Bug description:
Using Gentoo linux, build from source: qemu v4.0.0-rc4 release
(eeba63fc7fface36f438bcbc0d3b02e7dcb59983)
Pulse audio backend doesn't initialize because of the:
audio/paaudio.c:
- if (!popts->has_server) {
- char pidfile[64];
- char *runtime;
- struct stat st;
-
- runtime = getenv("XDG_RUNTIME_DIR");
- if (!runtime) {
- return NULL;
- }
- snprintf(pidfile, sizeof(pidfile), "%s/pulse/pid", runtime);
- if (stat(pidfile, &st) != 0) {
- return NULL;
- }
- }
XDG_RUNTIME_DIR is not set for me. There is no /run/user directory exist in my system.
Also:
$ less ~/.pulse/client.conf
default-server = unix:/home/ivan/.pulse_server
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1825452/+subscriptions
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Qemu-devel] [Bug 1825452] Re: Pulse audio backend doesn't work in v4.0.0-rc4 release
2019-05-02 7:30 ` Gerd Hoffmann
@ 2019-05-02 7:30 ` Gerd Hoffmann
0 siblings, 0 replies; 10+ messages in thread
From: Gerd Hoffmann @ 2019-05-02 7:30 UTC (permalink / raw)
To: qemu-devel
You can use -audiodev
pa,id=whatever,server=unix:/home/ivan/.pulse_server to get things going
with your configuration.
Oh, and this has nothing to do with systemd:
kraxel@gentoo ~ $ set | grep ^XDG
XDG_CONFIG_DIRS=/etc/xdg
XDG_DATA_DIRS=/usr/local/share:/usr/share
XDG_RUNTIME_DIR=/var/run/user/1000
XDG_SESSION_COOKIE=gentoo-1556780854.41316-799155214
(gentoo with openrc + xfce, serial console login, x11 login has a few
more of these set).
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1825452
Title:
Pulse audio backend doesn't work in v4.0.0-rc4 release
Status in QEMU:
New
Bug description:
Using Gentoo linux, build from source: qemu v4.0.0-rc4 release
(eeba63fc7fface36f438bcbc0d3b02e7dcb59983)
Pulse audio backend doesn't initialize because of the:
audio/paaudio.c:
- if (!popts->has_server) {
- char pidfile[64];
- char *runtime;
- struct stat st;
-
- runtime = getenv("XDG_RUNTIME_DIR");
- if (!runtime) {
- return NULL;
- }
- snprintf(pidfile, sizeof(pidfile), "%s/pulse/pid", runtime);
- if (stat(pidfile, &st) != 0) {
- return NULL;
- }
- }
XDG_RUNTIME_DIR is not set for me. There is no /run/user directory exist in my system.
Also:
$ less ~/.pulse/client.conf
default-server = unix:/home/ivan/.pulse_server
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1825452/+subscriptions
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 1825452] Re: Pulse audio backend doesn't work in v4.0.0-rc4 release
2019-04-19 1:59 [Qemu-devel] [Bug 1825452] [NEW] Pulse audio backend doesn't work in v4.0.0-rc4 release Ivan Volosyuk
` (3 preceding siblings ...)
2019-05-02 7:30 ` Gerd Hoffmann
@ 2021-04-19 5:58 ` Thomas Huth
2021-06-19 4:17 ` Launchpad Bug Tracker
5 siblings, 0 replies; 10+ messages in thread
From: Thomas Huth @ 2021-04-19 5:58 UTC (permalink / raw)
To: qemu-devel
Looking through old bug tickets... is this still an issue with the
latest version of QEMU? Or could we close this ticket nowadays?
** Changed in: qemu
Status: New => Incomplete
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1825452
Title:
Pulse audio backend doesn't work in v4.0.0-rc4 release
Status in QEMU:
Incomplete
Bug description:
Using Gentoo linux, build from source: qemu v4.0.0-rc4 release
(eeba63fc7fface36f438bcbc0d3b02e7dcb59983)
Pulse audio backend doesn't initialize because of the:
audio/paaudio.c:
- if (!popts->has_server) {
- char pidfile[64];
- char *runtime;
- struct stat st;
-
- runtime = getenv("XDG_RUNTIME_DIR");
- if (!runtime) {
- return NULL;
- }
- snprintf(pidfile, sizeof(pidfile), "%s/pulse/pid", runtime);
- if (stat(pidfile, &st) != 0) {
- return NULL;
- }
- }
XDG_RUNTIME_DIR is not set for me. There is no /run/user directory exist in my system.
Also:
$ less ~/.pulse/client.conf
default-server = unix:/home/ivan/.pulse_server
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1825452/+subscriptions
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 1825452] Re: Pulse audio backend doesn't work in v4.0.0-rc4 release
2019-04-19 1:59 [Qemu-devel] [Bug 1825452] [NEW] Pulse audio backend doesn't work in v4.0.0-rc4 release Ivan Volosyuk
` (4 preceding siblings ...)
2021-04-19 5:58 ` Thomas Huth
@ 2021-06-19 4:17 ` Launchpad Bug Tracker
5 siblings, 0 replies; 10+ messages in thread
From: Launchpad Bug Tracker @ 2021-06-19 4:17 UTC (permalink / raw)
To: qemu-devel
[Expired for QEMU because there has been no activity for 60 days.]
** Changed in: qemu
Status: Incomplete => Expired
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1825452
Title:
Pulse audio backend doesn't work in v4.0.0-rc4 release
Status in QEMU:
Expired
Bug description:
Using Gentoo linux, build from source: qemu v4.0.0-rc4 release
(eeba63fc7fface36f438bcbc0d3b02e7dcb59983)
Pulse audio backend doesn't initialize because of the:
audio/paaudio.c:
- if (!popts->has_server) {
- char pidfile[64];
- char *runtime;
- struct stat st;
-
- runtime = getenv("XDG_RUNTIME_DIR");
- if (!runtime) {
- return NULL;
- }
- snprintf(pidfile, sizeof(pidfile), "%s/pulse/pid", runtime);
- if (stat(pidfile, &st) != 0) {
- return NULL;
- }
- }
XDG_RUNTIME_DIR is not set for me. There is no /run/user directory exist in my system.
Also:
$ less ~/.pulse/client.conf
default-server = unix:/home/ivan/.pulse_server
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1825452/+subscriptions
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2021-06-19 4:27 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-19 1:59 [Qemu-devel] [Bug 1825452] [NEW] Pulse audio backend doesn't work in v4.0.0-rc4 release Ivan Volosyuk
2019-04-19 1:59 ` Ivan Volosyuk
2019-04-19 8:41 ` [Qemu-devel] [Bug 1825452] " Ivan Volosyuk
2019-04-19 8:41 ` Ivan Volosyuk
2019-04-25 13:19 ` Ivan Volosyuk
2019-04-25 13:19 ` Ivan Volosyuk
2019-05-02 7:30 ` Gerd Hoffmann
2019-05-02 7:30 ` Gerd Hoffmann
2021-04-19 5:58 ` Thomas Huth
2021-06-19 4:17 ` Launchpad Bug Tracker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).