Bug 222262 (redirected-glx) - GLX isn't redirected properly yet
Summary: GLX isn't redirected properly yet
Alias: redirected-glx
Product: Fedora
Classification: Fedora
Component: xorg-x11-server
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Kristian Høgsberg
QA Contact:
: 213977 239022 329081 468393 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2007-01-11 07:58 UTC by Alex W. Jackson
Modified: 2018-04-11 08:36 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Last Closed: 2009-06-10 21:30:26 UTC

Attachments (Terms of Use)
xorg.conf (686 bytes, text/plain)
2007-01-11 15:37 UTC, Alex W. Jackson
no flags Details
Xorg.0.log produced using above xorg.conf (69.73 KB, text/plain)
2007-01-11 15:39 UTC, Alex W. Jackson
no flags Details
Xorg.0.log produced with no xorg.conf (73.30 KB, text/plain)
2007-01-11 15:40 UTC, Alex W. Jackson
no flags Details

Description Alex W. Jackson 2007-01-11 07:58:07 UTC
Description of problem:
On my Radeon 9200SE card, passing the option "EnablePageFlip" in xorg.conf gives
 a very large performance boost to OpenGL applications (as much as 100% in some
applications) which is very nice.  However, when using desktop effects (compiz)
this speed boost goes away, and moreover, glitches occur (parts of the desktop
becoming corrupted) when I run an OpenGL application.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Run glxgears with no desktop effects and without "EnablePageFlip" in
xorg.conf.  Note FPS.
2. Add Option "EnablePageFlip" "1" to xorg.conf "Device" section, and restart X
3. Run glxgears again.  Note FPS--it should be significantly higher than before.
4. Enable desktop effects.
5. Run glxgears again.  Note FPS--it has reverted to the low value from step 1.
 Also, glitches now appear on desktop when glxgears is run
6. Remove "EnablePageFlip" option from xorg.conf, and restart X server
7. Run glxgears with desktop effects and without EnablePageFlip.  FPS is the
same as step 1, and there are no glitches.  This proves that it is the
combination of EnablePageFlip and compiz that produces the glitches, and not
compiz alone.

Summary of results:
PageFlip  Compiz  glxgears  Glitches
off       off     slow      no
on        off     fast      no
off       on      slow      no
on        on      slow      yes

Comment 1 Matěj Cepl 2007-01-11 11:20:17 UTC
Thanks for the bug report, but I think we could some more information to
diagnose your issue.

Please attach your X server config file (/etc/X11/xorg.conf) and X server log
file (/var/log/Xorg.*.log) to the bug report as individual uncompressed file
attachments using the bugzilla file attachment link below.

Could you please also try to run without any /etc/X11/xorg.conf whatsoever and
let X11 autodetect your display and video card? Attach to this bug
/var/log/Xorg.0.log from this attempt as well, please.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.

Comment 2 Alex W. Jackson 2007-01-11 15:37:24 UTC
Created attachment 145357 [details]

Comment 3 Alex W. Jackson 2007-01-11 15:39:18 UTC
Created attachment 145358 [details]
Xorg.0.log produced using above xorg.conf

Comment 4 Alex W. Jackson 2007-01-11 15:40:21 UTC
Created attachment 145359 [details]
Xorg.0.log produced with no xorg.conf

Comment 5 Adam Jackson 2007-01-29 23:09:31 UTC
This is expected.  GLX applications do not work properly yet when the
compositing manager is running.

Comment 6 Adam Jackson 2007-05-08 16:07:15 UTC
*** Bug 239022 has been marked as a duplicate of this bug. ***

Comment 7 Adam Jackson 2007-07-27 22:10:31 UTC
*** Bug 240956 has been marked as a duplicate of this bug. ***

Comment 8 Kristian Høgsberg 2007-10-12 14:45:04 UTC
Reassigning to xserver, though it's really, xserver, libdrm, kernel, mesa and
all ddx drivers.

Comment 9 Kristian Høgsberg 2007-10-12 14:47:59 UTC
*** Bug 213977 has been marked as a duplicate of this bug. ***

Comment 10 Kristian Høgsberg 2007-10-12 14:48:16 UTC
*** Bug 329081 has been marked as a duplicate of this bug. ***

Comment 11 Kristian Høgsberg 2007-10-12 14:49:24 UTC
Btw, we're working on fixing this, but it's a long term effort.  See
http://hoegsberg.blogspot.com/2007/08/redirected-direct-rendering.html for some
background on this problem.

Comment 12 Bug Zapper 2008-04-03 18:52:48 UTC
Based on the date this bug was created, it appears to have been reported
against rawhide during the development of a Fedora release that is no
longer maintained. In order to refocus our efforts as a project we are
flagging all of the open bugs for releases which are no longer
maintained. If this bug remains in NEEDINFO thirty (30) days from now,
we will automatically close it.

If you can reproduce this bug in a maintained Fedora version (7, 8, or
rawhide), please change this bug to the respective version and change
the status to ASSIGNED. (If you're unable to change the bug's version
or status, add a comment to the bug and someone will change it for you.)

Thanks for your help, and we apologize again that we haven't handled
these issues to this point.

The process we're following is outlined here:

We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.

Comment 13 Kristian Høgsberg 2008-04-03 19:02:12 UTC
Go away, stupid bot.

Comment 14 Bug Zapper 2008-05-14 02:32:48 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:

Comment 15 Mads Kiilerich 2008-11-13 22:09:58 UTC
*** Bug 468393 has been marked as a duplicate of this bug. ***

Comment 16 Mads Kiilerich 2008-11-13 22:14:50 UTC
This issue should be changed back to version rawhide and have the tag FutureFeature

Comment 17 Adam Jackson 2009-06-10 21:30:26 UTC
This works with DRI2-enabled drivers.  Yay!

Note You need to log in before you can comment on or make changes to this bug.