Upgraded to Dharma, dropping a lot of frames
#46
Does anyone know if there are any updates on this (i.e. the Developers are looking at this)? I still have this issue with my zotac ion2 id-11 - every video that is 1080p has a slight stutter every so often - and these videos were fine with 9.11 and Boxee (it is outputting as 24p and the TV is accepting the signal and can do 24p - 720/24p vids are fine).

I would rather not go back to Boxee as XBMC is much more to my liking but I am beginning to realise I might have to as there doesn't appear to be a fix on the horizon.

Just to reiterate, I have it installed on Ubuntu 10.10, with the latest Nvidia drivers and the latest libvdpau1...
Reply
#47
tentacle Wrote:The PC is:
AMD Athlon™ 64 X2 Dual Core Processor 5400+
ASUS M3N78-VM mb w/ integrated GeForce 8200
2GB RAM

No Problem here! Have you updated your ASUS M3N78-VM to the latest BIOS?
I'm using 1360x768_60 because the 1920x1080 is to big for surfing on my 32" Toshiba, but also on 1920x1080 I had no problems!

Some info what I'm using:

HARDWARE:

Code:
dmidecode |grep "Product Name"
Product Name: M3N78-VM

dmidecode -s bios-version
1801  

cat /proc/cpuinfo |grep "model name"
model name    : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+

free -m
             total       used       free     shared    buffers     cached
Mem:     7750       7674         75          0        175       5942

lspci -nn |grep VGA
02:00.0 VGA compatible controller [0300]: nVidia Corporation C77 [GeForce 8200] [10de:0849] (rev a2)

SOFTWARE:

Code:
uname -a
Linux htpc 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC 2010 x86_64 GNU/Linux

cat /etc/lsb-release
DISTRIB_DESCRIPTION="Linux Mint 9 Isadora"

cat /etc/apt/sources.list
...
deb http://ppa.launchpad.net/yavdr/testing-vdr/ubuntu lucid main
deb-src http://ppa.launchpad.net/yavdr/testing-vdr/ubuntu lucid main
deb http://ppa.launchpad.net/lars-opdenkamp/xbmc-pvr/ubuntu lucid main

dpkg -l |grep nvidia
ii  nvidia-173-modaliases          173.14.22-0ubuntu11
ii  nvidia-96-modaliases            96.43.17-0ubuntu1
ii  nvidia-common                     0.2.23
ii  nvidia-current                       270.18-0ubuntu1~lucid~xup1
ii  nvidia-current-modaliases      270.18-0ubuntu1~lucid~xup1
ii  nvidia-settings                      270.18-0ubuntu1~lucid~xup1

dpkg -l |grep xbmc
ii  xbmc                                  2:10.5-dharma+pvr~odk48
ii  xbmc-bin                            2:10.5-package)
ii  xbmc-data                          2:10.5-dharma+pvr~odk48
ii  xbmc-skin-confluence          2:10.5-dharma+pvr~odk48

dpkg -l |grep yavdr
ii  libavcodec52                       4:0.6-2yavdr4
ii  libavformat52                      4:0.6-2yavdr4
ii  libavutil50                           4:0.6-2yavdr4
ii  liblircclient0                         0.8.6-0yavdr6
ii  libpostproc51                       4:0.6-2yavdr4
ii  libswscale0                          4:0.6-2yavdr4
ii  libupnp3                              1:1.6.6-5yavdr3
ii  lirc                                      0.8.6-0yavdr6
ii  vdr                                      1.7.16-22yavdr1
ii  vdr-plugin-vnsiserver            0.0.2+svn20100808.0952-15yavdr1

Here my config-files. Don't use them!! These are just for comparison!!

Code:
cat /etc/X11/xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildd@yellow)  Fri Apr  9 11:51:21 UTC 2010

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Toshiba"
    ModelName      "TSB TOSHIBA-TV"
    HorizSync       15.0 - 46.0
    VertRefresh     49.0 - 61.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8200"
    Option        "DynamicTwinView" "false" #twinview line
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "1360x768_60 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
        Option "Composite" "false" #composite line
EndSection

Code:
cat ~/.nvidia-settings-rc
# Configuration file for nvidia-settings - the NVIDIA X Server Settings utility
# Generated on Sun Feb 13 18:32:11 2011
#

# ConfigProperties:

RcFileLocale = C
ToolTips = Yes
DisplayStatusBar = No
SliderTextEntries = Yes
IncludeDisplayNameInConfigFile = No
ShowQuitDialog = No
Timer = Thermal_Monitor_(GPU_0),Yes,1000
Timer = PowerMizer_Monitor_(GPU_0),Yes,1000
Timer = Graphics_Card_(GPU_0),Yes,1000

# Attributes:

0/CursorShadow=0
0/CursorShadowAlpha=64
0/CursorShadowRed=0
0/CursorShadowGreen=0
0/CursorShadowBlue=0
0/CursorShadowXOffset=4
0/CursorShadowYOffset=2
0/SyncToVBlank=1
0/LogAniso=0
0/FSAA=0
0/TextureSharpen=0
0/AllowFlipping=1
0/FSAAAppControlled=1
0/LogAnisoAppControlled=1
0/OpenGLImageSettings=1
0/FSAAAppEnhanced=0
0/RedBrightness=0.000000
0/GreenBrightness=0.000000
0/BlueBrightness=0.000000
0/RedContrast=0.000000
0/GreenContrast=0.000000
0/BlueContrast=0.000000
0/RedGamma=1.000000
0/GreenGamma=1.000000
0/BlueGamma=1.000000
0/DigitalVibrance[DFP-0]=0
0/ImageSharpening[DFP-0]=127
0/GPUScaling[DFP-0]=65539
0/OverscanCompensation[DFP-0]=88
0/ColorSpace[DFP-0]=0
0/ColorRange[DFP-0]=0
0/XVideoTextureBrightness=0
0/XVideoTextureContrast=0
0/XVideoTextureHue=0
0/XVideoTextureSaturation=0
0/XVideoTextureSyncToVBlank=1
0/XVideoSyncToDisplay=65536

Code:
cat ~/.xbmc/userdata/guisettings.xml |grep "<videoscreen>" -A8
    <videoscreen>
        <guicalibration></guicalibration>
        <haslcd>false</haslcd>
        <resolution>0</resolution>
        <screen>0</screen>
        <screenmode>DESKTOP</screenmode>
        <testpattern></testpattern>
        <vsync>2</vsync>
    </videoscreen>

cat ~/.xbmc/userdata/guisettings.xml |grep "<videoplayer>" -A22
    <videoplayer>
        <adjustrefreshrate>true</adjustrefreshrate>
        <displayresolution>10</displayresolution>
        <errorinaspect>0</errorinaspect>
        <highqualityupscaling>0</highqualityupscaling>
        <maxspeedadjust>5.000000</maxspeedadjust>
        <postprocess>0</postprocess>
        <rendermethod>0</rendermethod>
        <resamplequality>1</resamplequality>
        <stretch43>0</stretch43>
        <strictbinding>false</strictbinding>
        <synctype>2</synctype>
        <teletextenabled>false</teletextenabled>
        <upscalingalgorithm>8</upscalingalgorithm>
        <usechd>true</usechd>
        <usedisplayasclock>false</usedisplayasclock>
        <usepbo>true</usepbo>
        <usevaapi>true</usevaapi>
        <usevdpau>true</usevdpau>
        <vdpau_allow_xrandr>false</vdpau_allow_xrandr>
        <vdpaustudiolevel>false</vdpaustudiolevel>
        <vdpauupscalinglevel>false</vdpauupscalinglevel>
    </videoplayer>

I hope it helps!

Cheers
/aedon

PS: I still have some issues with fps on PVR (watching TV), but I think it's more a VNSI-client problem.
Reply
#48
Thanks, I will try to upgrade the BIOS, mine is quite old Smile

Code:
root@htpc:~# dmidecode -s bios-version
0406

The used nvidia and xbmc packages has the same version, the only difference is in the distribution name (lucid-maverick).


aedon Wrote:No Problem here! Have you updated your ASUS M3N78-VM to the latest BIOS?
I'm using 1360x768_60 because the 1920x1080 is to big for surfing on my 32" Toshiba, but also on 1920x1080 I had no problems!

Some info what I'm using:

HARDWARE:

[code]
dmidecode |grep "Product Name"
Product Name: M3N78-VM

dmidecode -s bios-version
1801
Reply
#49
tentacle Wrote:Thanks, I will try to upgrade the BIOS, mine is quite old Smile

Code:
root@htpc:~# dmidecode -s bios-version
0406

The used nvidia and xbmc packages has the same version, the only difference is in the distribution name (lucid-maverick).


No luck. I upgraded the bios, changed the xbmc settings exactly the same, but still 21-23 fps in fullscreen (in smaller windowed mode the same 1080p video is played flawlessly).

The Xorg.conf is a bit differ:
Code:
Section "Module"
    Load           "glx"
EndSection

Section "Device"
    Identifier     "Configured Video Device"
    Driver         "nvidia"
    Option         "DPI" "100x100"
    Option         "UseEvents" "1"
    Option         "AddARGBVisuals" "1"
    Option         "AddARGBGLXVisuals" "1"
    Option         "NoLogo" "1"
    #Option         "UseDisplayDevice" "TV"
    Option          "ConnectedMonitor"      "TV"
#    Option         "TVOutFormat" "COMPONENT"
    Option         "TVStandard" "HD1080p"
    Option          "ignoreABI" "yes"
    Option          "TripleBuffer" "true"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "Configured Video Device"
    Monitor        "Configured Monitor"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1920x1080" "1280x720" "1024x768" "720x480" "800x600" "640x480"
    EndSubSection
EndSection

Section "Extensions"
        Option "Composite" "Disable"
EndSection
Reply
#50
hi tentacle

try this:

First backup your config files:

Code:
sudo cp -a /etc/X11/xorg.conf  /etc/X11/xorg.conf.1st_bck
cp -a ~/.nvidia-settings-rc ~/.nvidia-settings-rc.1st_bck
cp -a ~/.xbmc/userdata/guisettings.xml ~/.xbmc/userdata/guisettings.xml.1st_bck

Run gstreamer-properties via alt+F2 and switch to ALSA
Code:
gksu gstreamer-properties

Install rcconf and disable pulseaudio by running it.
Code:
sudo apt-get install rcconf
rcconf

Replace the content of .nvidia-settings-rc with:

Code:
# Configuration file for nvidia-settings - the NVIDIA X Server Settings utility
# Generated on Fri Feb 18 11:15:28 2011
#

# ConfigProperties:

RcFileLocale = C
ToolTips = Yes
DisplayStatusBar = No
SliderTextEntries = Yes
IncludeDisplayNameInConfigFile = No
ShowQuitDialog = No
Timer = Graphics_Card_(GPU_0),Yes,1000
Timer = PowerMizer_Monitor_(GPU_0),Yes,1000
Timer = Thermal_Monitor_(GPU_0),Yes,1000

# Attributes:

0/CursorShadow=0
0/CursorShadowAlpha=64
0/CursorShadowRed=0
0/CursorShadowGreen=0
0/CursorShadowBlue=0
0/CursorShadowXOffset=4
0/CursorShadowYOffset=2
0/SyncToVBlank=1
0/LogAniso=0
0/FSAA=0
0/TextureSharpen=0
0/AllowFlipping=1
0/FSAAAppControlled=1
0/LogAnisoAppControlled=1
0/OpenGLImageSettings=1
0/FSAAAppEnhanced=0
0/RedBrightness=0.000000
0/GreenBrightness=0.000000
0/BlueBrightness=0.000000
0/RedContrast=0.000000
0/GreenContrast=0.000000
0/BlueContrast=0.000000
0/RedGamma=1.000000
0/GreenGamma=1.000000
0/BlueGamma=1.000000
0/DigitalVibrance[DFP-0]=0
0/ImageSharpening[DFP-0]=127
0/GPUScaling[DFP-0]=65537
0/OverscanCompensation[DFP-0]=0
0/ColorSpace[DFP-0]=0
0/ColorRange[DFP-0]=0
0/XVideoTextureBrightness=0
0/XVideoTextureContrast=0
0/XVideoTextureHue=0
0/XVideoTextureSaturation=0
0/XVideoTextureSyncToVBlank=1
0/XVideoSyncToDisplay=65536

And finally edit the two following sections in the guisettings.xml config file to:

Code:
<videoscreen>
        <guicalibration></guicalibration>
        <haslcd>false</haslcd>
        <resolution>0</resolution>
        <screen>0</screen>
        <screenmode>DESKTOP</screenmode>
        <testpattern></testpattern>
        <vsync>2</vsync>
    </videoscreen>

Code:
<videoplayer>
        <adjustrefreshrate>true</adjustrefreshrate>
        <displayresolution>10</displayresolution>
        <errorinaspect>0</errorinaspect>
        <highqualityupscaling>0</highqualityupscaling>
        <maxspeedadjust>5.000000</maxspeedadjust>
        <postprocess>0</postprocess>
        <rendermethod>0</rendermethod>
        <resamplequality>1</resamplequality>
        <stretch43>0</stretch43>
        <strictbinding>false</strictbinding>
        <synctype>1</synctype>
        <teletextenabled>true</teletextenabled>
        <upscalingalgorithm>8</upscalingalgorithm>
        <usechd>true</usechd>
        <usedisplayasclock>true</usedisplayasclock>
        <usepbo>true</usepbo>
        <usevaapi>false</usevaapi>
        <usevdpau>true</usevdpau>
        <vdpau_allow_xrandr>false</vdpau_allow_xrandr>
        <vdpaustudiolevel>false</vdpaustudiolevel>
        <vdpauupscalinglevel>false</vdpauupscalinglevel>
    </videoplayer>

Delete your xorg.conf
run nvidia-settings via alt+F2 and set the proper resolution only once e.g. to 1920x1080. Save the settings to xorg.conf do not merge!
Do not change anything else! Do not save to .nvidia-settings-rc file!
Go to terminal and add those two lines into the corresponding sections:

xorg.conf
Code:
Section "Device"
....
    Option        "DynamicTwinView" "false" #twinview line
EndSection

Section "Extensions"
        Option "Composite" "false" #composite line
EndSection

reboot & test it & keep me posted.

If it doesn't work for you copy back your backup files and reboot!

At the moment I have no issue neither with HD movies nor with SD movies and SD Television (less than 5 framedrops in an hour). Only the HD Television gives me no AV-Sync and framedrops above 5000 in the first 15 seconds of watching. However I always have there "pc:none" and I haven't found the cause for that yet.

Cheers

/aedon
Reply
#51
Yesterday evening I played with the nvidia-settings, and I found the solution:

In the openGL settings, I moved the Quality-Performance slider to high-performance, and now the framerate is almost perfect every time, not constantly 24fps (as in smaller window), but I cannot notice any annoying effect.

I'm happy now! Smile

Thanks!

PS: I hate pulseaudio, and any other sound server. I use only the plain ALSA Smile
And I don't use gnome, only xfce. It's fast and lightweight enough, perfect for htpc.

aedon Wrote:hi tentacle

try this:
...

Install rcconf and disable pulseaudio by running it.

...

Replace the content of .nvidia-settings-rc with:

...

reboot & test it & keep me posted.

If it doesn't work for you copy back your backup files and reboot!

At the moment I have no issue neither with HD movies nor with SD movies and SD Television (less than 5 framedrops in an hour). Only the HD Television gives me no AV-Sync and framedrops above 5000 in the first 15 seconds of watching. However I always have there pc:none and I haven't found the cause for that yet.

Cheers

/aedon
Reply

Logout Mark Read Team Forum Stats Members Help
Upgraded to Dharma, dropping a lot of frames0