Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gensplash Howto! For love-sources
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
snekiepete
Guru
Guru


Joined: 07 May 2003
Posts: 306
Location: WISCONSIN

PostPosted: Thu Jul 29, 2004 12:13 am    Post subject: Reply with quote

I had the best luck starting the process over after I went through it once. It seemed to catch somewhere that I either missed, or a step that needed to occur before another....at any rate, after going through everything the second time basically from the beginning, except for patching the kernel and rebuilding it, I was able to get a rockin theme goin on.
Back to top
View user's profile Send private message
Blutkind
n00b
n00b


Joined: 11 Apr 2004
Posts: 35

PostPosted: Thu Jul 29, 2004 6:27 pm    Post subject: Reply with quote

Awesome, so it worked for you successfully? Good to hear. Another gensplash user on board.
_________________
ArchLinux 64 Dev | 2.6.14 AMD64
Back to top
View user's profile Send private message
snekiepete
Guru
Guru


Joined: 07 May 2003
Posts: 306
Location: WISCONSIN

PostPosted: Thu Jul 29, 2004 7:40 pm    Post subject: Reply with quote

It is nice to have a bootsplash back
Back to top
View user's profile Send private message
HotBBQ
Apprentice
Apprentice


Joined: 03 Mar 2004
Posts: 275
Location: West Melbourne, FL

PostPosted: Thu Jul 29, 2004 7:41 pm    Post subject: Reply with quote

Having some problems compiling. I have the correct version of gcc installed as well.

Code:
hotbbq splashutils-0.9 # pwd
/usr/src/splashutils/splashutils-0.9


Code:
hotbbq splashutils-0.9 # ls -al
total 42
drwxr-xr-x  4 adam users   17 Jul 29 15:29 .
drwxr-xr-x  3 root root     3 Jul 29 15:29 ..
-rw-r--r--  1 adam users 4446 Jul 19 09:45 Makefile
-rw-r--r--  1 adam users   78 Jul 16 07:35 config.h
drwxr-xr-x  2 adam users    2 Jul 19 08:44 kernel
drwxr-xr-x  6 adam users    6 Jul 19 08:44 libs
lrwxrwxrwx  1 root root    14 Jul 29 15:29 linux -> /usr/src/linux
-rwxr--r--  1 adam users  174 Jul 16 18:04 set.sh
-rw-r--r--  1 adam users 2410 Jul 19 09:45 splash.c
-rw-r--r--  1 adam users 2060 Jul 19 09:45 splash.h
-rw-r--r--  1 adam users 1894 Jul 19 09:45 splash_cmd.c
-rw-r--r--  1 adam users 3375 Jul 19 09:45 splash_common.c
-rw-r--r--  1 adam users  926 Jul 19 09:45 splash_dev.c
-rw-r--r--  1 adam users 2594 Jul 19 09:45 splash_kernel.c
-rw-r--r--  1 adam users 5403 Jul 19 09:45 splash_parse.c
-rw-r--r--  1 adam users 7877 Jul 19 09:45 splash_render.c
-rw-r--r--  1 adam users 5422 Jul 19 09:45 splash_unpack.c


Code:
hotbbq splashutils-0.9 # gcc -v
Reading specs from /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/specs
Configured with: /var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/configure --prefix=/usr --bindir=/usr/i386-pc-linux-gnu/gcc-bin/3.3 --includedir=/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/include --datadir=/usr/share/gcc-data/i386-pc-linux-gnu/3.3 --mandir=/usr/share/gcc-data/i386-pc-linux-gnu/3.3/man --infodir=/usr/share/gcc-data/i386-pc-linux-gnu/3.3/info --enable-shared --host=i386-pc-linux-gnu --target=i386-pc-linux-gnu --with-system-zlib --enable-languages=c,c++ --enable-threads=posix --enable-long-long --disable-checking --disable-libunwind-exceptions --enable-cstdio=stdio --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext --disable-multilib --enable-__cxa_atexit --enable-clocale=generic
Thread model: posix
gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)


Code:
hotbbq splashutils-0.9 # make
  MAKE    klibc
make[1]: *** No rule to make target `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/stdarg.h', needed by `vsnprintf.o'.  Stop.
make: *** [klibc] Error 2

_________________
"If tyranny and oppression come to this land, it will be in the guise of fighting a foreign enemy." -- James Madison
Back to top
View user's profile Send private message
grzewho
l33t
l33t


Joined: 31 Dec 2002
Posts: 626
Location: /home/g

PostPosted: Fri Jul 30, 2004 10:51 am    Post subject: Reply with quote

how about this error ?
Code:

splash_kernel.c: In function `main':
splash_kernel.c:33: error: `FB_SPLASH_IO_ORIG_KERNEL' undeclared (first use in this function)
splash_kernel.c:33: error: (Each undeclared identifier is reported only once
splash_kernel.c:33: error: for each function it appears in.)
splash_kernel.c:72: error: `FB_SPLASH_IO_ORIG_USER' undeclared (first use in this function)
make: *** [kernel/splash_kernel.o] Error 1

_________________
Code:
USE="freedom -software_patents" emerge --deep --update world
Back to top
View user's profile Send private message
snekiepete
Guru
Guru


Joined: 07 May 2003
Posts: 306
Location: WISCONSIN

PostPosted: Fri Jul 30, 2004 1:22 pm    Post subject: Reply with quote

grzewho wrote:
how about this error ?
Code:

splash_kernel.c: In function `main':
splash_kernel.c:33: error: `FB_SPLASH_IO_ORIG_KERNEL' undeclared (first use in this function)
splash_kernel.c:33: error: (Each undeclared identifier is reported only once
splash_kernel.c:33: error: for each function it appears in.)
splash_kernel.c:72: error: `FB_SPLASH_IO_ORIG_USER' undeclared (first use in this function)
make: *** [kernel/splash_kernel.o] Error 1



Are you using splashutils-0.9-pre02? I had this error using that so I used the pre01 package.
Back to top
View user's profile Send private message
Blutkind
n00b
n00b


Joined: 11 Apr 2004
Posts: 35

PostPosted: Fri Jul 30, 2004 3:28 pm    Post subject: Reply with quote

pre01 package is for the old patch pre02 is for the new patch, which you can get here.
http://dev.gentoo.org/~spock/projects/gensplash/fbsplash-0.9-r1-2.6.8-rc1.patch
Note: For love3 you'll have to reverse the older patch and apply this patch for the new fbsplash to work. It may have a failed hunk on love3 but it's an easy fix, you don't need to reverse the patch to fix it either. Just do the following.
[code]
cd /usr/src/linuxyoupatched
nano include/linux/sysctl.h
find this line here "KERN_SCHED_TIMESLICE=66," which should be on line 136.
now add the following line just below it.
KERN_FBSPLASH=66, /* string: path to fbsplash helper */
[code]

That's all you need to do to have that patch applied 100%, good luck with the new fbsplash, it runs fine here. Guide should be 100% the same, You don't need to use ./set.sh anymore and there's no /proc/splash it is all now in the /dev/ environment[/code]
_________________
ArchLinux 64 Dev | 2.6.14 AMD64
Back to top
View user's profile Send private message
gatiba
Guru
Guru


Joined: 01 Sep 2002
Posts: 434

PostPosted: Sun Aug 01, 2004 10:13 am    Post subject: Reply with quote

I can see the bootsplash, but progress bar isn't working :(

Anyone helps?
Back to top
View user's profile Send private message
snekiepete
Guru
Guru


Joined: 07 May 2003
Posts: 306
Location: WISCONSIN

PostPosted: Sun Aug 01, 2004 1:47 pm    Post subject: Reply with quote

gatiba wrote:
I can see the bootsplash, but progress bar isn't working :(

Anyone helps?


I dont think that is supported yet
Back to top
View user's profile Send private message
gatiba
Guru
Guru


Joined: 01 Sep 2002
Posts: 434

PostPosted: Sun Aug 01, 2004 5:42 pm    Post subject: Reply with quote

snekiepete wrote:
gatiba wrote:
I can see the bootsplash, but progress bar isn't working :(

Anyone helps?


I dont think that is supported yet



But what are advantages of gensplash <-> bootsplash?
Back to top
View user's profile Send private message
HotBBQ
Apprentice
Apprentice


Joined: 03 Mar 2004
Posts: 275
Location: West Melbourne, FL

PostPosted: Mon Aug 02, 2004 12:09 am    Post subject: Reply with quote

The first download link for the two files in step five is broken. Is there some place else I can get this file? I'm using love3 sources and have applied your patches and fixes. The make now successfully completes for splashutils, but do I need to recomplie the kernel even if it already has all the options requested?
_________________
"If tyranny and oppression come to this land, it will be in the guise of fighting a foreign enemy." -- James Madison
Back to top
View user's profile Send private message
snekiepete
Guru
Guru


Joined: 07 May 2003
Posts: 306
Location: WISCONSIN

PostPosted: Mon Aug 02, 2004 2:50 am    Post subject: Reply with quote

HotBBQ wrote:
The first download link for the two files in step five is broken. Is there some place else I can get this file? I'm using love3 sources and have applied your patches and fixes. The make now successfully completes for splashutils, but do I need to recomplie the kernel even if it already has all the options requested?


ftp://ftp.kernel.org/pub/linux/libs/klibc/Stable/klibc-0.116.tar.bz2

you might want to get the latest version though so might want to use this one

ftp://ftp.kernel.org/pub/linux/libs/klibc/Stable/klibc-0.152.tar.bz2

no, if your kernel is patched, and you are running that kernel you can start at step 4. keep in mind that with the pre02 version there is no (and no need to) run the ./set.sh command, so if you try it will say that there is no set.sh.


Last edited by snekiepete on Mon Aug 02, 2004 2:55 am; edited 1 time in total
Back to top
View user's profile Send private message
snekiepete
Guru
Guru


Joined: 07 May 2003
Posts: 306
Location: WISCONSIN

PostPosted: Mon Aug 02, 2004 2:52 am    Post subject: Reply with quote

gatiba wrote:
snekiepete wrote:
gatiba wrote:
I can see the bootsplash, but progress bar isn't working :(

Anyone helps?


I dont think that is supported yet



But what are advantages of gensplash <-> bootsplash?


The bootsplash patch seems to be alot pickier to patch to some kernel versions. I think that the dev of fbsplash is just gettting started on this project so hopefully he will do with it what he has done with vesafb-tng......make it rock!!!!!!
Back to top
View user's profile Send private message
HotBBQ
Apprentice
Apprentice


Joined: 03 Mar 2004
Posts: 275
Location: West Melbourne, FL

PostPosted: Mon Aug 02, 2004 6:45 pm    Post subject: Reply with quote

Still having compile problems. Going to try this one more time with the pre01 and love3. The kernel patches are not installing very well for me. When it asks if I want to assume -R, should I say yes?
_________________
"If tyranny and oppression come to this land, it will be in the guise of fighting a foreign enemy." -- James Madison
Back to top
View user's profile Send private message
snekiepete
Guru
Guru


Joined: 07 May 2003
Posts: 306
Location: WISCONSIN

PostPosted: Mon Aug 02, 2004 6:47 pm    Post subject: Reply with quote

You do not have to patch the love-sources kernel....at all. start from step 4
Back to top
View user's profile Send private message
Frodg
l33t
l33t


Joined: 11 Feb 2004
Posts: 761

PostPosted: Mon Aug 02, 2004 9:29 pm    Post subject: Reply with quote

HotBBQ wrote:
Code:
hotbbq splashutils-0.9 # make
  MAKE    klibc
make[1]: *** No rule to make target `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/stdarg.h', needed by `vsnprintf.o'.  Stop.
make: *** [klibc] Error 2


I have this issue

I have the right gcc and everything went smoothly to this point.. So I then installed klibc from the link provided and still no way around this

Tell me where I went wrong....
_________________
Aerosolo ergo sum - I spray therefore I am

Gentoo - Registered Linux User # 361400
Back to top
View user's profile Send private message
HotBBQ
Apprentice
Apprentice


Joined: 03 Mar 2004
Posts: 275
Location: West Melbourne, FL

PostPosted: Tue Aug 03, 2004 1:19 am    Post subject: Reply with quote

snekiepete wrote:
You do not have to patch the love-sources kernel....at all. start from step 4


8O
_________________
"If tyranny and oppression come to this land, it will be in the guise of fighting a foreign enemy." -- James Madison
Back to top
View user's profile Send private message
Frodg
l33t
l33t


Joined: 11 Feb 2004
Posts: 761

PostPosted: Tue Aug 03, 2004 2:13 am    Post subject: Reply with quote

emerging splashutils is the first part of steo 4 isn't it???
Or am I confused :?:
_________________
Aerosolo ergo sum - I spray therefore I am

Gentoo - Registered Linux User # 361400
Back to top
View user's profile Send private message
snekiepete
Guru
Guru


Joined: 07 May 2003
Posts: 306
Location: WISCONSIN

PostPosted: Tue Aug 03, 2004 3:54 am    Post subject: Reply with quote

Frodg wrote:
emerging splashutils is the first part of steo 4 isn't it???
Or am I confused :?:


yes, but not patching the kernel.......
Back to top
View user's profile Send private message
agentwd40
n00b
n00b


Joined: 14 Oct 2002
Posts: 63

PostPosted: Tue Aug 03, 2004 8:46 pm    Post subject: Reply with quote

i got it working but i have to manually start a theme using set.sh

is there a way to display the theme during boot?

and what does the splash=silent line do?

thanks
Back to top
View user's profile Send private message
ck42
l33t
l33t


Joined: 31 Jul 2003
Posts: 789

PostPosted: Thu Aug 05, 2004 2:29 am    Post subject: Reply with quote

Blutkind wrote:
pre01 package is for the old patch pre02 is for the new patch, which you can get here.
http://dev.gentoo.org/~spock/projects/gensplash/fbsplash-0.9-r1-2.6.8-rc1.patch
Note: For love3 you'll have to reverse the older patch and apply this patch for the new fbsplash to work. It may have a failed hunk on love3 but it's an easy fix, you don't need to reverse the patch to fix it either. Just do the following.
[code]
cd /usr/src/linuxyoupatched
nano include/linux/sysctl.h
find this line here "KERN_SCHED_TIMESLICE=66," which should be on line 136.
now add the following line just below it.
KERN_FBSPLASH=66, /* string: path to fbsplash helper */
[code]

That's all you need to do to have that patch applied 100%, good luck with the new fbsplash, it runs fine here. Guide should be 100% the same, You don't need to use ./set.sh anymore and there's no /proc/splash it is all now in the /dev/ environment[/code]


Ok....went through the whole procedure starting at Step 4. Everything compiled fine. But, I don't have a theme when booting.

I *did* make this modification:
cd /usr/src/linuxyoupatched
nano include/linux/sysctl.h
find this line here "KERN_SCHED_TIMESLICE=66," which should be on line 136.
now add the following line just below it.
KERN_FBSPLASH=66, /* string: path to fbsplash helper */

I realize you've said that if you have the love-sources kernel you can start at step 4 but why then did you give instructions for this pseudo patch to the kernel?

Just to be sure, I created an ebuild for the love3 kernel from here:
http://cos.evilforums.com/love/2.6.8-rc2-love3/love-sources-2.6.8_rc2-r3.ebuild

So am I still correct in that I do NOT need to apply any patches?

If so, then any ideas on how to troubleshoot what's happening/not happening?

EDIT:

Found this in the dmesg:

Console: switching to colour frame buffer device 160x64
splash: console 0 using theme 'default'

then, a little ways farther:

splash: unsupported version of the bootsplash protocol (66)
splash: unsupported version of the bootsplash protocol (66)
splash: unsupported version of the bootsplash protocol (66)
splash: unsupported version of the bootsplash protocol (66)
splash: unsupported version of the bootsplash protocol (66)
splash: unsupported version of the bootsplash protocol (66)

Seems to me that there's some bootsplash stuff that's still running that maybe needed to be reversed.
Back to top
View user's profile Send private message
snekiepete
Guru
Guru


Joined: 07 May 2003
Posts: 306
Location: WISCONSIN

PostPosted: Thu Aug 05, 2004 7:03 pm    Post subject: Reply with quote

Because there have been some major changes to this, I have posted a fork here:

https://forums.gentoo.org/viewtopic.php?t=206778&start=0&postdays=0&postorder=asc&highlight=

Changes include an ebuild, different setup options, and a patch for a progressbar.......

Thanks again Blutkind for the great info.
Back to top
View user's profile Send private message
TierMann
n00b
n00b


Joined: 11 Jul 2004
Posts: 12

PostPosted: Wed Aug 18, 2004 7:09 pm    Post subject: Hmm Reply with quote

What do I use to set a splash for the 6 other consoles?

With Bootsplash you'd just run "/etc/init.d/bootsplash start" and they're all set.

Anything like that in fbsplash or splashutils

Update: Found it
Here's a quick script I wrote to toggle all the console's splashes.

Code:

#! /bin/sh
# Syntax: splashit [on|off]
# Defaults to on.

# vConsole = (first console to set)
# vCount   = (last console + 1)
# THEME    = (theme to use)
#===================================
vConsole=1
vCount=6
THEME="default"
#===================================


Arg=$1
if [ "$Arg" = "" ]; then
Arg="on"
fi


if [ $Arg == "off" ]
then
 while [ "$vConsole" -lt "$vCount" ]
  do
   /sbin/splash_util --vc=$vConsole --cmd=off
   vConsole=`expr $vConsole + 1`
  done
else
 while [ "$vConsole" -lt "$vCount" ]
  do
   /sbin/splash_util --vc=$vConsole --theme=$THEME --cmd=setcfg
   /sbin/splash_util --vc=$vConsole --theme=$THEME --cmd=setpic
   /sbin/splash_util --vc=$vConsole --cmd=on
   vConsole=`expr $vConsole + 1`
  done
fi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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