SDL, OpenGL and Mesa?
SDL, OpenGL and Mesa?
Hey there!
I've recently decided that I wanted to make Puppy Linux 4 my primary OS of choice (I'm loving it more than any distrobution of Linux out there that I've tried so far) but I also happen to be somewhat of a gamer.
I tried compiling ZSNES 1.42 (the latest version lacks Netplay) and Stella myself from source (after getting the developping .sfs) but Puppy is lacking SDL and OpenGL. I also believe I need Mesa for one particular engine for Doom.
Does anyone know where I can acquire these libraries, and how to install them? I'm still learning Linux and am not too well versed in it.
While we're on the note of graphic libraries, I find XMAME goes slower on Puppyp by far than say, Zenwalk, that may come with something I'm missing. Anyone know what I need for XMAME for it to run at it's fullest? :/ I'm itchin' for some DoDonPachi but the framerate's too slow.
Thanks!
EDIT: I compiled SDL from source. Done like dinner. Just need the rest of the stuff now.
I've recently decided that I wanted to make Puppy Linux 4 my primary OS of choice (I'm loving it more than any distrobution of Linux out there that I've tried so far) but I also happen to be somewhat of a gamer.
I tried compiling ZSNES 1.42 (the latest version lacks Netplay) and Stella myself from source (after getting the developping .sfs) but Puppy is lacking SDL and OpenGL. I also believe I need Mesa for one particular engine for Doom.
Does anyone know where I can acquire these libraries, and how to install them? I'm still learning Linux and am not too well versed in it.
While we're on the note of graphic libraries, I find XMAME goes slower on Puppyp by far than say, Zenwalk, that may come with something I'm missing. Anyone know what I need for XMAME for it to run at it's fullest? :/ I'm itchin' for some DoDonPachi but the framerate's too slow.
Thanks!
EDIT: I compiled SDL from source. Done like dinner. Just need the rest of the stuff now.
I think that if you install xorg_xorg_dri.pet using the package manager this adds opengl. Try finding a slackware package for zsnes. The only one I could find was zsnes1.51.
[color=green]An expert is just a beginner with experience.[/color]
Shamelessly representing [url=http://www.tdem.co.nz]TdeM[/url]!
Shamelessly representing [url=http://www.tdem.co.nz]TdeM[/url]!
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
Yeah, the xorg_xorg_dri package includes OpenGL support and a subset of DRI drivers (you can install the xorg_xorg_full_dri package on top of that if you need the rest, but it's big).
For compiling things, you may find that it complains about missing X related headers. If that happens, try installing this:
ftp://ibiblio.org/pub/linux/distributio ... EV-7.3.pet
For some reason that doesn't appear to have been included in the devx_xxx.sfs file.
For compiling things, you may find that it complains about missing X related headers. If that happens, try installing this:
ftp://ibiblio.org/pub/linux/distributio ... EV-7.3.pet
For some reason that doesn't appear to have been included in the devx_xxx.sfs file.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
Alright. I got the xorg_xorg_dri.pet but I get an error compiling ZSNES still that says GL/gl.h is missing.
No clue what causes that, but I tried building while ignoring all errors (with make -i) and that was the only one it had. Almost there.
I also tried after installing xorg_xorg_full_dri.pet and the xorg_xorg_dri_DEV.pet but still got the same result.
Am I just missing one file? Is it ZSNES' fault?
For everything else though it seems to work, so thanks!
P.S.: ZSNES 1.5x doesn't come with netplay. They removed it.
Code: Select all
In file included from chips/dsp1emu.c:27:
chips/../gblhdr.h:85:20: error: GL/gl.h: No such file or directory
make: *** [chips/dsp1emu.o] Error 1
I also tried after installing xorg_xorg_full_dri.pet and the xorg_xorg_dri_DEV.pet but still got the same result.
Am I just missing one file? Is it ZSNES' fault?
For everything else though it seems to work, so thanks!
P.S.: ZSNES 1.5x doesn't come with netplay. They removed it.
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Have you tried ?
http://www.murga-linux.com/puppy/viewtopic.php?p=249335
http://www.murga-linux.com/puppy/viewtopic.php?t=22589
http://www.murga-linux.com/puppy/viewtopic.php?t=14223
http://www.murga-linux.com/puppy/viewto ... 002ad081f1
ttuuxxx
http://www.murga-linux.com/puppy/viewtopic.php?p=249335
http://www.murga-linux.com/puppy/viewtopic.php?t=22589
http://www.murga-linux.com/puppy/viewtopic.php?t=14223
http://www.murga-linux.com/puppy/viewto ... 002ad081f1
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
Does /usr/X11R7/include/GL/gl.h exist? If so, you have the file and you just need to tweak things so that the compiler sees it. Try running ./configure --help to see if it lets you specify more include directories. If it does, have it include /usr/X11R7/include and /usr/X11R7/include/GL.
Alternatively, you could try adding the includes to your $CFLAGS variable before running the ./configure script:
I haven't tried that, but I think it should work.
Alternatively, you could try adding the includes to your $CFLAGS variable before running the ./configure script:
Code: Select all
export CFLAGS="$CFLAGS -I/usr/X11R7/include -I/usr/X11R7/include/GL"
./configure
make
make install
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Here's a pet package with it GL.hPizzasgood wrote:Does /usr/X11R7/include/GL/gl.h exist? If so, you have the file and you just need to tweak things so that the compiler sees it. Try running ./configure --help to see if it lets you specify more include directories. If it does, have it include /usr/X11R7/include and /usr/X11R7/include/GL.
Alternatively, you could try adding the includes to your $CFLAGS variable before running the ./configure script:I haven't tried that, but I think it should work.Code: Select all
export CFLAGS="$CFLAGS -I/usr/X11R7/include -I/usr/X11R7/include/GL" ./configure make make install
- Attachments
-
- GLh.pet
- (15.17 KiB) Downloaded 670 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
For my old Panasonic Toughbook CF-27 I tried "xorg_xorg_dri-7.3-1" which I believe is the basic "xorg_xorg" and SuperTux was not satisfied - it demanded a working openGL so I am about to try to load "xorg_xorg_full_dri-7.3" on top of it in hopes of getting all of the openGL I need.
It is "Checking Dependencies" right now and has been so for several minutes - my CF-27 may be unable to handle the larger package.
OK, well, this latest PET has broken xorg on my CF-27. I am now in a xorgwizard loop where it tells me to run xorgwizard then xwin - orgwizard runs then drops to # and when I try wwin it tells me to run xorgwizard.
Guess I will have to boot from CD "puppy pfix=ram" -- but then how do I fix the mess? Use Package Manager to uninstall xorg_xorg_full_dri-7.3?
Sure wish there was a far more efficient way to get the minimum needed dependencies for SuperTux loaded onto this limited-resources laptop without the massive extraneous overhead of Barrage (for SDL) and now this PET (for openGL).
It is "Checking Dependencies" right now and has been so for several minutes - my CF-27 may be unable to handle the larger package.
OK, well, this latest PET has broken xorg on my CF-27. I am now in a xorgwizard loop where it tells me to run xorgwizard then xwin - orgwizard runs then drops to # and when I try wwin it tells me to run xorgwizard.
Guess I will have to boot from CD "puppy pfix=ram" -- but then how do I fix the mess? Use Package Manager to uninstall xorg_xorg_full_dri-7.3?
Sure wish there was a far more efficient way to get the minimum needed dependencies for SuperTux loaded onto this limited-resources laptop without the massive extraneous overhead of Barrage (for SDL) and now this PET (for openGL).
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
Barrage? There are certainly more efficient ways of getting SDL.(Although Barrage can be quite fun!) Try getting this package http://tdem.net63.net/linux/files/libSDL_full.pet . Only 335 kb!edoc wrote:Sure wish there was a far more efficient way to get the minimum needed dependencies for SuperTux loaded onto this limited-resources laptop without the massive extraneous overhead of Barrage (for SDL) and now this PET (for openGL).
[color=green]An expert is just a beginner with experience.[/color]
Shamelessly representing [url=http://www.tdem.co.nz]TdeM[/url]!
Shamelessly representing [url=http://www.tdem.co.nz]TdeM[/url]!
Thanks!
I have downloaded that and will give it a try tomorrow - after I purge my old CF-27 of a whole lot of debris!
I have downloaded that and will give it a try tomorrow - after I purge my old CF-27 of a whole lot of debris!
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
Loaded GLh.pet and libSDL_full.pet then SuperTux.
Same as before, SuperTux loads but "openGL not supported".
NOTE1: It appears that loading libSDL.pet before GLh.pet does not work, SuperTux would not open - I had to reload libSDL_full.pet then reload SuperTux after GLh.pet Is that predictable behavior?
NOTE2: I have my-documents symlinked to workaround the size limitation of pup_save.2fs - it is still on the same sda1 partition - the CF-27 only has a 3.32GB HDD.
Same as before, SuperTux loads but "openGL not supported".
NOTE1: It appears that loading libSDL.pet before GLh.pet does not work, SuperTux would not open - I had to reload libSDL_full.pet then reload SuperTux after GLh.pet Is that predictable behavior?
NOTE2: I have my-documents symlinked to workaround the size limitation of pup_save.2fs - it is still on the same sda1 partition - the CF-27 only has a 3.32GB HDD.
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
Well if opengl doesn't work, and your trying to keep things small anyway, try opening rxvt and typing
Hopefully it will work and you won't have to worry about opengl alltogether!
Code: Select all
supertux --sdl
[color=green]An expert is just a beginner with experience.[/color]
Shamelessly representing [url=http://www.tdem.co.nz]TdeM[/url]!
Shamelessly representing [url=http://www.tdem.co.nz]TdeM[/url]!
I get:
Datadir: /usr/bin/../share/supertux
Warning: No joysticks are available.
Error: Couldn't load musicfile
/usr/bin/../share/supertux/music/SALCON.MOD
Datadir: /usr/bin/../share/supertux
Warning: No joysticks are available.
Error: Couldn't load musicfile
/usr/bin/../share/supertux/music/SALCON.MOD
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
-
- Posts: 97
- Joined: Tue 09 Dec 2008, 06:10
- Location: USA (Springfield, Vermont)
-
- Posts: 97
- Joined: Tue 09 Dec 2008, 06:10
- Location: USA (Springfield, Vermont)
I was not aware that this was hardware-specific.
So what I need to do is to identify the sound and video hardware in the laptop and then try to find a .PET that has been optimized for that hardware?
So what I need to do is to identify the sound and video hardware in the laptop and then try to find a .PET that has been optimized for that hardware?
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603