Nvidia VDPAU Settings - ION 2

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
john.cord Offline
Fan
Posts: 398
Joined: Jan 2007
Reputation: 5
Location: Vienna
Post: #1
Hi

I have a Sapphire Edge HD Nettop with ION 2 Graphics.

http://www.sapphiretech.com/presentation...1088&lid=2

I installed the latest XBMC Freak Live CD on the integrated Harddrive.

http://www.xbmcfreak.nl/en/xbmcfreak-10-...livecd-v2/

If i plaback .mkv Files with .h264 codec inside i get framedrops where the video stops playing. Audio continues to play normal. After a few frames the video starts again and the whole playback continues normal. Another problem is that i get Video Artifacts like the user in this Forum

http://forums.nvidia.com/index.php?showtopic=181336

My settings are 1080p with 50Hz Refresh Rate. Only VDPAU is enabled, no Sync playback to display or change refresh rate to match video. If i enable the Settings like in this HowTo

http://forum.xbmc.org/showthread.php?tid=70068

the Framedrops and Artifacts are still present. If i skip back and watch the scene again the artifacts are sometimes gone...

I googled a lot about problems like mine, in some threads of the mythbuntu forum i read that users of mythbuntu should set a setting called "vdpaubuffersize" to a special size. How can i adjust this setting in xbmc?

Another posibility for my problems are the Powermizer Settings of the Nvidia GPU. How can i set this settings in XBMC Live?

I cant imagine that it is not possible to get perfect playback with vdpau on my Nettop.

Another problem i encountered: If i try to run nvidia-settings from the command line i get an error that the control display is not set. What settings have i to set that i can run the nvidia-settings tool?
(This post was last modified: 2011-04-25 20:34 by john.cord.)
find quote
Seph817 Offline
Junior Member
Posts: 1
Joined: May 2011
Reputation: 0
Post: #2
Sorry this is not related but where, may I ask, did you get that Sapphire Edge? You were the only one I saw on the board that had one. I can't find them anywhere except overseas at ridiculous prices. Thanks.
find quote
deppan Offline
Member
Posts: 59
Joined: Jan 2011
Reputation: 0
Post: #3
If you are able to compile xbmc yourself, you could try fernetmenta's build. It has a different (better) vdpau implementation that runs with much less gpu load and some synchronization/stutter issues solved. Using that build solved all my ION2 stutter issues.

git clone https://github.com/FernetMenta/xbmc.git
find quote
TheSwissKnife Offline
Fan
Posts: 325
Joined: Sep 2010
Reputation: 17
Post: #4
Yes FernetMenta has added double pixmap buffers that will probably help. His other changes mostly rely on vdpau opengl interop which will require newish nvidia drivers (I forget which version this is included) and a newer libglew installed if I recall.

Powermizer is another issue. I have ION2 in Shuttle and it won't go to max perf level no matter what method is tried (registry dwords or nvidia-settings etc) if the nvidia driver is newer than 195.36.24 (which does not support vdpau opengl interop).

Other thing to ensure is that file does not have bad timestamps by remuxing with forced frame rate - even try just remuxing without audio as a test for video only.

Finally try to get an accurate modeline to match the video refresh rate to audio clock (this may help take out final wrinkles that can cause small resync stutters every now and again)
find quote
john.cord Offline
Fan
Posts: 398
Joined: Jan 2007
Reputation: 5
Location: Vienna
Post: #5
Seph817 Wrote:Sorry this is not related but where, may I ask, did you get that Sapphire Edge? You were the only one I saw on the board that had one. I can't find them anywhere except overseas at ridiculous prices. Thanks.

I am from Austria and here the Edge HD is available at various retailers...

I solved my problems with the Powermizer Settings in the xorg.conf. It runs now at max. Performance Setting and all Issues are gone...
find quote
TheSwissKnife Offline
Fan
Posts: 325
Joined: Sep 2010
Reputation: 17
Post: #6
john.cord Wrote:I am from Austria and here the Edge HD is available at various retailers...

I solved my problems with the Powermizer Settings in the xorg.conf. It runs now at max. Performance Setting and all Issues are gone...

Please post which version of nvidia driver and your xorg.conf.
find quote
john.cord Offline
Fan
Posts: 398
Joined: Jan 2007
Reputation: 5
Location: Vienna
Post: #7
I use the 260.19.29 Drivers.

My xorg.conf:

Code:
Section "Device"
        Identifier "nvidia"
        Driver  "nvidia"
        Option  "NoLogo"              "true"
        Option  "DynamicTwinView"     "false"
        Option  "FlatPanelProperties" "Scaling = Native"
        Option  "ModeValidation"      "NoVesaModes, NoXServerModes, NoVertRefreshCheck, NoHorizSyncCheck"
        Option  "UseDisplayDevice"    "DFP-1"
        Option  "ModeDebug"           "true"
        Option  "HWCursor"            "false"
        Option  "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x1; PowerMizerDefault=0x1; PowerMizerDefaultAC=0x1"
        Option  "NoFlip"              "false"
EndSection

Section "Screen"
        Identifier      "screen"
        Device          "nvidia"
        SubSection      "Display"
                Modes "1920x1080_50" "1920x1080_60_0" "1920x1080_24"
        EndSubSection
EndSection

Section "Extensions"
        Option  "Composite"           "false"
EndSection
find quote
MidnightWatcher Offline
Senior Member
Posts: 276
Joined: Jan 2011
Reputation: 0
Post: #8
Will this fix the stuttering found on ION1 setups?

MidnightWatcher's Blogspot.

HTPC1 - SYS:
Q6600 - 4GB - GTS 250 - OS: Linux Mint 14 - FAV SKIN: Aeon Nox - FAV ADD-ON: Cinema Experience - REMOTE: Android Remote

HTPC2 - SYS: Zotac ND22 - 4GB - 40GB SSD - OS: OpenELEC 3.x - FAV SKIN: Aeon Nox - FAV ADD-ON: Cinema Experience - REMOTE: Android Remote
find quote
bossanova808 Offline
Member+
Posts: 1,532
Joined: Sep 2009
Reputation: 20
Location: Melbourne, Australia
Post: #9
And how can you confirm what 'level' it is running at? I.e. if the settings actually 'take'?
find quote
fuggin Offline
Junior Member
Posts: 35
Joined: May 2008
Reputation: 0
Post: #10
bossanova808 Wrote:And how can you confirm what 'level' it is running at? I.e. if the settings actually 'take'?
Code:
$ nvidia-settings -q GPUCurrentPerfLevel -t

XBMC 11 Eden
Minimal Lucid 10.04.4 LTS x86_64 custom kernel
ASRock ION 330-BD Intel Dual Core Atom 1.6GHz
4GB RAM HDMI Display Analogue Audio Flirc IR
find quote
Post Reply