Giter VIP home page Giter VIP logo

fernetmenta / xbmc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from opdenkamp/xbmc

55.0 55.0 20.0 685.03 MB

Fork of XBMC Main PVR Development Repository.

Home Page: http://xbmc.org

License: Other

C++ 85.77% C 6.32% Python 0.86% Shell 0.06% CSS 0.18% HTML 1.64% JavaScript 2.26% Makefile 0.09% Assembly 0.04% C# 0.06% Objective-C 0.29% CMake 1.30% Objective-C++ 0.77% Java 0.01% GLSL 0.17% Groovy 0.02% Perl 6 0.01% NSIS 0.04% Batchfile 0.04% M4 0.08%

xbmc's People

Contributors

ace20022 avatar alwinesch avatar davilla avatar elupus avatar fernetmenta avatar fetzerch avatar fritsch avatar garbear avatar huceke avatar hudokkow avatar jenkins4kodi avatar jezzx avatar jmarshallnz avatar karlson2k avatar koying avatar ksooo avatar martijnkaijser avatar memphiz avatar mkortstiege avatar montellese avatar notspiff avatar opdenkamp avatar paxxi avatar pieh avatar popcornmix avatar rechi avatar ronie avatar tamland avatar wsnipex avatar xhaggi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xbmc's Issues

default skin has missing backgrounds

I'm not sure if this is a bug or if this is something wrong with the version this build is based on but the default skin is missing backgrounds.

I copied the version from an older mainline xbmc build into my new version and now it seems to work...i will try to show a sceeenshot of this error in a bit

Random crashes during every movie that uses xvba

Happens at random times, watching random movies. This is using the latest (as of this moment) xbmc-xvba from the PPA, on an AMD A4 Fusion, Ubuntu 11.10, fglrx 11.11. Shared surfaces was initially enabled, I disabled this later on, crashes persisted.

http://pastebin.com/7Sypc29v
http://pastebin.com/YgkMYP1x
http://pastebin.com/Xtt8ybRt

Here is an example of the movie that crashed multiple times:

File Type : MKV
MIME Type : video/x-matroska
EBML Version : 1
EBML Read Version : 1
Doc Type : matroska
Doc Type Version : 2
Doc Type Read Version : 2
Timecode Scale : 1 ms
Muxing App : libebml v1.2.3 + libmatroska v1.3.0
Writing App : mkvmerge v5.1.0 ('And so it goes') built on Nov 28 2011 23:58:28
Duration : 1:40:48
Date/Time Original : 2011:12:12 02:05:03Z
Video Codec ID : V_MPEG4/ISO/AVC
Video Frame Rate : 23.976
Image Width : 1920
Image Height : 816
Display Width : 1920
Display Height : 816
Track Number : 2
Track Type : Audio
Audio Codec ID : A_DTS
Default Duration : 10.666666 ms
Audio Sample Rate : 48000
Audio Channels : 6
Chapter Time Start : 1:36:40
Chapter String : 01:36:40.086
Chapter Language : eng
Image Size : 1920x816

Let me know if you need additional information/testing.

SIGSEGV in XSetICFocus

XBMC (xbmc-frodo-2344e31.tar.xz, xbmc-frodo-theme-Confluence-2344e31.tar.xz ) segfaults:
<xbmc.log>
13:41:18 T:140171687593792 INFO: Loading skin includes from /usr/share/xbmc/addons/skin.confluence/720p/includes.xml
13:41:18 T:140171687593792 INFO: load new skin...
13:41:18 T:140171687593792 INFO: Loading skin file: Home.xml

output from gdb:
(gdb) continue
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x0000003f8824dfa5 in XSetICFocus () from /usr/lib/libX11.so.6
(gdb) backtrace
#0 0x0000003f8824dfa5 in XSetICFocus () from /usr/lib/libX11.so.6
#1 0x0000000000f44fe1 in CWinEventsX11::MessagePump() ()
#2 0x0000000000f752ed in CApplication::FrameMove(bool) ()
#3 0x0000000000ff8e5e in CXBApplicationEx::Run() ()
#4 0x000000000071358d in main ()

(gdb)

OpenELEC: commit d14f0d6
FernetMenta-XBMC: 2344e31
Hardware: Zotac AD10 (x86_64, AMD e350 chipset)

Null pointer : vdpau branch on NVIDIA card with no hardware decoding

lspci: nVidia Corporation G71 [GeForce 7950 GT]

This card is not able to do hardware decoding of H264 but processors are powerful enough to do it. Each time I stop playing HD TV via stop button, XBMC crash (100 repoductibe) ith identical stack trace:

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/local/lib/xbmc/xbmc.bin'.
Program terminated with signal 11, Segmentation fault.
#0 fast_memcpy (to=0x10, from=0x7bf6c40, len=1872) at fastmemcpy.c:197

197 small_memcpy(to, from, delta);

...
Thread 1 (Thread 0x7f76b2935700 (LWP 21798)):
#0 fast_memcpy (to=0x10, from=0x7bf6c40, len=1872) at fastmemcpy.c:197
#1 0x0000000000985c93 in CDVDCodecUtils::CopyPicture (pImage=0x7f76b29347f0, pSrc=0x7f76b29348e0) at DVDCodecUtils.cpp

:123
#2 0x0000000000ad10db in CXBMCRenderManager::AddVideoPicture (this=0x14bb5e0, pic=...) at RenderManager.cpp:786
#3 0x000000000097bfc7 in CDVDPlayerVideo::OutputPicture (this=0x7f76ac838d70, src=, pts=

) at DVDPlayerVideo.cpp:1303
#4 0x000000000097dadc in CDVDPlayerVideo::Process (this=0x7f76ac838d70) at DVDPlayerVideo.cpp:685
#5 0x0000000000e78027 in CThread::staticThread (data=0x7f76ac838d70) at Thread.cpp:106

Meaningfull part of xbmc crashlog at http://pastebin.com/XYeKiPcb

DTS-HD / True-HD: Audio glitches with Refclock turned on (AC3 pass-through)

Having Sync Playback to Display turned on with method Drop/Dup Audio cause glitches during playback of movies with True-HD or DTS-HD Audio, when receiver || graphics card do not support those formats and Audio Engine does a AC3 encode.

In Audio Settings choose:
DTS: check
AC3: check

everything else unchecked.

In Video Settings choose:
Adjust Refresh Rate to match Video
Sync Playback to Display Video Clock (Drop / Dup Audio)

This error happens on AMD and on vdpau nvidia Systems with a similar setup. Turning of Sync Playback to Display or setting Sync to Audio Clock makes those glitches unhearable.

xbmc.log tells something like this:
http://xbmclogs.com/show.php?id=7200 (Done on StrangeNoises System)

This issue is reported here in order to find out if it is an AE issue or some too hard constraings of the RefClock.
I will add a complete debug log later.

Report on master branch using a ZoTac AD02

So I tester again the code on master this morning. First time it started, I got the video correctly on TV via tvheadend in the small windows, but going full screen gave me only black screen. Hitting escape I was correctly returning on the channel selection and has back the TV stream in the small windows.

After a while it crashed

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/local/lib/xbmc/xbmc.bin'.
Program terminated with signal 11, Segmentation fault.
#0 0x00000000038de6d7 in ?? ()
#0 0x00000000038de6d7 in ?? ()
#1 0x0000000000f6cee1 in CWinSystemX11::OnLostDevice (this=0x1cbd9b0) at WinSystemX11.cpp:518
#2 0x0000000000f6d22f in CWinSystemX11::SetFullScreen (this=0x1cbd9b0, fullScreen=, res=...,

blankOtherDisplays=) at WinSystemX11.cpp:198
#3 0x0000000000f707a7 in CWinSystemX11GL::SetFullScreen (this=0x1cbd9b0, fullScreen=true, res=..., blankOth

erDisplays=) at WinSystemX11GL.cpp:257
#4 0x00000000008986ee in CGraphicContext::SetVideoResolution (this=0x1cbc8b0, res=, forceUpd

ate=) at GraphicContext.cpp:380
#5 0x0000000000898d89 in CGraphicContext::SetFullScreenVideo (this=0x1cbc8b0, bOnOff=) at Gr

aphicContext.cpp:287
#6 0x00000000006e5dc6 in CGUIWindowFullScreen::OnMessage (this=0x7fecac02b750, message=...) at GUIWindowFul

lScreen.cpp:771
#7 0x000000000092ef35 in CGUIWindow::Close_Internal (this=0x7fecac02b750, forceClose=false, nextWindowID=0,

enableSound=true) at GUIWindow.cpp:359
#8 0x0000000000935829 in CGUIWindowManager::CloseWindowSync (this=, window=0x7fecac02b750, n

extWindowID=) at GUIWindowManager.cpp:971
#9 0x0000000000938721 in CGUIWindowManager::PreviousWindow (this=0x14b2c40) at GUIWindowManager.cpp:306
#10 0x00000000006e8e96 in CGUIWindowFullScreen::OnAction (this=0x7fecac02b750, action=...) at GUIWindowFullS

creen.cpp:200
#11 0x0000000000934c7d in CGUIWindowManager::OnAction (this=0x14b2c40, action=...) at GUIWindowManager.cpp:4

83
#12 0x0000000000eb664f in CApplication::OnAction (this=0x14b1920, action=...) at Application.cpp:2412
#13 0x0000000000eb8151 in CApplication::OnKey (this=0x14b1920, key=...) at Application.cpp:2327
#14 0x0000000000eb8f02 in CApplication::OnEvent (newEvent=...) at Application.cpp:434
#15 0x0000000000e86eaf in CWinEventsSDL::MessagePump () at WinEventsSDL.cpp:281
#16 0x0000000000ebc8dd in CApplication::FrameMove (this=0x14b1920, processEvents=) at Applica

tion.cpp:2751
#17 0x0000000000f443de in CXBApplicationEx::Run (this=0x14b1920) at XBApplicationEx.cpp:120
#18 0x0000000000681819 in main (argc=1, argv=) at xbmc.cpp:93

I restarted, this time I managed to get the full screen TV display. I just noticed the OSD was not correctly resized when it was at first run. Once started it played correctly.

Field texture alignment possible problem

I think there might still be an issue with pixel perfect alignment of VDPAU textures of fields to display pixels in OpenGL.
Remember the issue of the inverted stipple weave pattern? I verified the pattern by writing lines to the frame in software render mode.
The difference here is that in software render mode, the texture is a whole frame and not a single field as in VDPAU mode. If the texture is a whole frame, at the original size setting each texel has a 1:1 mapping to a display pixel (ignoring the horizontal axis). If the texture is a field there is a 1:2 mapping to display pixels.
Positioning of the GL_QUAD to which the texture is to be rendered is critical where glTexParameterf GL_LINEAR is used. GL_LINEAR will render the weighted average of the 4 texels nearest to the centre of each display pixel. Where there is a 1:1 mapping of texels to pixels each pixel sits precisely on a texel and will thus be rendered the value of only that texel. When there is a 1:2 mapping each pixel sits at the edge of a texel. This means the pixel is rendered with the weighted average of the texel the pixel sits on and the neighboring texel it shares its border with. When this happens the display is no longer pixel perfect.
I have built some test code that performs field rendering with stipple weave and I can confirm that the top field GL_QUAD must be positioned a half pixel above and the bottom field a half pixel below in order to place each pixel squarely in the middle of the texel it is to be rendered from. XBMC does not do this so I suspect picture quality is compromised with the current method of rendering single field texures.
I don't know how I can get some test lines into VDPAU fields to investigate this further within XBMC.

nvidia driver 304.37 breaks refresh rate changes

The summary doesn't really do it justice, this is a bit complicated.

Firstly, everything was fine under nvidia driver 302.17; but ubuntu ppa x-swat-updates updated their nvidia-current this morning to 304.37 so i got it then.

XBMC currently defaults to 50Hz. If I play 50Hz material (generally off-air or live tv (yes i got that working)) it's all fine.

If I play a movie at 23.976, this happens:

The refresh rate of the tv switches. xmbc-xrandr reports the changed refresh rate, ie:

DISPLAY=:0 /usr/local/lib/xbmc/xbmc-xrandr | grep 'current="true"'
<mode id="0x1e9" name="1920x1080" w="1920" h="1080" hz="23.97576" current="true" preferred="false"/>

But I'm experiencing a lot of missed frames and jerky playback. Looking at the CodecInfo, Frame rate fluctuates as low as 18. refresh:50, lots of missed frames. As per the first screenshot:

https://dl.dropbox.com/u/1791046/nvidia-304-37-issue-1.png

Things to look at: fps:low fluctuating figure. In the S() section to the right, refresh:50 and an ever-increasing missed: figure.

Similar symptoms when trying to play a 29.97 interlaced video. It does actually switch mode according to xbmc_xrandr. So, during playback:

DISPLAY=:0 /usr/local/lib/xbmc/xbmc-xrandr | grep 'current="true"'
<mode id="0x1eb" name="1920x1080" w="1920" h="1080" hz="59.93939" current="true" preferred="false"/>

It doesn't look so bad but only because the high enough frame rate masks it a bit for the human eye, but it still shows refres:50, a fluctuating fps: figure. Not many missed: frames this time, but drop: increments as playback goes on.

as seen: https://dl.dropbox.com/u/1791046/nvidia-304-37-issue-2.png

Full XBMC log during this session:

http://xbmclogs.com/show.php?id=6720

I've been hearing other people cite upgrading to this nvidia driver to solve certain other problems, so i'm wondering if this issue may be particular to the vdpau work in this branch?

it's curious that all i can see in the logs of it apparently going wrong during playback is a lot of: "CDVDPlayerAudio:: Discontinuity" errors. It's odd, because it actually sounds fine, and it's the picture that's obviously jerky; but i guess there's audio synchronisation issues going on.

NB: Setting the refresh rate in settings first and then playing a movie doesn't help. It does really appear to be going to that refresh rate (eg: gui animations not as smooth in 23.976Hz) ; it just isn't working right when it's there.

BTW, all the above was with the setting enabled to Sync playback to display, and A/V sync method, Video clock (drop/dupe audio).

PS: Turning off Sync playback to display seems to make the problem go away. :-) I don't know if that means "leave it off then" or "we need to fix that sync playback to display behaviour"

The fact that that S() section (which, now it's missing, I presume stands for Sync) had "refresh:50" presumably means the code that's doing the syncing still thought the refresh rate was 50, even though it's not. Which does look like the bug. :-)

deadlock

Commit 9d75fb9a49e7def4eeb9b93f4ca23c5571504ba7 (xvba: decoder, fix deadlock) did not fully fix the issue.

here are 2 threaddumps:
http://paste.ubuntu.com/743062
http://paste.ubuntu.com/743070/

steps to reproduce:

  1. Play a video
  2. Stop
  3. Play same video again
    repeat step 2 and 3 until deadlock occurs
    it does not always crash, sometimes only the picture flickers. Furthermore "start from beginning" is not honored, it will instead silently use resume from last point.

I can reproduce the problem fairly well with this video:

Unique ID : 235186210239207230868894777912482336390 (0xB0EF376B46DC962DBC3A3CCD24300E86)
Complete name : /data2/TV/Hell On Wheels/Season01/Hell.On.Wheels.-.1x01.-.Pilot.-.720p.WEB-DL.mkv
Format : Matroska
Format version : Version 2
File size : 1.29 GiB
Duration : 45mn 1s
Overall bit rate : 4 101 Kbps
Encoded date : UTC 2011-11-07 09:49:53
Writing application : mkvmerge v5.0.0 ('Die Wahre Liebe') built on Sep 25 2011 20:33:49
Writing library : libebml v1.2.2 + libmatroska v1.3.0

Video
ID : 2
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : No
Format settings, ReFrames : 2 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 45mn 1s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Language : English
Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177

Super-sized videos ( 4k ) break decoder

When trying to play super-sized videos, the decoder winds up having problems that persist until the system reboots.

Sample Files can be found on sintel's website:
Sintel (2010) Homepage
Sintel (2010) - 4k movie file ( Located at blender's website)

Also, the ffmpeg information for the video track is as follows:

Stream #0.0(eng): Video: h264 (High), yuv420p, 4096x1744 [PAR 1:1 DAR 256:109], 24 fps, 24 tbr, 1k tbn, 48 tbc (default)\

h264 artifacts with XvBA

I'm getting artifacts when playing the following video using XvBA and fglrx 11.12: http://dl.dropbox.com/u/59212404/fusionsample/sample2.mkv
same video plays fine on other systems and on windows.

xbmc.log shows the following

13:52:06 T:3047422272    INFO: CheckIdle - Closing session to http://www.openelec.tv (easy=0xaf5eae98, multi=(nil))
13:52:06 T:3047422272   DEBUG: SDLKeyboard: scancode: 24, sym: 000d, unicode: 000d, modifier: 0
13:52:06 T:3047422272   DEBUG: OnKey: return (f00d) pressed, action is Select
13:52:06 T:3047422272   DEBUG: OnPlayMedia nfs://192.168.8.253/volumes/storage2/videos/test pulsebox/sample2.mkv
13:52:06 T:3047422272   DEBUG: CPlayerCoreFactory::GetPlayers(nfs://192.168.8.253/volumes/storage2/videos/test pulsebox/sample2.mkv)
13:52:06 T:3047422272   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
13:52:06 T:3047422272   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
13:52:06 T:3047422272   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
13:52:06 T:3047422272   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/rtmp/mms/udp
13:52:06 T:3047422272   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
13:52:06 T:3047422272   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
13:52:06 T:3047422272   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
13:52:06 T:3047422272   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
13:52:06 T:3047422272   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdfile
13:52:06 T:3047422272   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
13:52:06 T:3047422272   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
13:52:06 T:3047422272   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
13:52:06 T:3047422272   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
13:52:06 T:3047422272   DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
13:52:06 T:3047422272   DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
13:52:06 T:3047422272   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
13:52:06 T:3047422272   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
13:52:06 T:3047422272   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
13:52:06 T:3047422272   DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
13:52:06 T:3047422272  NOTICE: DVDPlayer: Opening: nfs://192.168.8.253/volumes/storage2/videos/test pulsebox/sample2.mkv
13:52:06 T:3047422272 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
13:52:06 T:3047422272   DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
13:52:06 T:2825665344  NOTICE: Thread CDVDPlayer start, auto delete: false
13:52:06 T:2825665344  NOTICE: Creating InputStream
13:52:06 T:2825665344   DEBUG: CFileNFS::Open - opened volumes/storage2/videos/test pulsebox/sample2.mkv
13:52:06 T:2825665344   DEBUG: ScanForExternalSubtitles: Searching for subtitles...
13:52:06 T:2825665344   DEBUG: ScanForExternalSubtitles: END (total time: 52 ms)
13:52:06 T:2825665344  NOTICE: Creating Demuxer
13:52:06 T:2825665344   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avcore-0-i486-linux.so)
13:52:06 T:2825665344   DEBUG: Loading: /usr/lib/xbmc/system/players/dvdplayer/avcore-0-i486-linux.so
13:52:06 T:2825665344   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avcodec-52-i486-linux.so)
13:52:06 T:2825665344   DEBUG: Loading: /usr/lib/xbmc/system/players/dvdplayer/avcodec-52-i486-linux.so
13:52:06 T:2825665344   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avformat-52-i486-linux.so)
13:52:06 T:2825665344   DEBUG: Loading: /usr/lib/xbmc/system/players/dvdplayer/avformat-52-i486-linux.so
13:52:06 T:2825665344   DEBUG: Open - probing detected format [matroska,webm]
13:52:06 T:2825665344   DEBUG: Open - av_find_stream_info starting
13:52:06 T:3047422272   DEBUG: ------ Window Init (DialogBusy.xml) ------
13:52:07 T:2825665344   DEBUG: Open - av_find_stream_info finished
13:52:07 T:2825665344    INFO: ffmpeg[A86C3B40]: Input #0, matroska,webm, from 'nfs://192.168.8.253/volumes/storage2/videos/test pulsebox/sample2.mkv':
13:52:07 T:2825665344    INFO: ffmpeg[A86C3B40]:   Duration: 00:00:40.13, start: 0.000000, bitrate: 15985 kb/s
13:52:07 T:2825665344    INFO: ffmpeg[A86C3B40]:     Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x1040, PAR 1:1 DAR 24:13, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
13:52:07 T:2825665344    INFO: ffmpeg[A86C3B40]:     Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 640 kb/s
13:52:07 T:2825665344  NOTICE: Opening video stream: 0 source: 256
13:52:07 T:2825665344  NOTICE: Creating video codec with codec id: 28
13:52:07 T:2825665344   DEBUG: CDVDFactoryCodec: compiled in hardware support: CrystalHD:no OpenMax:no VDPAU:no VAAPI:no
13:52:07 T:2825665344   DEBUG: FactoryCodec - Video:  - Opening
13:52:07 T:2825665344   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avfilter-1-i486-linux.so)
13:52:07 T:2825665344   DEBUG: Loading: /usr/lib/xbmc/system/players/dvdplayer/avfilter-1-i486-linux.so
13:52:07 T:2825665344  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
13:52:07 T:2825665344   DEBUG: FactoryCodec - Video: ff-h264 - Opened
13:52:07 T:2825665344  NOTICE: Creating video thread
13:52:07 T:2677009216  NOTICE: Thread CDVDPlayerVideo start, auto delete: false
13:52:07 T:2825665344  NOTICE: Opening audio stream: 1 source: 256
13:52:07 T:2825665344  NOTICE: Finding audio codec for: 86019
13:52:07 T:2825665344   DEBUG: FactoryCodec - Audio: PassthroughFFmpeg - Opening
13:52:07 T:2825665344    INFO: CDVDAudioCodecPassthroughFFmpeg::Open - Won't transcode for HDMI
13:52:07 T:2825665344   DEBUG: FactoryCodec - Audio: PassthroughFFmpeg - Failed
13:52:07 T:2825665344   DEBUG: FactoryCodec - Audio: FFmpeg - Opening
13:52:07 T:2825665344   DEBUG: FactoryCodec - Audio: FFmpeg - Opened
13:52:07 T:2825665344  NOTICE: Creating audio thread
13:52:07 T:2677009216  NOTICE: running thread: video_thread
13:52:07 T:2668616512  NOTICE: Thread CDVDPlayerAudio start, auto delete: false
13:52:07 T:2825665344   DEBUG: CDVDPlayer::SetCaching - caching state 3
13:52:07 T:2668616512  NOTICE: running thread: CDVDPlayerAudio::Process()
13:52:07 T:2668616512   DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_RESYNC(7000.000000, 1)
13:52:07 T:2825665344   DEBUG: CheckPlayerInit - dropping packet type:2 dts:83000.000000 to get to start point at 167000.000000
13:52:07 T:2825665344   DEBUG: CheckPlayerInit - dropping packet type:2 dts:41000.000000 to get to start point at 167000.000000
13:52:07 T:2825665344   DEBUG: CheckPlayerInit - dropping packet type:2 dts:125000.000000 to get to start point at 167000.000000
13:52:07 T:2677009216   DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
13:52:07 T:2677009216    INFO: CDVDPlayerVideo - Stillframe left, switching to normal playback
13:52:07 T:2668616512  NOTICE: Creating audio device with codec id: 86019, channels: 6, sample rate: 48000, no pass-through
13:52:07 T:2668616512    INFO: CPCMRemap: Configured speaker layout: 2.0
13:52:07 T:2668616512    INFO: CPCMRemap: I channel map: FL,FR,CE,LFE,SL,SR
13:52:07 T:2668616512   DEBUG: CPCMRemap: Forcing side channel map to back channels
13:52:07 T:2668616512    INFO: CPCMRemap: O channel map: FL,FR
13:52:07 T:2668616512   DEBUG: CPCMRemap: Downmix normalization is disabled
13:52:07 T:2668616512   DEBUG: CPCMRemap: FL = FL(1.000000) CE(0.707107) LFE(0.707107) BL(1.000000)
13:52:07 T:2668616512   DEBUG: CPCMRemap: FR = FR(1.000000) CE(0.707107) LFE(0.707107) BR(1.000000)
13:52:07 T:2668616512   DEBUG: CALSADirectSound::CALSADirectSound - Requested channels changed from 6 to 2
13:52:07 T:2668616512   DEBUG: RemoveActiveDevice - Removing device 1
13:52:07 T:2668616512   DEBUG: SetActiveDevice - SetActiveDevice from 0 to 2
13:52:07 T:2668616512   DEBUG: RemoveActiveDevice - Removing device 0
13:52:07 T:2677009216  NOTICE: (XVBA::Open) opening xvba decoder, id: 2
13:52:07 T:2668616512   DEBUG: Initialize - using alsa device plug:hdmi
13:52:07 T:2668616512   DEBUG: CALSADirectSound::Initialize - frame count:512, packet count:16, buffer size:8192
13:52:07 T:2668616512   DEBUG: CALSADirectSound::Initialize - Channels: 6 - SampleRate: 48000 - SampleBit: 16 - Resample false - IsMusic false - IsPassthrough 0 - audioDevice: plug:hdmi
13:52:07 T:2668616512   DEBUG: CDVDPlayerAudio:: synctype set to 0: clock feedback
13:52:07 T:2825665344   DEBUG: CDVDPlayer::HandleMessages - player started 1
13:52:08 T:2677009216  NOTICE: XVBA::CreateContext - creating decoder context
13:52:08 T:2677009216  NOTICE: XVBA::CreateContext - opening xvba version: 76
13:52:08 T:2677009216  NOTICE: (XVBA) using decoder capability id: 256 flags: 3
13:52:08 T:2677009216  NOTICE: (XVBA) using surface type: 3231564e
13:52:08 T:2677009216   DEBUG: XVBA::FFGetBuffer - created video surface
13:52:08 T:2677009216    INFO: ffmpeg[9F8FEB40]: [h264] Cannot parallelize deblocking type 1, decoding such frames in sequential order
13:52:08 T:3047422272   DEBUG: CGUIInfoManager::SetCurrentMovie(nfs://192.168.8.253/volumes/storage2/videos/test pulsebox/sample2.mkv)
13:52:08 T:2677009216   DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_RESYNC(167000.000000, 0)
13:52:08 T:2677009216   DEBUG: XVBA::FFGetBuffer - created video surface
13:52:08 T:3047422272   DEBUG: GetMovieId (nfs://192.168.8.253/volumes/storage2/videos/test pulsebox/sample2.mkv), query = select idMovie from movie where idFile=1436
13:52:08 T:3047422272   DEBUG: GetEpisodeId (nfs://192.168.8.253/volumes/storage2/videos/test pulsebox/sample2.mkv), query = select idEpisode from episode where idFile=1436
13:52:08 T:3047422272   DEBUG: GetMusicVideoId (nfs://192.168.8.253/volumes/storage2/videos/test pulsebox/sample2.mkv), query = select idMVideo from musicvideo where idFile=1436
13:52:08 T:2677009216   DEBUG: XVBA::FFGetBuffer - created video surface
13:52:08 T:2677009216  NOTICE:  fps: 23.976024, pwidth: 1920, pheight: 1040, dwidth: 1920, dheight: 1040
13:52:08 T:2677009216   DEBUG: OutputPicture - change configuration. 1920x1040. framerate: 23.98. format: XVBA
13:52:08 T:3047422272   DEBUG: GetMovieId (nfs://192.168.8.253/volumes/storage2/videos/test pulsebox/sample2.mkv), query = select idMovie from movie where idFile=1436
13:52:08 T:3047422272   DEBUG: GetEpisodeId (nfs://192.168.8.253/volumes/storage2/videos/test pulsebox/sample2.mkv), query = select idEpisode from episode where idFile=1436
13:52:08 T:3047422272   DEBUG: GetMusicVideoId (nfs://192.168.8.253/volumes/storage2/videos/test pulsebox/sample2.mkv), query = select idMVideo from musicvideo where idFile=1436
13:52:08 T:3047422272   DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
13:52:08 T:3047422272   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
13:52:08 T:3047422272   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
13:52:08 T:2825665344   DEBUG: CDVDPlayer::SetCaching - caching state 0
13:52:08 T:2668616512   DEBUG: CPCMRemap:: max gain: 3.414214, enabling limiter
13:52:08 T:2668616512   DEBUG: CDVDPlayerAudio:: Discontinuity - was:8066.139000, should be:7000.000000, error:-1066.139000
13:52:08 T:2677009216 WARNING: CRenderManager::Configure - timeout waiting for previous frame
13:52:08 T:2677009216  NOTICE: Display resolution DESKTOP : 1920x1080 @ 60.00 - Full Screen (12)
13:52:08 T:2677009216   DEBUG: XVBA::FFGetBuffer - created video surface
13:52:08 T:2825665344   DEBUG: CDVDPlayer::HandleMessages - player started 2
13:52:08 T:3047422272   DEBUG: Activating window ID: 12005
13:52:08 T:3047422272   DEBUG: ------ Window Deinit (MyVideoNav.xml) ------
13:52:08 T:3047422272   DEBUG: ------ Window Init (VideoFullScreen.xml) ------
13:52:08 T:3047422272    INFO: Loading skin file: VideoFullScreen.xml
13:52:08 T:2677009216 WARNING: XVBA::GetPicture: old presentPicture was still valid - now discarded
13:52:08 T:3047422272  NOTICE: Using GL_TEXTURE_2D
13:52:08 T:3047422272  NOTICE: GL: Using XVBA render method
13:52:08 T:3047422272  NOTICE: GL: NPOT texture support detected
13:52:08 T:3047422272  NOTICE: GL: Using GL_ARB_pixel_buffer_object
13:52:08 T:2677009216   DEBUG: XVBA::FFGetBuffer - created video surface
13:52:08 T:3047422272   DEBUG: XVBA::GetTexture - created shared surface
13:52:08 T:2677009216   DEBUG: XVBA::FFGetBuffer - created video surface
13:52:08 T:3047422272   DEBUG: XVBA::GetTexture - created shared surface
13:52:08 T:2677009216   DEBUG: XVBA::FFGetBuffer - created video surface
13:52:08 T:3047422272   DEBUG: XVBA::GetTexture - created shared surface
13:52:08 T:2677009216   DEBUG: XVBA::FFGetBuffer - created video surface
13:52:10 T:2987907904   DEBUG: AddOnLog: Tvheadend HTSP Client: ParseChannelUpdate - id:106, name:'(null)', icon:'(null)', event:513403
13:52:10 T:2987907904   DEBUG: AddOnLog: Tvheadend HTSP Client: ParseChannelUpdate - id:106, name:'(null)', icon:'(null)', event:0
13:52:11 T:2987907904   DEBUG: AddOnLog: Tvheadend HTSP Client: ParseChannelUpdate - id:106, name:'(null)', icon:'(null)', event:513337
13:52:13 T:3047422272   DEBUG: SDLKeyboard: scancode: 35, sym: 0078, unicode: 0078, modifier: 0
13:52:13 T:3047422272   DEBUG: OnKey: x (f058) pressed, action is Stop
13:52:13 T:3047422272  NOTICE: CDVDPlayer::CloseFile()
13:52:13 T:3047422272  NOTICE: DVDPlayer: waiting for threads to exit
13:52:13 T:2825665344  NOTICE: CDVDPlayer::OnExit()
13:52:13 T:2825665344  NOTICE: DVDPlayer: closing audio stream
13:52:13 T:2825665344  NOTICE: Closing audio stream
13:52:13 T:2825665344  NOTICE: Waiting for audio thread to exit
13:52:13 T:2668616512  NOTICE: thread end: CDVDPlayerAudio::OnExit()
13:52:13 T:2825665344  NOTICE: Closing audio device
13:52:13 T:2668616512   DEBUG: Thread CDVDPlayerAudio 2668616512 terminating
13:52:13 T:2825665344   DEBUG: SetActiveDevice - SetActiveDevice from 2 to 1
13:52:13 T:2825665344   DEBUG: RemoveActiveDevice - Removing device 2
13:52:13 T:2825665344  NOTICE: Deleting audio codec
13:52:13 T:2825665344  NOTICE: DVDPlayer: closing video stream
13:52:13 T:2825665344  NOTICE: Closing video stream
13:52:13 T:2825665344  NOTICE: waiting for video thread to exit
13:52:13 T:2677009216  NOTICE: thread end: video_thread
13:52:13 T:2677009216   DEBUG: Thread CDVDPlayerVideo 2677009216 terminating
13:52:13 T:2825665344  NOTICE: deleting video codec
13:52:13 T:2825665344  NOTICE: CDVDPlayer::OnExit() deleting demuxer
13:52:13 T:2825665344  NOTICE: CDVDPlayer::OnExit() deleting input stream
13:52:13 T:2825665344   DEBUG: CFileNFS::Close closing file volumes/storage2/videos/test pulsebox/sample2.mkv
13:52:13 T:2825665344   DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
13:52:13 T:2825665344   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
13:52:13 T:2825665344   DEBUG: Thread CDVDPlayer 2825665344 terminating
13:52:13 T:3047422272  NOTICE: DVDPlayer: finished waiting
13:52:13 T:3047422272   DEBUG: LinuxRendererGL: Cleaning up GL resources
13:52:13 T:3047422272  NOTICE: XVBA::FinishGL - clearing down gl resources
13:52:13 T:3047422272   DEBUG: XVBA::FinishGL - destroyed shared surface
13:52:13 T:3047422272   DEBUG: XVBA::FinishGL - destroyed texture, index: 0, field 0
13:52:13 T:3047422272   DEBUG: XVBA::FinishGL - destroyed shared surface
13:52:13 T:3047422272   DEBUG: XVBA::FinishGL - destroyed texture, index: 1, field 0
13:52:13 T:3047422272   DEBUG: XVBA::FinishGL - destroyed shared surface
13:52:13 T:3047422272   DEBUG: XVBA::FinishGL - destroyed texture, index: 2, field 0
13:52:13 T:3047422272  NOTICE: XVBA::FinishGL - clearing down gl resources
13:52:13 T:3047422272  NOTICE: Previous line repeats 1 times.
13:52:13 T:3047422272  NOTICE: XVBA::Close - closing decoder, id: 2
13:52:13 T:3047422272  NOTICE: XVBA::FinishGL - clearing down gl resources
13:52:13 T:3047422272  NOTICE: XVBA::Close - closing decoder context
13:52:13 T:3047422272   DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
13:52:13 T:3047422272   DEBUG: ------ Window Deinit (VideoFullScreen.xml) ------
13:52:13 T:3047422272   DEBUG: CGUIWindowManager::PreviousWindow: Activate new
13:52:13 T:3047422272   DEBUG: ------ Window Init (MyVideoNav.xml) ------
13:52:13 T:3047422272    INFO: Loading skin file: MyVideoNav.xml
13:52:13 T:3047422272   DEBUG: CGUIMediaWindow::GetDirectory (nfs://192.168.8.253/volumes/storage2/videos/test pulsebox/)
13:52:13 T:3047422272   DEBUG:   ParentPath = [nfs://192.168.8.253/volumes/storage2/videos/test pulsebox/]
13:52:13 T:3047422272   DEBUG: RunQuery took 1 ms for 3 items query: select strFilename,playCount from files where idPath=91
13:52:13 T:2825665344  NOTICE: Thread Background Loader start, auto delete: false
13:52:13 T:2786061120   DEBUG: DoWork - trying to extract filestream details from video file nfs://192.168.8.253/volumes/storage2/videos/test pulsebox/sample2.mkv
13:52:13 T:2825665344   DEBUG: Thread Background Loader 2825665344 terminating
13:52:13 T:3047422272  NOTICE: CDVDPlayer::CloseFile()
13:52:13 T:3047422272 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
13:52:13 T:3047422272  NOTICE: DVDPlayer: waiting for threads to exit
13:52:13 T:3047422272  NOTICE: DVDPlayer: finished waiting
13:52:13 T:3047422272   DEBUG: LinuxRendererGL: Cleaning up GL resources
13:52:13 T:2786061120   DEBUG: DoWork - Saving file state for video item nfs://192.168.8.253/volumes/storage2/videos/test pulsebox/sample2.mkv

nothing special shows up in any other log.

this is with an E350 Fusion (Radeon HD 6310)

Fusion - artifacts when playing 1080i TV channel

Hi,

All this was tested on OE20 branch.

I have big problems with playing one of 1080i HDTV channels. I could not reproduce this on other 1080i channels I have. You can find this channel on HotBird 13E satellite. It is called Supertennis HD, 11,096,000 kHz Horizontal.

The playback itself starts without problem, but after some time artifacts show up. It looks like the signal on satellite would be bad, but this isn't the case. I was playing the same channel on ION system at the same time and it worked flawless. I tried with de-interlace setting On or Off and it didn't make any difference.

I created around 15 minute long recording for test. if you start playback of this recording you will get artifacts after some time (it was 4 minutes for me). So please start playback from the beginning. You will also see that playback is not really smooth on this recording, which is kind of strange as it plays nice as Live channel. And recording itself also plays fine on ION system.

https://dl.dropbox.com/u/57341262/OE/Video_samples/ATP_500_Pechino._Finale_%28live%29.mkv

refresh rate detection issue

Using this build, I find that commit: 8c7822a0eeebff235750703210502516758fa76a broke xbmc refresh rate detection in my config.
It always detects 50Hz
I wrote a test program to manually query the refresh via XRRConfigCurrentRate() and find that indeed it always returns 50. I guess its a know limitation in nvidia by the fact there has been workarounds in place?

Best method to solve for me is documented beow

MPEG2 Issues playing DVD's

-Deinterlacing screws up the top and bottom and flickers allot.
http://www.youtube.com/watch?v=XAuIAJz8jSI&feature=youtu.be
Settings:
http://i.imgur.com/T3qai.jpg
-Setting "Video scaling method" to auto results in CRAPPY fps and choppy playback.
The video is 25fps, so it should be playing 50fps or 25fps, not whatever it's doing here:
http://i.imgur.com/1cWFw.jpg

Cannot provide samples as .vob plays perfect.
This can only be replicated by using a dvd, so I am assuming .vob is played as video, while .iso and dvd is played as dvd. Thus being treated totally different.

blackscreen in mid of playing a video

occasionally while being in the middle of playing a video(~12mins in it), the screen goes black, audio keeps playing. From that point on nothing seems to help to get the picture back. I tried: toggle window/fullscreen, play something non-xvba, restart xbmc, Always black screen with audio playing. Xvba is dropping output

For some stupid reason I lost the log from when it in started midstream :/
This is from after the xbmc restart,, when the problem continues:
http://paste.ubuntu.com/916407/

hope it helps somehow, will try to reproduce.

Report on Master branch using Zotac ND22

removed my git tree, did a clone this morning, no modification applied. Tv stream is 1080i50

Test with TV default settings by nvidia driver: 1280x720@60 Hz.

  1. When I switch to full screen, the stream is correctly shown for 1s, then I get a grey fix frame for 5s, then I see the pause stream popup status on the upper right left conner. After a while (>10s) live stream starts again without intervention. Using the O key I see the drivers believes the TV is already at 50Hz and I get corrupted playing due to wrong computation for display adjustment.

Test with TV at 50 Hz:

  1. Using Krandrtray, DynamicTwinView to false: Without rebooting (stopped XBMC, switched to 50Hz using Krandrtray as If I set DynamicTwinView To False I cannot use nvidia settings anymore) It behaves normally (no fix grey frame, no pause status). but I think it is not really at 50 Mhz in the end and video playing is broken (same display as when it was at 60).

  2. DynamicTwinView to true, using nvidia settings (had too restart kde): same behavior as on the 60 hz case above. Nvidia settings barks about 50 Hz config and set up a 52 config!

  3. With my patch to get nvidia refresh rate: same as 1) or 3) but at least get correct display!

if XBMC stay on first page without any activity it freeze

I can play TV for hours but if I start XBMC and do nothing, it freeze hard. Even kill -9 does nothing. I can log remotely, but have no way to get access to the screen again. Must reboot. Tvheadend is running and works on another machine.

vnsi connect problem with newest release

Between Jan 18 and Feb 22 the vnsi connect behaviour changed.

My Ubuntu 11.10 boots several services in parallel and sometimes it happens that xbmc starts before vdr has fully finished initialising in the background.

Before (Jan 28 git):
xbmc throws "no pvr backends are available" in the bottom right corner upon startup
2s seconds later it displays the message "pvr manager has been enabled with no active clients, please correct your setting" and opens the addon window.
If I now just press "back" the vnsi gets deactivated and activated again (uneducated guess!) and it instantly connects to vdr and loads the EPG. LiveTV is working now for the rest of the session.

Now (Feb 22 git):
1: xbmc throws "no pvr backends are available" in the bottom right corner upon startup - nothing else.
If I now navigate to TV and try to open it: Goto 1.
If I now navigate to Radio and and try to open it. Goto 1.

vdr is ready in the background - I know because can stream to my laptop. the only way to "revive" vnsi is to manually navigate to the addon manager, really disable vnsi addon, and enable it back again.
Then it scans epg and is ready instantly.

If vnsi would really try to reconnect to the backend (if I try to open live tv), it would be perfect. but now, it stays disabled without any chance to get automatically re-enabled.

flickering picture

Occasionally the picture is flickering when playing a video.

This only happens with the following settings:
Adjust display refresh rate to match video: ON
Use shared surfaces: ON

Workaround: toggle between window and fullscreen mode. This always seems to fix the flickering.

The issue has also been confirmed by fritsch,

XBMC-PVR hangs when changing between channels

Hi,

I have openelec-pvr which uses XBMC-pvr with ffmpeg and VDPAU patches from your branch. I have a lot of problem lately with XBMC hangs when I change between channels. This mostly happens when I am watching one channels for longer time and then start switching to other channels.

You can find log on this location http://gujs.openelec.tv/temp/logs/2012.08.06/xbmc.log
XBMC hangs at the end of the log when I switch to SLO-TV2 channel. Just search this in log to get to the start of channel switch:
PVRManager - PerformChannelSwitch - switching to channel 'SLO-TV2'

XBMC completely freezes

It is happens during listening to the music from samba server when Opengl Spectrum plugin is active.
XBMC freezes, after a few minutes but mp3 music is playing until track will end.
From SSH console "killall -9 xbmc.bin" not working but usually does.
Only "reboot" can help.

Platform. Asrock H61M-itx + G530 + Radeon HD5450. PVR, xvdr plugin.
XBMC log:
http://paste.ubuntu.com/1100729/

Dmesg log gives:
[ 3449.424649] [fglrx] ASIC hang happened
[ 3449.424656] Pid: 1489, comm: xbmc.bin Tainted: P O 3.2.22 #1
[ 3449.424659] Call Trace:
[ 3449.424698] [] ? firegl_hardwareHangRecovery+0x1c/0x40 [fglrx]
[ 3449.424772] [] ? _ZN18mmEnginesContainer9timestampEP26_QS_MM_TIMESTAMP_PACKET_INP27_QS_MM_TIMESTAMP_PACKET_OUT+0x1e4/0x220 [fglrx]
[ 3449.424840] [] ? _Z22uQSMultiMediaTimestampPvP26_QS_MM_TIMESTAMP_PACKET_INP27_QS_MM_TIMESTAMP_PACKET_OUT+0x28/0x30 [fglrx]
[ 3449.424905] [] ? _Z15uQSPM4TimestampjP20_QS_PM4_TS_PACKET_IN+0x8e/0xa0 [fglrx]
[ 3449.424968] [] ? _ZN15QS_PRIVATE_CORE25escapeMultiMediaInterfaceEP21_QS_QUERY_API_CALL_INPvjS2_j+0x133/0x140 [fglrx]
[ 3449.425027] [] ? Z8uCWDDEQCjjjPvjS+0x1054/0x12f0 [fglrx]
[ 3449.425080] [] ? CMMQS_uCWDDEQC+0x34/0x40 [fglrx]
[ 3449.425118] [] ? firegl_cmmqs_CWDDE_32+0x3ce/0x500 [fglrx]
[ 3449.425155] [] ? firegl_cmmqs_CWDDE32+0x86/0x130 [fglrx]
[ 3449.425164] [] ? ns_capable+0x33/0x70
[ 3449.425198] [] ? firegl_cmmqs_createdriver+0x1c0/0x1c0 [fglrx]
[ 3449.425229] [] ? firegl_ioctl+0x226/0x2b0 [fglrx]
[ 3449.425236] [] ? __switch_to+0xf2/0x1f0
[ 3449.425260] [] ? ip_firegl_mmap+0x80/0x80 [fglrx]
[ 3449.425284] [] ? ip_firegl_unlocked_ioctl+0x13/0x20 [fglrx]
[ 3449.425290] [] ? do_vfs_ioctl+0x7f/0x5a0
[ 3449.425298] [] ? try_to_wake_up+0x5c/0xd0
[ 3449.425303] [] ? sys_ioctl+0x2e/0x50
[ 3449.425309] [] ? sysenter_do_call+0x12/0x26
[ 3449.425316] [] ? init_amd+0x3eb/0x53d
[ 3449.425321] pubdev:0x1f95e29a0, num of device:-112085944 , name:(null), major 98, minor 0.
[ 3449.425326] device 0 : 0xf3f9c000 .
[ 3449.425329] Asic ID:0x68f9, revision:0x3c, MMIOReg:0x8f9080000.
[ 3449.425334] FB phys addr: 0xe0000000, MC :0xf00000000, Total FB size :0x20000000.
[ 3449.425338] gart table MC:0xf0fb0d000, Physical:0xefb0d000, size:0x1f2000.
[ 3449.425343] mc_node :FB, total 1 zones
[ 3449.425347] MC start:0xf00000000, Physical:0xe0000000, size:0xfd00000.
[ 3449.425351] Mapped heap -- Offset:0x0, size:0xfb0d000, reference count:13, mapping count:0,
[ 3449.425356] Mapped heap -- Offset:0x0, size:0x1000000, reference count:1, mapping count:0,
[ 3449.425360] Mapped heap -- Offset:0xfb0d000, size:0x1f3000, reference count:1, mapping count:0,
[ 3449.425365] mc_node :INV_FB, total 1 zones
[ 3449.425368] MC start:0xf0fd00000, Physical:0xefd00000, size:0x10300000.
[ 3449.425372] Mapped heap -- Offset:0x102f4000, size:0xc000, reference count:1, mapping count:0,
[ 3449.425377] mc_node :GART_USWC, total 3 zones
[ 3449.425380] MC start:0x27590000, Physical:0x0, size:0x26c00000.
[ 3449.425384] Mapped heap -- Offset:0x2030000, size:0x800000, reference count:2, mapping count:0,
[ 3449.425389] Mapped heap -- Offset:0x30000, size:0x2000000, reference count:15, mapping count:0,
[ 3449.425394] mc_node :GART_CACHEABLE, total 3 zones
[ 3449.425397] MC start:0x10400000, Physical:0x0, size:0x17190000.
[ 3449.425401] Mapped heap -- Offset:0x0, size:0x200000, reference count:4, mapping count:0,
[ 3449.425406] Mapped heap -- Offset:0xef000, size:0x11000, reference count:1, mapping count:0,
[ 3449.425411] GRBM : 0xa0003ca0, SRBM : 0x20004ec0 .
[ 3449.425416] CP_RB_BASE : 0x275c00, CP_RB_RPTR : 0x1c360 , CP_RB_WPTR :0x1c360.
[ 3449.425422] CP_IB1_BUFSZ:0xac0, CP_IB1_BASE_HI:0x0, CP_IB1_BASE_LO:0x27d3d000.
[ 3449.425426] last submit IB buffer -- MC :0x27d3d000,phys:0x78f7c000.
[ 3449.425431] Dump the trace queue.
[ 3449.425434] End of dump

Stipple weave inverted

Hi Rainer
I'm not sure if you are aware that the stipple weave pattern for your Master branch is still inverted.

ATI HD5500 xvba scrambled

Installing xbmc xvba per the instructions online I found video severely scrumbled , or just snow, if hardware acceleration was enabled. It is a PCIe card in an AMD motherboard connected with HDMI cable to a 55 inch LED TV.

I am using Ubuntu Server 64 installed to a mdadm Raid5 drive.

I met fritsch in IRC and we worked thru the problem but could not fix it.

If the overlay was enable by hitting "i" or "o" the picture was perfect.

I have disabled acceleration and everything is fine with software decoding.

My logs as I presented them to fritsch are the following:

http://paste.ubuntu.com/809021/ (xbmc.log)
http://paste.ubuntu.com/809015/ (lshw.log)
http://paste.ubuntu.com/809017/ (Xorg.0.log)
http://paste.ubuntu.com/808886/ (dmesg)

fritsch was a GREAT help, I appreciate all the time he spent helping me troubleshoot the problem.

Thanks,
Sam Nickerson

Refresh-rate switching happens late where variable frame rate

Mostly pasted from the offtopic post to the forum yesterday. :-) NB: This is now repeated with the version just now updated from https://launchpad.net/~wsnipex/+archive/xbmc-xvba-testing - which internally shows to be 12.0-ALPHA3 GIT:Unknown) but which apt reports as:

Version: 2:12.0~git20120708.2243-c6fc742-0precise

Issue is with auto-switching of refresh rates: Some videos for which the refresh rate should be changed, do not trigger that refresh rate change until after a few seconds of playback. The pattern I've been able to find so far is that this only seems to affect videos marked as having a variable frame rate.

(Handbrake uses a variable frame rate as part of its High Profile preset; and has done for at least a couple of years. Even if the frame rate isn't actually going to vary.)

Thing is, at least according to mediainfo, a headline refresh rate is provided anyway, so surely even if it is marked as variable, it should start with the given frame rate as a starting presumption? I think older versions - in particular up to 11.0 eden - did do this as I'm only starting to see this problem now. I had been seeing it on only one fairly old encode before, where that headline frame rate was actually listed (oddly) as 24.998fps; whereas most PAL-type videos show exactly 25.000fps. So even on eden that video started, then changed refresh rate (actually just back to the same one as it's the closest). But with the new build, it's doing it for all such variable-frame-rate recordings.

After that initial refresh rate change, playback continues normally for the duration. It's just that it seems to be waiting to see if it really needs to change refresh rate for such videos. Obviously this is pretty disruptive to the viewing experience.

edit: context:

System is Ubuntu 12.04 64-bit installed on 2010 mac mini server connected by HDMI to a Panasonic Viera TV.

The only deviations from the Ubuntu standard packages are the ppas: ubuntu-x-swat/x-updates (for nvidia 302.17) and wsnipex-xbmc-xvba-testing (for this build of xbmc)

Everything's up to date.

XBMC log of session is here: http://xbmclogs.com/show.php?id=4704

The relevant part (where the refresh rate changes) is at lines 320-331.

mediainfo on the track being played in the log: http://xbmclogs.com/show.php?id=4705

Bad deinterlacing and video artefact

Hi,

While the player is now quite stable, the visual result is quite disappointing for HD TV. First the deintelace quality is very very bad (whatever the rendering option or the xvba settings are) (moving vertical lines) and second, I have almost permanently (except for portion of video that do not contains moving scene) a line on the screen where the lines pixel seem to be not at the right place by a few pixel offset. You distinctly see the line as soon as you have a moving scene. The location on the screen of this line is not fix allthough the move is not really visible.

Git of today.

Every second frame is white on playback

I'm on a HD 2400 radeon mobile, with fglrx 11.12 on a mostly fresh full 32-bit ubuntu 11.10 install, and latest xbmc with xbva from the xbva-repo. I run unity2d which is supposedly completely non compositing.

On playback of clips with xvba acceleration i get flickering where every second frame seems to be white, and every other is the actual video. I can even pause playback on a white frame. The white frames are the same size as the scaled videoplayback, and doesnt affect any gui overlay (as seen here: http://db.tt/26PCumHN - note that the video playbacked is scaled to 1280x720, laptop monitor is 1280x800 i.e black non-flickering borders, because of the fps the camera doesn't capture the flickering right, literary every second frame is white and every other is the "right" one. also note that the flickering stops at the same time playback pauses when cpu is throttled when doing things in gui)

xbmc is run with a fresh settings directory (i.e. wiped), with the following settings activated/manually set

  • render method auto detect
  • allow xvba enabled
  • shared surfaces enabled
  • sync playback to display enabled
  • sync method videoclock
  • tried with both adjust display refresh rate to match video enabled and disabled, same thing
  • debug logging enabled

when playing clips with no xvba acceleration there is no flickering.

log when playing accelerated clip with flickering http://dl.dropbox.com/u/1154609/xbmc.log

Late refresh rate change on videos with variable fps.

On videos with variable fps it takes a few seconds for it to notice what refresh rate it should use, so it changes the refresh rate after a few seconds are played.

xbmc log:
http://xbmclogs.com/show.php?id=5306&hash=13428150

Video specs:
Format : Matroska
Format version : Version 2
File size : 145 MiB
Duration : 23mn 9s
Overall bit rate : 878 Kbps
Encoded date : UTC 2010-06-03 11:12:09
Writing application : mkvmerge v3.3.0 ('Language') built on Mar 24 2010 14:59:24
Writing library : libebml v0.8.0 + libmatroska v0.9.0
Attachment : Yes

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 8 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 23mn 9s
Nominal bit rate : 750 Kbps
Width : 848 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 23.810 fps
Original frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.077
Writing library : x264 core 65
Encoding settings : cabac=1 / ref=8 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=7 / psy_rd=1.1:0.0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=1 / nr=0 / decimate=1 / mbaff=0 / bframes=6 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / keyint=240 / keyint_min=25 / scenecut=40 / rc=2pass / bitrate=750 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=1927 / vbv_bufsize=1927 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:0.50
Default : Yes
Forced : No

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 23mn 9s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Compression mode : Lossy
Default : Yes
Forced : No

Text
ID : 3
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Compression mode : Lossless
Default : Yes
Forced : No

As always, thanks allot for looking into these problems.

Edit: This seems like a duplicate report of #52

Hangs on exit at 100%

Was just exiting this build for the first time so I could log a clean session to report another issue. Selecting exit caused xbmc to hang solid using 100% CPU as per top shown below. No output in xbmc.log since before the attempt to exit.

Killing the offending xbmc.bin process seemed to cause it to respawn, starting a new session but now unresponsive to keyboard input.

rachel@rarity:~$ top

top - 10:00:47 up 14:57,  1 user,  load average: 1.12, 0.81, 0.67
Tasks:  96 total,   2 running,  94 sleeping,   0 stopped,   0 zombie
Cpu0  :  0.0%us,  0.7%sy,  0.3%ni, 99.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Cpu1  : 36.9%us, 63.1%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   7909436k total,  1995200k used,  5914236k free,   115028k buffers
Swap:  7812496k total,        0k used,  7812496k free,   577744k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND           
 3158 rachel    20   0 2179m 1.0g  44m R  100 13.1 142:30.01 xbmc.bin           
    3 root      20   0     0    0    0 S    0  0.0   1:40.41 ksoftirqd/0        
  970 avahi     20   0 32556 1884 1452 S    0  0.0   2:11.09 avahi-daemon       
    1 root      20   0 24456 2416 1348 S    0  0.0   0:00.54 init               
    2 root      20   0     0    0    0 S    0  0.0   0:00.00 kthreadd           
    6 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/0        
    7 root      RT   0     0    0    0 S    0  0.0   0:02.25 watchdog/0         
    8 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/1        
   10 root      20   0     0    0    0 S    0  0.0   0:01.39 ksoftirqd/1        
   12 root      RT   0     0    0    0 S    0  0.0   0:00.28 watchdog/1         
   13 root       0 -20     0    0    0 S    0  0.0   0:00.00 cpuset             
   14 root       0 -20     0    0    0 S    0  0.0   0:00.00 khelper            
   15 root      20   0     0    0    0 S    0  0.0   0:00.00 kdevtmpfs          
   16 root       0 -20     0    0    0 S    0  0.0   0:00.00 netns              
   17 root      20   0     0    0    0 S    0  0.0   0:00.00 kworker/u:1        
   18 root      20   0     0    0    0 S    0  0.0   0:00.15 sync_supers        

xvdr signal lost on enabled xvba acceleration

hi,

i'm trying to use vdr 1.7.26 on the latest openelec developer builds. i'm able to start livetv but after a second zap i'm getting signal lost message from the xvdr plugin after the picture appear for a second or two.
tvheadend is working fine.

and second observation i've made is that when i disable xvba acceleration in xbmc settings my livetv mode is working fine.

before i was contacting pipelka and he advise me to come here because it could be xvba related problem.

Mar 22 21:49:29 openelec user.err vdr: [1733] XVDR: Welcome client 'XBMC Media Center' with protocol version '3'
Mar 22 21:49:29 openelec user.err vdr: [1733] XVDR: Preferred language: eng,dos / type: 0
Mar 22 21:49:29 openelec user.err vdr: [1733] XVDR: --------------------------------------
Mar 22 21:49:29 openelec user.err vdr: [1733] XVDR: Channel streaming request: 2 - SAT.1
Mar 22 21:49:29 openelec user.err vdr: [1733] XVDR: Found available device 1
Mar 22 21:49:29 openelec user.err vdr: [1734] XVDR: LiveQueue started
Mar 22 21:49:29 openelec user.err vdr: [1733] XVDR: Successfully switched to channel 2 - SAT.1
Mar 22 21:49:29 openelec user.err vdr: [1733] XVDR: Started streaming of channel SAT.1 (timeout 3 seconds, priority 50)
Mar 22 21:49:29 openelec user.err vdr: [1735] cLiveStreamer stream processor thread started (pid=1685, tid=1735)
Mar 22 21:49:29 openelec user.err vdr: [1736] receiver on device 1 thread started (pid=1685, tid=1736)
Mar 22 21:49:29 openelec user.err vdr: [1737] TS buffer on device 1 thread started (pid=1685, tid=1737)
Mar 22 21:49:29 openelec user.err vdr: [1735] XVDR: --------------------------------------
Mar 22 21:49:29 openelec user.err vdr: [1735] XVDR: NEW AUDIO INFORMATION:
Mar 22 21:49:29 openelec user.err vdr: [1735] XVDR: Channels: 2
Mar 22 21:49:29 openelec user.err vdr: [1735] XVDR: Samplerate: 48000 Hz
Mar 22 21:49:29 openelec user.err vdr: [1735] XVDR: Bitrate: 192000 bps
Mar 22 21:49:29 openelec user.err vdr: [1735] XVDR: --------------------------------------
Mar 22 21:49:29 openelec user.err vdr: [1735] XVDR: --------------------------------------
Mar 22 21:49:29 openelec user.err vdr: [1735] XVDR: NEW AUDIO INFORMATION:
Mar 22 21:49:29 openelec user.err vdr: [1735] XVDR: Channels: 6
Mar 22 21:49:29 openelec user.err vdr: [1735] XVDR: Samplerate: 48000 Hz
Mar 22 21:49:29 openelec user.err vdr: [1735] XVDR: Bitrate: 384000 bps
Mar 22 21:49:29 openelec user.err vdr: [1735] XVDR: --------------------------------------
Mar 22 21:49:30 openelec user.err vdr: [1735] XVDR: --------------------------------------
Mar 22 21:49:30 openelec user.err vdr: [1735] XVDR: NEW PICTURE INFORMATION:
Mar 22 21:49:30 openelec user.err vdr: [1735] XVDR: Picture Width: 720
Mar 22 21:49:30 openelec user.err vdr: [1735] XVDR: Picture Height: 576
Mar 22 21:49:30 openelec user.err vdr: [1735] XVDR: Display Aspect Ratio: 1.78
Mar 22 21:49:30 openelec user.err vdr: [1735] XVDR: --------------------------------------
Mar 22 21:49:30 openelec user.err vdr: [1735] XVDR: streaming of channel started
Mar 22 21:49:34 openelec user.err vdr: [1735] cLiveStreamer stream processor thread ended (pid=1685, tid=1735)
Mar 22 21:49:34 openelec user.err vdr: [1734] XVDR: LiveQueue stopped
Mar 22 21:49:34 openelec user.err vdr: [1733] buffer stats: 52640 (1%) used
Mar 22 21:49:34 openelec user.err vdr: [1733] XVDR: --------------------------------------
Mar 22 21:49:34 openelec user.err vdr: [1733] XVDR: Channel streaming request: 3 - RTL Television
Mar 22 21:49:34 openelec user.err vdr: [1733] XVDR: Found available device 1
Mar 22 21:49:34 openelec user.err vdr: [1741] XVDR: LiveQueue started
Mar 22 21:49:34 openelec user.err vdr: [1742] cLiveStreamer stream processor thread started (pid=1685, tid=1742)
Mar 22 21:49:34 openelec user.err vdr: [1737] TS buffer on device 1 thread ended (pid=1685, tid=1737)
Mar 22 21:49:34 openelec user.err vdr: [1736] buffer stats: 52076 (1%) used
Mar 22 21:49:34 openelec user.err vdr: [1736] receiver on device 1 thread ended (pid=1685, tid=1736)
Mar 22 21:49:34 openelec user.err vdr: [1733] XVDR: Successfully switched to channel 3 - RTL Television
Mar 22 21:49:34 openelec user.err vdr: [1733] XVDR: Started streaming of channel RTL Television (timeout 3 seconds, priority 50)
Mar 22 21:49:34 openelec user.err vdr: [1743] receiver on device 1 thread started (pid=1685, tid=1743)
Mar 22 21:49:34 openelec user.err vdr: [1744] TS buffer on device 1 thread started (pid=1685, tid=1744)
Mar 22 21:49:34 openelec user.err vdr: [1742] XVDR: --------------------------------------
Mar 22 21:49:34 openelec user.err vdr: [1742] XVDR: NEW AUDIO INFORMATION:
Mar 22 21:49:34 openelec user.err vdr: [1742] XVDR: Channels: 2
Mar 22 21:49:34 openelec user.err vdr: [1742] XVDR: Samplerate: 48000 Hz
Mar 22 21:49:34 openelec user.err vdr: [1742] XVDR: Bitrate: 192000 bps
Mar 22 21:49:34 openelec user.err vdr: [1742] XVDR: --------------------------------------
Mar 22 21:49:34 openelec user.err vdr: [1742] XVDR: --------------------------------------
Mar 22 21:49:34 openelec user.err vdr: [1742] XVDR: NEW PICTURE INFORMATION:
Mar 22 21:49:34 openelec user.err vdr: [1742] XVDR: Picture Width: 720
Mar 22 21:49:34 openelec user.err vdr: [1742] XVDR: Picture Height: 576
Mar 22 21:49:34 openelec user.err vdr: [1742] XVDR: Display Aspect Ratio: 1.78
Mar 22 21:49:34 openelec user.err vdr: [1742] XVDR: --------------------------------------
Mar 22 21:49:34 openelec user.err vdr: [1742] XVDR: --------------------------------------
Mar 22 21:49:34 openelec user.err vdr: [1742] XVDR: NEW AUDIO INFORMATION:
Mar 22 21:49:34 openelec user.err vdr: [1742] XVDR: Channels: 6
Mar 22 21:49:34 openelec user.err vdr: [1742] XVDR: Samplerate: 48000 Hz
Mar 22 21:49:34 openelec user.err vdr: [1742] XVDR: Bitrate: 384000 bps
Mar 22 21:49:34 openelec user.err vdr: [1742] XVDR: --------------------------------------
Mar 22 21:49:34 openelec user.err vdr: [1742] XVDR: streaming of channel started
Mar 22 21:49:37 openelec user.err vdr: [1742] XVDR: timeout. signal lost!
Mar 22 21:49:41 openelec user.err vdr: [1694] XVDR: Checking for channel updates ...
Mar 22 21:49:41 openelec user.err vdr: [1694] XVDR: Client 0: 305 channels, no change
Mar 22 21:49:41 openelec user.err vdr: [1694] XVDR: Done.
Mar 22 21:50:05 openelec user.err vdr: [1733] XVDR-Error: cxSocket::read: read() error at 0/4
Mar 22 21:50:05 openelec user.err vdr: [1742] cLiveStreamer stream processor thread ended (pid=1685, tid=1742)
Mar 22 21:50:05 openelec user.err vdr: [1741] XVDR: LiveQueue stopped
Mar 22 21:50:05 openelec user.err vdr: [1733] buffer stats: 84036 (1%) used
Mar 22 21:50:05 openelec user.err vdr: [1744] TS buffer on device 1 thread ended (pid=1685, tid=1744)
Mar 22 21:50:05 openelec user.err vdr: [1743] buffer stats: 83660 (1%) used
Mar 22 21:50:05 openelec user.err vdr: [1743] receiver on device 1 thread ended (pid=1685, tid=1743)
Mar 22 21:50:05 openelec user.err vdr: [1694] XVDR: Client with ID 1 seems to be disconnected, removing from client list

Shutting down while watching TV with vnsi deadlocks xbmc

This bug is not new, but I switched to vnsi recently (coming from xvdr) and hope that the chances are better now to pin it down.

It happens to me (in most cases) that, if you "power down" xbmc while watching TV with vnsi / vdr, xbmc deadlocks during shutdown partly (looks like a freeze from couch point of view), but xbmc is still pinging the vnsi client and logs this.

Please see this log:
http://paste.ubuntu.com/816313/

If you scroll down to 10:01, you can see that xbmc is being told to shutdown via remote (LIRC - Event "OnQuit").
xbmc tries to shut down everything but fails with vnsi somehow.

From the couch you notice that the sound stops and the tv freezes, but thats it.
This is reproducable most of the time (but ONLY if vnsi is actively used while you shut it down).

If you press stop and then poweroff, the issue is not happening.

EDIT: Current git (xvba branch - Jan 24)

Windowed video playback stutters

Hi,

I raised an issue for OpenElec and wonder if you could look at it (and I think you were the author of the changes I mention):
OpenELEC/OpenELEC.tv#1310.
For easier maintanance I'm pasting the content of that submission below.

In official builds, starting with 1.95.4, playing videos in the windowed mode results sooner or later in tiny but annoying stuttering every second or so.

When this happens, this is what can be observed in the log:
21:26:52 T:140196977940224 DEBUG: CDVDPlayerVideo::CalcDropRequirement - dropped in decoder, Sleeptime: -0.008150, Bufferlevel: 4, Gain: 0.119000
21:26:52 T:140196977940224 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer

I am using TVGuide plugin along with some live tv streams for watching TV. TVGuide in order to display OSD info, plays videos in the windowed mode. If the same video is played in the full screen mode (i.e. xbmc.player() is called with "windowed" set to false), video is played smoothly, as it should (but no OSD is available in such case). Another message appears in a log in such situation but apparently it is harmless, as video looks completely normal:
00:01:34 T:140391688558336 DEBUG: OutputPicture - dropped in output

I spent some time on tracking down the issue and it looks like it was introduced in this commit: "xbmc-pvr: update XVBA patch, add VDPAU rework patch" OpenELEC/OpenELEC.tv@bf56620

A one-commit older build, OpenELEC/OpenELEC.tv@9bd8635 works without a trace of this symptom.

I have tried all newer official builds, including building Frodo versions - all of them behaves in the same way on my system. Older ones, up to that commit mentioned above, work fine.

I have tried many different video playback settings, e.g. disabling VAAPI, but this did not change the behavior.

My setup:
Intel HD (SandyBridge) in Celeron G530
OpenElec Intel-x64, PVR, VAAPI enabled

No sound on livetv

When starting to play a dvb-t stream using xvdr I see an initial image, there is a buffering process which lasts about 10 seconds and then there is a frame skipping for a second or two until it settles down.
At the end it plays the video just fine but there is no sound.
xbmc.log
pastebin.com/hrX563rn
messages
pastebin.com/8CU14xAb

Tested with 12081.

auto - ION optimized no working very well

Hi
Im use latest version pvr - with merged your branch.

sometime when im chenage channels .. (video setting Auto ION - Optimized - upscaling methood Auto)
dont choose very well, i dont know why ... but video is not smoothly played, sometime like be slow down, in other time
channel logo is jagged :( then only help manual change upscaler methood or deinterlace

I`m to use some long time VDR-SXFE (on my ION system) and there alwayes picture have sharpnes (include logo, edges etc.) dont slow down :)

I think nice will be separate settings for SD channels and HD .. (special deinterlace).
or possibility setup statick setting for HD and SD (static)

many useful information how all configure im find here ...
http://wbreu.htpc-forum.de/vdpaukompendium/index.php

and please look to on this
http://pastebin.com/

maybe something new, or useful you find.
Any way i see big progress ... and finly i can use all day XBMC :) Thanks for your good work

Fglrx version 9.0.0 issue tracking

Fglrx 9.0.0 will be released in some days. This release changes some stuff (e.g. breaks it) concerning the UVD handling heavily. In order to differ between bugs in our software and errors within the new UVD implementation, i want to gather some information here.

It seems that "new" libamdxvba does clean up surfaces itself now and feels rather insulted, if we do it manually - as we do it, since it was needed sinc fglrx 11.11.

Debug Log with unpatched code:
http://xbmclogs.com/show.php?id=8539

From the xvba-sdk doku (which was not true, the last 10 months):
Notes:
If XVBADestroyDecode() is called to destroy a decode session and it will automatically release all
resources owned session. There is no need to call an XVBADestroyDecodeBuffers or
XVBADestroySurface() separately before releasing the entire session.
Similar for XV BADestroyContext() all allocated resourc es will be releas ed; no need to c all XVBA
destroy functions separately.
Application can us e this function to release decode buffers without destroying the s ession.

You see it crashes within XVBADestroyDecodeBuffers () with a segfault after LostDevice.

This error can be fixed easily, by simply not doing XVBADestroyDecodeBuffers () - let's discuss if this is a valid solution (and backwards compatible).

After fixing this segfault, we produce another segfault in the middle of threading, after switching back to the XVBA::COutput::Process, it crashes really hard.

http://xbmclogs.com/show.php?id=8541

xbmc segfault on menu navigation 1st session after boot

reported this on #xbmc-linux ; fritsch suggested reporting here as it's your branch i'm on.

Basically most if not all times i run xbmc straight from boot, and try to navigate to a section, eg: Movies->Title, XBMC segfaults.

xbmc.log: http://xbmclogs.com/show.php?id=5480
crash log: http://xbmclogs.com/show.php?id=5481

fritsch reckoned it might be here: https://github.com/xbmc/xbmc/blob/master/xbmc/utils/JobManager.cpp#L255 where m_jobQueue[priority] might be null on entry to this function and that isn't being checked for. What I in my Java world would call a NullPointerException. But he said report it here so we can test and then you'd push the fix upstream...

... it may be time to check out the source myself for this sort of thing rather than use the ppa... Java's my native programming language, haven't done C++ for, omg, 15 years; but hey, i wanted a change... ;-) Workday right now but i'll get on that later.

XBMC XvBA crashes when play a video H.264 Level 5.1

Hello,

XBMC XvBA (standalone) crashes when I let played a video with the format H.264 Level 5.1 (killa sample) over HDMI (HD-TV) but I can not find out the really issue. Please let me know if you need more information.

AMD Catalyst 12.6 (final release) / fglrx 8.98.2 / Radeon HD 6970
openSUSE 12.1 (64-bit)

XBMC crash log: http://sprunge.us/WYMM

Compile option from the spec file:
./configure
--prefix=%{_prefix} --bindir=%{_bindir} --includedir=%{_includedir}
--libdir=%{_libdir} --datadir=%{_datadir}
--enable-xvba
--disable-vaapi
--disable-vdpau
--disable-pulse
--disable-debug
CFLAGS="$RPM_OPT_FLAGS -fPIC -D__STDC_CONSTANT_MACROS"
CXXFLAGS="$RPM_OPT_FLAGS -fPIC -D__STDC_CONSTANT_MACROS"
LDFLAGS="-fPIC"
LIBS="-L%{_libdir}/mysql -lhdhomerun $LIBS"
ASFLAGS=-fPIC

GCC version:

gcc -v --version

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.6/lto-wrapper
gcc (SUSE Linux) 4.6.2
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.6 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.6 --enable-linux-futex --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux
Thread model: posix
gcc version 4.6.2 (SUSE Linux)
COLLECT_GCC_OPTIONS='-v' '-v' '--version' '-mtune=generic' '-march=x86-64'
/usr/lib64/gcc/x86_64-suse-linux/4.6/cc1 -quiet -v -v help-dummy -quiet -dumpbase help-dummy -mtune=generic -march=x86-64 -auxbase help-dummy -version --version -o /tmp/ccidEMIV.s
GNU C (SUSE Linux) version 4.6.2 (x86_64-suse-linux)
compiled by GNU C version 4.6.2, GMP version 5.0.2, MPFR version 3.0.1, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
COLLECT_GCC_OPTIONS='-v' '-v' '--version' '-mtune=generic' '-march=x86-64'
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/as --64 --version -o /tmp/ccfp0viP.o /tmp/ccidEMIV.s
GNU assembler (GNU Binutils; openSUSE 12.1) 2.21.1
Copyright 2011 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `x86_64-suse-linux'.
COMPILER_PATH=/usr/lib64/gcc/x86_64-suse-linux/4.6/:/usr/lib64/gcc/x86_64-suse-linux/4.6/:/usr/lib64/gcc/x86_64-suse-linux/:/usr/lib64/gcc/x86_64-suse-linux/4.6/:/usr/lib64/gcc/x86_64-suse-linux/:/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/
LIBRARY_PATH=/usr/lib64/gcc/x86_64-suse-linux/4.6/:/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/lib/:/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-v' '--version' '-mtune=generic' '-march=x86-64'
/usr/lib64/gcc/x86_64-suse-linux/4.6/collect2 --build-id --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 --version /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../lib64/crt1.o /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../lib64/crti.o /usr/lib64/gcc/x86_64-suse-linux/4.6/crtbegin.o -L/usr/lib64/gcc/x86_64-suse-linux/4.6 -L/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/lib -L/usr/lib64/gcc/x86_64-suse-linux/4.6/../../.. /tmp/ccfp0viP.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib64/gcc/x86_64-suse-linux/4.6/crtend.o /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../lib64/crtn.o
collect2 version 4.6.2 (x86-64 Linux/ELF)
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld --build-id --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 --version /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../lib64/crt1.o /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../lib64/crti.o /usr/lib64/gcc/x86_64-suse-linux/4.6/crtbegin.o -L/usr/lib64/gcc/x86_64-suse-linux/4.6 -L/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/lib -L/usr/lib64/gcc/x86_64-suse-linux/4.6/../../.. /tmp/ccfp0viP.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib64/gcc/x86_64-suse-linux/4.6/crtend.o /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../lib64/crtn.o
GNU ld (GNU Binutils; openSUSE 12.1) 2.21.1
Copyright 2011 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.

XBMC freezes on VDR Signal problems during channel switch

http://pastebin.com/BQp8GEVQ

-> VNSI & XBMC from GIT

My Signal Quality seems to drop during channel switch.

status SCVYL | signal 65% | snr 64% | ber 0 | unc 0 | FE_HAS_LOCK
status SCVYL | signal 65% | snr 64% | ber 0 | unc 0 | FE_HAS_LOCK
status SCVYL | signal 65% | snr 64% | ber 0 | unc 0 | FE_HAS_LOCK
status SCVYL | signal 65% | snr 64% | ber 0 | unc 0 | FE_HAS_LOCK
status SCVYL | signal 65% | snr 64% | ber 0 | unc 0 | FE_HAS_LOCK
status SCVYL | signal 65% | snr 29% | ber -1 | unc 0 | FE_HAS_LOCK
status SCVYL | signal 65% | snr 69% | ber 36 | unc 0 | FE_HAS_LOCK
status SCVYL | signal 65% | snr 74% | ber 0 | unc 0 | FE_HAS_LOCK
status SCVYL | signal 65% | snr 74% | ber 0 | unc 0 | FE_HAS_LOCK
status SCVYL | signal 65% | snr 74% | ber 0 | unc 0 | FE_HAS_LOCK

http://pastebin.com/8xAam0Es

http://pastebin.com/c27aPX4K

played around a while, seems it only happens if I have enabled the new VDPAU OpenGl interop Options in Video Settings and the strange thing is, these settings must be enabled on boot. If i enable them afterwards, its seems to work like a charm.

If I boot, disable the VDPAU OpenGl interop Settings and then switch to LiveTv it works too.

If I boot with disabled settings, switch OpenGl interop to enabled, then LiveTV seems to work too with enabled new VDPAU stuff.

if I boot with enabled OpenGl interop - switch to LiveTV, the first Channel Up causes a freeze.

^^

ActorProtocol missing

Hi FernetMenta,

I wanted to try your vdpau branch. Unfortunately it doesn't compile, ActorProtocol.cpp / ActorProtocol.h are missing. Could you please upload.

Thanks in advance.

Stefan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.