View previous topic :: View next topic |
Author |
Message |
Lucho[FLCL] Apprentice
Joined: 02 Dec 2003 Posts: 245 Location: Buenos Aires - Argentina
|
Posted: Thu Jun 17, 2004 2:36 am Post subject: 2.6.7 and svgalib (module svgalib_helper)[SOLVED] |
|
|
I like to use svgalib as output to mplayer (it's fast)....Under 2.6.4-ck2 I could use it by loading the module svgalib_helper.
Now that I compiled Vanilla 2.6.7, I can't find svgalib_helper.ko (it was obviously not compiled as module), mplayer -vo svga doesn't work (so it isn't inside the kernel)...and I can't find it's source inside the sourcetree....is it anywhere to be found in 2.6.7???
Mosprobe obviously doesn't work:
Code: | lucho-gentoo kernel # modprobe svgalib_helper
FATAL: Module svgalib_helper not found.
|
Last edited by Lucho[FLCL] on Sun Jul 11, 2004 3:05 pm; edited 1 time in total |
|
Back to top |
|
|
Jazz Guru
Joined: 16 Nov 2003 Posts: 543 Location: Melbourne, Australia
|
Posted: Thu Jun 17, 2004 6:45 am Post subject: |
|
|
Damn i was lookin for that one too.. i wanted to try that out for video output in framebuffer without X,. i got the vesafb hack with which i get 85Hz in framebuffer mode, ideal for playing videos..
But i cant get the svga module.. i use 2.6.7-rc3-love2 any ideas ?
BYe,
Jazz _________________ In 2010, M$ Windows will be a quantum processing emulation layer for a 128-bit mod of a 64-bit hack of a 32-bit patch to a 16-bit GUI for an 8-bit operating system written for a 4-bit processor from a 2-bit company that can't stand 1 bit of competition. |
|
Back to top |
|
|
Lucho[FLCL] Apprentice
Joined: 02 Dec 2003 Posts: 245 Location: Buenos Aires - Argentina
|
Posted: Sun Jun 20, 2004 3:59 am Post subject: |
|
|
Bump... |
|
Back to top |
|
|
Lepaca Kliffoth l33t
Joined: 28 Apr 2004 Posts: 737 Location: Florence, Italy
|
Posted: Sun Jun 20, 2004 6:48 am Post subject: |
|
|
Hey guys the svga_helper isn't part of the kernel... why would the kernel guys maintain something like that... well however the module spurce is in the svgalib source tree, so just re-emerge the library or go see if there's a separate archive for the module sources on the svgalib site. _________________ It isn't enough to win - everyone else must lose, and you also have to rub it in their face (maybe chop off an arm too for good measure).
Animebox! |
|
Back to top |
|
|
Jazz Guru
Joined: 16 Nov 2003 Posts: 543 Location: Melbourne, Australia
|
Posted: Sun Jun 20, 2004 8:44 am Post subject: |
|
|
Lepaca Kliffoth wrote: | Hey guys the svga_helper isn't part of the kernel... why would the kernel guys maintain something like that... well however the module spurce is in the svgalib source tree, so just re-emerge the library or go see if there's a separate archive for the module sources on the svgalib site. |
Re emerge what library ? _________________ In 2010, M$ Windows will be a quantum processing emulation layer for a 128-bit mod of a 64-bit hack of a 32-bit patch to a 16-bit GUI for an 8-bit operating system written for a 4-bit processor from a 2-bit company that can't stand 1 bit of competition. |
|
Back to top |
|
|
silverter Guru
Joined: 10 Apr 2002 Posts: 491 Location: Ulm, DE
|
Posted: Sun Jun 20, 2004 10:22 am Post subject: |
|
|
Jazz wrote: | Lepaca Kliffoth wrote: | Hey guys the svga_helper isn't part of the kernel... why would the kernel guys maintain something like that... well however the module spurce is in the svgalib source tree, so just re-emerge the library or go see if there's a separate archive for the module sources on the svgalib site. |
Re emerge what library ? |
media-libs/svgalib-1.9.18-r1 I guess ! _________________ -- A Guru was once a Beginner -- |
|
Back to top |
|
|
Lepaca Kliffoth l33t
Joined: 28 Apr 2004 Posts: 737 Location: Florence, Italy
|
Posted: Mon Jun 21, 2004 8:07 am Post subject: |
|
|
Sorry guys I was so NOT precise. The library is svgalib, just do emerge svgalib and it should work. I also realized it was quite stupid to say "why would the kernel guys maintain something like that". When I'm in a rush lots of crap flies out of my mouth heh. However it sucks to re-emerge the whole library every time you change your kernel, they really should put the module in a separate package (maybe it isn't possible?). Cha! _________________ It isn't enough to win - everyone else must lose, and you also have to rub it in their face (maybe chop off an arm too for good measure).
Animebox! |
|
Back to top |
|
|
Jazz Guru
Joined: 16 Nov 2003 Posts: 543 Location: Melbourne, Australia
|
Posted: Mon Jun 21, 2004 8:47 am Post subject: |
|
|
Ok i emerged everything needed, and i tried modprobing it but the error i get is
Code: | FATAL: Error inserting svgalib_helper (/lib/modules/2.6.7-rc3-love2/kernel/misc/svgalib_helper.ko): Invalid module format |
Anyone know why ?
Bye,
Jazz _________________ In 2010, M$ Windows will be a quantum processing emulation layer for a 128-bit mod of a 64-bit hack of a 32-bit patch to a 16-bit GUI for an 8-bit operating system written for a 4-bit processor from a 2-bit company that can't stand 1 bit of competition. |
|
Back to top |
|
|
Lucho[FLCL] Apprentice
Joined: 02 Dec 2003 Posts: 245 Location: Buenos Aires - Argentina
|
Posted: Tue Jun 22, 2004 8:33 pm Post subject: |
|
|
Reemerging svgalib doesn't work.
The reason is: while emerging, portage checks the /usr/src/linux symlink, because it needs /usr/src/linux/misc(I think)/autoconf.h. And this .h doesn't exist in 2.6.7 (even that directory that I named "misc" doesn't exist). That is the base reason of our problem... |
|
Back to top |
|
|
Lucho[FLCL] Apprentice
Joined: 02 Dec 2003 Posts: 245 Location: Buenos Aires - Argentina
|
Posted: Wed Jun 23, 2004 2:57 pm Post subject: |
|
|
Bump + I've seen 4 threads concerning the same problem in the past 2 days...I think we should ask the svgalib people directly... |
|
Back to top |
|
|
Lucho[FLCL] Apprentice
Joined: 02 Dec 2003 Posts: 245 Location: Buenos Aires - Argentina
|
|
Back to top |
|
|
z35 n00b
Joined: 06 Jun 2003 Posts: 70 Location: USA -- NY
|
Posted: Sun Jun 27, 2004 6:57 am Post subject: X( why do things seem... |
|
|
... to not work when they would like to be used? _________________ This is life? |
|
Back to top |
|
|
nick_downing n00b
Joined: 17 Oct 2003 Posts: 28 Location: Melbourne, Australia
|
Posted: Sun Jun 27, 2004 5:29 pm Post subject: |
|
|
A related question, can anyone help?
In my gmplayer "properties" menu, I only have the following 4 drivers available:
xv / x11 / dfbmga / xvidix
Is svgalib supposed to appear here? I have "svga" in my USE flags, and I've re-emerged mplayer since then. I have svgalib on my system, though I didn't request it, so I guess it's been installed as a dependency of something, maybe mplayer? I can insmod svgalib_helper without problems, but I'm using a 2.6.6 kernel, so it looks as if I might encounter the problems described above??
cheers,
Nick |
|
Back to top |
|
|
Lucho[FLCL] Apprentice
Joined: 02 Dec 2003 Posts: 245 Location: Buenos Aires - Argentina
|
Posted: Sun Jul 04, 2004 11:43 pm Post subject: |
|
|
Bump
still no clue... |
|
Back to top |
|
|
Drexlor n00b
Joined: 03 Jul 2004 Posts: 19 Location: San Luis Obispo, CA
|
Posted: Wed Jul 07, 2004 2:36 am Post subject: |
|
|
if you look here: http://www.arava.co.il/matan/svgalib/ there is source for a version that works with 2.6.*
I dont know how to use the source, if anyone does, can you help? this will probably solve our problem. |
|
Back to top |
|
|
Drexlor n00b
Joined: 03 Jul 2004 Posts: 19 Location: San Luis Obispo, CA
|
Posted: Wed Jul 07, 2004 4:36 am Post subject: |
|
|
Well, ive been tinkering around, and havent accomplished much:
Heres the README:
Quote: | This is an _alpha_ release. Don't use it if you are not interested in
svgalib development.
Program using svgalib 1.9.0 or later don't need root provoleges (suid
root). They do need access to /dev/svga, which is a char device
with major 209 and minor 0.
The module svgalib_helper need also be inserted.
To make the devices, and the module (kernel 2.2 or newer), change to directory
kernel/svgalib_helper, and type make install.
|
So i went to the svgalib_helper directory:
Quote: | # ls
Makefile displaystart.c i810.c interrupt.c kernel26compat.h svgalib_helper.h
Makefile.alt displaystart.h i810.h interrupt.h main.c virtual.c
|
And did make install:
Quote: |
# make install
rm -f /dev/svga /dev/svga?
mknod -m 666 /dev/svga c 209 0
mknod -m 666 /dev/svga1 c 209 1
mknod -m 666 /dev/svga2 c 209 2
mknod -m 666 /dev/svga3 c 209 3
mknod -m 666 /dev/svga4 c 209 4
mkdir -p /lib/modules/2.6.7/kernel/misc
install -m 0644 -c svgalib_helper.o /lib/modules/2.6.7/kernel/misc || install -m 0644 -c svgalib_helper.ko /lib/modules/2.6.7/kernel/misc
install: cannot stat `svgalib_helper.o': No such file or directory
install: cannot stat `svgalib_helper.ko': No such file or directory
make: *** [modules_install] Error 1
|
Without the install, and just a normal make, i get this:
Quote: |
# make
make -C /lib/modules/2.6.7/build SUBDIRS=/home/ncross/downloads/svga/svgalib-1.9.19/kernel/svgalib_helper modules
make: *** /lib/modules/2.6.7/build: No such file or directory. Stop.
make: *** [default] Error 2
|
does that help anyone?
[edit]
The error above with the build so such file or directory is what happens when i do the normal emerge svgalib. |
|
Back to top |
|
|
Lucho[FLCL] Apprentice
Joined: 02 Dec 2003 Posts: 245 Location: Buenos Aires - Argentina
|
Posted: Wed Jul 07, 2004 4:01 pm Post subject: |
|
|
Drexlor wrote: | if you look here: http://www.arava.co.il/matan/svgalib/ there is source for a version that works with 2.6.*
I dont know how to use the source, if anyone does, can you help? this will probably solve our problem. |
The versions in portage work fine with 2.6.4, but not with 2.6.5 onwards...it's not a problem with 2.6.*.
And the problem, as I have already said, is because there is a missing directory in the kernel sources in, for example, 2.6.7. |
|
Back to top |
|
|
Drexlor n00b
Joined: 03 Jul 2004 Posts: 19 Location: San Luis Obispo, CA
|
Posted: Wed Jul 07, 2004 7:19 pm Post subject: |
|
|
yeah, i understand that, but this is from the description on the site:
Quote: |
1.9.19 - again, mainly fixes to the build system. The kernel now works with kernel 2.6, and will hopefully build out of the box on any distribution/kernel. Please report any build failures. New ati and nVidia chipsets should work. Digital output of those (DVI, or internal notebook) still not supported. |
If you look at the emerge version, its only 1.9.18, so if the fixes were in the builds, I'm eager to try it, did you change your kernel? or are you sticking it out? |
|
Back to top |
|
|
Lucho[FLCL] Apprentice
Joined: 02 Dec 2003 Posts: 245 Location: Buenos Aires - Argentina
|
Posted: Sat Jul 10, 2004 7:26 pm Post subject: |
|
|
I'll try with 1.9.19. If it doesn't work, I'll file a bug. |
|
Back to top |
|
|
Lucho[FLCL] Apprentice
Joined: 02 Dec 2003 Posts: 245 Location: Buenos Aires - Argentina
|
Posted: Sat Jul 10, 2004 7:45 pm Post subject: |
|
|
Lucho[FLCL] wrote: | I'll try with 1.9.19. If it doesn't work, I'll file a bug. |
It didn't work. The emerge finishes, but the kernel module isn't built
HEEEEEEEEEEEEEEEEEEELLPPPP |
|
Back to top |
|
|
teilo Apprentice
Joined: 20 Jun 2003 Posts: 276 Location: Minneapolis, MN
|
Posted: Sat Jul 10, 2004 8:47 pm Post subject: |
|
|
autoconf.h is created when you do a make in your linux src tree, and it is definitely still a part of the 2.6 series, including 2.6.7, which I am running now.
A version of it is installed in /usr/include/linux when you merge a masked 2.6.x version of linux-headers. However, there is some wierdness that happens when you merge a 2.6 series linux-headers. You need to do it twice. For whatever reason, certain header files will be missing unless you merge linux-headers a second time.
I ran into this problem when I built xorg-x11, which also requires autoconf.h. _________________ Teilo who is called Teilo |
|
Back to top |
|
|
Lucho[FLCL] Apprentice
Joined: 02 Dec 2003 Posts: 245 Location: Buenos Aires - Argentina
|
Posted: Sun Jul 11, 2004 4:24 am Post subject: |
|
|
teilo wrote: | autoconf.h is created when you do a make in your linux src tree, and it is definitely still a part of the 2.6 series, including 2.6.7, which I am running now.
A version of it is installed in /usr/include/linux when you merge a masked 2.6.x version of linux-headers. However, there is some wierdness that happens when you merge a 2.6 series linux-headers. You need to do it twice. For whatever reason, certain header files will be missing unless you merge linux-headers a second time.
I ran into this problem when I built xorg-x11, which also requires autoconf.h. |
Priceless help!!! I'll post feedback... |
|
Back to top |
|
|
Lucho[FLCL] Apprentice
Joined: 02 Dec 2003 Posts: 245 Location: Buenos Aires - Argentina
|
Posted: Sun Jul 11, 2004 3:07 pm Post subject: |
|
|
Well, it worked
When I compiled the kernel, I deleted the sources to save space. When I saw that svgalib required the kernel sources, I re-downloaded it, and that's the reason why autoconf.h didn't exist.
I "make"'d the kernel again, and then "emerge svgalib" worked as it was supposed to.
Thank you very much to all the people who tried to help me, and specially to teilo!!!! |
|
Back to top |
|
|
SmartUser n00b
Joined: 04 May 2004 Posts: 56 Location: Mexico DF
|
Posted: Mon Jul 19, 2004 3:07 pm Post subject: The Same |
|
|
Hey there.....
Glad you found the solution, cuz im having the same problem emerging kde, but i cant understand it...
You say "emerge the linux headers twice", and as a BIG begginer, i dont know what does that mean.....
Can any1 tell me what to do...and what does that mean ??...
THX a lot _________________ "There is no -Dark Side Of The Moon- really, matter of fact is all Dark"....
"Our OS who art in CPU, UNIX be thy name. Thy programs run, thy syscalls done, In kernel as it is in user!"
emerge --usepkg me |
|
Back to top |
|
|
Lucho[FLCL] Apprentice
Joined: 02 Dec 2003 Posts: 245 Location: Buenos Aires - Argentina
|
Posted: Tue Jul 20, 2004 2:51 pm Post subject: Re: The Same |
|
|
SmartUser wrote: | Hey there.....
Glad you found the solution, cuz im having the same problem emerging kde, but i cant understand it...
You say "emerge the linux headers twice", and as a BIG begginer, i dont know what does that mean.....
Can any1 tell me what to do...and what does that mean ??...
THX a lot |
He meant to re-download (or emerge again) the kernel sources that you are using, and type "make" while being in it's directory.
kde is asking for the kernel sources??? Are you sure??? I don't think so.. |
|
Back to top |
|
|
|