Project

General

Profile

Actions

Bug #155

closed

Path problems on startup

Added by Hammel about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Target version:
Start date:
09 Feb 2013
Due date:
13 Feb 2013
% Done:

100%

Estimated time:
Severity:
01 - Critical

Description

XBMC fails to start initially because of this missing symlink:

/opt/xbmc-bcm/xbmc-bin/lib/xbmc/language -> /opt/xbmc-bcm/xbmc-bin/share/xbmc/language

Without this link you get this message:

Unable to find path to XBMC data files

Once that symlink is created xbmc will try to start, but still fails. This time its because it can't find its guishader files. The output log includes lines like this:

CYUVShaderGLSL::CYUVShaderGLSL - failed to open file guishader_frag_default.glsl

But this file exists:

  1. pwd
    /opt/xbmc-bcm/xbmc-bin
  2. find . -name guishader_frag_default.glsl
    ./share/xbmc/system/shaders/guishader_frag_default.glsl

So something is amiss with path resolution. This discussion suggests I may have to change the --prefix option to configure when building to match the path the package is installed in.

Actions #1

Updated by Hammel about 11 years ago

  • % Done changed from 0 to 20

If I make a symlink like so:

ln -s /opt/xbmc-bcm/xbmc-bin/share/xbmc/system/shaders/ /opt/xbmc-bcm/xbmc-bin/lib/xbmc/system/

and retry I get further, but still doesn't work:

00:58:11 T:1087537152   ERROR: Texture manager unable to load file: special://xbmc/media/Splash.png
00:58:11 T:1087537152   ERROR: Error loading keymaps from: special://xbmc/system/keymaps/ or special://masterprofile/keymaps/ or special://profile/keymaps/

It looks like all the stuff under /opt/xbmc-bcm/xbmc-bin/share/xbmc needs to be under /opt/xbmc-bcm/xbmc-bin/lib/xbmc. I can manually copy them and see what happens.

Actions #2

Updated by Hammel about 11 years ago

  • % Done changed from 20 to 50

Yup. That's the problem. I copied it all over and tried again - viola! XBMC is running on my pibox!

Actions #3

Updated by Hammel about 11 years ago

  • Severity changed from Critical to 01 - Critical
Actions #4

Updated by Hammel about 11 years ago

  • % Done changed from 50 to 80

I think this is actually just a bug with the way XBMC_HOME is set in the XBMCBox's xbmc.sh script. It should be set to this:

XBMC_HOME=/opt/xbmc-bcm/xbmc-bin/share/xbmc

Actions #5

Updated by Hammel about 11 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 80 to 100

Modified XBMC_HOME to fix path issues. Added --no-test to startup script call of xbmc startup script
to disable glx and xdpy tests.

Actions

Also available in: Atom PDF