[LINUX] Ubuntu Natty and vsync/tearing issues
#16
I am running Ubuntu Natty on a Shuttle XS35GTV2 (ION2 GPU) and have the same problems. I even tried Lucid but nothing different to me - so i am using Natty again.

24Hz is fine and enabling TrippleBuffering results in a very good 60hz pulldown playback but i cannot fix the micro stuttering at 23.967Hz =(
CPU0 has about 60% load and reported fps is changing between 23,8-24,1Hz continually.

Quote:xorg.conf
-----------------------
Section "Device"
Identifier "nvidia"
Driver "nvidia"
Option "NoLogo" "true"
Option "DynamicTwinView" "false"
#Option "NoFlip" "false"
#Option "FlatPanelProperties" "Scaling = Native"
#Option "ModeValidation" "NoVesaModes, NoXServerModes"
#Option "UseDisplayDevice" "DFP-1"
#Option "ModeDebug" "true"
#Option "HWCursor" "false"
Option "TrippleBuffering" "true"
EndSection

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

Section "Extensions"
Option "Composite" "false"
EndSection
Reply
#17
Unless you need Unity or Gnome, why install something that causes problems? You are unlikely to use the desktop all that much on a HTPC and even less likely to care about fancy effects when you do.

Many people here seem to be ignorant about the two "light-weight" Ubuntu varieties:

XUbuntu
LUbuntu

Both are Ubuntu versions with a very light user interface that will not cause tearing. Just try it...
Reply
#18
My current config for

Shuttle XS35GTV2
• CPU: Intel Atom D525, 2x 1.80GHz
• Chipsatz: Intel NM10
• Grafikkarte: GeForce G 210 (nVIDIA NextGen ION)

Maybe it will help someone... only problematic movie left: Avatar (35MB/s) has micro stuttering sometimes

Code:
Section "Device"
        Identifier "nvidia"
        Driver  "nvidia"

        # Fixes issue with modesetting on xbmc
        #Option "ExactModeTimingsDVI"   "true" # we have proper modelines
        #Option "UseEDIDFreqs"          "true" # trust no edid
        #Option "ModeValidation"        "NoEdidModes, NoMaxPClkCheck, NoEdidMaxPClkCheck, AllowNon60HzDFPModes" # trust no edid
        Option  "FlatPanelProperties"   "Scaling = Native" # make sure the gpu does not scale and loose performance

        # Fixes tearing/smoothvideo issues
        Option  "DynamicTwinView"       "false" # disable or you'll get tearing
        Option  "TripleBuffer"          "true" # disable or xbmc will segfault with smoothvideo

        # Misc
        Option  "NoLogo"                "True" # no ads plz
        #Option  "NoFlip"              "false"
        #Option  "ModeValidation"      "NoVesaModes, NoXServerModes"
        #Option  "UseDisplayDevice"    "DFP-0"
        #Option  "ModeDebug"           "true"
        #Option  "HWCursor"            "false"      
EndSection

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

Section "Extensions"
        Option  "Composite"           "false"
EndSection

Additional info about options can be found here:
http://de.download.nvidia.com/XFree86/Li...tions.html
Reply
#19
There is really no need to disable compiz in natty since the version of compiz included have the don't redirect fullscreen windows setting in compizconfig-settings-manager which removes all tearing when running xbmc in fullscreen.(You still need to do the other stuff like disable dynamictwinview etc)
Reply
#20
@recluce - thanks for that. I installed lubuntu 11.10 and absolutely no tearing out of the box. You're right -- I need almost no desktop on this HTPC, and certainly nothing fancy when I do need to use it. lubuntu is perfect. Cool
Reply
#21
Guys, I have a solution.

Well I only tried it on my laptop with 60hz refresh rate, but it works fine there.

Just install

Code:
sudo apt-get install compizconfig-settings-manager

Run it from the start menu (just type compiz and it will appear)

In general settings go to composite extension,
- disable refresh rate detection,
- set it to your refresh rate manually. Mine was 60 on the laptop
- tick "Undirect Fullscreen Windows"

Not sure if you need all, but this works for me. Just try. Make sure you use xbmc in fullscreen mode.

Edit: This is on Intel Sandy Bridge
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#22
running 11.04 and the latest unstable xbmc with default unity and i get no tearing, no flickering. It just works.

There's not special config here, all i did was enable the nvidia driver.
Reply
#23
(2011-05-26, 19:56)xbmc-junky Wrote: 1. /etc/X11/xorg.conf
Code:
Option         "TripleBuffer" "True"

2.
Code:
sudo nvidia-xconfig --no-composite

3. When logging into Ubuntu 11.04, after selecting user name and before entering password - selecting "Classic Gnome with NO Effects".

Thanks, xbmc-junky! This resolved my tearing issue on nVidia ION with XBMC on Ubuntu 12.04! In my case, using Unity 2D in step 3.
Reply

Logout Mark Read Team Forum Stats Members Help
[LINUX] Ubuntu Natty and vsync/tearing issues0