SliTaz SliTaz Forum

You are not logged in.

#1 2011-06-22 06:17:31

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

xscreensaver-lite

Hey all. I have an idea. We take xscreensaver, strip it down to a bare minimum, add in a SliTaz GNU/Linux Image or Text floating screensaver and add it to SliTaz 4. We can split the other screensavers into different packages, so anybody that wants them can just download these packages to get more screensavers. This way SliTaz can come with a basic screensaver and won't require a huge xscreensaver download.

I'm in the process of playing around with a version I just compiled, so stay tuned wink

Offline

#2 2011-06-22 19:48:03

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: xscreensaver-lite

Hi Trixar_za

Have you tried slitaz-fbsplash.tazpkg on cooking?

Maybe you could package some themes for this?

Potential boobytrap is it's not activated with a boot code.

When it fails it kills the boot so you can't get in without a rescue OS to turn it off.

For those interested in setting up tazfbsplash:

#tazpkg -gi slitaz-fbsplash

Xfbdev requires vga= line in boot code.

vga chart: http://doc.slitaz.org/en:handbook:livecd

Edit from grub menu: screen=text vga=791 <=this worked on my hardware.

Login as root at console

tazfbsplash on

tazfbsplash test

Tazfbsplash works so I leave it on.

Start slim and permanently add vga=791 to grubs menu.lst,add slim back to RUN_DAEMONS= of /etc/rcS.conf

If you can't get tazfbsplash test to work:

Reboot and try a different VGA=7xx number

If the splash test fails and you give up don't forget:

tazusbsplash off

Otherwise on the next reboot you may get locked out.

If your locked out boot another slitaz to the rescue and make FBSPLASH="no" in /etc/rcS.conf

Don't forget screen=text removes slim:

Add slim back to RUN_DAEMONS= of /etc/rcS.conf

Otherwise slim/Xserver won't auto start on next boot.

tazusbsplash is turned on/off and theme set in /etc/rcS.conf and started by /etc/init.d/rcS

Gui for themes/config: tazfbsplash box

Offline

#3 2011-06-23 20:15:40

merlin
Member
Registered: 2011-04-06
Posts: 81

Re: xscreensaver-lite

I like the idea of trixar_za to have a small and easy to configure screensaver.

Offline

#4 2012-10-17 16:27:51

oddowl
Member
Registered: 2012-10-03
Posts: 10

Re: xscreensaver-lite

guys, can anyone help me understand this one? what does it mean "fbsplash: only 16 bpp is supported"...

[attachment=17322,705]

Offline

#5 2012-10-17 18:48:41

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: xscreensaver-lite

Have you experimented with different framebuffer settings in grub cmdline?

16bpp=16 bit per pixal=>XGA High Color=>65536 Colors

vga=[785,788,791,794,798]

http://doc.slitaz.org/en:handbook:livecd  =>Boot Options=> VGA Chart

Offline

#6 2012-10-17 21:18:40

oddowl
Member
Registered: 2012-10-03
Posts: 10

Re: xscreensaver-lite

not sure, I put the lowest 769 in /boot/grub/menu.lst, but still the same message. what am I doing wrong? my screen resolution is 1024x600 (if it makes any difference)...

[attachment=17336,707]

Offline

#7 2012-10-17 21:26:21

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: xscreensaver-lite

If you've tried vga=785 vga=788 vga=791 vga=794 vga=798 slitaz-fbsplash is not going to work with your hardware.

Offline

#8 2012-10-17 21:29:42

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: xscreensaver-lite

Hi oddowl!

If I understand correctly, fbsplash is for displaying splash image during boot process.

Show me your splash image (attach here exact file).

Offline

#9 2012-10-18 03:30:05

Raphael
Member
Registered: 2011-06-12
Posts: 109

Re: xscreensaver-lite

Hi all

bfsplash is for displaying image ...

http://fbsplash.berlios.de/wiki/doku.php

what is difference with the projet:

bootsplash?

http://www.bootsplash.org/Welcome_to_the_graphical_world_of_Linux

( my english is poor so in a technical website in english, i don't understand all)

Offline

#10 2012-10-18 06:46:57

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: xscreensaver-lite

Oh, I was not right. I have googled this problem and found that you need 16bpp video mode, not 16bpp image. So don't send here any image, image can be any 24bpp jpeg file with correct dimensions.

Maybe vga=ask in the kernel options line helps to see all supported video modes and select one with 16bpp if it exists.

Offline

#11 2012-10-18 11:10:36

oddowl
Member
Registered: 2012-10-03
Posts: 10

Re: xscreensaver-lite

Hey guys, thanks for you responses! I think the image is located in /etc/fbspash/slitaz, I can see it's a plain black 1024x768 2.4MB .ppm image.

Could it be something to do with the /etc/fbsplash/fifo file, not sure what it does, but it seems that /usr/bin/tazfbsplash.sh fails to write to it (line 172: can't create /etc/fbsplash/fifo). Also, when I try to open it with leafpad or beaver it hangs (it opens blanks, but the program won't close, I have to end process manually)...

I must admit I have tried on both a desktop PC and netbook, and had same luck...

Offline

#12 2012-10-18 11:41:08

oddowl
Member
Registered: 2012-10-03
Posts: 10

Re: xscreensaver-lite

OK, here's what I tried - duplicated/renamed "slitaz" theme in /etc/fbsplash, converted 2.4MB .ppm image into 7.4KB .png image, renamed it back into .ppm, activated the theme via # tazfbsplash box, but the output is still same ("only 16 bpp, blah-blah..."). Am I on the rght track at least? Has anyone actually got it to work before?

Offline

#13 2012-10-18 13:01:27

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: xscreensaver-lite

Are you trying to run fbsplash from the terminal within SliTaz?

Offline

#14 2012-10-18 13:36:55

oddowl
Member
Registered: 2012-10-03
Posts: 10

Re: xscreensaver-lite

yes, certainly! and I set different VGA values in /boot/grub/menu.lst (on Slitaz partition) and then run # tazfbsplash test from terminal, is this the right way to do it? My bootloader is BURG though, handled by other OS...

after all, what is the main reason? if I activate fbsplash the system won't boot! is it also because of 16bpp, or something else?

Offline

#15 2012-10-18 14:46:19

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: xscreensaver-lite

Do you see 2 penguins at the top of the screen when slitaz is booting?

If no the frame buffer is not working.

Does BURG chainload to slitaz grub?

If no

BURG is booting slitaz directly and the VGA= settings go in the BURG menu.

[c]tazfbsplash test[/c] in console mode only with frame buffer active by booting screen=text or killing the xserver

Offline

#16 2012-10-18 15:31:44

oddowl
Member
Registered: 2012-10-03
Posts: 10

Re: xscreensaver-lite

No, no tuxes. It just gives a few lines about cache writethrough and then halts. When I turn off tazfbsplash it boots OK. I guess it is chainloaded, because when I put quiet in menu.lst the screen is black during boot (except some udev erros, when I try to automount ntfs partition with fstab, but that's another topic). And yes I did include "screen=text" before running tazfbsplash test.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.56 MiB (Peak: 1.77 MiB) ]