New: [r300g] xscreensaver hack "antspotlight" reveals something other than desktop
https://bugs.freedesktop.org/show_bug.cgi?id=29951
Summary: [r300g] xscreensaver hack "antspotlight" reveals
something other than desktop
Product: Mesa
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/r300
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=38368)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38368)
What the ant saw...
The xscreensaver hack "antspotlight" is supposed to depict an ant with a spotlight on its head wandering over your desktop in the dark. The idea is that the ant reveals little patches of your desktop as it wanders around.
With r300g and my RV350, the ant is most definitely not revealing my desktop. (Not this time, anyway. It seems to be random.)
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29951] [r300g] xscreensaver hack "antspotlight" reveals something other than desktop
https://bugs.freedesktop.org/show_bug.cgi?id=29951
Matt Turner <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Drivers/DRI/r300 |Drivers/Gallium/r300
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29951] [r300g] xscreensaver hack "antspotlight" reveals something other than desktop
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29951
--- Comment #1 from Marek Olšák <[email protected]> 2010-09-15 07:38:14 PDT --- The screensaver shows my wallpaper gallery rather than my desktop, but the images look all right here.
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 29951] [r300g] xscreensaver hack "antspotlight" reveals something other than desktop
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29951
--- Comment #2 from Chris Rankin <[email protected]> 2010-09-15 07:50:00 PDT --- (In reply to comment #1)
Quoted 2 lines
The screensaver shows my wallpaper gallery rather than my desktop, but the images look all right here.
The choice of image looks random to me. Try running another OpenGL application, and then rerunning the screensaver. I tried reproducing this bug last night and at first I thought it was fixed. But then I played WoW for a bit and tried again...
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29951] [r300g] xscreensaver hack "antspotlight" reveals something other than desktop
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29951
--- Comment #3 from Michel Dänzer <[email protected]> 2010-09-15 10:17:18 PDT --- (In reply to comment #1)
Quoted 1 line
The screensaver shows my wallpaper gallery rather than my desktop, [...]
This depends on the 'Image Manipulation' settings on the 'Advanced' tab of xscreensaver-demo.
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 29951] [r300g] xscreensaver hack "antspotlight" reveals something other than desktop
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29951
--- Comment #4 from Marek Olšák <[email protected]> 2011-02-10 17:41:39 PST --- Is this issue still present with the current Mesa master branch?
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 29951] [r300g] xscreensaver hack "antspotlight" reveals something other than desktop
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29951
--- Comment #5 from Chris Rankin <[email protected]> 2011-02-12 11:27:32 PST --- (In reply to comment #4)
Quoted 1 line
Is this issue still present with the current Mesa master branch?
Unfortunately, yes. Although it does seem to happen a lot less often now.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29951] [r300g] xscreensaver hack "antspotlight" reveals something other than desktop
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29951
--- Comment #6 from Tom Stellard <[email protected]> 2011-09-18 18:18:07 PDT --- (In reply to comment #5)
Quoted 4 lines
(In reply to comment #4)
Quoted 1 line
Is this issue still present with the current Mesa master branch?
Unfortunately, yes. Although it does seem to happen a lot less often now.
I just tested this with the latest version from git, and it appears to be working. Can you confirm this?
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29951] [r300g] xscreensaver hack "antspotlight" reveals something other than desktop
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29951
--- Comment #7 from Chris Rankin <[email protected]> 2011-09-19 01:29:22 PDT --- (In reply to comment #6)
Quoted 2 lines
I just tested this with the latest version from git, and it appears to be working. Can you confirm this?
Sorry, it's not fixed yet. I ran antspotlight about 5 times in succession and the problem reoccurred. It did work the first few times, though.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29951] [r300g] xscreensaver hack "antspotlight" reveals something other than desktop
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29951
--- Comment #8 from Tom Stellard <[email protected]> 2011-09-22 16:04:28 PDT --- (In reply to comment #7)
Quoted 6 lines
(In reply to comment #6)
Quoted 2 lines
I just tested this with the latest version from git, and it appears to be working. Can you confirm this?
Sorry, it's not fixed yet. I ran antspotlight about 5 times in succession and the problem reoccurred. It did work the first few times, though.
Does it work with llvmpipe?
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29951] [r300g] xscreensaver hack "antspotlight" reveals something other than desktop
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29951
--- Comment #9 from Chris Rankin <[email protected]> 2011-09-23 02:54:54 PDT --- (In reply to comment #8)
Quoted 1 line
Does it work with llvmpipe?
It works with LIBGL_ALWAYS_SOFTWARE=1, if that's what you mean.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29951] [r300g] xscreensaver hack "antspotlight" reveals something other than desktop
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29951
--- Comment #10 from [email protected] 2011-09-23 04:10:57 PDT --- Doesn't this seem to be some sort of race condition?
The screensaver needs to do a "screenshot" to display on the floor. If it captures the screenshot too late, it gets its own image instead of the desktop image...
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29951] [r300g] xscreensaver hack "antspotlight" reveals something other than desktop
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29951
--- Comment #11 from Chris Rankin <[email protected]> 2011-09-23 04:21:21 PDT --- (In reply to comment #10)
Quoted 5 lines
Doesn't this seem to be some sort of race condition?
The screensaver needs to do a "screenshot" to display on the floor. If it captures the screenshot too late, it gets its own image instead of the desktop image...
It works with both the r600g (faster than r300g) and swrast (slower than r300g) drivers, though. So whatever the problem is, it does appear to be with the r300g driver.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29951] [r300g] xscreensaver hack "antspotlight" reveals something other than desktop
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29951
--- Comment #12 from Tom Stellard <[email protected]> 2011-09-25 17:52:53 PDT --- Would you be able to post an apitrace(https://github.com/apitrace/apitrace)?
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29951] [r300g] xscreensaver hack "antspotlight" reveals something other than desktop
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29951
--- Comment #13 from Chris Rankin <[email protected]> 2011-09-28 04:06:58 PDT --- (In reply to comment #12)
Quoted 1 line
Would you be able to post an apitrace(https://github.com/apitrace/apitrace)?
I have created two apitraces, one for antspotlight working correctly and the other for antspotlight not working. (It was more difficult to get antspotlight to misbehave with apitrace installed, but obviously not impossible).
Unfortunately, the files are far too big to attach here, even after bzip2:
4726693 Sep 28 11:54 antspotlight-good.trace.bz2
10403215 Sep 28 11:57 antspotlight-bad.trace.bz2
Can I send them to your private email address instead, please?
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29951] [r300g] xscreensaver hack "antspotlight" reveals something other than desktop
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29951
--- Comment #14 from Tom Stellard <[email protected]> 2011-09-28 05:20:41 PDT --- (In reply to comment #13)
Quoted 7 lines
(In reply to comment #12)
Quoted 1 line
Would you be able to post an apitrace(https://github.com/apitrace/apitrace)?
I have created two apitraces, one for antspotlight working correctly and the other for antspotlight not working. (It was more difficult to get antspotlight to misbehave with apitrace installed, but obviously not impossible).
Quoted 6 lines
Unfortunately, the files are far too big to attach here, even after bzip2:
4726693 Sep 28 11:54 antspotlight-good.trace.bz2
10403215 Sep 28 11:57 antspotlight-bad.trace.bz2Can I send them to your private email address instead, please?
Sure, no problem.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29951] [r300g] xscreensaver hack "antspotlight" reveals something other than desktop
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29951
--- Comment #15 from Tom Stellard <[email protected]> 2011-09-28 22:15:41 PDT --- I ran the bad apitrace you sent me, and it looked the same on r300g and llvmpipe. I'm leaning toward this being a bug in xscreensaver, rather than in the driver. You might want to ask the developers of xscreensaver to take a look, they will probably have a better idea of what is happening.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29951] [r300g] xscreensaver hack "antspotlight" reveals something other than desktop
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29951
--- Comment #16 from Michel Dänzer <[email protected]> 2011-09-29 00:20:23 PDT --- (In reply to comment #13)
Quoted 2 lines
I have created two apitraces, one for antspotlight working correctly and the other for antspotlight not working.
When you replay these traces, do you consistently get good results with the 'good' trace and bad results with the 'bad' trace?
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 29951] [r300g] xscreensaver hack "antspotlight" reveals something other than desktop
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29951
--- Comment #17 from Chris Rankin <[email protected]> 2011-09-29 02:38:34 PDT --- (In reply to comment #16)
Quoted 2 lines
When you replay these traces, do you consistently get good results with the 'good' trace and bad results with the 'bad' trace?
Yes. The captured image representing my desktop must be stored within the trace file.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29951] [r300g] xscreensaver hack "antspotlight" reveals something other than desktop
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29951
--- Comment #18 from Michel Dänzer <[email protected]> 2011-09-29 09:49:41 PDT --- (In reply to comment #15)
Quoted 3 lines
I'm leaning toward this being a bug in xscreensaver, rather than in the driver. You might want to ask the developers of xscreensaver to take a look, they will probably have a better idea of what is happening.
I tend to agree. I notice that the antspotlight window appears briefly and then disappears again while the desktop contents are grabbed. The way this is done might not guarantee that it can't pick up the contents of the antspotlight window before it disappears.
I've been able to reproduce it with the classic r300 driver as well.
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 29951] [r300g] xscreensaver hack "antspotlight" reveals something other than desktop
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29951
Tom Stellard <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |NOTOURBUG--- Comment #19 from Tom Stellard <[email protected]> 2011-10-28 18:29:56 PDT --- This appears to be an issue with xscreensaver and not a driver bug. I recommend notifying the xscreensaver developers.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.