You are not logged in.
I'm playing with GNOME Wayland session and everything expect sound is working good for me (excluding some other minor bugs).
When on X, I can hear sound from speakers on my HDMI connected monitor but when I choose Wayland session it does not work. In both modes my headphones are working great.
My question is what should I do (configure/enable) or install to be able to hear sound from HDMI connected monitor under GNOME/Wayland?
Below I post some info about my system.
Monitor: Eizo Foris FS2434
Graphics card:
$ lspci -v
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Juniper XT [Radeon HD 5770] (prog-if 00 [VGA controller])
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device 3000
Flags: bus master, fast devsel, latency 0, IRQ 29
Memory at d0000000 (64-bit, prefetchable) [size=256M]
Memory at fe620000 (64-bit, non-prefetchable) [size=128K]
I/O ports at e000 [size=256]
Expansion ROM at fe600000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: radeon
Kernel modules: radeon
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Juniper HDMI Audio [Radeon HD 5700 Series]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Juniper HDMI Audio [Radeon HD 5700 Series]
Flags: bus master, fast devsel, latency 0, IRQ 32
Memory at fe640000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
Other info:
$ aplay -lL
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
HDA Intel PCH, ALC887-VD Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC887-VD Analog
Front speakers
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC887-VD Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC887-VD Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC887-VD Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC887-VD Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC887-VD Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC887-VD Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
HDA Intel PCH, ALC887-VD Digital
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=PCH,DEV=0
HDA Intel PCH, HDMI 0
HDMI Audio Output
hdmi:CARD=HDMI,DEV=0
HDA ATI HDMI, HDMI 0
HDMI Audio Output
sysdefault:CARD=Creative
HDA Creative, CA0110-IBG Analog
Default Audio Device
front:CARD=Creative,DEV=0
HDA Creative, CA0110-IBG Analog
Front speakers
surround21:CARD=Creative,DEV=0
HDA Creative, CA0110-IBG Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Creative,DEV=0
HDA Creative, CA0110-IBG Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Creative,DEV=0
HDA Creative, CA0110-IBG Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Creative,DEV=0
HDA Creative, CA0110-IBG Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Creative,DEV=0
HDA Creative, CA0110-IBG Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Creative,DEV=0
HDA Creative, CA0110-IBG Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Creative,DEV=0
HDA Creative, CA0110-IBG Digital
IEC958 (S/PDIF) Digital Audio Output
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 2: Creative [HDA Creative], device 0: CA0110-IBG Analog [CA0110-IBG Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Creative [HDA Creative], device 1: CA0110-IBG Digital [CA0110-IBG Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
I've also added
radeon.hdmi=1
to kernel command line but I doubt it's needed or affecting anything.
Last edited by mmarzantowicz (2016-05-25 12:06:04)
Offline
I am also experiencing the exact same problem. Can anything be done about this, or is this something intrinsic to wayland/Gnome?
Offline
I haven't found any solution yet. Currently I switched back to X because I was also experiencing GDM freezes when switching users and that was very painful for me (I had to restart my computer).
I think sound issues are related to how GNOME handles sessions in gdm-wayland-session. It looks like it doesn't initialize sound output device correctly. In X mode it does it.
Last edited by mmarzantowicz (2016-03-15 08:09:27)
Offline
It would seem that this might be a driver issue. I plan on investigating in the morning. Hopefully, switching to Catalyst will solve this problem.
Offline
I'm not convinced about your theory about driver issue because at last in my case, HDMI sound is working on X session. For both session types (Wayland and Xorg) I use the same AMD driver (radeon with firmware blobs) from the Linux kernel. I do not have xf86-video-ati package installed.
It is possible that GNOME's Xorg session "has better knowledge" about sound card and/or monitor internals and does some magic to make it work that is currently not supported by Wayland. I suspect it might be related to other issue I've encountered https://bbs.archlinux.org/viewtopic.php?id=209063 , but that is only my theory.
Last edited by mmarzantowicz (2016-03-15 10:42:03)
Offline
GNOME doesn't really do anything for your sound, but uses pulseaudio for it.
Can you switch to HDMI via GNOME's sound settings or pavucontrol under wayland?
Do you have the same issue with other wayland compositors, e.g. weston?
Do you have this issue also, if you start gnome on wayland from command line without using GDM?
Offline
It seems that Catalyst doesn't support KMS, so running wayland isn't even an option. Starting the session manually though
gnome-session --session=gnome-wayland
also yields the same result.
It's so strange...
[me@my-ShittyLaptop ~]$ aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
...actually produces no sound through HDMI, despite its output indicating otherwise. I'm trying to figure it out, but my google-fu is failing me atm. REALLY hoping this is not a problem with my ALSA configuration files. Lord knows that's a whole different can of worms...
Offline
Since pulseaudio works through alsa by creating its own asoundrc file, i thought the solution offered here would be successful, but i was wrong...
Offline
As of GNOME 3.20.2 HDMI sound (on Radeon HD 57xx) under wayland session is working as expected. It looks like it was one of the features that needed to be finished before wayland is usable replacement for X and now it's happening.
Offline