Launchpad has imported 10 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=23525.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2009-08-26T13:45:47+00:00 Bdwheele wrote:

Environment:
  * QEMU's latest git, although I've seen this in many earlier versions
    * -vga cirrus 
  * Fedora 12 running as a guest (also happens in the moblin snapshot)

When running the gnome shell preview or glx gears, the display is highly
corrupted.  It looks like a bytes-per-pixel issue since the image
appears in three places.

When using the VESA emulation glxgears works just fine, but the bulk of
the gnome shell doesn't. (and I'm limited to 800x600 with no
acceleration)

Fedora 12 has rpms versioned 7.6.0-8 so I assume it is a git snapshot.

Reply at: https://bugs.launchpad.net/mesa/+bug/810339/comments/0

------------------------------------------------------------------------
On 2009-08-26T13:46:13+00:00 Bdwheele wrote:

Created attachment 28916
example of corruption

Reply at: https://bugs.launchpad.net/mesa/+bug/810339/comments/1

------------------------------------------------------------------------
On 2009-12-13T06:07:21+00:00 Randrik wrote:

May be it was bug in Qemu emulator itself  OR Mesa's swrast doesn't work
too well with 24/24 (as opposed to 24/32) screen/framebuffer (bpp/fbbpp)
configuration.

At least Ubuntu 10.04 LiveCD show this problem, too (it uses mesa
7.6.1-rc2-1ubuntu1).

Reply at: https://bugs.launchpad.net/mesa/+bug/810339/comments/2

------------------------------------------------------------------------
On 2009-12-13T09:49:34+00:00 Randrik wrote:

(In reply to comment #2)
> May be it was bug in Qemu emulator itself  OR Mesa's swrast doesn't work too
> well with 24/24 (as opposed to 24/32) screen/framebuffer (bpp/fbbpp)
> configuration.
> 
> At least Ubuntu 10.04 LiveCD show this problem, too (it uses mesa
> 7.6.1-rc2-1ubuntu1).
> 

But it works OK in 16/16 bpp ....

sudo gedit /etc/X11/xinit/xserverrc - add -fbbpp 16 as server argument
sudo /etc/init.d/gdm stop
startx

(not sure how to force gdm to do the same)

Reply at: https://bugs.launchpad.net/mesa/+bug/810339/comments/3

------------------------------------------------------------------------
On 2011-02-08T11:16:02+00:00 Freedesktopbmw wrote:

Mesa-7.10 swrast on Qemu/KVM's emulated 24bit cirrus graphics is still broken.
Looks like this:
http://openqa.opensuse.org/opensuse/permanent/bug/bfo23525.png

but works on vesa driver that has
(II) VESA(0): Creating default Display subsection in Screen section
        "Default Screen" for depth/fbbpp 24/24
(==) VESA(0): Depth 24, (==) framebuffer bpp 24
...
(==) Depth 24 pixmap format is 32 bpp

and also works on fbdev with 16/16

Reply at: https://bugs.launchpad.net/mesa/+bug/810339/comments/4

------------------------------------------------------------------------
On 2011-07-21T15:12:08+00:00 Marc Pignat wrote:

Created attachment 49386
fix 24 bits colors / 24 bpp implementation

Reply at: https://bugs.launchpad.net/mesa/+bug/810339/comments/10

------------------------------------------------------------------------
On 2011-07-21T17:55:28+00:00 Brian-e-paul wrote:

The patch was committed to master as commit
cfec000e7514342fd51859906e173ba2d474a55c

How confident are you in the patch?  Should it go into the 7.11 release?

Reply at: https://bugs.launchpad.net/mesa/+bug/810339/comments/11

------------------------------------------------------------------------
On 2011-07-22T09:57:10+00:00 Marc Pignat wrote:

Hi Brian!

I have done these tests:
* without my patch : 
 * qemu + cirrus emulation + glxgears -> failed
 * qemu + vga emulation + glxgears -> working fine
* with my patch
 * qemu + cirrus emulation -> working
 * qemu + vga emulation -> still working fine
 
So it seems that this patch solves the problem, and does not introduce
another bug.

So I'm confident in this patch ;)

Regards

Reply at: https://bugs.launchpad.net/mesa/+bug/810339/comments/12

------------------------------------------------------------------------
On 2011-07-22T13:39:30+00:00 Brian-e-paul wrote:

OK, I've cherry-picked this to 7.11.

Reply at: https://bugs.launchpad.net/mesa/+bug/810339/comments/13

------------------------------------------------------------------------
On 2011-11-26T20:24:54+00:00 Freedesktopbmw wrote:

Just noticed this issue still occurred with Mesa-7.11 (even on real Cirrus HW)
Checking the source, I found that the patch from comment 5 was missing.
Applying the patch, fixed glxgears,
but left other programs (e.g. KDE4's khelpcenter and konqueror (both using 
KHTML)) with similar bpp corruptions in image rendering, which are not present 
with other drivers.

Reply at: https://bugs.launchpad.net/mesa/+bug/810339/comments/19


** Changed in: mesa
       Status: Fix Released => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/810339

Title:
  Garbage when using qemu/kvm and cirrus emulation

To manage notifications about this bug go to:
https://bugs.launchpad.net/mesa/+bug/810339/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to