(no subject) |
Canley ProSoft
Guest
|
---------------------------------
Yahoo! DSL Something to write home about. Just $16.99/mo. or less -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060103/8a7e0d30/attachment.html |
|||||||||||
|
(no subject) |
IraqiGeek
Guest
|
Hi all,
I have compiled and installed SDL 1.2.9 without any issues on my LFS 6.1 system (no X) running vanilla 2.6.11.12 and 2.6.15. Both have support for frame buffer devices enabled with VESA and S3 drivers checked, and the kernel is monolithic, so there is no chance that I have forgotten to copy any modules. I just started reading the Programming Linux Games book, and got to the first (SDL hello world) program. The program compiles fine, without any errors or warnings, but when I run it, SDL_GetError returns that I have no available video device. Is there anything else that I need to install? Does libSDL require having X installed on the system to operate? or is it just a something that I didnt configure? PS: everything is running under vmware workstation 5.0. Regards, IraqiGeek www.iraqigeek.com |
|||||||||||
|
(no subject) |
(no subject) |
IraqiGeek
Guest
|
On Friday, January 06, 2006 5:11 PM GMT,
Sam Lantinga <slouken at twomix.devolution.com> wrote:
No fbset available in the system. I will install it, and get back with the output. Any other packages that I need to install? Again, I am using Linux
Regards, IraqiGeek www.iraqigeek.com |
|||||||||||||||||
|
(no subject) |
IraqiGeek
Guest
|
On Friday, January 06, 2006 5:11 PM GMT,
Sam Lantinga <slouken at twomix.devolution.com> wrote:
fbset -i returns the following: open /dev/fb0: No such device Regards, IraqiGeek www.iraqigeek.com |
|||||||||||||||
|
(no subject) |
Ryan C. Gordon
Guest
|
You don't have the framebuffer device node. Run this at root: mknod 29 0 c /dev/fb0 This assumes you aren't using something like devfs or udev and have to make device nodes yourself. Otherwise, it's possible that the kernel drivers didn't find your hardware, etc. Then if it might work, otherwise, let us know if fbset -i gets any further. --ryan. |
|||||||||||||
|
(no subject) |
IraqiGeek
Guest
|
On Friday, January 06, 2006 8:17 PM GMT,
Ryan C. Gordon <icculus at icculus.org> wrote:
The /dev/fbx are there alright, but I think that they were made during the SDL install, since I saw a few mknods scroll down during the installation process. LFS uses udev to create the /dev nodes. The LFS system is running on VMware, which emulates an S3 trio (I think its of the 76x series), and I have otehr vmware machines running RH, DSL, and knoppix without any issues. Once I even installed RH 7.2, and it detected all the hardware without any issues (Ironically, vmware emulates an Intel 440BX chipset, running on an AMD Athlon XP processor). Regards, IraqiGeek www.iraqigeek.com |
|||||||||||||||
|
(no subject) |
Simon Roby
Guest
|
On 1/6/06, IraqiGeek <geek at iraqigeek.com> wrote:
Is the graphical framebuffer running? Since you're running under VMWare I'm guessing text mode looks identical. For example, to use the vesa framebuffer on my system I put the following in my kernel boot parameters in GRUB: video=vesafb:ypan,1024x768-16 -- - SR |
|||||||||||||
|
(no subject) |
Ryan C. Gordon
Guest
|
(Whoops, "No such device" means there's no such device...I just gave you instructions for "No such file or directory" ... looks like your kernel didn't find the hardware, so SDL can't use it. Run "dmesg" and look for errors, I guess.) --ryan. |
|||||||||||||||||
|
(no subject) |
IraqiGeek
Guest
|
On Friday, January 06, 2006 10:01 PM GMT,
Simon Roby <simon.roby at gmail.com> wrote:
I don't know which distro you are using, but according to the (vanilla) kernel documentation, the kernel parameters should look something like this: video=vesafb:"comma separated options" vga="vga mode" where vga mode is a 3 hex digit number, for example: 0x312 for 640x480 at 24bit 0x311 for 640x480 at 16bit 0x315 for 800x600 at 24bit 0x314 for 800x600 at 16bit Now, I can get the resolution to change to 800x600 or 1024x768, but the problem is that the screen would only show rubbish, or nothing at all (whether I choose 15, 16 or 24bit color). If I choose 640x480, the kernel objects on the mode. I have frame buffer support, vesa vga graphics support, and the console display driver support options all compiled in the kernel. Are there any other options/features in the kernel that need to be included??? Regards, IraqiGeek www.iraqigeek.com |
|||||||||||||||||
|
(no subject) |
Mikael Eriksson
Guest
|
On Sun, Jan 08, 2006 at 01:01:48AM -0000, IraqiGeek wrote:
I guess it's the vesafb-tng patch. Available at: http://dev.gentoo.org/~spock/projects/vesafb-tng/ |
|||||||||||||
|
(no subject) |
Sam Lantinga
Guest
|
It looks like you're linking against a version of SDL built with aalib. I'm pretty sure you want to rebuild SDL for your target platform. :) See ya, -Sam Lantinga, Senior Software Engineer, Blizzard Entertainment |
|||||||||||||
|
(no subject) |
Sam Lantinga
Guest
|
Hmm, as long as the rectangles don't overlap, I imagine that it should be fine. Can you put together a test case? -Sam Lantinga, Senior Software Engineer, Blizzard Entertainment |
|||||||||||||||||
|
(no subject) |
Sam Lantinga
Guest
|
There currently isn't any way, though I'm open to suggestions for 1.3 API changes. Bob, do we address this at all in the multi-window code you're working on? -Sam Lantinga, Senior Software Engineer, Blizzard Entertainment |
|||||||||||||||
|
(no subject) |
Bu Bacoo
Guest
|
Yes, I had libsdl built with aalib, both built for target platform (i686
ulibc). I'll try without aalib. On 1/21/06, Sam Lantinga <slouken at twomix.devolution.com> wrote:
An HTML attachment was scrubbed... URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060121/d6398df7/attachment.htm |
|||||||||||||||||
|
(no subject) |
Bu Bacoo
Guest
|
Bingo. no aalib is the answer
Thanks On 1/21/06, Bu Bacoo <bubacoo at gmail.com> wrote:
An HTML attachment was scrubbed... URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060121/6868fd19/attachment.html |
|||||||||||||||||||||
|
(no subject) |
slouken at devolution.com
Guest
|
Whoops, pardon the mails with no subject - I just revamped my mail program
to efficiently handle the 19000+ SDL e-mails I have, and added a teensy little bug. :) -Sam Lantinga, Senior Software Engineer, Blizzard Entertainment |
|||||||||||
|
(no subject) |
Sam Lantinga
Guest
|
Yeah, but now it's fast! :) (thanks!) -Sam Lantinga, Senior Software Engineer, Blizzard Entertainment |
|||||||||||||||||||
|
(no subject) |
Torsten Giebl
Guest
|
Hello !
Will it be online ? CU |
|||||||||||||
|
(no subject) |
Canley ProSoft
Guest
|
---------------------------------
What are the most popular cars? Find out at Yahoo! Autos -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060124/86504f74/attachment.html |
|||||||||||
|