Hello. I try to run SDL with S3 Savage framebuffer.
No luck (Unable to initialize SDL: No available video device). SDL is
compiled fith fbdev support (at least I hope so, I’ve tried emerge libsdl
with fbcon USE flag (gentoo) and also manual library compilation with
–enable-video-fbcon.
Frame buffer is running (/dev/fb exists, permissions ok, /proc/fb has device
name - I tried Savage FB and also Vesa FB).
Any ideas what to try/ what to do?
Btw. mplayer is running (-vo fbdev and fbdev2 also)
Thanks
Bu
Hello. I try to run SDL with S3 Savage framebuffer.
No luck (Unable to initialize SDL: No available video device). SDL is
compiled fith fbdev support (at least I hope so, I’ve tried emerge libsdl
with fbcon USE flag (gentoo) and also manual library compilation with
–enable-video-fbcon.
Frame buffer is running (/dev/fb exists, permissions ok, /proc/fb has device
name - I tried Savage FB and also Vesa FB).
Any ideas what to try/ what to do?
Try running as root. The usual problem is permissions on the mouse and
keyboard devices. Also make sure you’re using SDL 1.2.10, there were a
bunch of fbcon fixes.
-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment
I tried 1.2.10 with --enable-video-fbcon and still the same problem. Running
under root. mplayer -vo fbdev2 works. with vesa framebuffer (not the default
one - s3savage), even mplayer -vo fbdev works. (/dev/fb0 has 777)
SDL never
I always get Unable to initialize SDL: No available video
device
I’ve tried to set SDL_VIDEODRIVER=fbcon or fbdev → nothing changes
I’m trying it with test/testvidinfo - which works under X for me.
Any idea please?On 5/24/06, Sam Lantinga wrote:
Hello. I try to run SDL with S3 Savage framebuffer.
No luck (Unable to initialize SDL: No available video device). SDL is
compiled fith fbdev support (at least I hope so, I’ve tried emerge
libsdl
with fbcon USE flag (gentoo) and also manual library compilation with
–enable-video-fbcon.
Frame buffer is running (/dev/fb exists, permissions ok, /proc/fb has
device
name - I tried Savage FB and also Vesa FB).
Any ideas what to try/ what to do?
Try running as root. The usual problem is permissions on the mouse and
keyboard devices. Also make sure you’re using SDL 1.2.10, there were a
bunch of fbcon fixes.
-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
Bu Bacoo wrote:
I tried 1.2.10 with --enable-video-fbcon and still the same problem.
Running
under root. mplayer -vo fbdev2 works. with vesa framebuffer (not the
default
one - s3savage), even mplayer -vo fbdev works. (/dev/fb0 has 777)
SDL never
I always get Unable to initialize SDL: No available video
device
I’ve tried to set SDL_VIDEODRIVER=fbcon or fbdev → nothing changes
I’m trying it with test/testvidinfo - which works under X for me.
Any idea please?
do a run under strace and try to see what happening…
$>strace ./testvidinfo 2>delme
$>less delme
When you resolve this problem I bet that your next problem will be
that savagefb doesn’t sync with your monitor properly.
.bill
strace -o delme ./testvidinfo
-mike
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060525/30db6e1c/attachment.pgpOn Wednesday 24 May 2006 07:46, Vassilis Virvilis wrote:
do a run under strace and try to see what happening…
$>strace ./testvidinfo 2>delme