XBMC Community Forum  

Go Back   XBMC Community Forum > Help and Support > XBMC General Help and Support > XBMC for Linux and XBMC Live Specific Support

XBMC for Linux and XBMC Live Specific Support Need help with XBMC for Linux or XBMC Live, or think you've found a bug? Discuss it here.

Reply
 
Thread Tools Search this Thread Display Modes
Old 2007-08-14, 23:32   #1
herg
Member
 
Join Date: Dec 2004
Location: Virginia USA
Posts: 94
herg is on a distinguished road
Default SDL difficulties

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?
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
herg is offline   Reply With Quote
Old 2007-08-14, 23:45   #2
herg
Member
 
Join Date: Dec 2004
Location: Virginia USA
Posts: 94
herg is on a distinguished road
Default

Just a quick update. I built XBMC with --disable-gl, and while it still doesn't work with my video card, I can direct it to a VNC display. I do not see text, but I do get the home screen with images and such.

Pretty much confirms that it is a video card configuration problem.
herg is offline   Reply With Quote
Old 2007-08-15, 00:39   #3
althekiller
Team-XBMC Developer
 
althekiller's Avatar
 
Join Date: May 2004
Posts: 4,056
althekiller is on a distinguished road
Default

What version of the nvidia drivers are you using?
Post the output of glxinfo.
althekiller is offline   Reply With Quote
Old 2007-08-15, 01:51   #4
herg
Member
 
Join Date: Dec 2004
Location: Virginia USA
Posts: 94
herg is on a distinguished road
Default

Thanks for the response, but I dragged the box into the living room and hooked it up to the Plasma, and it is working fine now. I guess the crappy LCD I have in the office was not playing well.

I still have no text, but that seems like a much more manageable problem.
herg is offline   Reply With Quote
Old 2007-08-15, 02:17   #5
untg99
Junior Member
 
Join Date: Aug 2007
Posts: 26
untg99 is on a distinguished road
Default

If that's the text you see on the screen when the GUI appears, I have the same problem, look for an error about fonts in the terminal screen and you should be able to find the problem.

I've had this problem with three separate installs.
Probably because I'm using these instructions
http://www.xboxmediacenter.com/wiki/...om_source_code
and not using build.sh or the T3... script....not sure but copying the font over does work for me.
untg99 is offline   Reply With Quote
Old 2007-08-15, 12:10   #6
althekiller
Team-XBMC Developer
 
althekiller's Avatar
 
Join Date: May 2004
Posts: 4,056
althekiller is on a distinguished road
Default

Use the damned build script!
althekiller is offline   Reply With Quote
Old 2007-08-15, 14:56   #7
herg
Member
 
Join Date: Dec 2004
Location: Virginia USA
Posts: 94
herg is on a distinguished road
Default

I did. The problem was that I wasn't running out of the BUILD directory.

I only had a few minutes before I went to a friend's house, but I did try a quick video. A 720p x264 mkv at 70% CPU on a 2.6 GHz Celeron. Very nice.

I've wanted to build a HTPC for a while now, but couldn't find any software I liked nearly as well as XBMC. I guess it's time to buy a cheap sound card with digital out and figure out where I can help.
herg is offline   Reply With Quote
Old 2007-08-15, 14:58   #8
spiff
Grumpy Bastard Developer
 
spiff's Avatar
 
Join Date: Nov 2003
Posts: 7,715
spiff is on a distinguished road
Default

you can start by getting digital out going
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
spiff is offline   Reply With Quote
Old 2007-08-15, 17:09   #9
erlis
Junior Member
 
Join Date: Aug 2007
Posts: 3
erlis is on a distinguished road
Default

I'm trying to get xbmc-linux to work in VMware Fusion (on my power book).

VMware Fusion does not support openGL rendering (only DirectX 8.2) so running xbmc with enabled 3d support is extreamly slow..

When I compile xbmc without 3d support the fonts are not rendered at the correct positions, this is my log from xbmc without 3d support http://pastebin.com/m4e3fe86c . Have I made something wrong or is the 2d version broken?

(Running latest svn version 9952)
erlis is offline   Reply With Quote
Old 2007-08-15, 18:18   #10
Gamester17
Team-XBMC Project Manager
 
Gamester17's Avatar
 
Join Date: Sep 2003
Location: Sweden
Posts: 10,582
Gamester17 will become famous soon enough
Default

Quote:
Originally Posted by erlis View Post
I'm trying to get xbmc-linux to work in VMware Fusion (on my power book).

VMware Fusion does not support openGL rendering (only DirectX 8.2) so running xbmc with enabled 3d support is extreamly slow..

When I compile xbmc without 3d support the fonts are not rendered at the correct positions, this is my log from xbmc without 3d support http://pastebin.com/m4e3fe86c . Have I made something wrong or is the 2d version broken?

(Running latest svn version 9952)
probably best if you start a new topic-thread for that issue
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Gamester17 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:18.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project