Skip to contentSkip to conversation

New: Bad color and glitches on PPC64

Bug 98630 [email protected] 1 participant 22 messages Nov 7, 2016 – Sep 18, 2019 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 98630
Summary: Bad color and glitches on PPC64
Product: Mesa
Version: 13.0
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 127816
--> https://bugs.freedesktop.org/attachment.cgi?id=127816&action=edit
WebGL coloring glitch.

Running some OpenGL programs on PowerMac G5 with NVIDIA GeForce 6600LE shows problematic rendering:

- Wrong coloring, simply looks like inverts or blue/purple hue (WebGL demo, Plasma Discover, Compiz, Linthesia, etc.)
- Text disappears (in the case of Plasma Discover).
- Flickering and glitchy flashing texture in general (in the case of Linthesia).

This problem could be reproduced with Mesa 12.0.3 and 13.0.0 (which relates with another issue I have just reported in this section
https://bugs.freedesktop.org/show_bug.cgi?id=98629).

Any how, some screenshots are provided below to demonstrate my issue.

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

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

#2 lore raw

[Bug 98630] Bad color and glitches on PPC64

In reply to a message not in the archive

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

--- Comment #1 from Mingcong Bai <[email protected]> --- Created attachment 127817
--> https://bugs.freedesktop.org/attachment.cgi?id=127817&action=edit
Linthesia (title screen), showing bad coloring.

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

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

#3 lore raw

[Bug 98630] Bad color and glitches on PPC64

In reply to a message not in the archive

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

--- Comment #2 from Mingcong Bai <[email protected]> --- Created attachment 127818
--> https://bugs.freedesktop.org/attachment.cgi?id=127818&action=edit
Linthesia (playback view), showing wrong color and glitches.

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

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

#4 lore raw

[Bug 98630] Bad color and glitches on PPC64

In reply to a message not in the archive

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

--- Comment #3 from Mingcong Bai <[email protected]> --- Created attachment 127819
--> https://bugs.freedesktop.org/attachment.cgi?id=127819&action=edit
Plasma Discover, showing bad coloring and disappearing text.

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

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

#5 lore raw

[Bug 98630] Bad color and glitches on PPC64

In reply to a message not in the archive

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

--- Comment #4 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Probably RGB vs BGR confusion. Can you create an apitrace of the problem? I'll need to give this a whirl on my G5 (hm, if I can - I have a GeForce FX 5200 in mine). I should try to track down a PCI nv4x that I can plug in.

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

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

#6 lore raw

[Bug 98630] Bad color and glitches on PPC64

In reply to a message not in the archive

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

--- Comment #5 from Mingcong Bai <[email protected]> --- (In reply to Ilia Mirkin from comment #4)

Quoted 2 lines

Probably RGB vs BGR confusion. Can you create an apitrace of the problem? I'll need to give this a whirl on my G5 ...

Is it an application related issue then?

The specific line where Linthesia maps its textures onto GL could be found here:

https://github.com/linthesia/linthesia/blob/master/src/Tga.cpp#L217

I tried changing it from RGBA to BGRA today, which did change the color output, but still in incorrect colors like yellow and brown (or maybe I have completely butchered my RGB translation "knowledge").

Quoted 2 lines

... (hm, if I can - I have a GeForce FX 5200 in mine). I should try to track down a PCI nv4x that I can plug in.

Is it a Quad? I believe they are pretty cheap these days...

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

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

#7 lore raw

[Bug 98630] Bad color and glitches on PPC64

In reply to a message not in the archive

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

--- Comment #6 from Mingcong Bai <[email protected]> --- Indeed, after removing nouveau_dri.so, the Plasma Discover at least renders the full interface now.

However, it still shows bad coloring.

Screenshot attached.

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

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

#8 lore raw

[Bug 98630] Bad color and glitches on PPC64

In reply to a message not in the archive

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

--- Comment #7 from Mingcong Bai <[email protected]> --- Created attachment 127821
--> https://bugs.freedesktop.org/attachment.cgi?id=127821&action=edit
Plasma Discover after nouveau_dri.so was removed.

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

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

#9 lore raw

[Bug 98630] Bad color and glitches on PPC64

In reply to a message not in the archive

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

--- Comment #8 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- (In reply to Mingcong Bai from comment #5)

Quoted 5 lines

(In reply to Ilia Mirkin from comment #4)

Quoted 2 lines

Probably RGB vs BGR confusion. Can you create an apitrace of the problem? I'll need to give this a whirl on my G5 ...

Is it an application related issue then?

Nope. Just the trickiness of dealing with a BE cpu and a LE-but-kinda-BE-sometimes GPU. Unfortunately I don't have a clear model in my head of precisely what all the "BE" flag flips on these GPUs, which makes things much trickier.

Quoted 4 lines
Quoted 2 lines

... (hm, if I can - I have a GeForce FX 5200 in mine). I should try to track down a PCI nv4x that I can plug in.

Is it a Quad? I believe they are pretty cheap these days...

It's a PowerMac7,2 IIRC. It has an AGP slot (with the FX 5200) and some number of PCI slots. I glanced at nv4x boards, but they're above my tolerance of things I buy for the purpose of developing free drivers in my own time.

(In reply to Mingcong Bai from comment #6)

Quoted 4 lines

Indeed, after removing nouveau_dri.so, the Plasma Discover at least renders the full interface now.

However, it still shows bad coloring.

Oh interesting. That means the confusion is in the DDX. (Or disagreement between mesa and the DDX.) Please confirm that you're running a semi-recent version of xf86-video-nouveau (e.g. 1.0.12), and actually verify that it says NOUVEAU(0) in your xorg log.

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

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

#10 lore raw

[Bug 98630] Bad color and glitches on PPC64

In reply to a message not in the archive

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

--- Comment #9 from Mingcong Bai <[email protected]> ---

Quoted 4 lines

Oh interesting. That means the confusion is in the DDX. (Or disagreement between mesa and the DDX.) Please confirm that you're running a semi-recent version of xf86-video-nouveau (e.g. 1.0.12), and actually verify that it says NOUVEAU(0) in your xorg log.

Definitely...

[ 18082.072] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 18082.072] (II) NOUVEAU(0): NVLeaveVT is called.
[ 18609.555] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 18609.555] (II) NOUVEAU(0): NVEnterVT is called.
[ 18609.588] (II) NOUVEAU(0): EDID vendor "DEL", prod id 41112
[ 18609.588] (II) NOUVEAU(0): Using hsync ranges from config file
[ 18609.588] (II) NOUVEAU(0): Using vrefresh ranges from config file
[ 18609.588] (II) NOUVEAU(0): Printing DDC gathered Modelines:

And yes, it should be the newest version available:

jeffbai@G5-AOSC [ ~ ] $ dpkg -s xf86-video-nouveau
Package: xf86-video-nouveau
Status: install ok installed
Section: x11
Installed-Size: 364
Maintainer: Everette Rong <[email protected]>
Architecture: ppc64
Version: 1.0.12
Depends: xorg-server (>= 1.18.4), libdrm (>= 2.4.70), systemd (>= 1:231-2)
Description: XF86 driver for NVIDIA graphics cards

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

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

#11 lore raw

[Bug 98630] Bad color and glitches on PPC64

In reply to a message not in the archive

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

--- Comment #10 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- And which driver ends up being active in this mode (where nouveau_dri is gone)? (glxinfo | grep renderer should have the relevant info)

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

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

#12 lore raw

[Bug 98630] Bad color and glitches on PPC64

In reply to a message not in the archive

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

--- Comment #11 from Mingcong Bai <[email protected]> ---

Quoted 2 lines

And which driver ends up being active in this mode (where nouveau_dri is gone)? (glxinfo | grep renderer should have the relevant info)

LLVMpipe.

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

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

#13 lore raw

[Bug 98630] Bad color and glitches on PPC64

In reply to a message not in the archive

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

--- Comment #12 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Could you try booting with nouveau.config=NvPCIE=0 and seeing if this has any effect on any of your issues?

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

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

#14 lore raw

[Bug 98630] Bad color and glitches on PPC64

In reply to a message not in the archive

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

--- Comment #13 from Mingcong Bai <[email protected]> --- (In reply to Ilia Mirkin from comment #12)

Quoted 2 lines

Could you try booting with nouveau.config=NvPCIE=0 and seeing if this has any effect on any of your issues?

Nope, the situation is identical. I have attached some screenshots for you.

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

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

#15 lore raw

[Bug 98630] Bad color and glitches on PPC64

In reply to a message not in the archive

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

--- Comment #14 from Mingcong Bai <[email protected]> --- Created attachment 127825
--> https://bugs.freedesktop.org/attachment.cgi?id=127825&action=edit
KDE, wrong color 1

Note that systemsettings shows the right color in this case.

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

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

#16 lore raw

[Bug 98630] Bad color and glitches on PPC64

In reply to a message not in the archive

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

--- Comment #15 from Mingcong Bai <[email protected]> --- Created attachment 127826
--> https://bugs.freedesktop.org/attachment.cgi?id=127826&action=edit
KDE wrong color 2

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

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

#17 lore raw

[Bug 98630] Bad color and glitches on PPC64

In reply to a message not in the archive

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

--- Comment #16 from Mingcong Bai <[email protected]> --- (In reply to Mingcong Bai from comment #13)

Quoted 5 lines

(In reply to Ilia Mirkin from comment #12)

Quoted 2 lines

Could you try booting with nouveau.config=NvPCIE=0 and seeing if this has any effect on any of your issues?

Nope, the situation is identical. I have attached some screenshots for you.

Also I have tried to use "fbdev" driver for Xorg, which results in the same bad color display.

Maybe this issue is not here at nouveau? Either down in Mesa or up at Qt?

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

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

#18 lore raw

[Bug 98630] Bad color and glitches on PPC64

In reply to a message not in the archive

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

--- Comment #17 from Mingcong Bai <[email protected]> --- Suspecting that this could still be an application-based issue, I have filed some issues to GNOME and KDE developers, as their desktop environment have the same coloring issue while XFCE and MATE worked just fine:

- https://bugs.kde.org/show_bug.cgi?id=372202
- https://bugzilla.gnome.org/show_bug.cgi?id=774085

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

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

#19 lore raw

[Bug 98630] Bad color and glitches on PPC64

In reply to a message not in the archive

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

--- Comment #18 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- (In reply to Mingcong Bai from comment #17)

Quoted 6 lines

Suspecting that this could still be an application-based issue, I have filed some issues to GNOME and KDE developers, as their desktop environment have the same coloring issue while XFCE and MATE worked just fine:

- https://bugs.kde.org/show_bug.cgi?id=372202
- https://bugzilla.gnome.org/show_bug.cgi?id=774085

Could you confirm that nouveau.nomodeset=1 (+ fbdev) produces these bad effects as well? Should be able to use offb assuming that OF knows how to deal with your GPU.

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

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

#20 lore raw

[Bug 98630] Bad color and glitches on PPC64

In reply to a message not in the archive

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

--- Comment #19 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- (In reply to Ilia Mirkin from comment #18)

Quoted 11 lines

(In reply to Mingcong Bai from comment #17)

Quoted 6 lines

Suspecting that this could still be an application-based issue, I have filed some issues to GNOME and KDE developers, as their desktop environment have the same coloring issue while XFCE and MATE worked just fine:

- https://bugs.kde.org/show_bug.cgi?id=372202
- https://bugzilla.gnome.org/show_bug.cgi?id=774085

Could you confirm that nouveau.nomodeset=1 (+ fbdev) produces these bad effects as well? Should be able to use offb assuming that OF knows how to deal with your GPU.

Er, sorry - that should have been "nomodeset" bare in the kernel cmdline. Or "nouveau.modeset=0". I think.

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

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

#21 lore raw

[Bug 98630] Bad color and glitches on PPC64

In reply to a message not in the archive

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

--- Comment #20 from Mingcong Bai <[email protected]> --- Created attachment 127847
--> https://bugs.freedesktop.org/attachment.cgi?id=127847&action=edit
Fbdev and nomodeset

And... This happened (my eyes).

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

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

#22 lore raw

[Bug 98630] Bad color and glitches on PPC64

In reply to a message not in the archive

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

GitLab Migration User <[email protected]> changed:

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

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

--- Comment #21 from GitLab Migration User <[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/mesa/mesa/issues/1116.

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

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