[Bug 799216] New: ristretto shows wrong graphics on cirrus
https://bugzilla.novell.com/show_bug.cgi?id=799216 https://bugzilla.novell.com/show_bug.cgi?id=799216#c0 Summary: ristretto shows wrong graphics on cirrus Classification: openSUSE Product: openSUSE Factory Version: 12.3 Beta 1 Platform: All OS/Version: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: bwiedemann@suse.com QAContact: qa-bugs@suse.de CC: sndirsch@suse.com, gber@opensuse.org Found By: System Test Blocker: --- Created an attachment (id=520810) --> (http://bugzilla.novell.com/attachment.cgi?id=520810) Xorg log when running current Factory XFCE in kvm -vga cirrus and therein start ristretto it mis-displays graphics on cirrus 24 bpp graphics For some reason it works with -vga std which uses fbdev 24 bpp graphics. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c1
Guido Berhörster
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c2
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c3
Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c4
--- Comment #4 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c5
--- Comment #5 from Guido Berhörster
Thanks. Could you attach this file?
It is just a symlink to /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg. It also happens to GIMP default patterns, see http://openqa.opensuse.org/viewimg/openqa/testresults/openSUSE-NET-i586-Buil... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c6
--- Comment #6 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c7
--- Comment #7 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c8
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c9
--- Comment #9 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c10
Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c
Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c11
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c12
--- Comment #12 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c13
--- Comment #13 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c14
Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c15
--- Comment #15 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c16
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c17
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c18
Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c19
--- Comment #19 from Stefan Dirsch
I used video=cirrus:800x600-16 but it did not make a difference.
Question is, whether it results in a 16bpp display. xdpyinfo could show this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c20
--- Comment #20 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c21
--- Comment #21 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c22
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c23
Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c24
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c25
--- Comment #25 from Frederic Crozat
Yeah, I guess that was the reason why we set depth to 16bpp for qemu.
------------------------------------------------------------------- Thu May 31 11:33:02 UTC 2012 - fcrozat@suse.com
- Add u_cirrus-virt-16bpp.patch: Default to 16bpp in virt (Fedora)
Frederic, do you still remember any details?
I "stole" this from Fedora and after asking Ajax (RH X maintainer) "anything but 16bpp is broken on Mesa llvmpipe" (which is what we need to get GNOME Shell working properly in KVM). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c26
--- Comment #26 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c27
--- Comment #27 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c28
--- Comment #28 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c29
--- Comment #29 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c30
--- Comment #30 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c31
--- Comment #31 from Stefan Dirsch
verified that takashi's 16bpp cirrus KMS + modesetting X11 driver work and dont show the cairo problem in xdpyinfo, there is now a line depth 24, bits_per_pixel 32, scanline_pad 32
which I think, makes the difference compared with the old depth 24, bits_per_pixel 24, scanline_pad 32 that is mis-handled by cairo/pixman
Well, the main difference should be that you no longer have any 24bit depth visual(s). Probably only 16bit depth visuals. Possibly also one for 8bit depth Not sure though. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c32
--- Comment #32 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c33
--- Comment #33 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c34
--- Comment #34 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c35
--- Comment #35 from Stefan Dirsch
Created an attachment (id=522241) --> (http://bugzilla.novell.com/attachment.cgi?id=522241) [details] Fix for broken 16bpp output in Cairo
This is the fix for 24bpp output, right? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c36
--- Comment #36 from Stefan Dirsch
If this is confirmed to work (and also confirmed not breaking others), we can avoid the default 16bpp for cirrus.
I'm afraid we can't if comment #25 is true. "[...] anything but 16bpp is broken on Mesa llvmpipe" (which is what we need to get GNOME Shell working properly in KVM). [...]" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c37
--- Comment #37 from Takashi Iwai
(In reply to comment #33)
Created an attachment (id=522241) --> (http://bugzilla.novell.com/attachment.cgi?id=522241) [details] [details] Fix for broken 16bpp output in Cairo
This is the fix for 24bpp output, right?
Yes, a typo. (In reply to comment #36)
(In reply to comment #32)
If this is confirmed to work (and also confirmed not breaking others), we can avoid the default 16bpp for cirrus.
I'm afraid we can't if comment #25 is true.
"[...] anything but 16bpp is broken on Mesa llvmpipe" (which is what we need to get GNOME Shell working properly in KVM). [...]"
Ah, I forgot about Mesa. I tested Mesa-demo and I don't see different results between Intel X and QEMU/KVM. Can anyone point a known broken program? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c38
--- Comment #38 from Frederic Crozat
(In reply to comment #36)
(In reply to comment #32)
If this is confirmed to work (and also confirmed not breaking others), we can avoid the default 16bpp for cirrus.
I'm afraid we can't if comment #25 is true.
"[...] anything but 16bpp is broken on Mesa llvmpipe" (which is what we need to get GNOME Shell working properly in KVM). [...]"
Ah, I forgot about Mesa.
I tested Mesa-demo and I don't see different results between Intel X and QEMU/KVM. Can anyone point a known broken program?
I just tested on my Factory VM (under libvirt / KVM) and forcing 24bpp + libcairo2 package is causing incorrect rendering of applications (try to run GNOME Shell and then start "nautilus" for instance) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c39
--- Comment #39 from Takashi Iwai
(In reply to comment #36)
(In reply to comment #32)
If this is confirmed to work (and also confirmed not breaking others), we can avoid the default 16bpp for cirrus.
I'm afraid we can't if comment #25 is true.
"[...] anything but 16bpp is broken on Mesa llvmpipe" (which is what we need to get GNOME Shell working properly in KVM). [...]"
Ah, I forgot about Mesa.
I tested Mesa-demo and I don't see different results between Intel X and QEMU/KVM. Can anyone point a known broken program?
I just tested on my Factory VM (under libvirt / KVM) and forcing 24bpp + libcairo2 package is causing incorrect rendering of applications (try to run GNOME Shell and then start "nautilus" for instance)
And it's fixed when you use 16bpp with cirrus KMS, right? (i.e. after installing cirrus-16bit-kmp) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c40
--- Comment #40 from Frederic Crozat
And it's fixed when you use 16bpp with cirrus KMS, right? (i.e. after installing cirrus-16bit-kmp)
yes, when using cirrus-16bit-kmp, it displays fine. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c41
--- Comment #41 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c42
--- Comment #42 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c43
--- Comment #43 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c44
--- Comment #44 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=799216
https://bugzilla.novell.com/show_bug.cgi?id=799216#c45
Takashi Iwai
http://bugzilla.novell.com/show_bug.cgi?id=799216
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=799216
--- Comment #46 from Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=799216
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com