alanwww1 Wrote:What CPU do you have ?
I have an i3-2100T.
alanwww1 Wrote:Could you please try projectM and what framerate do you have there?
Sorry, can't tell you. 2 secs after I start playing an MP3 (which plays fine with Dharma on my other machine) the screen locks up. The song continues playing, but I cannot locally control xbmc anymore. Logging in remotely via ssh also failed.
According to the log, there was no error in XBMC, so I guess it's some part of the display driver:
Code:
21:01:42 T:3047446336 M:1829220352 DEBUG: CFileCache::Open - opening </srv/netstore/Musik/Alben/Eros Ramazzotti - Live/01 - Io Amerò.mp3> using cache
21:01:42 T:3047446336 M:1829220352 DEBUG: DllLibApeTag: Using libapetag library
21:01:42 T:2884791152 M:1829347328 DEBUG: thread start, auto delete: 0
21:01:42 T:3047446336 M:1829347328 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/libid3tag-i486-linux.so)
21:01:42 T:3047446336 M:1829244928 DEBUG: Loading: /usr/lib/xbmc/system/libid3tag-i486-linux.so
21:01:42 T:3047446336 M:1829142528 DEBUG: DllLibApeTag: Using libapetag library
21:01:42 T:3047446336 M:1829142528 INFO: PAPlayer: Playing /srv/netstore/Musik/Alben/Eros Ramazzotti - Live/01 - Io Amerò.mp3
21:01:42 T:3047446336 M:1829142528 DEBUG: PAPlayer: Creating new audio renderer
21:01:42 T:3047446336 M:1829142528 INFO: AudioRendererFactory: not a explicit device, trying to autodetect.
21:01:42 T:3047446336 M:1829142528 DEBUG: RemoveActiveDevice - Removing device 1
21:01:42 T:3047446336 M:1829142528 DEBUG: CGUIAudioManager::DeInitialize
21:01:42 T:2884791152 M:1825800192 INFO: CFileCache::Process - Hit eof.
21:01:42 T:3047446336 M:1825800192 DEBUG: SetActiveDevice - SetActiveDevice from 0 to 2
21:01:42 T:3047446336 M:1825800192 DEBUG: RemoveActiveDevice - Removing device 0
21:01:42 T:3047446336 M:1825800192 DEBUG: PulseAudio: Context failed
21:01:42 T:3047446336 M:1825800192 ERROR: PulseAudio: Waited for the Context but it failed
21:01:42 T:3047446336 M:1825800192 ERROR: PulseAudio: Failed to create context
21:01:42 T:3047446336 M:1825800192 DEBUG: SetActiveDevice - SetActiveDevice from 2 to 1
21:01:42 T:3047446336 M:1825800192 DEBUG: RemoveActiveDevice - Removing device 2
21:01:42 T:3047446336 M:1825800192 DEBUG: CGUIAudioManager::Initialize
21:01:42 T:3047446336 M:1825738752 DEBUG: RemoveActiveDevice - Removing device 1
21:01:42 T:3047446336 M:1825738752 DEBUG: CGUIAudioManager::DeInitialize
21:01:42 T:3047446336 M:1825738752 DEBUG: SetActiveDevice - SetActiveDevice from 0 to 2
21:01:42 T:3047446336 M:1825738752 DEBUG: RemoveActiveDevice - Removing device 0
21:01:42 T:3047446336 M:1825738752 DEBUG: Initialize - using alsa device default
21:01:42 T:3047446336 M:1825738752 DEBUG: CALSADirectSound::Initialize - frame count:940, packet count:16, buffer size:15052
21:01:42 T:3047446336 M:1825738752 DEBUG: CALSADirectSound::Initialize - Channels: 2 - SampleRate: 44100 - SampleBit: 16 - Resample false - IsMusic true - IsPassthrough false - audioDevice: default
21:01:42 T:3047446336 M:1825738752 DEBUG: CAnnouncementManager - Announcement: PlaybackStarted from xbmc
21:01:42 T:2950601584 M:1825738752 DEBUG: thread start, auto delete: 0
21:01:42 T:2950601584 M:1825738752 DEBUG: PAPlayer: Thread started
21:01:42 T:3047446336 M:1825484800 DEBUG: ADDON: Dll Initializing - projectM
21:01:42 T:3047446336 M:1825484800 DEBUG: SECTION:LoadDLL(/usr/lib/xbmc/addons/visualization.projectm/projectM.vis)
21:01:42 T:3047446336 M:1825484800 DEBUG: Loading: /usr/lib/xbmc/addons/visualization.projectm/projectM.vis
21:01:42 T:2950601584 M:1825103872 INFO: AudioDecoder: File is queued
21:01:42 T:3047446336 M:1825075200 DEBUG: Calling TransferSettings for: projectM
21:01:43 T:3047446336 M:1823563776 DEBUG: GetZipList - Processing zip://special%3a%2f%2fxbmc%2faddons%2fvisualization%2eprojectm%2fresources%2fpresets%2ezip/
21:01:43 T:3047446336 M:1822752768 DEBUG: Visualisation::Start()
21:01:43 T:3047446336 M:1822752768 DEBUG: OnInitialize() started
21:01:43 T:3047446336 M:1822752768 DEBUG: OnInitialize() done
21:01:43 T:3047446336 M:1821429760 DEBUG: CGUIInfoManager::SetCurrentSong(/srv/netstore/Musik/Alben/Eros Ramazzotti - Live/01 - Io Amerò.mp3)
21:01:43 T:3047446336 M:1821429760 DEBUG: Loading additional tag info for file /srv/netstore/Musik/Alben/Eros Ramazzotti - Live/01 - Io Amerò.mp3
21:01:43 T:3047446336 M:1821429760 DEBUG: Updating visualisation albumart: /home/xbmc/.xbmc/userdata/Thumbnails/Music/f/f3d4e815.tbn
21:02:10 T:2905246576 M:1815236608 DEBUG: Thread 2905246576 terminating (autodelete)
21:02:10 T:2840169328 M:1815130112 DEBUG: Thread 2840169328 terminating (autodelete)
21:04:20 T:2950601584 M:1782669312 DEBUG: CAnnouncementManager - Announcement: QueueNextItem from xbmc
21:04:25 T:2950601584 M:1781391360 INFO: CAudioDecoder::GetData() ending track - only have 3048 samples left
21:04:25 T:2950601584 M:1781391360 INFO: PAPlayer: End of playback reached
21:04:25 T:2950601584 M:1781391360 DEBUG: CAnnouncementManager - Announcement: PlaybackEnded from xbmc
21:04:25 T:2950601584 M:1781391360 DEBUG: PAPlayer: Thread end
21:04:25 T:2950601584 M:1781391360 DEBUG: Thread 2950601584 terminating
... Yes, according to Xorg.0.log.old, the GPU was hanging:
Code:
[ 17.943] (II) intel(0): Modeline "1920x1080"x0.0 74.25 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync (28.1 kHz)
[ 17.943] (II) intel(0): Modeline "720x480"x0.0 27.00 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 kHz)
[ 17.943] (II) intel(0): Modeline "1440x288"x0.0 27.00 1440 1464 1590 1728 288 290 293 312 -hsync -vsync (15.6 kHz)
[ 17.943] (II) intel(0): Modeline "1440x240"x0.0 27.00 1440 1478 1602 1716 240 244 247 262 -hsync -vsync (15.7 kHz)
[ 394.660] (EE) intel(0): Failed to submit batch buffer, expect rendering corruption or even a frozen display: Device or resource busy.
[ 397.668] (EE) intel(0): Failed to submit batch buffer, expect rendering corruption or even a frozen display: Device or resource busy.
[ 400.676] (EE) intel(0): Failed to submit batch buffer, expect rendering corruption or even a frozen display: Device or resource busy.
[ 400.692] (EE) intel(0): Detected a hung GPU, disabling acceleration.
alanwww1 Wrote:Also can you try suspend. It probably won't work form xbmc but from terminal you can try sudo pm-suspend.
pm-suspend sends the machine to sleep. But it took me 3 attempts, including 2 times cutting power, to get the machine come back up again - of course, as a new boot. So all in all, I would still consider this "not working".
alanwww1 Wrote:The shutdown behavior is expected and comes from the startup script i use. you can change that. I did it in case xbmc quits for some reason that it can start again.
Where would I need to look for this? /usr/bin/runXBMC looks as if it would create an .xsession which should create a '/tmp/noRestartXBMC' in case no restart is wanted... All I'm looking for is the behavior controlled from XBMC's menus. If it's crashing, well... then it's crashing.
alanwww1 Wrote:Do you have the ocasional boot to black screen problem i have ?
Not sure... I may have just had that, but it may also have been simply because the HDMI cable was not plugged in when I started the machine.
alanwww1 Wrote:Is Multichannel lpcm working for you with
Code:
speaker-test -Dhdmi -c6
I'm not using sound via HDMI, but via SPDIF. That seems(!) to be working ok.