Kodi Community Forum

Full Version: Installing XBMC on Hardy Heron
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I follow the description from "Use the steps described in the Ubuntu documentation with the following repositories . You might not need to add the deb-src one"

The package is installed in folder /user/share/XBMC. Is this right?
This is a restricted folder for root user.

So when i try to lanuch the program it just pop up for 2 seconds, them close again.

What am I doing wrong?

I`m a newbie at this.
Run it from a terminal and paste any output.
You need to run the launcher script that is installed as /usr/bin/xbmc NOT (UNDER ANY CIRCUMSTANCES) /usr/share/xbmc/xbmc.bin directly. You're getting segv cause you're installed in a privileged dir and not using platform mode (which makes xbmc write to ~/.xbmc).
Here is log file

23:11:03 T:407599040 M:2497064960 NOTICE: Mapping drive Q to /usr/share/xbmc
23:11:03 T:407599040 M:2496995328 NOTICE: Mapping drive U to /home/stue/.xbmc
23:11:03 T:407599040 M:2496995328 NOTICE: Mapping drive T to /home/stue/.xbmc/userdata
23:11:03 T:407599040 M:2496995328 WARNING: CopyFile, cant open file </usr/share/xbmc/userdata/Keymap.xml>. trying to use lowercase </usr/share/xbmc/userdata/keymap.xml>
23:11:03 T:407599040 M:2496995328 ERROR: CopyFile - cant open source file </usr/share/xbmc/userdata/Keymap.xml>
23:11:03 T:407599040 M:2496995328 WARNING: CopyFile, cant open file </usr/share/xbmc/userdata/Lircmap.xml>. trying to use lowercase </usr/share/xbmc/userdata/lircmap.xml>
23:11:03 T:407599040 M:2496995328 ERROR: CopyFile - cant open source file </usr/share/xbmc/userdata/Lircmap.xml>
23:11:03 T:407599040 M:2496995328 NOTICE: -----------------------------------------------------------------------
23:11:03 T:407599040 M:2496995328 NOTICE: Starting XBMC, Platform: GNU/Linux. Built on Aug 15 2008 (SVN:14921)
23:11:03 T:407599040 M:2496995328 NOTICE: Q is mapped to: /usr/share/xbmc
23:11:03 T:407599040 M:2496995328 NOTICE: The executable running is: /usr/share/xbmc/xbmc.bin
23:11:03 T:407599040 M:2496995328 NOTICE: Log File is located: /var/tmp/stue-
23:11:03 T:407599040 M:2496995328 NOTICE: -----------------------------------------------------------------------
23:11:03 T:407599040 M:2496577536 NOTICE: Setup SDL
23:11:04 T:407599040 M:2495791104 INFO: Available videomodes (xrandr):
23:11:04 T:407599040 M:2495791104 INFO: Number of connected outputs: 1
23:11:04 T:407599040 M:2495791104 INFO: Output 'default' has 28 modes
23:11:04 T:407599040 M:2495791104 INFO: ID:0x8e Name:1920x1080 Refresh:60.000000 Width:1920 Height:1080
23:11:04 T:407599040 M:2495791104 INFO: Pixel Ratio: 1.000000
23:11:04 T:407599040 M:2495791104 INFO: ID:0x8f Name:1920x1080 Refresh:50.000000 Width:1920 Height:1080
23:11:04 T:407599040 M:2495791104 INFO: Pixel Ratio: 1.000000
23:11:04 T:407599040 M:2495791104 INFO: ID:0x90 Name:1920x1080 Refresh:30.000000 Width:1920 Height:1080
23:11:04 T:407599040 M:2495791104 INFO: Pixel Ratio: 1.000000
23:11:04 T:407599040 M:2495791104 INFO: ID:0x91 Name:1920x1080 Refresh:25.000000 Width:1920 Height:1080
23:11:04 T:407599040 M:2495791104 INFO: Pixel Ratio: 1.000000
23:11:04 T:407599040 M:2495791104 INFO: ID:0x92 Name:1920x1080 Refresh:24.000000 Width:1920 Height:1080
23:11:04 T:407599040 M:2495791104 INFO: Pixel Ratio: 1.000000
23:11:04 T:407599040 M:2495791104 INFO: ID:0x93 Name:1776x1000 Refresh:60.000000 Width:1776 Height:1000
23:11:04 T:407599040 M:2495791104 INFO: Pixel Ratio: 1.000000
23:11:04 T:407599040 M:2495791104 INFO: ID:0x94 Name:1776x1000 Refresh:30.000000 Width:1776 Height:1000
23:11:04 T:407599040 M:2495791104 ERROR: LIRC Initialize: connect failed: No such file or directory
23:11:04 T:407599040 M:2495791104 INFO: Drives are mapped
23:11:04 T:407599040 M:2495791104 NOTICE: load settings...
23:11:04 T:407599040 M:2495791104 NOTICE: Mapping drive P to /home/stue/.xbmc/userdata
23:11:04 T:407599040 M:2495791104 NOTICE: loading /home/stue/.xbmc/userdata/guisettings.xml
23:11:04 T:407599040 M:2495651840 DEBUG: subtitle yposition:270 pixelratio:1.000 offsetsSad0,0)->(400,300)
23:11:04 T:407599040 M:2495651840 DEBUG: calibration for default: 320x240 @ 60.00Hz 320x240
23:11:04 T:407599040 M:2495651840 DEBUG: subtitle yposition:216 pixelratio:1.000 offsetsSad0,0)->(320,240)
23:11:04 T:407599040 M:2495651840 DEBUG: calibration for default: 320x200 @ 60.00Hz 320x200
23:11:04 T:407599040 M:2495651840 DEBUG: subtitle yposition:180 pixelratio:1.000 offsetsSad0,0)->(320,200)
23:11:04 T:407599040 M:2495651840 NOTICE: Getting hardware information now...
23:11:04 T:407599040 M:2495651840 INFO: Using analog output
23:11:04 T:407599040 M:2495651840 INFO: AC3 pass through is enabled
23:11:04 T:407599040 M:2495651840 INFO: DTS pass through is enabled
23:11:04 T:407599040 M:2495651840 NOTICE: Checking resolution 10
23:11:04 T:407599040 M:2495508480 NOTICE: Setting autoresolution mode 1
23:11:04 T:407599040 M:2495508480 NOTICE: /home/stue/.xbmc/userdata/sources.xml
23:11:04 T:407599040 M:2495508480 ERROR: Load Error loading /home/stue/.xbmc/userdata/sources.xml: Line 0, Failed to open file
23:11:04 T:407599040 M:2495508480 INFO: Checking skinpath existence, and existence of keymap.xml:Q:\skin...
23:11:04 T:407599040 M:2495508480 INFO: XRANDR: /usr/share/xbmc/xbmc-xrandr --output default --mode 0x8e
23:11:04 T:407599040 M:2491564032 DEBUG: Constructing surface 1280x720, shared=(nil), fullscreen=0
23:11:04 T:407599040 M:2491564032 INFO: GLX Info: NOT Using destination window
23:11:04 T:407599040 M:2483830784 INFO: GLX Info: Using parent window
23:11:04 T:407599040 M:2483830784 INFO: GLX Info: Creating unshared context
23:11:04 T:407599040 M:2478608384 INFO: GL_VENDOR = ATI Technologies Inc.
23:11:04 T:407599040 M:2478608384 INFO: GL_RENDERER = ATI Radeon X1200 Series
23:11:04 T:407599040 M:2478608384 INFO: GL_VERSION = 2.1.7412 Release
23:11:04 T:407599040 M:2478608384 INFO: GL_EXTENSIONS = GL_AMD_performance_monitor GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_meminfo GL_ATI_separate_stencil GL_ATI_texture_compression_3dc GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_
23:11:04 T:407599040 M:2478608384 INFO: load language info file: /usr/share/xbmc/language/English/langinfo.xml
23:11:04 T:407599040 M:2478608384 INFO: load keyboard layout configuration info file: /usr/share/xbmc/language/English/keyboardmap.xml
23:11:04 T:407599040 M:2478608384 ERROR: unable to load /usr/share/xbmc/language/English/keyboardmap.xml: Failed to open file at line 0
23:11:04 T:407599040 M:2478608384 DEBUG: SECTION:LoadDLL(Q:\system\ImageLib-x86_64-linux.so)
23:11:04 T:407599040 M:2478608384 DEBUG: Loading: /usr/share/xbmc/system/ImageLib-x86_64-linux.so
23:11:04 T:407599040 M:2478538752 WARNING: CreateFile, successfuly opened </usr/share/xbmc/media/Splash.png> instead of </usr/share/xbmc/media/splash.png>
23:11:04 T:407599040 M:2476519424 DEBUG: PICTURE: loaded image and created texture. height: 401, width: 721
23:11:04 T:407599040 M:2476101632 DEBUG: Load /usr/share/xbmc/media/splash.png: 95.2ms
23:11:04 T:407599040 M:2478260224 INFO: load language file:/usr/share/xbmc/language/English/strings.xml
23:11:04 T:407599040 M:2477146112 INFO: load keymapping
23:11:04 T:407599040 M:2477146112 INFO: Loading /usr/share/xbmc/system/Keymap.xml

23:11:04 T:407599040 M:2477146112 INFO: delete old skin...
23:11:04 T:407599040 M:2477146112 DEBUG: ------------------- GUI_MSG_WINDOW_DEINIT
23:11:04 T:407599040 M:2477146112 DEBUG: Sort by: Size
23:11:04 T:407599040 M:2477146112 DEBUG: -------------------
23:11:04 T:407599040 M:2477146112 DEBUG: ------------------- GUI_MSG_WINDOW_DEINIT

23:11:05 T:407599040 M:2473766912 NOTICE: initialize done
23:11:05 T:407599040 M:2473766912 NOTICE: Running the application...
23:11:05 T:407599040 M:2473766912 DEBUG: NetworkMessage - Starting network services
23:11:05 T:407599040 M:2473766912 NOTICE: ES: Starting event server
23:11:05 T:1138755920 M:2473766912 DEBUG: Running thread 1138755920
23:11:05 T:1138755920 M:2473766912 DEBUG: thread start, auto delete: 0

23:11:05 T:1101622471927808 DEBUG: Load home-power.png: 0.1ms (bundled)
23:11:05 T:407599040 M:2471927808 DEBUG: Load background-plain.png: 1.0ms (bundled)
23:11:05 T:407599040 M:2469060608 DEBUG: Load background-bottom.png: 23.3ms (bundled)
23:11:05 T:1113577808 M:2472898560 INFO: WEATHER: Weather download successful
23:11:05 T:1113577808 M:2472665088 DEBUG: staticThread, deleting thread object
23:11:05 T:1113577808 M:2472665088 DEBUG: staticThread, deleting thread graphic context
23:11:05 T:1113577808 M:2472665088 DEBUG: Thread 1113577808 terminating
23:11:07 T:1101625680 M:2472722432 DEBUG: Got rss feed: http://feeds.feedburner.com/XboxScene
23:11:07 T:1101625680 M:2472722432 DEBUG: RSS feed encoding: UTF-8
23:11:07 T:1101625680 M:2472722432 DEBUG: Parsed rss feed: http://feeds.feedburner.com/XboxScene
23:11:07 T:1101625680 M:2472722432 DEBUG: staticThread, deleting thread graphic context
23:11:07 T:1101625680 M:2472722432 DEBUG: Thread 1101625680 terminating

I have removed some lines in log file

And here is output.
stue@stue-desktop:~$ xbmc
/usr/share/xbmc/xbmc-xrandr: cannot find mode 0x8e
Segmentation fault (core dumped)
stue@stue-desktop:~$

I have a AMD64 and ATI Radeon X1250 onboard GPU

Anyone that have a solution on this problem?
stue@stue-desktop:~$ xbmc
/usr/share/xbmc/xbmc-xrandr: cannot find mode 0x8e
Segmentation fault (core dumped)
stue@stue-desktop:~$
stue@stue-desktop:~$
http://forum.xbmc.org/showthread.php?tid=34655

Read the backtrace and pastebin parts twice.
looks like we need a back trace.
wrong, try again.
what resolution are you running at? what kind of connection to monitor? dvi/hdmi/vga...
Sorry, but I don`t know how to create a back trace yet. (I`am doing some research on Google now)

But I am running it on a Sony W4000 LCD TV, HDMI, resolution is 1920*1080. Have also tried it on a different resolution but with same fault.
You get the fault at 0x8e when you're running at other resolutions or is it a different number? There's a sticky on this forum about creating back traces. Are you running full screen?
Here is the output at 1280*1024
Not running in full screen.
And in this resolution the program dos not crash, but it`s wrong resolution in the window. I can`t see setting. At the bottom in the screen i can see weather...

/usr/share/xbmc/xbmc-xrandr: cannot find mode 0x98
CRITSEC[0x11f86e8]: Trying to enter destroyed section.
CRITSEC[0x11f86e8]: Some other thread trying to leave our critical section.
stue@stue-desktop:~$
is this svn or alpha release?
Oops, typoed the link, fixed now. Fixed now back in the original post, backtrace directions are there.
Pages: 1 2