Bug 72717 - [NVE6] No sound via display port (hdmi works)
Summary: [NVE6] No sound via display port (hdmi works)
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: 7.4 (2008.09)
Hardware: Other All
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-14 22:02 UTC by Matthias Nagel
Modified: 2015-10-22 18:25 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Kernel log with monitor attached to display port (429.30 KB, text/plain)
2013-12-14 22:02 UTC, Matthias Nagel
no flags Details

Description Matthias Nagel 2013-12-14 22:02:29 UTC
Created attachment 90786 [details]
Kernel log with monitor attached to display port

I own an ASUS Nvidia GTX 660 card. If I connect a monitor to the HDMI connector, sound works. If I connect a monitor to the display port connector, sound does not work. In the latter case, all /proc/asound/NVidia/eld* show the output

monitor_present         0
eld_valid               0

If I connect a monitor to the HDMI port, "monitor_present" shows "1".

Kernel: 3.12.5 (Gentoo)
Dmesg for the display port case (failure case): See attachment
Comment 1 Ilia Mirkin 2013-12-14 22:15:50 UTC
Probably missing some initialization. Can you boot with 'nouveau.debug=debug' (which turns on all nv_debug messages) -- there's some stuff in DP init that might make sense to someone. [Unfortunately I know very little about DP.]

If you'd like to push this further yourself, you could make an mmiotrace of the blob of a unplug/plug sequence, that might give someone some hints. See https://wiki.ubuntu.com/X/MMIOTracing for some hints as to how to start.
Comment 2 Ben Skeggs 2013-12-15 08:39:48 UTC
It's not expected to work actually.  Nobody as of yet has cared at all, and I totally forgot about it, personally.
Comment 3 Ilia Mirkin 2014-09-15 17:23:57 UTC
There appear to be some patches for it headed for linux-3.18. You can give

http://cgit.freedesktop.org/nouveau/linux-2.6/log/?h=linux-3.18

a whirl and see if that makes it work.
Comment 4 Patrick Baggett 2014-09-15 19:14:27 UTC
How does patch reviewing work for things like this? It seems kind of like
eldritch incantations.... Are there docs that explain what these mean or
does this come from replaying register writes from the blob?

~ Patrick

On Mon, Sep 15, 2014 at 12:23 PM, <bugzilla-daemon@freedesktop.org> wrote:

>   *Comment # 3 <https://bugs.freedesktop.org/show_bug.cgi?id=72717#c3> on
> bug 72717 <https://bugs.freedesktop.org/show_bug.cgi?id=72717> from Ilia
> Mirkin <imirkin@alum.mit.edu> *
>
> There appear to be some patches for it headed for linux-3.18. You can give
> http://cgit.freedesktop.org/nouveau/linux-2.6/log/?h=linux-3.18
>
> a whirl and see if that makes it work.
>
>  ------------------------------
> You are receiving this mail because:
>
>    - You are the assignee for the bug.
>
>
> _______________________________________________
> Nouveau mailing list
> Nouveau@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nouveau
>
>
Comment 5 Ilia Mirkin 2014-09-15 19:17:51 UTC
(In reply to comment #4)
> Are there docs that explain what these mean or

Of course (I hope!). But they're internal to NVIDIA and they have no real interest in sharing. Sometimes things can be found out from occasoinal code drops, e.g. the more recent gk20a android driver. (Of course that HW has no display component, so no use for something like this.)

> does this come from replaying register writes from the blob?

Seeing what the blob does + manual poking based on observed patterns.
Comment 6 Patrick Baggett 2014-09-15 19:22:59 UTC
On Mon, Sep 15, 2014 at 2:17 PM, <bugzilla-daemon@freedesktop.org> wrote:

>   *Comment # 5 <https://bugs.freedesktop.org/show_bug.cgi?id=72717#c5> on
> bug 72717 <https://bugs.freedesktop.org/show_bug.cgi?id=72717> from Ilia
> Mirkin <imirkin@alum.mit.edu> *
>
> (In reply to comment #4 <https://bugs.freedesktop.org/show_bug.cgi?id=72717#c4>)> Are there docs that explain what these mean or
>
> Of course (I hope!). But they're internal to NVIDIA and they have no real
> interest in sharing.
>
> Hah. In other words, no. :|

Oh well, keep up the awesome work guys!
Comment 7 Ilia Mirkin 2015-10-22 07:53:20 UTC
DP audio should work starting with kernel 3.18. Feel free to reopen if it still doesn't.
Comment 8 Matthias Nagel 2015-10-22 18:25:49 UTC
Thanks, it works on kernel 4.0.5-gentoo. :-D


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.