Kodi Community Forum

Full Version: Segmentation fault when starting XBMC in Hardy
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am trying to get XBMC running on a Dell Dimension 8200 with a P4 processor and a GeForce 6200 A-LE video card. I'm running Ubuntu Hardy with an i686 architecture, and I installed XBMC through apt-get. In case it's important, the video driver I'm using was installed through envy, number 173.14.09. I also had the same problem previously using the restricted Hardware Driver function in Hardy Heron.

When I try to start XBMC, a window pops up for a fraction of a second and then disappears, but it never actually loads. Running XBMC from the command line, I get the following error:
Quote:db@db-desktop:~$ xbmc
Xlib: extension "XINERAMA" missing on display ":1.0".
The XBMC_HOME environment variable is not set.
The XBMC_HOME environment variable is not set.
Segmentation fault (core dumped)

xbmc.log here: http://pastebin.com/m254402d

Any help or ideas would be greatly appreciated. I love using XBMC on my old xbox, and I really want to get it going on my Ubuntu box!

Thanks in advance,
David
Try newer version. That is may 18th. Secondly, http://forum.xbmc.org/showthread.php?tid=34655
Can I install a later version through the repositories? Or should I uninstall and try to compile it manually?
Never mind. I read this: http://forum.xbmc.org/showthread.php?tid=33327

I'll try a later build when I get home and post back.

Thanks!
Ok, I installed XBMC build 14725 (using PPA), and when I try to run it I get the following:
Quote:db@db-desktop:~$ xbmc
Xlib: extension "XINERAMA" missing on display ":1.0".
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 151 (RANDR)
Minor opcode of failed request: 6 ()
Serial number of failed request: 9
Current serial number in output stream: 9
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 151 (RANDR)
Minor opcode of failed request: 6 ()
Serial number of failed request: 9
Current serial number in output stream: 9
Segmentation fault (core dumped)
db@db-desktop:~$

My xbmc.log is here: http://pastebin.com/mddbb21e
Backtrace: http://pastebin.com/m619e4104

Any thoughts? Thanks in advance.
Are you sure your display is on :1.0? Normally, it is :0.0.

Anyhow, looks like it is unable to do the very of basics GL function (getting the version).

Maybe try setting export DISPLAY=:0.0 before running it.
Very interesting, that seems to have worked. All I had to do was set the DISPLAY environment variable to 0.0, and it seems to work fine when I run XBMC from the command line. I'm not entirely sure what that even does to be honest, so I'll have to do a little more Google research. I'm glad it worked though!

It still won't start when I try to run it by clicking on the launcher in Applications -> Sound & Video, but I'm not worried about it, I prefer the command line anyway.

I tried playing a couple of movies, and everything so far seems hunky dory.

Thanks so much for your help!
You're welcome Smile
Have you got a dual screen setup, by any chance? :1.0 means the second Xserver running.
No, just a single monitor. I have no idea how it got set at 1.0, but I'm glad it's working now.
I also have this problem.

Code:
$ export DISPLAY=:0.0

My DISPLAY was set to 1.0. I have a DVI-D to HDMI cable from my computer to my TV, so is that why my DISPLAY was set to 1.0? Will I be able to run XBMC while I'm using my TV and computer screen as cloned?

Also, after I made the DISPLAY=:0.0, XBMC starts, but it's the wrong resolution for my screen and I only see part of the menu.

Image

Does anybody know how I can fix this?
http://forum.xbmc.org/showthread.php?tid=34655

The scaling thing is fixed in SVN (x86_64 right?). You'll have to sort the X thing on Ubuntu forums or something. AFAIK getting cloned displays to run at different resolutions is a PITA.