Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xwinwrap - screensavers, movies on desktop (Xgl)
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
CoffeeBuzz
Apprentice
Apprentice


Joined: 15 Jun 2005
Posts: 269
Location: Canada Eh.

PostPosted: Fri Mar 17, 2006 10:45 pm    Post subject: xwinwrap - screensavers, movies on desktop (Xgl) Reply with quote

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
View user's profile Send private message
roderick
l33t
l33t


Joined: 11 Jul 2005
Posts: 908
Location: St. John's, NL CANADA

PostPosted: Sat Mar 18, 2006 3:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gangsta
n00b
n00b


Joined: 11 Dec 2005
Posts: 12

PostPosted: Sat Mar 18, 2006 3:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
jobi
n00b
n00b


Joined: 02 Jan 2004
Posts: 38
Location: Oslo,Norway

PostPosted: Sat Mar 18, 2006 6:08 pm    Post subject: Re: xwinwrap - screensavers, movies on desktop (Xgl) Reply with quote

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 :D

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
View user's profile Send private message
moppsy
n00b
n00b


Joined: 26 Dec 2004
Posts: 51

PostPosted: Sat Mar 18, 2006 9:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
WhiteRazor
n00b
n00b


Joined: 31 Mar 2003
Posts: 13
Location: Netherlands

PostPosted: Sat Mar 18, 2006 10:13 pm    Post subject: Reply with quote

Hm, really nice. Good work!

i really like to use it with glsnake. (and some logs scrolling quietly in the background.) :)
Back to top
View user's profile Send private message
nec
n00b
n00b


Joined: 15 Sep 2004
Posts: 16

PostPosted: Sun Mar 19, 2006 6:22 am    Post subject: Reply with quote

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
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Sun Mar 19, 2006 8:49 am    Post subject: Reply with quote

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
View user's profile Send private message
Belliash
Advocate
Advocate


Joined: 24 Nov 2004
Posts: 2503
Location: Wroclaw, Poland

PostPosted: Sun Mar 19, 2006 11:08 am    Post subject: Reply with quote

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
View user's profile Send private message
roderick
l33t
l33t


Joined: 11 Jul 2005
Posts: 908
Location: St. John's, NL CANADA

PostPosted: Sun Mar 19, 2006 8:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Jupiter1TX
Guru
Guru


Joined: 24 Feb 2006
Posts: 546
Location: 3rd Rock

PostPosted: Sun Mar 19, 2006 10:13 pm    Post subject: No /usr/lib/xscreensaver Reply with quote

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
View user's profile Send private message
vdemeester
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2004
Posts: 138
Location: France

PostPosted: Sun Mar 19, 2006 10:40 pm    Post subject: Re: No /usr/lib/xscreensaver Reply with quote

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
View user's profile Send private message
Jupiter1TX
Guru
Guru


Joined: 24 Feb 2006
Posts: 546
Location: 3rd Rock

PostPosted: Sun Mar 19, 2006 10:49 pm    Post subject: No /usr/lib/xscreensaver Reply with quote

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
View user's profile Send private message
gravedigga_23
Apprentice
Apprentice


Joined: 11 Oct 2005
Posts: 166
Location: Oldenburg

PostPosted: Sun Mar 19, 2006 11:56 pm    Post subject: Reply with quote

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:
Code:
-window-id WID

without this parameter, no flickering, but no nice effects too!

Can anyone help me pleaze?
Back to top
View user's profile Send private message
humpback
Retired Dev
Retired Dev


Joined: 19 Oct 2002
Posts: 394
Location: Coimbra - Portugal

PostPosted: Mon Mar 20, 2006 2:09 am    Post subject: Reply with quote

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
View user's profile Send private message
gravedigga_23
Apprentice
Apprentice


Joined: 11 Oct 2005
Posts: 166
Location: Oldenburg

PostPosted: Mon Mar 20, 2006 6:27 am    Post subject: Reply with quote

the -b and -a switches didnt solve my problem.
Back to top
View user's profile Send private message
jobi
n00b
n00b


Joined: 02 Jan 2004
Posts: 38
Location: Oslo,Norway

PostPosted: Mon Mar 20, 2006 7:11 am    Post subject: Reply with quote

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:

Code:
-b -st -sp


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
View user's profile Send private message
moppsy
n00b
n00b


Joined: 26 Dec 2004
Posts: 51

PostPosted: Mon Mar 20, 2006 11:14 am    Post subject: Reply with quote

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. :P
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
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Mon Mar 20, 2006 11:32 am    Post subject: Reply with quote

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
View user's profile Send private message
gravedigga_23
Apprentice
Apprentice


Joined: 11 Oct 2005
Posts: 166
Location: Oldenburg

PostPosted: Mon Mar 20, 2006 11:44 am    Post subject: Reply with quote

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
View user's profile Send private message
gravedigga_23
Apprentice
Apprentice


Joined: 11 Oct 2005
Posts: 166
Location: Oldenburg

PostPosted: Mon Mar 20, 2006 1:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
moppsy
n00b
n00b


Joined: 26 Dec 2004
Posts: 51

PostPosted: Mon Mar 20, 2006 4:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
gravedigga_23
Apprentice
Apprentice


Joined: 11 Oct 2005
Posts: 166
Location: Oldenburg

PostPosted: Mon Mar 20, 2006 4:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
Devport
Guru
Guru


Joined: 15 Dec 2004
Posts: 361

PostPosted: Mon Mar 20, 2006 5:01 pm    Post subject: Reply with quote

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 :D.
Back to top
View user's profile Send private message
gravedigga_23
Apprentice
Apprentice


Joined: 11 Oct 2005
Posts: 166
Location: Oldenburg

PostPosted: Mon Mar 20, 2006 5:28 pm    Post subject: Reply with quote

Hmm all up to date.
except of gnome, i will update...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum