netbook-launcher does not render correctly with intel video 2.6.1 and UXA

Bug #327921 reported by Michael Ralston
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Netbook Remix Launcher
Fix Released
Undecided
Neil J. Patel

Bug Description

System environment:
-- chipset: i945GME
-- system architecture: i686
-- xf86-video-intel: 2.6.1 (-1ubuntu1)
-- xserver: 1.5.99.902 (1.6.0 RC 2)
-- mesa: 7.3 (-1ubuntu1)
-- libdrm: 2.4.4 (-0ubuntu4)
-- kernel version: 2.6.28
-- Linux distribution: Ubuntu jaunty
-- Machine: Asus EEE 1000H
-- Display connector: LVDS

Reproducing Steps:
With UXA enabled, Ubuntu Netbook Launcher does not render correctly as shown in
screenshot. Is approx 200px north of where it should be, and is also cropped on
the right. Same result with composite enabled and disabled. It renders fine
with EXA.

This bug was reported to the Intel Video developers at http://bugs.freedesktop.org/show_bug.cgi?id=19945
I chatted to the assignee of that bug on freenode #intel-gfx, transcript of this:

<Stralytic> anholt_, any idea when you will get a chance to look at bug # 19945?
<anholt_> are you running DRI2 or not?
<anholt_> offhand, most likely cause of the problem is an app bug with resizing.
<Stralytic> yes, dri2
<Stralytic> works with exa, doesn't work with uxa
<anholt_> if the app succeeded with respect to this bug with dri1, that makes it more likely that it's an app bug
<anholt_> (you have to glViewport after you've got the ConfigureNotify for sizing your window, not before)
<Stralytic> ok, i'll report it to the app maintainer, thanks

Revision history for this message
Michael Ralston (michael-ralston) wrote :
Revision history for this message
Neil J. Patel (njpatel) wrote :

This would be a bug in Clutter with uxa. Marking for 1.2.0 so I remember to take a look before release.

Changed in netbook-remix-launcher:
milestone: none → 1.2.0
status: New → Triaged
Revision history for this message
antistress (antistress) wrote :

i don't know if it can help, there is that bug "DRI2: (UXA) white transparency artifacts with compiz" pending in Ubuntu https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/324854

Revision history for this message
antistress (antistress) wrote :

for the record, i still have that bug with xserver-xorg-video-intel - 2:2.6.99.1+git20090309.dc12c4b3-0ubuntu0tormod from https://launchpad.net/~xorg-edgers/+archive/ppa and linux 2.6.29 rc7 from http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.29-rc7/

Revision history for this message
antistress (antistress) wrote :

(this bug is present with or without compositing)

Neil J. Patel (njpatel)
Changed in netbook-remix-launcher:
status: Triaged → In Progress
Revision history for this message
Neil J. Patel (njpatel) wrote :

Apparently clutter 0.8.8 has the fix for this in place (as mentioned above). I'll try and get an exception tomorrow, thanks for the awesome bug report that did most of the work for me ;-)

Revision history for this message
Michael Ralston (michael-ralston) wrote :

This bug is no longer present on my system with Ubuntu jaunty libclutter-0.8-0 version 0.8.8-0ubuntu1.

thanks Neil

Revision history for this message
Michael Ralston (michael-ralston) wrote :

Sadly though the rendering speed of netbook launcher with UXA enabled is poor. Not quite as bad as Bug #344443. I doubt it's related, although that bug doesn't say they are using UXA, it's not on by default and you would expect someone to tell you if they changed it.

Also after running X for about 5 minutes, my system froze requiring a power cycle.

Conclusion: UXA is still too slow and buggy on my system. Disabling it, probably until karmic.

Revision history for this message
antistress (antistress) wrote :

same for me : netbook-launcher renders correctly but very slowly on my system (Jaunty beta + Linux 2.6.29 + xserver-xorg-video-intel - 2:2.6.99.1+git20090402.fad714c4-0ubuntu0tormod2 with UXA and Metacity composited)

Note that UXA works well for me except with netbook-launcher (i have a chipset Intel 945G/945GC A2 aka Intel GMA 950 for the graphical part)

Revision history for this message
Neil J. Patel (njpatel) wrote :

As mentioned, we have got clutter-0.8.8 in Jaunty now, which works with UXA.

It seems there are some serious performance issues with Clutter on UXA. glxgears is also painfully slow (16 fps here, on HP Mini Mie & Dell Mini 9), however glchess, tuxracer work fine. I assumed it was something to do with the way Clutter handles events, and hence the motion events from the mouse would make performance bad, but switching off motion event handling and testing only yielded a slight performance advantage.

I hope the fix is either a small config change to xorg.conf or something basic in Clutter. I'll file a bug against clutter and we can take it from there.

Changed in netbook-remix-launcher:
assignee: nobody → njpatel
status: In Progress → Confirmed
Revision history for this message
Neil J. Patel (njpatel) wrote :
Revision history for this message
Neil J. Patel (njpatel) wrote :

This is fixed in the new launcher and works very well with UXA (thanks to the new Clutter and newer Intel drivers).

Changed in netbook-remix-launcher:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.