Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Admin message
The migration is almost done, at least the rest should happen in the background. There are still a few technical difference between the old cluster and the new ones, and they are summarized in this issue. Please pay attention to the TL:DR at the end of the comment.
EDIT: My hardware is not working with enable_silent_stream on ANY kernel and works with silent stream disabled on all I have tested.
Running Siduction (based on Debian unstable 'sid'). Testing different kernels from Ubuntu mainline repository. HDMI audio works on 6.2.0 6.2.1 and 6.2.2 but doesn't work on any 6.2.{x>2} or the 6.3 rc's
Alsamixer looks the same, dmesg logs grepped for hda look the same. The device is there but no sound is produced.
Attaching dmesg logs with drm.debug=0xe log_buf_len=4M set from 6.2.2 and 6.2.3
Moss Hopechanged title from dg2 / a750 HDMI Audio doesn't work on kernels 6.2.3 and newer to dg2 / a750 HDMI Audio doesn't work w/ options snd_hda_codec_hdmi enable_silent_stream=Y on kernels 6.2.3 and newer
changed title from dg2 / a750 HDMI Audio doesn't work on kernels 6.2.3 and newer to dg2 / a750 HDMI Audio doesn't work w/ options snd_hda_codec_hdmi enable_silent_stream=Y on kernels 6.2.3 and newer
Thank you @mosshope for detailed report. There has not been any changes to audio side between 6.2.2 and 6.2.3 so this quite interesting. Changes in audio and i915:
$ git log --pretty=oneline v6.2.2...v6.2.3 -- sound |grep hdaf500c21ae286d754e88137cd822f06e698a9a9f1 ALSA: hda/realtek: Add quirk for HP EliteDesk 800 G6 Tower PC94f48aed2c9f244d7626416b6b028ed956763f0e ALSA: hda/hdmi: Register with vga_switcheroo on Dual GPU Macbooks87ca47acc793ec061df95373f1023a23ffe8e886 ALSA: hda: Fix the control element identification for multiple codecs59473f6b70c470cb6db0fbfe9bb174314810e338 ALSA: hda/ca0132: minor fix for allocation size$ git log --pretty=oneline v6.2.2...v6.2.3 -- drivers/gpu/drm/i915/f8c6d7f805855095b79beb510b5746c5890ae6e1 drm/i915: Don't use BAR mappings for ring buffers with LLCf8354e04e5faac765fef967c24772e358c426cef drm/i915: Don't use stolen memory for ring buffers with LLC21c7c846279fad6e245d32f343336ae021853b6c drm/i915/quirks: Add inverted backlight quirk for HP 14-r206nve7e072cfa50839aefdf1b94e23298b264cbc8c3f drm/i915/mtl: Correct implementation of Wa_180187813290873f089822920b603fabf366fcf9aa6df432974 drm/i915: Fix GEN8_MISCCPCTL34802bbf1fd433d910769551c7a395918dafd19e drm/i915/pvc: Annotate two more workaround/tuning registers as MCRd483c9a2a4394967412a713a8674ea725fbce1a3 drm/i915/pvc: Implement recommended caching policy7db51a15a99d954eed093960a39be4255a65866d drm/i915/xehp: Annotate a couple more workaround registers as MCR76d433431d858522303725a463ae05b689f3fe93 drm/i915/xehp: GAM registers don't need to be re-applied on engine resets5008c43a7187d2c83949e8d0159aea18f3eccb4f drm/i915/mtl: Add initial gt workarounds
Nothing really pops out here. Let me try to reproduce locally. If this is easy to hit, git bisect should reveal the commit where this starts failing.
@mosshope Hmm, I could not replicate this at least yet. Silent streaming is working both with 6.2.3 and 6.2.3 on the DG2. If you are familiar with the tools, would it be possible for you to do a git bisect on the kernel between 6.2.2 and 6.2.3 to identify the problematic commit? Meanwhile I'll check whether this has been on other machines.
I have the same problem on an A770. Unfortunately I am a bit too busy at the moment to dig into this and properly debug the problem. In two weeks I might have more time available to look into this and maybe do git bisect.
I have a TV (HKC-43F3) connected with HDMI and a monitor (MSI Optix MAG342CQR) connected with DisplayPort. Both of them don't receive audio unless options snd_hda_codec_hdmi enable_silent_stream=N is set.
Moss Hopechanged title from dg2 / a750 HDMI Audio doesn't work w/ options snd_hda_codec_hdmi enable_silent_stream=Y on kernels 6.2.3 and newer to dg2 / a750 HDMI Audio doesn't work w/ options snd_hda_codec_hdmi enable_silent_stream=Y
changed title from dg2 / a750 HDMI Audio doesn't work w/ options snd_hda_codec_hdmi enable_silent_stream=Y on kernels 6.2.3 and newer to dg2 / a750 HDMI Audio doesn't work w/ options snd_hda_codec_hdmi enable_silent_stream=Y
Not a kernel change issue in the end. Built 6.2.2 and 6.2.1 and found with =Y wasn't working. So I checked what the value was set there on the kernels I was testing before without an override and 6.2.2 had N and 6.2.3 had Y.
Looks like ubuntu mainline repo builds starting with 6.2.3 have CONFIG_SND_HDA_INTEL_HDMI_SILENT_STREAM=Y set because that will be the new config moving forward.
Is there a way I can try to help get enable_silent_stream working on more hardware by testing against this not working hardware? Seems like it'll be important to have working or fail gracefully if Ubuntu is going to ship it turned on with their first release with a kernel supporting dg2 out of the box.
LMK about enabling debug things or sending me a branch to build for more information.
@khfeng FYI, one problem found with CONFIG_SND_HDA_INTEL_SILENT_STREAM=y (related to our discussion in #8097 (closed) ).
Thanks @mosshope , we'll try to replicate this on some setup. We'd need to figure out what is the delta to #7353 (closed) .. is this specific to A750 or the receiver (you have a LG TV in this case). alsa-info output both in working and non-working cases would help to get started (for alsa-info, see https://manpages.ubuntu.com/manpages/focal/en/man1/alsa-info.sh.1.html ).
Interesting that you mention the silent setting enabled is the default on windows. Did have windows with the a750 for a while and hdmi audio was working
Denon AVR - no sound... device is detected but no sound or video. I'd write a bug here, but it also was happening on windows and even bios doesn't show up.
I have a little tendak HDMI to vga converter that has a 3.5mm out. That seems to work with either value for enable_silent_stream
Tomorrow I'll see if I get time to move computer and try it to my desktop monitor.
Some point next week I will probably be putting together a system with an old 7700k for a friend, so I will try to test that's igpu on the TV, to determine if it's a750+lg tv or snd_hda_intel+lg tv thats having issues.
Thanks @AndrewAmmerlaan@mosshope for quick info. The fault is probably still on A750/770 end, but it will help to speed up debug if this can be pointed down to a certain type/make of receiver. So far in our local tests, we've been not able to repro this yet.
One quick thing to try is to disable runtime-PM but keep silent-stream enabled. E.g by adding following to /etc/modprobe.d/dg2.conf (or any conf file):
Again to some file under in /etc/modprobe.d/. Reboot, or module reload ("modprobe -r snd_hda_intel ; modprobe snd_hda_intel") to take these into effect. Logs should have entries like:
One quick thing to try is to disable runtime-PM but keep silent-stream enabled. E.g by adding following to /etc/modprobe.d/dg2.conf (or any conf file):
With runtime-PM disabled and silent-stream enabled there is again no audio sent to the displays.
Also, I'd be interested in snd-hda-codec-intel logs (via dmesg/journalctl). These can be enabled with
Thanks @mosshope and @AndrewAmmerlaan . As runtime-pm-disable did not have effect, that narrows down the problem. Codec programming looks also ok (via alsa-info log). So there is some problem with the switch from fake to real data. I'll try to get this reproduced in some local setup.
No luck. I built from your branch directly so had both patches. Let me know if you want me to try and reverting the previous patch. dmesg_silentY_withPatch2.log
For some reason your branch of the kernel did not boot at all on my PC, so I instead applied your patch to the branch of the kernel I was already running.