OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Framebuffer Sdl
matthis
post Mar 17 2008, 10:57 PM
Post #1





Group: Members
Posts: 218
Joined: 12-February 06
From: Tokyo
Member No.: 9,124



Hi,

Recently I thought I'd like to have sdl apps running directly on the framebuffer to save memory being used by qt.
I compiled latest libsdl using --enable-fbcon, compiled at test program with that lib, and launched it in console mode in my sharp rom. (console mode can be accessed by modifying /root/etc/rc.d/rc.rofilesys: on the last line, replace "$LAUNCH" by "a").

So, logged in as root, I tried to launch my test program, but get the following error:
"Couldn't set a 640x480 video mode: No video mode large enough for 640x480"

Questions:
- is it a reasonable idea to have sdl in framebuffer?
- how to resolve the error?


Thanks for any help!
Go to the top of the page
 
+Quote Post
Capn_Fish
post Mar 18 2008, 06:09 AM
Post #2





Group: Members
Posts: 2,350
Joined: 30-July 06
Member No.: 10,575



SDL apps don't play nicely with the Z's framebuffer. You're getting that error because the Zaurus' LCD is 480x640, just everything is rotated when you use it normally.

I guess there must be a hack-around to make it work, as there was an SDL package with psx4zaurus that worked normally in the framebuffer, but I don't know what it is or how well it works with other SDL apps.

HTH
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th October 2014 - 02:23 AM