XBMC Community Forum
[Linux] HDMI 0.00 Refresh & USB DVD stuttering - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Linux and Live support (/forumdisplay.php?fid=52)
+---- Thread: [Linux] HDMI 0.00 Refresh & USB DVD stuttering (/showthread.php?tid=132739)



HDMI 0.00 Refresh & USB DVD stuttering - harx001 - 2012-05-30 05:51

Hello,

I've been tweaking and tuning Eden on linux, and almost got everything working. There are two last issues that I've spent the last two weeks trying to fix to no avail. I'm hoping that someone might have some idea on how to fix this. My two issues are:

- I cannot change the resolution or refresh rate in XBMC. It shows 1920x1080 and a refresh of 0.00
- I've attached multiple USB DVD players to my server, and each of them stutters a few minutes in. I don't know if these two issues are linked:

System specs:
Core i760, 12GB RAM, Gigabyte GA-H55M-UD2H Motherboard, SATA system drive
Ubuntu 12.04 with most recent kernel (problems were also seen in previous kernels)
ATI Radeon 4650, using latest Ubuntu binary drivers
PC attached to a Denon 3808CI Amp and then to a Epson 1080UB projector,

Here is the xmbc.log (i've removed a few lines to make the post fit). Note the problem with CXRandR:

Quote:21:09:49 T:140079407122304 NOTICE: Starting XBMC (11.0 Git:Unknown), Platform: Linux (Ubuntu 12.04 LTS, 3.2.0-24-generic x86_64). Built on Apr 24 2012

21:09:49 T:140079407122304 NOTICE: The executable running is: /usr/lib/xbmc/xbmc.bin
21:09:49 T:140079407122304 NOTICE: Log File is located: /home/xbmc/.xbmc/temp/xbmc.log

21:09:49 T:140079407122304 ERROR: CXRandR::Query - unable to open xrandr xml
21:09:49 T:140079407122304 NOTICE: Setup SDL
21:09:49 T:140079407122304 NOTICE: load settings...
21:09:49 T:140079407122304 NOTICE: special://profile/ is mapped to: special://masterprofile/
21:09:49 T:140079407122304 NOTICE: loading special://masterprofile/guisettings.xml
21:09:49 T:140079407122304 NOTICE: Getting hardware information now...
21:09:49 T:140079407122304 NOTICE: Checking resolution 12
21:09:49 T:140079407122304 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
21:09:49 T:140079407122304 NOTICE: Loaded playercorefactory configuration
21:09:49 T:140079407122304 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
21:09:49 T:140079407122304 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
21:09:49 T:140079407122304 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
21:09:49 T:140079407122304 NOTICE: Loaded settings file from special://profile/advancedsettings.xml
21:09:49 T:140079407122304 NOTICE: Contents of special://profile/advancedsettings.xml are...
<advancedsettings>
<loglevel hide="false">0</loglevel>
<gui>
<algorithmdirtyregions>1</algorithmdirtyregions>
<visualizedirtyregions>false</visualizedirtyregions>
<nofliptimeout>0</nofliptimeout>
</gui>
<pathsubstitution>
<substitute>
<from>special://masterprofile/Thumbnails</from>
<to>smb://xxxx:xxxx@192.168.0.x/xdev_metadata$/Thumbnails/</to>
</substitute>
</pathsubstitution>
</advancedsettings>
21:09:49 T:140079407122304 NOTICE: Log level changed to 0
21:09:49 T:140079407122304 WARNING: VIDEO database configuration is experimental.
21:09:49 T:140079407122304 NOTICE: Getting hardware information now...
21:09:49 T:140079407122304 NOTICE: Checking resolution 12
21:09:49 T:140079407122304 NOTICE: Default DVD Player: dvdplayer
21:09:49 T:140079407122304 NOTICE: Default Video Player: dvdplayer
21:09:49 T:140079407122304 NOTICE: Default Audio Player: paplayer
21:09:49 T:140079407122304 NOTICE: Disabled debug logging due to GUI setting. Level 0.
21:09:49 T:140079407122304 NOTICE: Log level changed to 0
21:09:49 T:140079407122304 NOTICE: Loading media sources from special://masterprofile/sources.xml
21:09:49 T:140079407122304 NOTICE: Using visual 0x51
21:09:50 T:140079407122304 NOTICE: GL_VENDOR = ATI Technologies Inc.
21:09:50 T:140079407122304 NOTICE: GL_RENDERER = ATI Radeon HD 4600 Series
21:09:50 T:140079407122304 NOTICE: GL_VERSION = 3.3.11627 Compatibility Profile Context
21:09:50 T:140079407122304 NOTICE: GL_SHADING_LANGUAGE_VERSION = 3.30
21:09:50 T:140079407122304 NOTICE: GL_EXTENSIONS = [snip]
21:09:50 T:140079407122304 ERROR: GLX: Same window as before, refreshing context
21:09:50 T:140079407122304 NOTICE: start dvd mediatype detection
21:09:50 T:140079407122304 NOTICE: initializing playlistplayer
21:09:50 T:140079407122304 NOTICE: DONE initializing playlistplayer
21:09:50 T:140079407122304 NOTICE: UpdateLibraries - Starting video library startup scan
21:09:51 T:140079407122304 NOTICE: initialize done
21:09:51 T:140079407122304 NOTICE: Running the application...
21:09:51 T:140078638671616 NOTICE: -->Python Interpreter Initialized<--
21:09:53 T:140079407122304 ERROR: CheckDisplayEvents - no display event after 3 seconds
21:10:09 T:140079407122304 ERROR: PulseAudio: Failed to connect context
21:10:09 T:140079407122304 ERROR: PulseAudio: Failed to create context
21:10:09 T:140079407122304 ERROR: PulseAudio: Failed to connect context
21:10:09 T:140079407122304 ERROR: PulseAudio: Failed to create context
21:10:38 T:140078919337728 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:46
21:11:02 T:140079407122304 NOTICE: DVDPlayer: Opening: smb://xxx:xxx@192.168.0.x/share$/Movie.mkv
21:11:02 T:140079407122304 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
21:11:02 T:140078929970944 NOTICE: Creating InputStream
21:11:02 T:140078929970944 NOTICE: Creating Demuxer
21:11:03 T:140078929970944 NOTICE: Opening video stream: 0 source: 256
21:11:03 T:140078929970944 NOTICE: Creating video codec with codec id: 28
21:11:03 T:140078929970944 NOTICE: CDVDVideoCodecFFmpeg::Open() Creating VDPAU(1920x816, 28)
21:11:03 T:140078929970944 NOTICE: vdp_device = 0xffffffff vdp_st = 0x00000001
21:11:03 T:140078929970944 ERROR: (VDPAU) unable to init VDPAU - vdp_st = 0x1. Falling back.
21:11:03 T:140078929970944 NOTICE: CDVDVideoCodecFFmpeg::Open() Failed to get VDPAU device
21:11:03 T:140078929970944 NOTICE: (VDPAU) Close
21:11:03 T:140078929970944 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
21:11:03 T:140078929970944 NOTICE: Creating video thread
21:11:03 T:140078929970944 NOTICE: Opening audio stream: 1 source: 256
21:11:03 T:140078929970944 NOTICE: Finding audio codec for: 86020
21:11:03 T:140078043076352 NOTICE: running thread: video_thread
21:11:03 T:140078929970944 NOTICE: Creating audio thread
21:11:03 T:140078929970944 NOTICE: Opening Subtitle stream: 2 source: 256
21:11:03 T:140078034683648 NOTICE: running thread: CDVDPlayerAudio::Process()
21:11:03 T:140078626051840 ERROR: VAAPI - unable to initialize display -1 - unknown libva error
21:11:03 T:140078034683648 NOTICE: Creating audio device with codec id: 86020, channels: 2, sample rate: 48000, pass-through
21:11:03 T:140078034683648 ERROR: PulseAudio: Failed to connect context
21:11:03 T:140078034683648 ERROR: PulseAudio: Failed to create context
21:11:03 T:140078043076352 NOTICE: fps: 23.976024, pwidth: 1920, pheight: 816, dwidth: 1920, dheight: 816
21:11:03 T:140078043076352 NOTICE: Display resolution ADJUST : 1920x1080 (12) (weight: 1.000)
21:11:04 T:140079407122304 NOTICE: Using GL_TEXTURE_2D
21:11:04 T:140079407122304 NOTICE: GL: ARB shaders support detected
21:11:04 T:140079407122304 NOTICE: GL: Selecting Single Pass ARB YUV2RGB shader
21:11:04 T:140079407122304 NOTICE: GL: No vertex shader, fixed pipeline in use
21:11:04 T:140079407122304 NOTICE: GL: NPOT texture support detected
21:11:04 T:140079407122304 NOTICE: GL: Using GL_ARB_pixel_buffer_object
21:11:19 T:140079407122304 NOTICE: CDVDPlayer::CloseFile()
21:11:19 T:140079407122304 NOTICE: DVDPlayer: waiting for threads to exit
21:11:19 T:140078929970944 NOTICE: CDVDPlayer::OnExit()
21:11:19 T:140078929970944 NOTICE: DVDPlayer: closing audio stream
21:11:19 T:140078929970944 NOTICE: Closing audio stream
21:11:19 T:140078929970944 NOTICE: Waiting for audio thread to exit
21:11:19 T:140078034683648 NOTICE: thread end: CDVDPlayerAudio::OnExit()
21:11:19 T:140078929970944 NOTICE: Closing audio device
21:11:19 T:140078929970944 NOTICE: Deleting audio codec
21:11:19 T:140078929970944 NOTICE: DVDPlayer: closing video stream
21:11:19 T:140078929970944 NOTICE: Closing video stream
21:11:19 T:140078929970944 NOTICE: waiting for video thread to exit
21:11:19 T:140078043076352 NOTICE: thread end: video_thread
21:11:19 T:140078929970944 NOTICE: deleting video codec
21:11:19 T:140078929970944 NOTICE: DVDPlayer: closing subtitle stream
21:11:19 T:140078929970944 NOTICE: Closing subtitle stream
21:11:19 T:140078929970944 NOTICE: CDVDPlayer::OnExit() deleting demuxer
21:11:19 T:140078929970944 NOTICE: CDVDPlayer::OnExit() deleting input stream
21:11:20 T:140079407122304 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED

Here is the output from xbmc-xrandr

Quote:<screen id="0" minimum_w="320" minimum_h="200" current_w="1920" current_h="1080" maximum_w="1920" maximum_h="1920">
<output name="DFP1" connected="false">
</output>
<output name="DFP2" connected="true" w="1920" h="1080" x="0" y="0" wmm="1600" hmm="900">
<mode id="0x99" name="1920x1080" w="1920" h="1080" hz="60.00000" current="true" preferred="true"/>
<mode id="0x9a" name="1920x1080" w="1920" h="1080" hz="50.00000" current="false" preferred="false"/>
<mode id="0x9b" name="1920x1080" w="1920" h="1080" hz="30.00000" current="false" preferred="false"/>
<mode id="0x9c" name="1920x1080" w="1920" h="1080" hz="25.00000" current="false" preferred="false"/>
<mode id="0x9d" name="1920x1080" w="1920" h="1080" hz="24.00000" current="false" preferred="false"/>
<mode id="0x9e" name="1776x1000" w="1776" h="1000" hz="59.99886" current="false" preferred="false"/>
<mode id="0x9f" name="1776x1000" w="1776" h="1000" hz="49.99701" current="false" preferred="false"/>
<mode id="0xa0" name="1776x1000" w="1776" h="1000" hz="29.99958" current="false" preferred="false"/>
<mode id="0xa1" name="1776x1000" w="1776" h="1000" hz="24.99728" current="false" preferred="false"/>
<mode id="0xa2" name="1776x1000" w="1776" h="1000" hz="23.99737" current="false" preferred="false"/>
<mode id="0xa3" name="1680x1050" w="1680" h="1050" hz="59.95425" current="false" preferred="false"/>
<mode id="0xa4" name="1680x1050" w="1680" h="1050" hz="49.99701" current="false" preferred="false"/>
<mode id="0xa5" name="1680x1050" w="1680" h="1050" hz="23.99685" current="false" preferred="false"/>
<mode id="0xa6" name="1400x1050" w="1400" h="1050" hz="59.97844" current="false" preferred="false"/>
<mode id="0xa7" name="1400x1050" w="1400" h="1050" hz="49.99780" current="false" preferred="false"/>
<mode id="0xa8" name="1400x1050" w="1400" h="1050" hz="23.99825" current="false" preferred="false"/>
<mode id="0xa9" name="1280x1024" w="1280" h="1024" hz="60.01974" current="false" preferred="false"/>
<mode id="0xaa" name="1280x1024" w="1280" h="1024" hz="49.99485" current="false" preferred="false"/>
<mode id="0xab" name="1280x1024" w="1280" h="1024" hz="24.00022" current="false" preferred="false"/>
<mode id="0xac" name="1440x900" w="1440" h="900" hz="59.88744" current="false" preferred="false"/>
<mode id="0xad" name="1440x900" w="1440" h="900" hz="49.99748" current="false" preferred="false"/>
<mode id="0xae" name="1440x900" w="1440" h="900" hz="23.99751" current="false" preferred="false"/>
<mode id="0xaf" name="1280x960" w="1280" h="960" hz="60.00000" current="false" preferred="false"/>
<mode id="0xb0" name="1280x960" w="1280" h="960" hz="49.99879" current="false" preferred="false"/>
<mode id="0xb1" name="1280x960" w="1280" h="960" hz="24.00030" current="false" preferred="false"/>
<mode id="0xb2" name="1280x800" w="1280" h="800" hz="59.99828" current="false" preferred="false"/>
<mode id="0xb3" name="1280x800" w="1280" h="800" hz="49.99504" current="false" preferred="false"/>
<mode id="0xb4" name="1280x800" w="1280" h="800" hz="23.99185" current="false" preferred="false"/>
<mode id="0xb5" name="1152x864" w="1152" h="864" hz="59.99706" current="false" preferred="false"/>
<mode id="0xb6" name="1152x864" w="1152" h="864" hz="49.99791" current="false" preferred="false"/>
<mode id="0xb7" name="1152x864" w="1152" h="864" hz="23.99557" current="false" preferred="false"/>
<mode id="0xb8" name="1280x768" w="1280" h="768" hz="59.87023" current="false" preferred="false"/>
<mode id="0xb9" name="1280x768" w="1280" h="768" hz="49.99356" current="false" preferred="false"/>
<mode id="0xba" name="1280x768" w="1280" h="768" hz="24.00030" current="false" preferred="false"/>
<mode id="0xbb" name="1280x720" w="1280" h="720" hz="60.00000" current="false" preferred="false"/>
<mode id="0xbc" name="1280x720" w="1280" h="720" hz="50.00000" current="false" preferred="false"/>
<mode id="0xbd" name="1280x720" w="1280" h="720" hz="23.99557" current="false" preferred="false"/>
<mode id="0xbe" name="1440x576" w="1440" h="576" hz="50.00000" current="false" preferred="false"/>
<mode id="0xbf" name="1024x768" w="1024" h="768" hz="60.00384" current="false" preferred="false"/>
<mode id="0xc0" name="1024x768" w="1024" h="768" hz="50.00039" current="false" preferred="false"/>
<mode id="0xc1" name="1024x768" w="1024" h="768" hz="23.99343" current="false" preferred="false"/>
<mode id="0xc2" name="1152x648" w="1152" h="648" hz="59.99311" current="false" preferred="false"/>
<mode id="0xc3" name="1152x648" w="1152" h="648" hz="49.99218" current="false" preferred="false"/>
<mode id="0xc4" name="1440x480" w="1440" h="480" hz="59.99556" current="false" preferred="false"/>
<mode id="0xc5" name="1440x480" w="1440" h="480" hz="49.98852" current="false" preferred="false"/>
<mode id="0xc6" name="1440x480" w="1440" h="480" hz="23.98805" current="false" preferred="false"/>
<mode id="0xc7" name="800x600" w="800" h="600" hz="60.31654" current="false" preferred="false"/>
<mode id="0xc8" name="800x600" w="800" h="600" hz="49.98844" current="false" preferred="false"/>
<mode id="0xc9" name="800x600" w="800" h="600" hz="23.99612" current="false" preferred="false"/>
<mode id="0xca" name="720x576" w="720" h="576" hz="50.00000" current="false" preferred="false"/>
<mode id="0xcb" name="720x480" w="720" h="480" hz="60.00666" current="false" preferred="false"/>
<mode id="0xcc" name="720x480" w="720" h="480" hz="50.00000" current="false" preferred="false"/>
<mode id="0xcd" name="720x480" w="720" h="480" hz="23.97440" current="false" preferred="false"/>
<mode id="0xce" name="640x480" w="640" h="480" hz="60.00000" current="false" preferred="false"/>
<mode id="0xcf" name="640x480" w="640" h="480" hz="49.98969" current="false" preferred="false"/>
<mode id="0xd0" name="640x480" w="640" h="480" hz="23.98675" current="false" preferred="false"/>
</output>
<output name="CRT1" connected="false">
</output>
<output name="CRT2" connected="false">
</output>
</screen>



RE: HDMI 0.00 Refresh & USB DVD stuttering - FernetMenta - 2012-05-30 10:01

What version of xbmc are you running? It was compiled April, 24th. xml parser in current master is broken.


RE: HDMI 0.00 Refresh & USB DVD stuttering - Devaron - 2012-05-30 13:47

I don't know if this will be of any help for you but i had the refresh problem you mention myself and solved it by doing and apt-get update & upgrade a while back. Now i can't figure out what exactly fixed it, nor do i know what the problem was in the first place. I only know that the upgrade fixed it.

See here for "my" thread about this issue: http://forum.xbmc.org/showthread.php?tid=129582

I hope this helps you solve your problem!

My (current) system information:

Version of OS: Ubuntu 12.04 LTS "Precise"
Kernel release & version: 3.2.0-24-generic-pae #39-Ubuntu SMP Mon May 21 18:54:21 UTC 2012 i686 athlon i386 GNU/Linux
NVRM version: NVIDIA UNIX x86 Kernel Module 295.53 Fri May 11 23:13:15 PDT 2012
GCC version: gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)


RE: HDMI 0.00 Refresh & USB DVD stuttering - harx001 - 2012-05-30 17:46

Thanks for the replies!

- version: I'm away from my PC, but the version is the Eden stock version in the ubuntu repository. Has the xml parser been fixed? I was thinking about installing the latest Xvba version as a next step.
- Davaron: I saw that note, and have done a full apt-get update and apt-get upgrade, without any change. I have an ATI card, whereas you have an NVIDIA card, which might be relevant.

I'm still very very confused about the USB DVD. Unfortunately my PC is mounted in a rack, so installing the DVD drive direct to the IDE channel might be a next step. However, I was hoping to run a USB cable so that I can load DVDs in my home theatre equipment rack.


RE: HDMI 0.00 Refresh & USB DVD stuttering - harx001 - 2012-06-01 15:52

Just an update. I installed the Xvba version, and I was able to switch resolutions, so as FernetMenta indicated, this might be an xml parser problem with the xbmc build from the unbuntu repo. Strangely enough, I couldn't get HDMI audio working in that version (custom hdmi:HDMI didn't work anymore), so I've reverted back to the stock version as sound is more important than resolution changes (and that this might be fixed by an upcoming xbmc update).

I wasn't able to test the DVD as I spent hours trying to get sound working.