[XBMCbuntu] XBMC crashes immediately upon start. - john.doe - 2013-02-02
SOLVED @ THREAD POST #8
This problem is likely caused because you have a legacy AMD graphics card (ATI Radeon HD 2XXX-4XXX).
xbmc crashlog: http://pastebin.com/XF0wpeVA
distro: xbmcbuntu 12.00 Intel/AMD
architecture: i686
xorg: 1.12.4
CPU: AMD Phenom
GPU: ATI RS780 [Radeon HD 3200]
RAM: 2GB DDR2 1066
backtrace: http://pastebin.com/VQDTtKyU
XBMC crashes immediately after it starts. This happens from the LiveCD and after install. I have an AMD Radeon HD 3200 which is a legacy card. So, I downgraded X and installed the AMD legacy driver. This did not fix the problem. I get the following output from the terminal:
Code: xbmc@htpc:~$ xbmc
/usr/lib/xbmc/xbmc-xrandr: Failed to get size of gamma for output default
/usr/lib/xbmc/xbmc-xrandr: Failed to get size of gamma for output default
LLVM ERROR: Program used external function '' which could not be resolved!
pure virtual method called
terminate called without an active exception
Aborted
Crash report available at /home/xbmc/xbmc_crashlog-20130202_002121.log
I have not been able to find a solution anywhere! Any guidance would be greatly appreciated.
RE: [XBMCbuntu] XBMC crashes immediately upon start. - un1versal - 2013-02-02
You need Ubuntu 12.04LTS base not 12.10.
Get a beta 1 iso (which is 12.04LTS) and upgrade XBMC via ppa or intall minimal Ubuntu 12.04 LTS and upgrade XBMC via ppa
Or see top link my signature with 12.04LTS base.
uNi
RE: [XBMCbuntu] XBMC crashes immediately upon start. - john.doe - 2013-02-02
(2013-02-02, 11:01)uNiversal Wrote: You need Ubuntu 12.04LTS base not 12.10.
Get a beta 1 iso (which is 12.04LTS) and upgrade XBMC via ppa or intall minimal Ubuntu 12.04 LTS and upgrade XBMC via ppa
Or see top link my signature with 12.04LTS base.
uNi
Where can I find old XBMCbuntu isos? I don't see them listed on the website.
RE: [XBMCbuntu] XBMC crashes immediately upon start. - john.doe - 2013-02-02
I found the older releases here: http://mirrors.xbmc.org/releases/XBMCbuntu/
However, I can't find anything that allows me to distinguish between them all. For instance, what is the difference between xbmcbuntu-12.00-beta1.iso & xbmcbuntu-12.00-beta1-repack.iso?
RE: [XBMCbuntu] XBMC crashes immediately upon start. - un1versal - 2013-02-02
The repack - Which means packaging bugs were fixed which prevented any installation.
idk when 12.04LTS was changed to 12.10 I think by beta3 (maybe beta2) it was 12.10 which is one you want to avoid.
uNi
RE: [XBMCbuntu] XBMC crashes immediately upon start. - john.doe - 2013-02-02
(2013-02-02, 23:06)uNiversal Wrote: The repack - Which means packaging bugs were fixed which prevented any installation.
idk when 12.04LTS was changed to 12.10 I think by beta3 (maybe beta2) it was 12.10 which is one you want to avoid.
uNi
Thanks for the help. I went with the beta1-repack. It works now and I have updated xbmc. Problem solved. I will update with complete solution now.
RE: [XBMCbuntu] XBMC crashes immediately upon start. - un1versal - 2013-02-03
Ok just to confirm you should have done this after installing the XBMCbuntu 12.04LTS base.
Download this iso http://mirrors.xbmc.org/releases/XBMCbuntu/xbmcbuntu-12.00-beta1-repack.iso and isntall via cd/usb.
Then login via ssh or perform these commands on box.
Code: sudo apt-get install python-software-properties pkg-config
sudo add-apt-repository -r ppa:team-xbmc/ppa
sudo add-apt-repository ppa:wsnipex/xbmc-xvba
sudo apt-get update
sudo apt-get install xbmc xbmc-bin
DO NOT run sudo apt-get upgrade or the drivers will be upgraded and break everything again. This does not mean you cannot upgrade XBMC.
Using the xvba ppa is the right thing since its AMD/ATI optimized.
@jon doe
Please feel free to mark this thread as solved/ fiull edit main post and select solved from drop-down-menu next to subject line.
I deserve a cookie not even a ATI user.
uNi
RE: [XBMCbuntu] [Legacy ATI Grahpics]XBMC crashes immediately upon start. - john.doe - 2013-02-03
SOLUTION by uNiversal
If you have a legacy AMD card, you must use xbmcbuntu-12.00-beta1-repack.iso instead of the latest.
You can find it here: http://mirrors.xbmc.org/releases/XBMCbuntu/
Once you've completed the install process, you must do the following:
Code: sudo apt-get install python-software-properties pkg-config
sudo add-apt-repository -r ppa:team-xbmc/ppa
sudo add-apt-repository ppa:wsnipex/xbmc-xvba-frodo
sudo apt-get update
sudo apt-get install xbmc xbmc-bin
Then you should be good to go!
EDIT: If you would like the Gotham test builds (XBMC 13.0-alpha) use ppa:wsnipex/xbmc-xvba
RE: [XBMCbuntu] XBMC crashes immediately upon start. - un1versal - 2013-02-03
You guys should bugtrack this and cc lcaprioty and wsnipex
Im whacking this on wiki and pointing to here as solution its already resolved a few users complaints.
uNi
RE: [XBMCbuntu] XBMC crashes immediately upon start. - doverosx - 2013-02-03
Should probably update the "supported" hardware list on the wiki to no longer include 4xxx series Radeons. None of the xbmc logs indicated a driver issue (as an error, only by inspection...GALLIUM?). It was only because my HD4000 card was listed as supported that I burned up that time. Anyway, downloading the repack now.
RE: [XBMCbuntu] XBMC crashes immediately upon start. - un1versal - 2013-02-03
The support is not about XBMC it is conditional on Ubuntu version. Again feel free to bugtrack this or change wiki or moan to AMD which BTW are whos to blame here. They are the ones who screwing their users
uNi
RE: [XBMCbuntu] XBMC crashes immediately upon start. - doverosx - 2013-02-04
http://trac.xbmc.org/ticket/14052
RE: [XBMCbuntu] XBMC crashes immediately upon start. - doverosx - 2013-02-04
This actually breaks my HD3450 machine which now says "XBMC needs hardware accelerated OpenGL rendering. Install an appropriate graphics driver."
Code: mc@mc:~$ cat xbmc_crashlog-20130203_180727.log
############## XBMC CRASH LOG ###############
################ SYSTEM INFO ################
Date: Sun Feb 3 18:07:27 EST 2013
XBMC Options:
Arch: i686
Kernel: Linux 3.2.0-37-generic-pae #58-Ubuntu SMP Thu Jan 24 15:51:02 UTC 2013
Release:
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise
############## END SYSTEM INFO ##############
############### STACK TRACE #################
gdb not installed, can't get stack trace.
############# END STACK TRACE ###############
################# LOG FILE ##################
17:25:50 T:3037825344 NOTICE: -----------------------------------------------------------------------
17:25:50 T:3037825344 NOTICE: Starting XBMC (12.0-BETA1 Git:Unknown), Platform: Linux (Ubuntu 12.04.1 LTS - XBMCbuntu, 3.2.0-37-generic-pae i686). Built on Nov 15 2012
17:25:50 T:3037825344 NOTICE: special://xbmc/ is mapped to: /usr/share/xbmc
17:25:50 T:3037825344 NOTICE: special://xbmcbin/ is mapped to: /usr/lib/xbmc
17:25:50 T:3037825344 NOTICE: special://masterprofile/ is mapped to: /home/mc/.xbmc/userdata
17:25:50 T:3037825344 NOTICE: special://home/ is mapped to: /home/mc/.xbmc
17:25:50 T:3037825344 NOTICE: special://temp/ is mapped to: /home/mc/.xbmc/temp
17:25:50 T:3037825344 NOTICE: The executable running is: /usr/lib/xbmc/xbmc.bin
17:25:50 T:3037825344 NOTICE: Local hostname: mc
17:25:50 T:3037825344 NOTICE: Log File is located: /home/mc/.xbmc/temp/xbmc.log
17:25:50 T:3037825344 NOTICE: -----------------------------------------------------------------------
17:25:51 T:3037825344 ERROR: CAESinkOSS::EnumerateDevicesEx - Failed to open mixer: /dev/mixer
17:25:51 T:3037825344 NOTICE: Enumerated ALSA devices:
17:25:51 T:3037825344 NOTICE: Device 1
17:25:51 T:3037825344 NOTICE: m_deviceName : hdmi:CARD=HDMI,DEV=0
17:25:51 T:3037825344 NOTICE: m_displayName : HDA ATI
17:25:51 T:3037825344 NOTICE: m_displayNameExtra: HDMI
17:25:51 T:3037825344 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
17:25:51 T:3037825344 NOTICE: m_channels : FL,FR
17:25:51 T:3037825344 NOTICE: m_sampleRates : 48000
17:25:51 T:3037825344 NOTICE: m_dataFormats : AE_FMT_S16NE,AE_FMT_S16LE
17:25:51 T:3037825344 NOTICE: Device 2
17:25:51 T:3037825344 NOTICE: m_deviceName : @:CARD=V8237,DEV=0
17:25:51 T:3037825344 NOTICE: m_displayName : VIA 8237
17:25:51 T:3037825344 NOTICE: m_displayNameExtra: VIA 8237
17:25:51 T:3037825344 NOTICE: m_deviceType : AE_DEVTYPE_PCM
17:25:51 T:3037825344 NOTICE: m_channels : NULL
17:25:51 T:3037825344 NOTICE: m_sampleRates : 8000,11025,16000,22050,32000,44100,48000
17:25:51 T:3037825344 NOTICE: m_dataFormats : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_U8
17:25:51 T:3037825344 NOTICE: Device 3
17:25:51 T:3037825344 NOTICE: m_deviceName : iec958:CARD=V8237,DEV=0
17:25:51 T:3037825344 NOTICE: m_displayName : VIA 8237
17:25:51 T:3037825344 NOTICE: m_displayNameExtra: VIA 8237 S/PDIF
17:25:51 T:3037825344 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
17:25:51 T:3037825344 NOTICE: m_channels : FL,FR
17:25:51 T:3037825344 NOTICE: m_sampleRates : 8000,11025,16000,22050,32000,44100,48000
17:25:51 T:3037825344 NOTICE: m_dataFormats : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_U8
17:25:51 T:3037825344 NOTICE: Device 4
17:25:51 T:3037825344 NOTICE: m_deviceName : @:CARD=ICE1724,DEV=0
17:25:51 T:3037825344 NOTICE: m_displayName : ICEnsemble ICE1724
17:25:51 T:3037825344 NOTICE: m_displayNameExtra: ICE1724
17:25:51 T:3037825344 NOTICE: m_deviceType : AE_DEVTYPE_PCM
17:25:51 T:3037825344 NOTICE: m_channels : FL,FR
17:25:51 T:3037825344 NOTICE: m_sampleRates : 8000,11025,16000,22050,32000,44100,48000
17:25:51 T:3037825344 NOTICE: m_dataFormats : AE_FMT_S32NE
17:25:51 T:3037825344 NOTICE: Device 5
17:25:51 T:3037825344 NOTICE: m_deviceName : iec958:CARD=ICE1724,DEV=0
17:25:51 T:3037825344 NOTICE: m_displayName : ICEnsemble ICE1724
17:25:51 T:3037825344 NOTICE: m_displayNameExtra: ICE1724 IEC958 S/PDIF
17:25:51 T:3037825344 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
17:25:51 T:3037825344 NOTICE: m_channels : FL,FR
17:25:51 T:3037825344 NOTICE: m_sampleRates : 32000,44100,48000,88200,96000,176400,192000
17:25:51 T:3037825344 NOTICE: m_dataFormats : AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_S8,AE_FMT_U8
17:25:51 T:3037825344 NOTICE: load settings...
17:25:51 T:3037825344 NOTICE: special://profile/ is mapped to: special://masterprofile/
17:25:51 T:3037825344 NOTICE: loading special://masterprofile/guisettings.xml
17:25:51 T:3037825344 ERROR: special://masterprofile/guisettings.xml Doesn't contain <resolutions>
17:25:51 T:3037825344 NOTICE: Getting hardware information now...
17:25:51 T:3037825344 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
17:25:51 T:3037825344 NOTICE: Loaded playercorefactory configuration
17:25:51 T:3037825344 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
17:25:51 T:3037825344 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
17:25:51 T:3037825344 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
17:25:51 T:3037825344 NOTICE: Loaded settings file from special://profile/advancedsettings.xml
17:25:51 T:3037825344 NOTICE: Contents of special://profile/advancedsettings.xml are...
<advancedsettings>
<useddsfanart>true</useddsfanart>
<cputempcommand>cputemp</cputempcommand>
<gputempcommand>gputemp</gputempcommand>
<samba>
<clienttimeout>30</clienttimeout>
</samba>
<network>
<disableipv6>true</disableipv6>
</network>
</advancedsettings>
17:25:51 T:3037825344 NOTICE: Getting hardware information now...
17:25:51 T:3037825344 NOTICE: Default DVD Player: dvdplayer
17:25:51 T:3037825344 NOTICE: Default Video Player: dvdplayer
17:25:51 T:3037825344 NOTICE: Default Audio Player: paplayer
17:25:51 T:3037825344 NOTICE: Disabled debug logging due to GUI setting. Level 0.
17:25:51 T:3037825344 NOTICE: Log level changed to 0
17:25:51 T:3037825344 NOTICE: Loading media sources from special://masterprofile/sources.xml
17:25:51 T:2970520384 NOTICE: Thread CSoftAE start, auto delete: false
17:25:54 T:3033529152 NOTICE: Thread XBMC Peripherals start, auto delete: false
17:25:54 T:3037825344 NOTICE: Setup SDL
17:25:54 T:3037825344 NOTICE: Checking resolution 16
17:25:55 T:3037825344 NOTICE: Using visual 0x51
17:25:55 T:3037825344 NOTICE: GL_VENDOR = ATI Technologies Inc.
17:25:55 T:3037825344 NOTICE: GL_RENDERER = ATI Radeon HD 3450
17:25:55 T:3037825344 NOTICE: GL_VERSION = 3.3.11627 Compatibility Profile Context
17:25:55 T:3037825344 NOTICE: GL_SHADING_LANGUAGE_VERSION = 3.30
17:25:55 T:3037825344 NOTICE: GL_EXTENSIONS = GL_AMDX_debug_output GL_AMD_conservative_depth GL_AMD_debug_output GL_AMD_depth_clamp_separate GL_AMD_draw_buffers_blend GL_AMD_name_gen_delete <snip>
17:25:55 T:3037825344 ERROR: GLX: Same window as before, refreshing context
17:25:55 T:3037825344 NOTICE: Running database version Addons15
17:26:00 T:3037825344 NOTICE: start dvd mediatype detection
17:26:00 T:3037825344 NOTICE: initializing playlistplayer
17:26:00 T:3037825344 NOTICE: DONE initializing playlistplayer
17:26:00 T:2974575424 NOTICE: Thread CDetectDVDMedia start, auto delete: false
17:26:01 T:3037825344 NOTICE: initialize done
17:26:01 T:3037825344 NOTICE: Running the application...
17:26:01 T:3037825344 NOTICE: ES: Starting event server
17:26:01 T:2959928128 NOTICE: Thread Jobworker start, auto delete: true
17:26:01 T:2943142720 NOTICE: Thread CTCPServer start, auto delete: false
17:26:01 T:2951535424 NOTICE: Thread CEventServer start, auto delete: false
17:26:01 T:2951535424 NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
17:26:01 T:2951535424 NOTICE: UDP: Listening on port 9777
17:26:01 T:3037825344 NOTICE: starting zeroconf publishing
17:26:01 T:2926357312 NOTICE: Thread Jobworker start, auto delete: true
17:26:01 T:2973223744 NOTICE: Thread CRssReader start, auto delete: false
17:26:02 T:2891746112 NOTICE: Thread CFileCache start, auto delete: false
17:26:16 T:2891746112 NOTICE: Previous line repeats 2 times.
17:26:16 T:2891746112 NOTICE: Thread Jobworker start, auto delete: true
17:26:22 T:2912942912 NOTICE: Thread CFileCache start, auto delete: false
17:26:40 T:2912942912 NOTICE: Previous line repeats 7 times.
17:26:40 T:2912942912 NOTICE: Thread Jobworker start, auto delete: true
17:26:44 T:2904550208 NOTICE: Thread CFileCache start, auto delete: false
############### END LOG FILE ################
############ END XBMC CRASH LOG #############
RE: [XBMCbuntu] XBMC crashes immediately upon start. - un1versal - 2013-02-04
17:25:55 T:3037825344 NOTICE: GL_VENDOR = ATI Technologies Inc.
17:25:55 T:3037825344 NOTICE: GL_RENDERER = ATI Radeon HD 3450
17:25:55 T:3037825344 NOTICE: GL_VERSION = 3.3.11627 Compatibility Profile Context
17:25:55 T:3037825344 NOTICE: GL_SHADING_LANGUAGE_VERSION = 3.30
17:25:55 T:3037825344 NOTICE: GL_EXTENSIONS = GL_AMDX_debug_output GL_AMD_conservative_depth GL_AMD_debug_output GL_AMD_depth_clamp_separate GL_AMD_draw_buffers_blend GL_AMD_name_gen_delete
The right driver IS installed.
But since this is ati whe going to push the boat out.
Do
Code: sudo xbmc stop
sudo service lightdm stop
sudo apt-get install --reinstall fglrx
sudo xbmc stop
sudo service lightdm stop
sudo xbmc stop
sudo killall X
sudo aticonfig --initial -f
sudo aticonfig --sync-vsync=on
sudo aticonfig --set-pcs-u32=MCIL,HWUVD_H264Level51Support,1
sudo amdconfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0
All that stuff is required when X and XBMC must not be running.
In future please try to use a pastebin to post logs. DO not post in line please.
Thx
uNi
RE: [XBMCbuntu] XBMC crashes immediately upon start. - doverosx - 2013-02-04
(2013-02-04, 01:46)uNiversal Wrote: 17:25:55 T:3037825344 NOTICE: GL_VENDOR = ATI Technologies Inc.
17:25:55 T:3037825344 NOTICE: GL_RENDERER = ATI Radeon HD 3450
17:25:55 T:3037825344 NOTICE: GL_VERSION = 3.3.11627 Compatibility Profile Context
17:25:55 T:3037825344 NOTICE: GL_SHADING_LANGUAGE_VERSION = 3.30
17:25:55 T:3037825344 NOTICE: GL_EXTENSIONS = GL_AMDX_debug_output GL_AMD_conservative_depth GL_AMD_debug_output GL_AMD_depth_clamp_separate GL_AMD_draw_buffers_blend GL_AMD_name_gen_delete
The right driver IS installed.
But since this is ati whe going to push the boat out.
Do
Code: sudo xbmc stop
sudo service lightdm stop
sudo apt-get install --reinstall fglrx
sudo xbmc stop
sudo service lightdm stop
sudo xbmc stop
sudo killall X
sudo aticonfig --initial -f
sudo aticonfig --sync-vsync=on
sudo aticonfig --set-pcs-u32=MCIL,HWUVD_H264Level51Support,1
sudo amdconfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0
All that stuff is required when X and XBMC must not be running.
In future please try to use a pastebin to post logs. DO not post in line please.
Thx
uNi
No problem. I'm trying this now.
Yeah after following your instructions the right driver was installed but I had the issue that I posted above . The bug tracker won't indicated this. I can post this as an extended workaround if this works (ati drivers are messy!).
Now fglrx is broken...and aticonfig too. I did --purge remove fglrx, apt-get clean, yet it keeps claiming that the commands are not found.
http://pastebin.com/7tgRTvyt
I run this: sudo ln -s /etc/alternatives/aticonfig /usr/bin/aticonfig
and now I get this when trying to run aticonfig.
Unable to open /etc/ati/control, please reinstall the driver.
aticonfig: No supported adapters detected
|