Skip to contentSkip to conversation

New: nouveau not working with yuy2 overlay

Bug 73342 [email protected] 1 participant 8 messages Jan 7, 2014 – Dec 4, 2019 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=73342

          Priority: medium
            Bug ID: 73342
          Assignee: [email protected]
           Summary: nouveau not working with yuy2 overlay
        QA Contact: [email protected]
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: x86 (IA32)
            Status: NEW
           Version: 7.7 (2011)
         Component: Driver/nouveau
           Product: xorg

For many years im using ubuntu (since nouveau becomes the default nvidia driver) and never have problem with the yuy2 scalemode mame option, so i think there's a regression with nouveau version in ubuntu 13.10.

I cant get video when open mame with "-video soft -sm yuy2" options using the nouveau driver. The game runs with sound, but in full black screen. Using "-video soft -sm none" the game runs with video, the problem is with yuy2 scalemode.

Tested with Ubuntu 13.10 (kernels 3.11 and 3.12 from ubuntu repos.), mame .151 and .152, nouveau driver.

To reproduce (dont need any rom): execute the mame (mamedev.org) with the command line "./mame -video soft -sm yuy2" and mame will open totally in black screen. With the command "./mame -video soft -sm none" will open normally (in this case with a red bar warning about no roms).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#2 lore raw

[Bug 73342] nouveau not working with yuy2 overlay

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=73342

--- Comment #1 from [email protected] --- Created attachment 91573
--> https://bugs.freedesktop.org/attachment.cgi?id=91573&action=edit
kernel_log.txt, Xorg.0.log, lsmod.txt

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#3 lore raw

[Bug 73342] [NV86] yuy2 overlay in mame displays as black

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=73342

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|nouveau not working with    |[NV86] yuy2 overlay in mame
                   |yuy2 overlay                |displays as black
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#4 lore raw

[Bug 73342] [NV86] yuy2 overlay in mame displays as black

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=73342

--- Comment #2 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Well, something weird is definitely going on. I'm on a NV98 (which should be quite similar to your NV86 in that regard), Xorg 1.4.13, xf86-video-nouveau 1.0.10, and ~3.13-rc7+ as far as the nouveau drm is concerned. Running

sdlmame -video soft -sm yuy2

shows the screen just fine. (games-emulation/sdlmame-0.148_p1-r1 from gentoo repo). I also grabbed the mame source from mamedev.org and built it, the resulting mame64 binary gave me similarly working results.

Do you know what mame does with the yuy2 thing? Is it trying to create an xvideo overlay? Something else?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#5 lore raw

[Bug 73342] [NV86] yuy2 overlay in mame displays as black

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=73342

--- Comment #3 from [email protected] --- Well, after some tests, some news.

What works (all 32 bits):

- hardware 1: Ubuntu 11.10 with nouveau (from ubuntu 11.10 repository) and
geforce 8500GT Chipset: G86 (NV86) , Family : NV50

- hardware 1: Ubuntu 13.04 with nouveau (from ubuntu 13.04 repository) and
geforce 8500GT Chipset: G86 (NV86) , Family : NV50

- hardware 2: Ubuntu 13.10 with i915 driver (netbook with onboard intel video)

- hardware 3: Ubuntu 13.10 with nouveau (from ubuntu 13.10 repository) and
onboard geforce 6150SE nforce nv430 Chipset: C61 (NV4C) , Family : NV40

What dont works (32 bits):

- hardware 1: Ubuntu 13.10 with nouveau (from ubuntu 13.10 repository) and
geforce 8500GT Chipset: G86 (NV86) , Family : NV50

So, the same hardware 1 works with ubuntu 13.04 + nouveau and old versions, but dont work with ubuntu 13.10 + nouveau. And the hardware 3 works with the same hd with ubuntu 13.10 + nouveau that dont work on hardware 1.

The only combination that dont work is the ubuntu 13.10 + nouveau with geforce 8500GT Chipset: G86 (NV86) , Family : NV50

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#6 lore raw

[Bug 73342] [NV86] yuy2 overlay in mame displays as black

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=73342

--- Comment #4 from [email protected] ---

Quoted 2 lines

- hardware 1: Ubuntu 13.04 with nouveau (from ubuntu 13.04 repository) and
geforce 8500GT Chipset: G86 (NV86) , Family : NV50

Sorry, this is wrong, actually the ubuntu 13.04 (and only the 13.04) is using the nvidia proprietary driver, not the nouveau.

One more test that works:

- hardware 1: Ubuntu 13.10 with nouveau (from ubuntu 13.10 repository) and
offboard geforce 7200GS Chipset: G72 (NV46) , Family : NV40

The problem is only with geforce 8500GT Chipset: G86 (NV86) , Family : NV50 And this same board works fine in ubuntu 11.10 with kernel 3.0 and nouveau from 11.10 repos.

So there's some regression between kernel 3.0 and 3.11 (tested w/ 3.12 too) and/or nouveau versions between ubuntu 11.10 and ubuntu 13.10 with this specific geforce 8500GT Chipset: G86 (NV86) , Family : NV50 when try to work the YUV overlay scaling in mame

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#7 lore raw

[Bug 73342] [NV86] yuy2 overlay in mame displays as black

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=73342

--- Comment #5 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Do you still see this with a recent software stack?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#8 lore raw

[Bug 73342] [NV86] yuy2 overlay in mame displays as black

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=73342

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #6 from Martin Peres <[email protected]> --- -- 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/xorg/driver/xf86-video-nouveau/issues/85.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau