Bug 222262 (redirected-glx)

Summary: GLX isn't redirected properly yet
Product: [Fedora] Fedora Reporter: Alex W. Jackson <awj_in_japan>
Component: xorg-x11-serverAssignee: Kristian Høgsberg <krh>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: abartlet, airlied, bnocera, horsley1953, jbn, mads, mcepl, steve, triage
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-06-10 21:30:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
xorg.conf
none
Xorg.0.log produced using above xorg.conf
none
Xorg.0.log produced with no xorg.conf none

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):
xorg-x11-server-Xorg-1.1.1-47.2.fc6

How reproducible:
Always

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
server.
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]
xorg.conf

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:
http://fedoraproject.org/wiki/BugZappers/F9CleanUp

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:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

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!