View previous topic :: View next topic |
Author |
Message |
CoffeeBuzz Apprentice
Joined: 15 Jun 2005 Posts: 269 Location: Canada Eh.
|
Posted: Fri Mar 17, 2006 10:45 pm Post subject: xwinwrap - screensavers, movies on desktop (Xgl) |
|
|
Hey folks. Just added xwinwrap to my overlay (http://www.tripthelight.net/xgloverlay).
For those running Xgl, emerge it and try this!
xwinwrap -ni -argb -fs -s -st -sp -a -nf -- /usr/lib/misc/xscreensaver/glmatrix -root -window-id WID
Incredible!!!
Movies playing on your desktop?
xwinwrap -ni -o 0.6 -fs -s -st -sp -b -nf -- mplayer -wid WID -quiet movie.mpg
Play around with it. Post your cool xwinwrap tricks here. _________________ HP Pavilion zd7260us
Xgl Overlay: http://svn.xgl-coffee.org/xgl-coffee/trunk
Xgl Forums: http://forums.xgl-coffee.org
Last edited by CoffeeBuzz on Sun Mar 19, 2006 11:48 pm; edited 1 time in total |
|
Back to top |
|
|
roderick l33t
Joined: 11 Jul 2005 Posts: 908 Location: St. John's, NL CANADA
|
Posted: Sat Mar 18, 2006 3:30 pm Post subject: |
|
|
Cool.
Will try it out shortly... _________________ If God were a pickle, I'd still say "no pickle on my burger".
http://roderick-greening.blogspot.com/ |
|
Back to top |
|
|
Gangsta n00b
Joined: 11 Dec 2005 Posts: 12
|
Posted: Sat Mar 18, 2006 3:36 pm Post subject: |
|
|
sounds cool, i'm emerging xscreensaver now to check it out.
It runs great but the first 5 seconds i get a black screen, and then its starts up. |
|
Back to top |
|
|
jobi n00b
Joined: 02 Jan 2004 Posts: 38 Location: Oslo,Norway
|
Posted: Sat Mar 18, 2006 6:08 pm Post subject: Re: xwinwrap - screensavers, movies on desktop (Xgl) |
|
|
CoffeeBuzz, thanks _a lot_ for maintaing the overlay. I really appreciate your effort! Doing svn up at the end of the day always seems to bring in new goodies
CoffeeBuzz wrote: |
xwinwrap -ni -argb -fs -s -st -sp -a -nf -- /usr/lib/xscreensaver/glmatrix -root -window-id WID
|
I'm not on my xgl computer right now so haven't had the time to play around. What do the various options in xwinwrap actually do? |
|
Back to top |
|
|
moppsy n00b
Joined: 26 Dec 2004 Posts: 51
|
Posted: Sat Mar 18, 2006 9:50 pm Post subject: |
|
|
This is what I found in the source.
-g = parse geometry
-ni = no input
-argb = argb visual
-fs = full screen
-s = sticky
-st = skip taskbar
-sp = skip pager
-a = above
-b = below
-nf = no focus
-o OPACITY |
|
Back to top |
|
|
WhiteRazor n00b
Joined: 31 Mar 2003 Posts: 13 Location: Netherlands
|
Posted: Sat Mar 18, 2006 10:13 pm Post subject: |
|
|
Hm, really nice. Good work!
i really like to use it with glsnake. (and some logs scrolling quietly in the background.) |
|
Back to top |
|
|
nec n00b
Joined: 15 Sep 2004 Posts: 16
|
Posted: Sun Mar 19, 2006 6:22 am Post subject: |
|
|
hi there,
big thanks for the ebuilds:) and of course for the tips!
, do you know how i can get more openGL screensavers like in the xscreensaver bundle?
i ask because in the demo video i see lot of this.
greetings
nec |
|
Back to top |
|
|
Phlogiston Veteran
Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Sun Mar 19, 2006 8:49 am Post subject: |
|
|
Thanks a lot coffeBuzz! Your work is awesome.
The tool works flawlessly here.
Have a nice day!
Phlogiston _________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
Back to top |
|
|
Belliash Advocate
Joined: 24 Nov 2004 Posts: 2503 Location: Wroclaw, Poland
|
Posted: Sun Mar 19, 2006 11:08 am Post subject: |
|
|
Do you have any small movies, that could be repeated?
Eg any fields, or sth?
There was any movie in e17 presentation movie. _________________ Asio Software Technologies
Belliash IT Weblog |
|
Back to top |
|
|
roderick l33t
Joined: 11 Jul 2005 Posts: 908 Location: St. John's, NL CANADA
|
Posted: Sun Mar 19, 2006 8:11 pm Post subject: |
|
|
Ok, I can get it to run.. but it doesn't work well on my Intel 855GME.
Here's what mplayer says:
Code: |
Cache fill: 0.00% (0 bytes)
AVI file format detected.
VIDEO: [XVID] 624x352 12bpp 23.976 fps 697.9 kbps (85.2 kbyte/s)
Clip info:
Software: Nandub v1.0rc2
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Xlib: extension "XFree86-VidModeExtension" missing on display ":0.0".
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 624 x 352 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
VO: [xv] 624x352 => 624x352 Planar YV12
|
It's complaining about extension "XFree86-VidModeExtension" missing.
Any ideas? _________________ If God were a pickle, I'd still say "no pickle on my burger".
http://roderick-greening.blogspot.com/ |
|
Back to top |
|
|
Jupiter1TX Guru
Joined: 24 Feb 2006 Posts: 546 Location: 3rd Rock
|
Posted: Sun Mar 19, 2006 10:13 pm Post subject: No /usr/lib/xscreensaver |
|
|
Thank you so much for your hard work CoffeeBuzz. Your overlay makes things so easy.
The xwinwrap playing a movie in the background works great.
I am having a problem running the xwinwrap with xscreensaver. I have xscreensaver installed and it works. But in the xwinwrap instructions it has a path of /usr/lib/xscreensaver. I have no such directory. The only dir that i found was in /usr/share/xscreensaver/ and that doesn't work with xwinwrap. It says "No such file or directory"
am using gnome with modular xorg 7 _________________ Core i7 920 D0 | Asus P6T DLX | Patriot Viper 1600 6GB | Antec Quattro 850W
Geforce 8800GTX OC2 768MB | Dell 22" LCD | Koolance Exos2/Swiftech GTZ
GCC 4.6.1 | 3.7.x-geek | Xorg-7.4-x | KDE-4.7.x | Compiz |
|
Back to top |
|
|
vdemeester Tux's lil' helper
Joined: 12 Aug 2004 Posts: 138 Location: France
|
Posted: Sun Mar 19, 2006 10:40 pm Post subject: Re: No /usr/lib/xscreensaver |
|
|
Jupiter1TX wrote: | Thank you so much for your hard work CoffeeBuzz. Your overlay makes things so easy.
The xwinwrap playing a movie in the background works great.
I am having a problem running the xwinwrap with xscreensaver. I have xscreensaver installed and it works. But in the xwinwrap instructions it has a path of /usr/lib/xscreensaver. I have no such directory. The only dir that i found was in /usr/share/xscreensaver/ and that doesn't work with xwinwrap. It says "No such file or directory"
am using gnome with modular xorg 7 |
test this
Code: | xwinwrap -o 0.6 -ni -argb -fs -s -st -sp -a -nf -- /usr/lib/misc/xscreensaver/glmatrix -root -window-id WID |
The gl screensaver are in /usr/lib/misc/xscreensaver ^^ _________________ shortbrain.org |
|
Back to top |
|
|
Jupiter1TX Guru
Joined: 24 Feb 2006 Posts: 546 Location: 3rd Rock
|
Posted: Sun Mar 19, 2006 10:49 pm Post subject: No /usr/lib/xscreensaver |
|
|
Thanks vdemeester.
It works great. This totally rocks. _________________ Core i7 920 D0 | Asus P6T DLX | Patriot Viper 1600 6GB | Antec Quattro 850W
Geforce 8800GTX OC2 768MB | Dell 22" LCD | Koolance Exos2/Swiftech GTZ
GCC 4.6.1 | 3.7.x-geek | Xorg-7.4-x | KDE-4.7.x | Compiz |
|
Back to top |
|
|
gravedigga_23 Apprentice
Joined: 11 Oct 2005 Posts: 166 Location: Oldenburg
|
Posted: Sun Mar 19, 2006 11:56 pm Post subject: |
|
|
I have some Problems with xwinwrap!
The performance is badly with this command:
Code: | xwinwrap -o 0.6 -ni -argb -fs -s -st -sp -a -nf -- /usr/lib/misc/xscreensaver/glmatrix -root -window-id WID |
The screensaver and my screen begins to flicker after i start the command,
and the screensaver only moves if i press a mouse button, this looks terrible!
the problem seems to be related on this Parameter:
without this parameter, no flickering, but no nice effects too!
Can anyone help me pleaze? |
|
Back to top |
|
|
humpback Retired Dev
Joined: 19 Oct 2002 Posts: 394 Location: Coimbra - Portugal
|
Posted: Mon Mar 20, 2006 2:09 am Post subject: |
|
|
On my ati X700 i just changed your command to point to the proper place and changed -a to -b so that it runs behind everything....
Code: | xwinwrap -ni -argb -fs -s -st -sp -b -nf -- /usr/lib/misc/xscreensaver/glmatrix -root -window-id WID
|
_________________ Gustavo Felisberto
Humpback @ #gentoo-pt
------------
It's most certainly GNU/Linux, not Linux. Read more at
http://www.gnu.org/gnu/why-gnu-linux.html .
------------- |
|
Back to top |
|
|
gravedigga_23 Apprentice
Joined: 11 Oct 2005 Posts: 166 Location: Oldenburg
|
Posted: Mon Mar 20, 2006 6:27 am Post subject: |
|
|
the -b and -a switches didnt solve my problem. |
|
Back to top |
|
|
jobi n00b
Joined: 02 Jan 2004 Posts: 38 Location: Oslo,Norway
|
Posted: Mon Mar 20, 2006 7:11 am Post subject: |
|
|
moppsy wrote: | This is what I found in the source.
-g = parse geometry
-ni = no input
-argb = argb visual
-fs = full screen
-s = sticky
-st = skip taskbar
-sp = skip pager
-a = above
-b = below
-nf = no focus
-o OPACITY |
Thanks, I think we need an option to skip icons.
Using:
put's it all nicely behind everything except my icons. Also I am unable to drag and drop any icons on my desktop as long as xwinwrap/xscreensaver is running. |
|
Back to top |
|
|
moppsy n00b
Joined: 26 Dec 2004 Posts: 51
|
Posted: Mon Mar 20, 2006 11:14 am Post subject: |
|
|
Quote: |
The screensaver and my screen begins to flicker after i start the command,
and the screensaver only moves if i press a mouse button, this looks terrible!
the problem seems to be related on this Parameter:
Code:
-window-id WID
without this parameter, no flickering, but no nice effects too!
|
I don't think the problem is with the -window-id WID option.
It sounds more like a visual problem.
Try and supply other visual ID's to the xscreensaver and see if that helps.
Try dropping the -root option too.
You might also want to drop the -fs option while you test, but don't use the 'X' to close the window,
It crashes Xgl every time I do.
Quote: | Thanks, I think we need an option to skip icons. |
Sounds great, but I'm not that good.
It doesn't look like compiz has any support for skipping icons.
Quote: | I am unable to drag and drop any icons on my desktop as long as xwinwrap/xscreensaver is running. |
I see what you mean. I presume it's because your not dropping them back on the desktop but on the full screen xwinwrap window. Minimized window icons with rox seem to work fine, but any desktop icons with both nautilus and rox just snap back as if dropped in an invalid window.
Bummer. |
|
Back to top |
|
|
nesl247 Veteran
Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Mon Mar 20, 2006 11:32 am Post subject: |
|
|
roderick wrote: | Ok, I can get it to run.. but it doesn't work well on my Intel 855GME.
Here's what mplayer says:
Code: |
Cache fill: 0.00% (0 bytes)
AVI file format detected.
VIDEO: [XVID] 624x352 12bpp 23.976 fps 697.9 kbps (85.2 kbyte/s)
Clip info:
Software: Nandub v1.0rc2
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Xlib: extension "XFree86-VidModeExtension" missing on display ":0.0".
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 624 x 352 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
VO: [xv] 624x352 => 624x352 Planar YV12
|
It's complaining about extension "XFree86-VidModeExtension" missing.
Any ideas? |
You either need to compile mplayer with or without the xv USE flag. I am thinking with it. |
|
Back to top |
|
|
gravedigga_23 Apprentice
Joined: 11 Oct 2005 Posts: 166 Location: Oldenburg
|
Posted: Mon Mar 20, 2006 11:44 am Post subject: |
|
|
Hey,
thanks for ur answer!
When i run it without -fs Option all is fine. But when it is enabled the errors come.
The -root Option didnt solve it.
What do u mean with:
Quote: | Try and supply other visual ID's to the xscreensaver and see if that helps. |
Where can i find those visuals IDs? |
|
Back to top |
|
|
gravedigga_23 Apprentice
Joined: 11 Oct 2005 Posts: 166 Location: Oldenburg
|
Posted: Mon Mar 20, 2006 1:15 pm Post subject: |
|
|
Maybe this can help solve the problem:
There are 2 plugins wich dont work for me, the Switcher and Scale.
The grafical Curruption reminds me on that from the screensaver. |
|
Back to top |
|
|
moppsy n00b
Joined: 26 Dec 2004 Posts: 51
|
Posted: Mon Mar 20, 2006 4:01 pm Post subject: |
|
|
Quote: | Where can i find those visuals IDs? |
run xdpyinfo in a console.
Although, since you can run it successfully in a window and are having other display problems,
I would think that the problem is elsewhere. |
|
Back to top |
|
|
gravedigga_23 Apprentice
Joined: 11 Oct 2005 Posts: 166 Location: Oldenburg
|
Posted: Mon Mar 20, 2006 4:38 pm Post subject: |
|
|
none of the visual ids from xpdyinfo function
maybe theres an error in the xorg.conf or in the startscript
I use a Nvidia Card with newest unstable driver, modulary xorg and newest Compiz/Xgl
Startscript:
Code: | #!/bin/bash
echo "XGL wird gestartet...."
Xgl :0 -accel glx:pbuffer -accel xv:fbo &
sleep 3
echo "Compiz wird gestartet...."
DISPLAY=:0 LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ compiz gconf &
sleep 3
echo "Decorations werden gestrtet...."
DISPLAY=:0 gnome-window-decorator &
echo "Gnome wird gestartet....."
DISPLAY=:0 gnome-session &
DISPLAY=:0 nautilus -n --sync &
DISPLAY=:0 xmodmap -e "pointer = 1 2 3 8 9 4 5"
DISPLAY=:0 setxkbmap -model pc105 -layout de -variant basic &
sleep 10
DISPLAY=:0 gdesklets &
|
And relevant parts of my xorg.conf:
Code: | Section "Module"
Load "dbe"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "type1"
Load "freetype"
Load "glx"
Load "dri"
EndSection
Section "Device"
BusID "1:0:0"
Driver "nvidia"
VideoRam 134217728
Identifier "nvidia0"
VendorName "NVidia"
Screen 0
Option "RandRRotation" "true"
Option "Coolbits" "1"
Option "NvAGP" "3"
Option "RenderAccel" "true"
EndSection
Section "Screen"
Identifier "Screen0"
Device "nvidia0"
Monitor "monitor"
DefaultDepth 24
Option "NoLogo" "on"
Option "FlickerFilter" "150"
Option "Saturation" "200"
Option "Hue" "0"
Option "DigitalVibrance" "90"
Option "Sharpening" "15"
Subsection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
EndSection
Section "DRI"
Group "video"
Mode 0660
EndSection
|
|
|
Back to top |
|
|
Devport Guru
Joined: 15 Dec 2004 Posts: 361
|
Posted: Mon Mar 20, 2006 5:01 pm Post subject: |
|
|
It didn't work for me, too. Now it works. Don't know what of the changes did it - I updated xgl overlay, updated gnome-2.14 and today I upgraded to gentoo tree's glproto. Maybe you want to try some of these . |
|
Back to top |
|
|
gravedigga_23 Apprentice
Joined: 11 Oct 2005 Posts: 166 Location: Oldenburg
|
Posted: Mon Mar 20, 2006 5:28 pm Post subject: |
|
|
Hmm all up to date.
except of gnome, i will update... |
|
Back to top |
|
|
|