I have a pulseaudio process that seems to be blocked in the kernel: kernel: sysrq: SysRq : Show Blocked State kernel: task PC stack pid father kernel: pulseaudio D ffff8801191a3b98 0 26427 1 0x00000004 kernel: ffff8801191a3b98 ffffffff81c10500 ffff880002788000 ffff8801191a4000 kernel: ffff8804afa0e080 ffff8801191a3bd0 ffff8804afa0e080 ffff88049b053000 kernel: ffff8801191a3bb0 ffffffff81795895 0000000205922d36 ffff8801191a3c60 kernel: Call Trace: kernel: [<ffffffff81795895>] schedule+0x35/0x80 kernel: [<ffffffff817986b3>] schedule_timeout+0x123/0x240 kernel: [<ffffffff8110b7c0>] ? trace_event_raw_event_tick_stop+0x120/0x120 kernel: [<ffffffff817993de>] ? _raw_spin_unlock_irqrestore+0xe/0x10 kernel: [<ffffffffa0477f05>] snd_power_wait+0xb5/0x110 [snd] kernel: [<ffffffff810cc790>] ? wake_up_q+0x70/0x70 kernel: [<ffffffffa0479901>] snd_ctl_elem_info_user+0x61/0xf0 [snd] kernel: [<ffffffffa047c33c>] snd_ctl_ioctl+0x5ec/0x6c0 [snd] kernel: [<ffffffff8133baac>] ? selinux_file_ioctl+0x10c/0x1c0 kernel: [<ffffffff8123e7f8>] do_vfs_ioctl+0x298/0x480 kernel: [<ffffffff81333323>] ? security_file_ioctl+0x43/0x60 kernel: [<ffffffff8123ea59>] SyS_ioctl+0x79/0x90 kernel: [<ffffffff8179996e>] entry_SYSCALL_64_fastpath+0x12/0x71 Not sure how it got that way though. Any advise or hints?
FWIW: # lsmod | grep snd snd_hda_codec_hdmi 49152 1 snd_hda_codec_realtek 81920 1 snd_hda_codec_generic 69632 1 snd_hda_codec_realtek snd_usb_audio 176128 0 snd_hda_intel 36864 4 snd_hda_codec 126976 4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel snd_usbmidi_lib 36864 1 snd_usb_audio snd_hda_core 61440 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel snd_hwdep 16384 2 snd_usb_audio,snd_hda_codec snd_rawmidi 32768 1 snd_usbmidi_lib snd_seq 69632 0 snd_seq_device 16384 2 snd_seq,snd_rawmidi snd_pcm 114688 6 snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core snd_timer 32768 2 snd_pcm,snd_seq snd 73728 20 snd_hda_codec_realtek,snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device soundcore 16384 1 snd # cat /proc/asound/cards 0 [PCH ]: HDA-Intel - HDA Intel PCH HDA Intel PCH at 0xce830000 irq 38 2 [NVidia ]: HDA-Intel - HDA NVidia HDA NVidia at 0xce000000 irq 17 # uname -r 4.4.2-301.fc23.x86_64 # rpm -q pulseaudio pulseaudio-7.1-1.fc23.x86_64
Can you reproduce this at will? Does this go away if you disable DPMS (i.e. screen blanking) in your desktop environment settings?
(In reply to Alexander E. Patrakov from comment #2) > Can you reproduce this at will? I've only had it happen this once. FWIW, the blocked pulseaudio process has gone away now. Another did not spawn in it's place though so I can/will have to [re-]start it manually. I will wait to do that in case there is a particular way you want me to do that. > Does this go away if you disable DPMS (i.e. > screen blanking) in your desktop environment settings? Not sure given this is the first/only time I have seen it. :-) It's an interesting suggestion though. What is it about DPMS screen blanking that can cause this?
On some video cards, screen-blanking freezes HDMI audio. If disabling DPMS helps you, then your bug is related to (or is a duplicate of) #93363, with the difference that you don't have any speakers connected to HDMI.
The blocked pulseaudio seemed to finally exit. So interestingly enough I started pulseaudio with debug logging and it's stuck at: D: [pulseaudio] alsa-mixer.c: Looking at profile output:hdmi-stereo D: [pulseaudio] alsa-mixer.c: Checking for playback on Digital Stereo (HDMI) (hdmi-stereo) D: [pulseaudio] alsa-util.c: Trying hdmi:2 with SND_PCM_NO_AUTO_FORMAT ... and blocked again. Seems like the HDMI theory is correct. But when I did start it above, the screen didn't go into locked or sleep mode. It seems like the HDMI is just blocking even when the laptop is being used. I did an xset -dpms and ended up having to walk away and by the time I got back, it had unblocked. That all said, this is the first time in all the time (many many months) I have used this laptop that this has happened so it's strange that it'd happen just this once.
So I believe I have DPMS disabled: $ xset q ... DPMS (Energy Star): Standby: 0 Suspend: 0 Off: 0 DPMS is Disabled and yet pulseaudio is still blocking on HDMI when it starts up: D: [pulseaudio] alsa-mixer.c: Looking at profile output:hdmi-stereo D: [pulseaudio] alsa-mixer.c: Checking for playback on Digital Stereo (HDMI) (hdmi-stereo) D: [pulseaudio] alsa-util.c: Trying hdmi:2 with SND_PCM_NO_AUTO_FORMAT ... [hangs there] Any further ideas?
Did your graphic driver get EDID from your HDMI monitor ? xrandr --verbose
We need a better understanding of your laptop. Which of the following statements is accurate? 1. The laptop has both Intel and NVidia graphics. Intel drives the laptop screen, NVidia drives HDMI. 2. The laptop has only NVidia graphics. 3. Something else. If the first statement is true, do you use Bumblebee, Primus or built-in PRIME support in your X server to make these video cards cooperate? Is your NVidia card normally in the powered-down state? It would be useful if you attach the "pulseaudio -vvv" log and "pactl list" output.
I meant, pulseaudio -vvv --log-time
I will prefix these answers with the statement that I ended up having to reboot the laptop due to it going funky while I was trying to debug. So the previous state is no longer and pulseaudio is not working, post-reboot. (In reply to Raymond from comment #7) > Did your graphic driver get EDID from your HDMI monitor ? > > > xrandr --verbose $ xrandr --verbose Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384 DP-1 disconnected (normal left inverted right x axis y axis) Identifier: 0x63 Timestamp: 83095 Subpixel: unknown Clones: CRTCs: 0 1 2 3 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: dithering depth: 6 bpc supported: auto, 6 bpc, 8 bpc dithering mode: off supported: auto, off, static 2x2, dynamic 2x2, temporal scaling mode: None supported: None, Full, Center, Full aspect color vibrance: 150 range: (0, 200) vibrant hue: 90 range: (0, 180) underscan vborder: 0 range: (0, 128) underscan hborder: 0 range: (0, 128) underscan: off supported: auto, off, on DP-2 disconnected (normal left inverted right x axis y axis) Identifier: 0x64 Timestamp: 83095 Subpixel: unknown Clones: CRTCs: 0 1 2 3 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: dithering depth: 6 bpc supported: auto, 6 bpc, 8 bpc dithering mode: off supported: auto, off, static 2x2, dynamic 2x2, temporal scaling mode: None supported: None, Full, Center, Full aspect color vibrance: 150 range: (0, 200) vibrant hue: 90 range: (0, 180) underscan vborder: 0 range: (0, 128) underscan hborder: 0 range: (0, 128) underscan: off supported: auto, off, on DP-3 disconnected (normal left inverted right x axis y axis) Identifier: 0x65 Timestamp: 83095 Subpixel: unknown Clones: CRTCs: 0 1 2 3 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: dithering depth: 6 bpc supported: auto, 6 bpc, 8 bpc dithering mode: off supported: auto, off, static 2x2, dynamic 2x2, temporal scaling mode: None supported: None, Full, Center, Full aspect color vibrance: 150 range: (0, 200) vibrant hue: 90 range: (0, 180) underscan vborder: 0 range: (0, 128) underscan hborder: 0 range: (0, 128) underscan: off supported: auto, off, on eDP-1 connected 1920x1080+0+0 (0x69) normal (normal left inverted right x axis y axis) 345mm x 194mm Identifier: 0x66 Timestamp: 83095 Subpixel: unknown Gamma: 1.0:1.0:1.0 Brightness: 1.0 Clones: CRTC: 0 CRTCs: 0 1 2 3 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: EDID: 00ffffffffffff0030e46f0400000000 0018010495231378eadc95a35855a026 0d505400000001010101010101010101 0101010101012e3680a070381f403020 350059c21000001a2e3680a070381f40 3020350059c21000001a000000000000 00000000000000000000000000000002 000833ff0a3c961e163696000000002b dithering depth: 6 bpc supported: auto, 6 bpc, 8 bpc dithering mode: off supported: auto, off, static 2x2, dynamic 2x2, temporal scaling mode: None supported: None, Full, Center, Full aspect color vibrance: 150 range: (0, 200) vibrant hue: 90 range: (0, 180) 1920x1080 (0x69) 138.700MHz +HSync -VSync *current +preferred h: width 1920 start 1968 end 2000 total 2080 skew 0 clock 66.68KHz v: height 1080 start 1083 end 1088 total 1111 clock 60.02Hz 1680x1050 (0x6a) 146.250MHz -HSync +VSync h: width 1680 start 1784 end 1960 total 2240 skew 0 clock 65.29KHz v: height 1050 start 1053 end 1059 total 1089 clock 59.95Hz 1400x1050 (0x6b) 121.750MHz -HSync +VSync h: width 1400 start 1488 end 1632 total 1864 skew 0 clock 65.32KHz v: height 1050 start 1053 end 1057 total 1089 clock 59.98Hz 1280x1024 (0x6c) 109.000MHz -HSync +VSync h: width 1280 start 1368 end 1496 total 1712 skew 0 clock 63.67KHz v: height 1024 start 1027 end 1034 total 1063 clock 59.89Hz 1280x960 (0x6d) 101.250MHz -HSync +VSync h: width 1280 start 1360 end 1488 total 1696 skew 0 clock 59.70KHz v: height 960 start 963 end 967 total 996 clock 59.94Hz 1152x864 (0x6e) 81.750MHz -HSync +VSync h: width 1152 start 1216 end 1336 total 1520 skew 0 clock 53.78KHz v: height 864 start 867 end 871 total 897 clock 59.96Hz 1024x768 (0x6f) 63.500MHz -HSync +VSync h: width 1024 start 1072 end 1176 total 1328 skew 0 clock 47.82KHz v: height 768 start 771 end 775 total 798 clock 59.92Hz 800x600 (0x70) 38.250MHz -HSync +VSync h: width 800 start 832 end 912 total 1024 skew 0 clock 37.35KHz v: height 600 start 603 end 607 total 624 clock 59.86Hz 640x480 (0x71) 23.750MHz -HSync +VSync h: width 640 start 664 end 720 total 800 skew 0 clock 29.69KHz v: height 480 start 483 end 487 total 500 clock 59.38Hz 720x400 (0x72) 22.250MHz -HSync +VSync h: width 720 start 744 end 808 total 896 skew 0 clock 24.83KHz v: height 400 start 403 end 413 total 417 clock 59.55Hz 640x400 (0x73) 20.000MHz -HSync +VSync h: width 640 start 664 end 720 total 800 skew 0 clock 25.00KHz v: height 400 start 403 end 409 total 417 clock 59.95Hz 640x350 (0x74) 17.500MHz -HSync +VSync h: width 640 start 664 end 720 total 800 skew 0 clock 21.88KHz v: height 350 start 353 end 363 total 366 clock 59.77Hz VGA-1 disconnected (normal left inverted right x axis y axis) Identifier: 0x67 Timestamp: 83095 Subpixel: unknown Clones: CRTCs: 0 1 2 3 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: scaling mode: None supported: None, Full, Center, Full aspect color vibrance: 150 range: (0, 200) vibrant hue: 90 range: (0, 180) (In reply to Alexander E. Patrakov from comment #8) > We need a better understanding of your laptop. Which of the following > statements is accurate? > > 1. The laptop has both Intel and NVidia graphics. Intel drives the laptop > screen, NVidia drives HDMI. I believe this is true. I will attach my Xorg.0.log > If the first statement is true, do you use Bumblebee, Primus or built-in > PRIME support in your X server to make these video cards cooperate? I don't believe I am using any of those. Perhaps since I know I have not done anything to specifically use Bumblebee or Primus it is the latter "PRIME support in your X server". If the Xorg.0.log does not reveal it, I will be happy to provide further information. > Is your > NVidia card normally in the powered-down state? Not sure. > It would be useful if you attach the "pulseaudio -vvv" log and "pactl list" > output. I will attach the latter but at this moment, I cannot afford the disruption of trying to stop pulseaudio and running it with -vvv. Perhaps pulseaudio -vvv is less interesting now that I have lost the failure state.
Created attachment 123152 [details] pactl list output
Created attachment 123153 [details] Xorg.0.log
You are using the vesa video driver. It relies on the BIOS and lacks any integration needed to properly enable HDMI audio on any chipsets. Additionally, it can stomp on the register values set by the proper KMS driver, without the KMS driver noticing. Please remove "nomodeset", uninstall the vesa driver package and test whether this resolves the bug.
I've enabled Hybrid Graphics in the BIOS to give me access to both the Intel and Nvidia GPUs. I have not done anything with/about Bumblebee, Primus or built-in PRIME support in my X server. This is a work workstation for web/e-mail/ssh/virtual-machines. I don't have any extreme GPU requirements. In any case, find attached my new Xorg.0.log. Let me know if that will cause any problems. It does appear to be using the intel driver now: $ glxinfo | grep Mesa client glx vendor string: Mesa Project and SGI OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.1.0 (git-525f3c2) OpenGL version string: 3.0 Mesa 11.1.0 (git-525f3c2) OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.1.0 (git-525f3c2)
Created attachment 123320 [details] Xorg.1.log
I have looked through the new log. If both displays work, then you are currently using PRIME (due to a Fedora patch that enables it by default). In other words, the setup now looks sane to me and should not cause any HDMI audio problems. If pulseaudio is not blocked in the kernel anymore, please close this big. Otherwise, we'll have to debug further.
This still seems to be a problem. I had a stuck pulseaudio process and needed to try to resolve it quickly so tried to kill it. It's not being reaped by systemd it would seem: # ps axf ... 2877 ? Z<l 0:09 [pulseaudio] <defunct> 2918 ? Z 0:00 \_ [gconf-helper] <defunct> ... # ps -ef ... brian 2877 1 0 08:50 ? 00:00:09 [pulseaudio] <defunct> ... History is that this zombie will go a way *eventually*. I can't start a new pulseaudio until it does though. So much for resolving this quickly. :-(
New "xrandr --verbose": $ xrandr --verbose Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767 eDP1 connected primary 1920x1080+0+0 (0x8e) normal (normal left inverted right x axis y axis) 345mm x 194mm Identifier: 0x8a Timestamp: 158304 Subpixel: unknown Gamma: 1.0:1.0:1.0 Brightness: 1.0 Clones: CRTC: 0 CRTCs: 0 1 2 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: EDID: 00ffffffffffff0030e46f0400000000 0018010495231378eadc95a35855a026 0d505400000001010101010101010101 0101010101012e3680a070381f403020 350059c21000001a2e3680a070381f40 3020350059c21000001a000000000000 00000000000000000000000000000002 000833ff0a3c961e163696000000002b BACKLIGHT: 4882 range: (0, 4882) Backlight: 4882 range: (0, 4882) scaling mode: Full aspect supported: None, Full, Center, Full aspect Broadcast RGB: Automatic supported: Automatic, Full, Limited 16:235 audio: auto supported: force-dvi, off, auto, on 1920x1080 (0x8e) 138.700MHz +HSync -VSync *current +preferred h: width 1920 start 1968 end 2000 total 2080 skew 0 clock 66.68KHz v: height 1080 start 1083 end 1088 total 1111 clock 60.02Hz 1400x1050 (0x12f) 122.000MHz +HSync +VSync h: width 1400 start 1488 end 1640 total 1880 skew 0 clock 64.89KHz v: height 1050 start 1052 end 1064 total 1082 clock 59.98Hz 1600x900 (0x130) 118.997MHz -HSync +VSync h: width 1600 start 1696 end 1864 total 2128 skew 0 clock 55.92KHz v: height 900 start 901 end 904 total 932 clock 60.00Hz 1280x1024 (0x131) 108.000MHz +HSync +VSync h: width 1280 start 1328 end 1440 total 1688 skew 0 clock 63.98KHz v: height 1024 start 1025 end 1028 total 1066 clock 60.02Hz 1280x960 (0x132) 108.000MHz +HSync +VSync h: width 1280 start 1376 end 1488 total 1800 skew 0 clock 60.00KHz v: height 960 start 961 end 964 total 1000 clock 60.00Hz 1368x768 (0x133) 85.860MHz -HSync +VSync h: width 1368 start 1440 end 1584 total 1800 skew 0 clock 47.70KHz v: height 768 start 769 end 772 total 795 clock 60.00Hz 1280x720 (0x134) 74.480MHz -HSync +VSync h: width 1280 start 1336 end 1472 total 1664 skew 0 clock 44.76KHz v: height 720 start 721 end 724 total 746 clock 60.00Hz 1024x768 (0x135) 65.000MHz -HSync -VSync h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.36KHz v: height 768 start 771 end 777 total 806 clock 60.00Hz 1024x576 (0x136) 46.995MHz -HSync +VSync h: width 1024 start 1064 end 1168 total 1312 skew 0 clock 35.82KHz v: height 576 start 577 end 580 total 597 clock 60.00Hz 960x540 (0x137) 40.784MHz -HSync +VSync h: width 960 start 992 end 1088 total 1216 skew 0 clock 33.54KHz v: height 540 start 541 end 544 total 559 clock 60.00Hz 800x600 (0x138) 40.000MHz +HSync +VSync h: width 800 start 840 end 968 total 1056 skew 0 clock 37.88KHz v: height 600 start 601 end 605 total 628 clock 60.32Hz 800x600 (0x139) 36.000MHz +HSync +VSync h: width 800 start 824 end 896 total 1024 skew 0 clock 35.16KHz v: height 600 start 601 end 603 total 625 clock 56.25Hz 864x486 (0x13a) 32.901MHz -HSync +VSync h: width 864 start 888 end 976 total 1088 skew 0 clock 30.24KHz v: height 486 start 487 end 490 total 504 clock 60.00Hz 640x480 (0x13b) 25.175MHz -HSync -VSync h: width 640 start 656 end 752 total 800 skew 0 clock 31.47KHz v: height 480 start 490 end 492 total 525 clock 59.94Hz 720x405 (0x13c) 22.176MHz -HSync +VSync h: width 720 start 728 end 800 total 880 skew 0 clock 25.20KHz v: height 405 start 406 end 409 total 420 clock 60.00Hz 640x360 (0x13d) 17.187MHz -HSync +VSync h: width 640 start 640 end 704 total 768 skew 0 clock 22.38KHz v: height 360 start 361 end 364 total 373 clock 60.00Hz VGA1 disconnected (normal left inverted right x axis y axis) Identifier: 0x8b Timestamp: 158304 Subpixel: unknown Clones: CRTCs: 0 1 2 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: VIRTUAL1 disconnected (normal left inverted right x axis y axis) Identifier: 0x8c Timestamp: 158304 Subpixel: no subpixels Clones: CRTCs: 3 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: DP-1-1 disconnected (normal left inverted right x axis y axis) Identifier: 0x63 Timestamp: 157526 Subpixel: unknown Clones: CRTCs: 4 5 6 7 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: dithering depth: 6 bpc supported: auto, 6 bpc, 8 bpc dithering mode: off supported: auto, off, static 2x2, dynamic 2x2, temporal scaling mode: None supported: None, Full, Center, Full aspect color vibrance: 150 range: (0, 200) vibrant hue: 90 range: (0, 180) underscan vborder: 0 range: (0, 128) underscan hborder: 0 range: (0, 128) underscan: off supported: auto, off, on DP-1-2 disconnected (normal left inverted right x axis y axis) Identifier: 0x64 Timestamp: 157526 Subpixel: unknown Clones: CRTCs: 4 5 6 7 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: dithering depth: 6 bpc supported: auto, 6 bpc, 8 bpc dithering mode: off supported: auto, off, static 2x2, dynamic 2x2, temporal scaling mode: None supported: None, Full, Center, Full aspect color vibrance: 150 range: (0, 200) vibrant hue: 90 range: (0, 180) underscan vborder: 0 range: (0, 128) underscan hborder: 0 range: (0, 128) underscan: off supported: auto, off, on DP-1-3 disconnected (normal left inverted right x axis y axis) Identifier: 0x65 Timestamp: 157526 Subpixel: unknown Clones: CRTCs: 4 5 6 7 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: dithering depth: 6 bpc supported: auto, 6 bpc, 8 bpc dithering mode: off supported: auto, off, static 2x2, dynamic 2x2, temporal scaling mode: None supported: None, Full, Center, Full aspect color vibrance: 150 range: (0, 200) vibrant hue: 90 range: (0, 180) underscan vborder: 0 range: (0, 128) underscan hborder: 0 range: (0, 128) underscan: off supported: auto, off, on
ftp://download.nvidia.com/XFree86/gpu-hdmi-audio-document/gpu-hdmi-audio.html#_verify_your_eld_is_validPorts hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency offset: 0 usec, available) Properties: device.icon_name = "video-display" device.product.name = "24MP76" Part of profile(s): output:hdmi-stereo did your graphic driver get the correct EDID of your LG 24MP76 and pass ELD to audio driver ?
(In reply to Brian J. Murrell from comment #18) > New "xrandr --verbose": > > $ xrandr --verbose > > Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767 > eDP1 connected primary 1920x1080+0+0 (0x8e) normal (normal left inverted > right x axis y axis) 345mm x 194mm ...and there are no monitors connected to the NVidia GPU. So maybe it is powered down. Try to disable this by adding this parameter to the kernel command line: nouveau.runpm=0 Anyway, this is a kernel bug, not something that can be fixed in PulseAudio. All we can do here is to gather some evidence. Please verify (without the above parameter) whether this command also gets blocked in the kernel. Run it repeatedly just in case. amixer -c2 Also try: alsamixer -c2 and mute/unmute various spdifs repeatedly. Finally: time pasuspender -- aplay -d 5 -D hdmi:2 -f dat /dev/zero OTOH the EDID question by Raymond has absolutely no sense, exactly because you have nothing connected to the NVidia GPU. So, it cannot (and should not) get any EDID.
EDID: 00ffffffffffff0030e46f0400000000 0018010495231378eadc95a35855a026 0d505400000001010101010101010101 0101010101012e3680a070381f403020 350059c21000001a2e3680a070381f40 3020350059c21000001a000000000000 00000000000000000000000000000002 000833ff0a3c961e163696000000002b audio: auto supported: force-dvi, off, auto, on https://cgit.freedesktop.org/xorg/app/edid-decode/tree/
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/sound/pci/hda/hda_eld.c do you have any output of snd_hdmi_print_eld_info
(In reply to Raymond from comment #19) > ftp://download.nvidia.com/XFree86/gpu-hdmi-audio-document/gpu-hdmi-audio. > html#_verify_your_eld_is_validPorts > > > hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency offset: 0 usec, > available) > Properties: > device.icon_name = "video-display" > device.product.name = "24MP76" > Part of profile(s): output:hdmi-stereo > > > > did your graphic driver get the correct EDID of your LG 24MP76 and pass ELD > to audio driver ? I don't (usually) have any monitors connected to the HDMI. That must have been a/the one time I did to see if having a monitor on the HDMI port made the problem any better or worse. (In reply to Alexander E. Patrakov from comment #20) > > ...and there are no monitors connected to the NVidia GPU. So maybe it is > powered down. Try to disable this by adding this parameter to the kernel > command line: > > nouveau.runpm=0 OK. That will take effect on my next reboot. > Anyway, this is a kernel bug, not something that can be fixed in PulseAudio. > All we can do here is to gather some evidence. Happy to help with that in any way I can. > Please verify (without the above parameter) whether this command also gets > blocked in the kernel. Run it repeatedly just in case. > > amixer -c2 I only had to run it once: $ amixer -c2 [ didn't return] $ ps axf | grep amixer 27202 pts/1 D+ 0:00 | \_ amixer -c2 Here's the stack trace of it: task PC stack pid father amixer D ffff8802f995bb98 0 27202 3824 0x00000000 ffff8802f995bb98 ffff88049d6cda00 ffff88046a3b9e00 ffff8802f995c000 ffff8802f995bbd0 ffff8804afb0e080 ffff8804afb0e080 ffff88049c17a000 ffff8802f995bbb0 ffffffff8179cf95 000000010b2a9d8b ffff8802f995bc60 Call Trace: [<ffffffff8179cf95>] schedule+0x35/0x80 [<ffffffff8179fdb3>] schedule_timeout+0x123/0x270 [<ffffffff8110d350>] ? trace_event_raw_event_tick_stop+0x120/0x120 [<ffffffff817a0b5e>] ? _raw_spin_unlock_irqrestore+0xe/0x10 [<ffffffffa05dbf05>] snd_power_wait+0xb5/0x110 [snd] [<ffffffff810cddd0>] ? wake_up_q+0x70/0x70 [<ffffffffa05dd901>] snd_ctl_elem_info_user+0x61/0xf0 [snd] [<ffffffffa05e034c>] snd_ctl_ioctl+0x5ec/0x6c0 [snd] [<ffffffff813407fc>] ? selinux_file_ioctl+0x10c/0x1c0 [<ffffffff81241428>] do_vfs_ioctl+0x298/0x480 [<ffffffff813380b3>] ? security_file_ioctl+0x43/0x60 [<ffffffff81241689>] SyS_ioctl+0x79/0x90 [<ffffffff817a10ee>] entry_SYSCALL_64_fastpath+0x12/0x71 > Also try: > > alsamixer -c2 > > and mute/unmute various spdifs repeatedly. > > Finally: > > time pasuspender -- aplay -d 5 -D hdmi:2 -f dat /dev/zero Do you still want the above, given that amixer has blocked in the kernel? If so, I assume you want those if/when amixer does finally return? (In reply to Raymond from comment #22) > https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/sound/pci/ > hda/hda_eld.c > > do you have any output of snd_hdmi_print_eld_info How/where would I get that?
(In reply to Brian J. Murrell from comment #23) > (In reply to Alexander E. Patrakov from comment #20) > > Please verify (without the above parameter) whether this command also gets > > blocked in the kernel. Run it repeatedly just in case. > > > > amixer -c2 > > I only had to run it once: > $ amixer -c2 > [ didn't return] > $ ps axf | grep amixer > 27202 pts/1 D+ 0:00 | \_ amixer -c2 > > Here's the stack trace of it: <snip> > > Also try: > > > > alsamixer -c2 > > > > and mute/unmute various spdifs repeatedly. > > > > Finally: > > > > time pasuspender -- aplay -d 5 -D hdmi:2 -f dat /dev/zero > > Do you still want the above, given that amixer has blocked in the kernel? > If so, I assume you want those if/when amixer does finally return? No, reproducing the bug with amixer was enough. I am still waiting for the test result with nouveau.runpm=0 to complete the evidence.
(In reply to Alexander E. Patrakov from comment #24) > > No, reproducing the bug with amixer was enough. OK. Great. It did end up returning, eventually, FWIW: Simple mixer control 'IEC958',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mixer control 'IEC958',1 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mixer control 'IEC958',2 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] > I am still waiting for the test result with nouveau.runpm=0 to complete the > evidence. $ cat /proc/cmdline BOOT_IMAGE=/vmlinuz-4.4.7-300.fc23.x86_64 root=/dev/mapper/fedora_laptop-root ro rd.lvm.lv=fedora_laptop/boot rd.lvm.lv=fedora_laptop/root rd.lvm.lv=fedora_laptop/swap rhgb quiet libata.allow_tpm=1 LANG=en_CA.UTF-8 nouveau.runpm=0 $ amixer -c2 [ returned right away with: ] Simple mixer control 'Speaker',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 704 Mono: Playback 704 [100%] [3.00dB] [on] Simple mixer control 'Bass',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 48 Mono: 24 [50%] Simple mixer control 'Treble',0 Capabilities: volume volume-joined Playback channels: Mono Capture channels: Mono Limits: 0 - 48 Mono: 24 [50%] Simple mixer control 'Mic',0 Capabilities: pvolume pvolume-joined cvolume cvolume-joined pswitch pswitch-joined cswitch cswitch-joined Playback channels: Mono Capture channels: Mono Limits: Playback 0 - 656 Capture 0 - 15 Mono: Playback 368 [56%] [-18.00dB] [on] Capture 15 [100%] [31.00dB] [on]
Thanks! It only remains to see whether nouveau.runpm=0 also fixes pulseaudio.
(In reply to Brian J. Murrell from comment #25) m=0 > $ amixer -c2 > [ returned right away with: ] > Simple mixer control 'Speaker',0 Hm. The test is not valid then - the kernel has renumbered your sound cards. Please look in /proc/asound/cards, find the card number that corresponds to NVidia HDMI, and use this number as a parameter to -c.
it was embedded display port and pulseaudio even get the name "24MP76" eDP-1 connected 1920x1080+0+0 (0x69) normal (normal left inverted right x axis y axis) 345mm x 194mm
you havw to post output of alsa-info.sh
With nouveau.runpm=0 on the kernel commandline: $ cat /proc/cmdline BOOT_IMAGE=/vmlinuz-4.4.8-300.fc23.x86_64 root=/dev/mapper/fedora_laptop-root ro rd.lvm.lv=fedora_laptop/boot rd.lvm.lv=fedora_laptop/root rd.lvm.lv=fedora_laptop/swap rhgb quiet libata.allow_tpm=1 LANG=en_CA.UTF-8 nouveau.runpm=0 $ amixer -c2 Simple mixer control 'IEC958',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mixer control 'IEC958',1 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mixer control 'IEC958',2 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on]
Does my last comment provide the last of the information that was needed to move forward?
your info are in consistent , intel at irq 38 and nvidia at irq 17 but pactl list output two intel at irq 29 amd 30
Are you confusing the information across a reboot? I don't really know where you are pulling those data from so I cannot comment on whether they are or are not being compared across a reboot. Yes, it would have been good if all of the information were from a single consistent boot instance, but real-life requires that issues be resolved (one way or another) while a problem might be getting debugged over a period of days or weeks.
(In reply to Brian J. Murrell from comment #11) > Created attachment 123152 [details] > pactl list output Card #0 Name: alsa_card.pci-0000_00_03.0 Driver: module-alsa-card.c Owner Module: 6 Properties: alsa.card = "0" alsa.card_name = "HDA Intel HDMI" alsa.long_card_name = "HDA Intel HDMI at 0xf7e14000 irq 30" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-0000:00:03.0" sysfs.path = "/devices/pci0000:00/0000:00:03.0/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "0c0c" device.product.name = "Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller" device.form_factor = "internal" device.string = "0" device.description = "Built-in Audio" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" Profiles: output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5400, available: yes) output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5200, available: yes) output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 100, available: yes) output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 100, available: yes) output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5200, available: yes) output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 100, available: yes) output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 100, available: yes) off: Off (sinks: 0, sources: 0, priority: 0, available: yes) Active Profile: off Ports: hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency offset: 0 usec, available) Properties: device.icon_name = "video-display" device.product.name = "24MP76" Part of profile(s): output:hdmi-stereo hdmi-output-1: HDMI / DisplayPort 2 (priority: 5800, latency offset: 0 usec, not available) Properties: device.icon_name = "video-display" Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1 hdmi-output-2: HDMI / DisplayPort 3 (priority: 5700, latency offset: 0 usec, not available) Properties: device.icon_name = "video-display" Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2 Card #1 Name: alsa_card.pci-0000_00_1b.0 Driver: module-alsa-card.c Owner Module: 7 Properties: alsa.card = "1" alsa.card_name = "HDA Intel PCH" alsa.long_card_name = "HDA Intel PCH at 0xf7e10000 irq 29" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-0000:00:1b.0" sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "8c20" device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller" device.form_factor = "internal" device.string = "1" device.description = "Built-in Audio" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" Profiles: input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 60, available: yes) output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6000, available: yes) output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6060, available: yes) off: Off (sinks: 0, sources: 0, priority: 0, available: yes) Active Profile: output:analog-stereo+input:analog-stereo Ports: analog-input-front-mic: Front Microphone (priority: 8500, latency offset: 0 usec, not available) Properties: device.icon_name = "audio-input-microphone" Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo analog-input-rear-mic: Rear Microphone (priority: 8200, latency offset: 0 usec, available) Properties: device.icon_name = "audio-input-microphone" Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo analog-input-linein: Line In (priority: 8100, latency offset: 0 usec, not available) Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo analog-output-lineout: Line Out (priority: 9900, latency offset: 0 usec, available) Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo analog-output-headphones: Headphones (priority: 9000, latency offset: 0 usec) Properties: device.icon_name = "audio-headphones" Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo # cat /proc/asound/cards 0 [PCH ]: HDA-Intel - HDA Intel PCH HDA Intel PCH at 0xce830000 irq 38 2 [NVidia ]: HDA-Intel - HDA NVidia HDA NVidia at 0xce000000 irq 17
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/177.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.