2007-08-14, 22:32
Hey, guys. I'm attempting to get XBMC running on my Feisty box, and I'm running into some difficulties. It compiles fine, but running it is another story.
I'm fairly familiar with Linux in general including a couple of years of experience on embedded platforms in my job. Ubuntu and SDL on the other hand...
First problem, SDL is trying to use the framebuffer. Well, I don't have a fb device available, but it shouldn't be writing directly to the framebuffer anyway, should it?
So, I tell it to use x11 instead.
Hmmm... I've used envy to configure the latest driver for my card (GeForce 6600 LE). Maybe it's running at the wrong bitdepth.
I'm fairly familiar with Linux in general including a couple of years of experience on embedded platforms in my job. Ubuntu and SDL on the other hand...
First problem, SDL is trying to use the framebuffer. Well, I don't have a fb device available, but it shouldn't be writing directly to the framebuffer anyway, should it?
Code:
herg@leela:~/projects/XBMC$ ./XboxMediaCenter
-----------------------------------------------------------------------
Starting XBoxMediaCenter. Built on Aug 14 2007
Q is mapped to: /home/herg/projects/XBMC
The executeable running is: /home/herg/projects/XBMC/XboxMediaCenter
Log File is located: /home/herg/projects/XBMC/xbmc.log
-----------------------------------------------------------------------
lastloaded: 0
Setup SDL
---------------------- DirectFB v0.9.25 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2004 convergence GmbH
-----------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2006-12-20 21:25)
(*) Direct/Memcpy: Using libc 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!
XBAppEx: Unable to initialize SDL: DirectFBCreate: Initialization error!
Running the application...
Segmentation fault (core dumped)
So, I tell it to use x11 instead.
Code:
herg@leela:~/projects/XBMC$ export SDL_VIDEODRIVER=x11
herg@leela:~/projects/XBMC$ ./XboxMediaCenter
-----------------------------------------------------------------------
Starting XBoxMediaCenter. Built on Aug 14 2007
Q is mapped to: /home/herg/projects/XBMC
The executeable running is: /home/herg/projects/XBMC/XboxMediaCenter
Log File is located: /home/herg/projects/XBMC/xbmc.log
-----------------------------------------------------------------------
lastloaded: 0
Setup SDL
XBAppEx: Unable to initialize SDL: No available video device
Running the application...
Segmentation fault (core dumped)
Hmmm... I've used envy to configure the latest driver for my card (GeForce 6600 LE). Maybe it's running at the wrong bitdepth.
Code:
herg@leela:~/projects/XBMC$ cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Wed Jun 13 18:39:30 PDT 2007
***BORING STUFF REMOVED***
Section "Device"
Identifier "nVidia Corporation NV43 [GeForce 6600 LE]"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation NV43 [GeForce 6600 LE]"
Monitor "CPD-L181A"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "720x400" "640x480"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection