[Nouveau] [PATCH 5/6] drm: Delete "mandatory" stereographic modes

Alastair Bridgewater alastair.bridgewater at gmail.com
Wed Jan 18 21:35:13 UTC 2017


On Wed, Jan 18, 2017 at 2:01 PM, Damien Lespiau <damien.lespiau at intel.com>
wrote:
>
> On Wed, Jan 18, 2017 at 01:48:04PM -0500, Ilia Mirkin wrote:
> > After some more conversations with Alastair, it sounds like what's
> > actually going on is that it's just the frame-packing modes that
> > aren't working, but all the side-by-side and top-and-bottom modes from
> > the "mandatory" list work. At this point, I'm more inclined to believe
> > that there's an issue in the nouveau implementation for frame-packed
> > modes. But it could still be the TVs themselves that don't support
> > that at all.

By now, and having re-read the relevant spec extract a couple of times,
I'm convinced that the "mandatory" stereographic modes are just that, but
also that the current implementation is incorrect (if anything, too
conservative about adding modes).  In the unlikely event that a display
advertises only a 512x384x1bpp at 60Hz mode (I don't even know if that's
possible in terms of an EDID, but let's take it as an example), but also
sets the 3D flag, it must support five specific 3D modes, but the current
implementation would match none.

I'm definitely willing to table changing the mandatory mode logic for the
time being, at least until the question of frame packing on my hardware
is sorted out.

> If Alastair has an intel GPU as well, an "easy" way to check if the
> frame packing modes of those TVs work would be to use the testdisplay[1]
> tool of intel-gpu-tools.

If I have an intel GPU handy, I think that it's getting disabled by the
system BIOS or something due to hardware configuration.  I have a couple
of things to try, and there might be a machine with an intel GPU that I
can borrow next week, though.

Should any intel GPU with an HDMI output work, or do I need to look for
something more specific?

I should also have access to the restore disks that came with some of my
hardware as of this weekend, so I can see what the, ah, *other* operating
system has to say about things.

> Shameless plug: http://damien.lespiau.name/2013/10/hdmi-stereo-3d-kms.html

I had found this, which led me to intel-gpu-tools, and thus testdisplay,
which is what I've been using.  It's a very nice explanation of how things
should work overall...  But it calls one question to mind: Is there userland
software other than testdisplay that does anything with stereo 3D support?

> Towards the end of the post, there are test display usage examples to go
> and test FP modes. Mind you, people have been trying to make
> intel-gpu-tools run on any DRM driver when possible, not sure how far we
> are with that though.

... Which raises the number of possibilities that we're dealing with to
three:

 1. The displays really don't support frame packing.

 2. There's something not yet right with nouveau that breaks frame packing.

 3. There's something not yet right with testdisplay that breaks frame
packing
    on nouveau (I had previously presumed that testdisplay wasn't going to
be
    a problem, but it sounds like it might be worth me digging into).

> --
> Damien
>
> [1]
http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/tree/tests/testdisplay.c

-- Alastair
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170118/880af407/attachment.html>


More information about the Nouveau mailing list