frame buffer device
- From: conrad <conrad@xxxxxxxxxx>
- Date: Tue, 25 Dec 2007 07:30:52 -0800 (PST)
I'm using SDL under ubuntu gusty
and when running my program, the
following occurs:
"(*) DirectFB/Core: Single Application Core. (2007-08-07 19:21)
(*) Direct/Memcpy: Using MMXEXT optimized memcpy()
(!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed
--> No such file or directory
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment
variable.
(!) DirectFB/Core: Could not initialize 'system' core!
--> Initialization error!
Segmentation fault (core dumped)
"
It's trying to access the framebuffer but unable
to obviously. How can I set about to enable it?
And wouldn't that remedy the problem?
Analyzing the core file:
"Program terminated with signal 11, Segmentation fault.
#0 0xb7f13679 in TTF_SetFontStyle () from /usr/lib/libSDL_ttf-2.0.so.
0
(gdb) bt
#0 0xb7f13679 in TTF_SetFontStyle () from /usr/lib/libSDL_ttf-2.0.so.
0
#1 0x0804be70 in SDLGUI::SetFont ()
#2 0x08049fec in main ()
(gdb) frame 0
#0 0xb7f13679 in TTF_SetFontStyle () from /usr/lib/libSDL_ttf-2.0.so.
0
(gdb) p
The history is empty.
(gdb) info frame
Stack level 0, frame at 0xbf85ba30:
eip = 0xb7f13679 in TTF_SetFontStyle; saved eip 0x804be70
called by frame at 0xbf85ba50
Arglist at 0xbf85ba28, args:
Locals at 0xbf85ba28, Previous frame's sp is 0xbf85ba30
Saved registers:
ebp at 0xbf85ba28, eip at 0xbf85ba2c
(gdb) l
1 init.c: No such file or directory.
in init.c
(gdb)
"
Any help greatly appreciated!
--
conrad
.
- Prev by Date: Re: check if memory is accessible
- Next by Date: Re: Please simply answer this question and don't second guess my reason for asking it
- Previous by thread: Re: check if memory is accessible
- Next by thread: window initial position
- Index(es):
Relevant Pages
|