Bug 114981 - HDMI muted on radeon card
Summary: HDMI muted on radeon card
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: platform_x86_64@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-20 13:55 UTC by Lorenzo Bona
Modified: 2020-06-16 20:11 UTC (History)
5 users (show)

See Also:
Kernel Version: 4.6-git
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Output of xrandr --prop (2.12 KB, text/plain)
2016-05-01 20:51 UTC, Daniel Exner
Details
git bisect log (1.87 KB, text/plain)
2016-05-02 21:34 UTC, Daniel Exner
Details

Description Lorenzo Bona 2016-03-20 13:55:54 UTC
Hi,
between this 2 git commits:

9ea446352047d8350553250db51da2c73a610688 - good
021f163d696caed5a336fa1569efdd22216da340 - bad

audio from HDMI got broken.
I can't hear any sound from my monitor.

My monitor is plugged, over HDMI, to a R7-265 radeon card (pitcairn).

On the bad commit dmesg doesn't show any warning/error while booting up.
I'm using pulseaudio from debian sid.

Cheers
Comment 1 Daniel Exner 2016-05-01 20:51:39 UTC
Created attachment 214871 [details]
Output of xrandr --prop
Comment 2 Daniel Exner 2016-05-01 20:55:43 UTC
I can confirm this for R7 270X (also pitcairn) connected via DisplayPort.

See attached output of "xrandr --prop" after doing:

xrandr --output DisplayPort-0 --set audio on

Monitor flickers and comes back but no sound.

Also I found this in dmesg (not sure its related):

[drm:radeon_dp_link_train [radeon]] *ERROR* displayport link status failed
[drm:radeon_dp_link_train [radeon]] *ERROR* channel eq failed

The monitor got a menu item to toggle DP version 1.2, but that doesn't make any difference, except another error in dmesg:

[drm:radeon_crtc_page_flip [radeon]] *ERROR* failed to get vblank before flip
Comment 3 Daniel Exner 2016-05-02 21:34:07 UTC
Created attachment 214981 [details]
git bisect log

I went as far to bisect this down to:

commit 739ffee97ed550a2899a925ed3f260fa1e8fa955
Author: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Date:   Fri Mar 4 19:59:49 2016 +0530

    ALSA: hda - Add hdmi chmap verb programming ops to chmap object
Comment 5 Daniel Exner 2016-05-11 13:06:38 UTC
(In reply to Raymond from comment #4)
> https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/
> pci/hda/patch_hdmi.c?id=89250f84644676c1ed6a09acef1033e14596a402
> 
> 
> are your codec rev 3 ?

How do I check that?

Anyway Takashi Iwai posted a Patch that fixes this for me on LKML.

Note You need to log in before you can comment on or make changes to this bug.