Re: [R200] Nearly all xscreensavers GL flicker

2005-02-25 Thread Vladimir Dergachev

On Thu, 24 Feb 2005, Michel [ISO-8859-1] Dnzer wrote:
[ Please don't follow up just to me privately ]
On Thu, 2005-02-24 at 14:26 +0100, Marcello Maggioni wrote:
On Wed, 23 Feb 2005 23:02:37 -0500, Michel Dnzer [EMAIL PROTECTED] wrote:
On Wed, 2005-02-23 at 20:50 +0100, Marcello Maggioni wrote:
I've a problem with lastest DRI (from CVS) drivers and Xscreensavers
that use OpenGL.
I've tried nearly all of them , from Bubble 3D to Rubik Cube all
these simply flicker like hell when are executed .
If you're running them manually with -root, it's probably because the
root window isn't double buffered. Otherwise, does disabling colour
tiling or page flipping make a difference?
I run them from KDE Control Center [...]
IIRC some versions of KDE are known to be buggy in this regard.
Yep - if you start them from KDE they are all run without double 
buffering. (or at least this appeared to be so each time I tried)
I have no idea why.

Try running xscreensaver directly.
   best
  Vladimir Dergachev

--
Earthling Michel Dnzer  | Debian (powerpc), X and DRI developer
Libre software enthusiast|   http://svcs.affero.net/rm.php?r=daenzer

---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95alloc_id396op=click
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [R200] Nearly all xscreensavers GL flicker

2005-02-25 Thread Marcello Maggioni
On Thu, 24 Feb 2005 11:38:10 -0500 (EST), Vladimir Dergachev
[EMAIL PROTECTED] wrote:
 
 
 On Thu, 24 Feb 2005, Michel [ISO-8859-1] Dnzer wrote:
 
 
  [ Please don't follow up just to me privately ]
 
  On Thu, 2005-02-24 at 14:26 +0100, Marcello Maggioni wrote:
  On Wed, 23 Feb 2005 23:02:37 -0500, Michel Dnzer [EMAIL PROTECTED] 
  wrote:
  On Wed, 2005-02-23 at 20:50 +0100, Marcello Maggioni wrote:
 
  I've a problem with lastest DRI (from CVS) drivers and Xscreensavers
  that use OpenGL.
 
  I've tried nearly all of them , from Bubble 3D to Rubik Cube all
  these simply flicker like hell when are executed .
 
  If you're running them manually with -root, it's probably because the
  root window isn't double buffered. Otherwise, does disabling colour
  tiling or page flipping make a difference?
 
  I run them from KDE Control Center [...]
 
  IIRC some versions of KDE are known to be buggy in this regard.
 
 Yep - if you start them from KDE they are all run without double
 buffering. (or at least this appeared to be so each time I tried)
 I have no idea why.
 
 Try running xscreensaver directly.
 
 best
 
Vladimir Dergachev
 
 
 
  --
  Earthling Michel Dnzer  | Debian (powerpc), X and DRI developer
  Libre software enthusiast|   http://svcs.affero.net/rm.php?r=daenzer
 
 
 
  ---
  SF email is sponsored by - The IT Product Guide
  Read honest  candid reviews on hundreds of IT Products from real users.
  Discover which products truly live up to the hype. Start reading now.
  http://ads.osdn.com/?ad_ide95alloc_id396op=click
  --
  ___
  Dri-devel mailing list
  Dri-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dri-devel
 
 

With XSCREENSAVER alone it effectively runs without problems , but I
wonder why ...

There's a logical explanation for this?? O_o

Bye

Marcello


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95alloc_id396op=click
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [R200] Nearly all xscreensavers GL flicker

2005-02-25 Thread Michel Dänzer

[ Please don't follow up just to me privately ]

On Thu, 2005-02-24 at 14:26 +0100, Marcello Maggioni wrote:
 On Wed, 23 Feb 2005 23:02:37 -0500, Michel Dnzer [EMAIL PROTECTED] wrote:
  On Wed, 2005-02-23 at 20:50 +0100, Marcello Maggioni wrote:
  
   I've a problem with lastest DRI (from CVS) drivers and Xscreensavers
   that use OpenGL.
  
   I've tried nearly all of them , from Bubble 3D to Rubik Cube all
   these simply flicker like hell when are executed .
  
  If you're running them manually with -root, it's probably because the
  root window isn't double buffered. Otherwise, does disabling colour
  tiling or page flipping make a difference?
 
 I run them from KDE Control Center [...]

IIRC some versions of KDE are known to be buggy in this regard.


-- 
Earthling Michel Dnzer  | Debian (powerpc), X and DRI developer
Libre software enthusiast|   http://svcs.affero.net/rm.php?r=daenzer



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95alloc_id396op=click
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [R200] Nearly all xscreensavers GL flicker

2005-02-25 Thread Marcello Maggioni
On Thu, 24 Feb 2005 10:30:03 -0500, Michel Dänzer [EMAIL PROTECTED] wrote:
 
 [ Please don't follow up just to me privately ]
 
Sorry, I just pushed the wrong button :P

 IIRC some versions of KDE are known to be buggy in this regard.
 

Really? I'll try to run the screensaver separately and then report


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95alloc_id396op=click
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [R200] Nearly all xscreensavers GL flicker

2005-02-25 Thread Roland Scheidegger
Marcello Maggioni wrote:
Try running xscreensaver directly.
With XSCREENSAVER alone it effectively runs without problems , but I
wonder why ...
There's a logical explanation for this?? O_o
IIRC the root window isn't double buffered, thus you can't use that in a 
useful way for 3D.

Roland
---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [R200] Nearly all xscreensavers GL flicker

2005-02-25 Thread Dieter Nützel
Am Freitag, 25. Februar 2005 16:47 schrieb Adam Jackson:
 On Thursday 24 February 2005 13:27, Marcello Maggioni wrote:
  With XSCREENSAVER alone it effectively runs without problems , but I
  wonder why ...
 
  There's a logical explanation for this?? O_o

 Yeah.  KDE's screensaver module probably opens its own fullscreen window
 and tells the screensaver to draw on that.  Since the window is already
 created the screensaver can't change its visual, which means if the window
 was created in a single buffer visual you're stuck.

So someone should send a bug report to fix that before KDE 3.4 arise...;-)

Greetings,
Dieter


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [R200] Nearly all xscreensavers GL flicker

2005-02-25 Thread Adam Jackson
On Friday 25 February 2005 12:54, Stephan Kulow wrote:
 Am Friday 25 February 2005 18:03 schrieb Dieter Ntzel:
  Am Freitag, 25. Februar 2005 16:47 schrieb Adam Jackson:
   On Thursday 24 February 2005 13:27, Marcello Maggioni wrote:
With XSCREENSAVER alone it effectively runs without problems , but I
wonder why ...
   
There's a logical explanation for this?? O_o
  
   Yeah.  KDE's screensaver module probably opens its own fullscreen
   window and tells the screensaver to draw on that.  Since the window is
   already created the screensaver can't change its visual, which means if
   the window was created in a single buffer visual you're stuck.
 
  So someone should send a bug report to fix that before KDE 3.4
  arise...;-)

 How? We create a fullscreen window for all screen savers.

Run glxinfo and look at the output near the bottom:

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
--
0x23 24 tc  0 24  0 r  y  .  8  8  8  0  0  0  0  0  0  0  0  0 0 None
0x24 24 tc  0 24  0 r  .  .  8  8  8  0  0  0  0  0  0  0  0  0 0 None
0x25 24 tc  0 24  0 r  y  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x26 24 tc  0 24  0 r  .  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x27 24 tc  0 24  0 r  y  .  8  8  8  0  0  0  0 16 16 16  0  0 0 Slow
0x28 24 tc  0 24  0 r  .  .  8  8  8  0  0  0  0 16 16 16  0  0 0 Slow
0x29 24 tc  0 24  0 r  y  .  8  8  8  0  0 24  8 16 16 16  0  0 0 Slow
0x2a 24 tc  0 24  0 r  .  .  8  8  8  0  0 24  8 16 16 16  0  0 0 Slow

Note the 'db' column, indicating a double-buffered visual.  By default X 
windows are not created in double-buffered visuals.  The way to find a 
double-buffered visual is something like:

int attribs[] = { GLX_DOUBLEBUFFER, /* ..., */ None };
XVisualInfo *vis = glXChooseVisual(dpy, DefaultScreen(dpy), attribs);

There's also a way to do this within the DBE extension, which one or two of 
the xscreensaver hacks want, but I don't know it offhand.  I expect Qt has an 
idiom for this as well.

- ajax


pgpWxlZrSTHYi.pgp
Description: PGP signature


Re: [R200] Nearly all xscreensavers GL flicker

2005-02-25 Thread Vladimir Dergachev

On Fri, 25 Feb 2005, Stephan Kulow wrote:
Am Friday 25 February 2005 18:03 schrieb Dieter Nützel:
Am Freitag, 25. Februar 2005 16:47 schrieb Adam Jackson:
On Thursday 24 February 2005 13:27, Marcello Maggioni wrote:
With XSCREENSAVER alone it effectively runs without problems , but I
wonder why ...
There's a logical explanation for this?? O_o
Yeah.  KDE's screensaver module probably opens its own fullscreen window
and tells the screensaver to draw on that.  Since the window is already
created the screensaver can't change its visual, which means if the window
was created in a single buffer visual you're stuck.
So someone should send a bug report to fix that before KDE 3.4 arise...;-)
How? We create a fullscreen window for all screen savers.
Wouldn't it be possible to create a double-buffered subwindow for those 
that use GL ? A hack, admittedly...

   best
Vladimir Dergachev
Greetings, Stephan


Re: [R200] Nearly all xscreensavers GL flicker

2005-02-23 Thread Michel Dänzer
On Wed, 2005-02-23 at 20:50 +0100, Marcello Maggioni wrote:
 
 I've a problem with lastest DRI (from CVS) drivers and Xscreensavers
 that use OpenGL.
 
 I've tried nearly all of them , from Bubble 3D to Rubik Cube all
 these simply flicker like hell when are executed .

If you're running them manually with -root, it's probably because the
root window isn't double buffered. Otherwise, does disabling colour
tiling or page flipping make a difference?


-- 
Earthling Michel Dnzer  | Debian (powerpc), X and DRI developer
Libre software enthusiast|   http://svcs.affero.net/rm.php?r=daenzer


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95alloc_id396op=click
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel