video all messed up. pls help
#1
ok I have my acer 3610 and for some reason 720 and 1080 movies stutter the audio is off sync and the video is all jagged and moves slow. the cpu goes up to 160% total cpu and and just not working correctly. I have set the 512 to memory and also enabled vdpau as the render method.

I have the nvidia drivers 195.30

here is my debug log

i started xbmc and played heroes in 720 and then starwars in 1080. both were horrible.

is VDPAU working? as I see the below in the log

Code:
23:19:33 T:2971650928 M:1149710336  NOTICE: CDVDVideoCodecFFmpeg::Open() Creating VDPAU(1920x816)
23:19:33 T:2971650928 M:1149710336  NOTICE: (VDPAU) unable to get handle to libvdpau
23:19:33 T:2971650928 M:1149710336  NOTICE: CDVDVideoCodecFFmpeg::Open() Failed to get VDPAU device
23:19:33 T:2971650928 M:1149710336  NOTICE:  (VDPAU) ~CVDPAU
23:19:33 T:2971650928 M:1149710336  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
23:19:33 T:2971650928 M:1149710336   DEBUG: FactoryCodec - Video: ff-h264 - Opened
23:19:33 T:2971650928 M:1149710336  NOTICE: Creating video thread
23:19:33 T:2732579696 M:1149710336   DEBUG: thread start, auto delete: 0

Do i have to update my libvdpau? If so how?
Nvidia Shield with Kodi 18
Reply
#2
ok I have tried the method of installing the below

sudo apt-get install nvidia-180-libvdpau

and now vdpau is enabled and working however my movies still stuttering and tearing.

settings are

Render Method = VDPAU
Adj Refresh = off
Sync playback = on
Allowed Error = None
VDPAU Studio level color conversion = off

any help?

what should I update in my xorg.conf

Device section
Code:
Section "Extensions"
    Option         "Composite" "Disable"
EndSection

Code:
Option "FlatPanelProperties" "Scaling=Native"

Code:
Section "Extensions"
    Option         "Composite" "Disable"
EndSection


also should I follow any of the steps in this thread

this is frustrating as I thought xbmc 9.11 would work with the acer revo 3610 flawlessly on boht 720 and 1080 movies.

any help please
Nvidia Shield with Kodi 18
Reply
#3
Ok my settings are:

Render Method = VDPAU
Adj Refresh = on
Sync playback = off
VDPAU Studio level color conversion = on

if you have a 1080p supported monitor you could use a xorg.conf like this

Code:
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
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 "Extensions"
    Option "Composite" "Disable"
EndSection


Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       15.0 - 68.0
    VertRefresh     23.0 - 61.0
    Option         "DPMS"
    Option         "ExactModeTimingsDVI" "TRUE"
    ModeLine        "1920x1080@60" 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
    ModeLine        "1920x1080@50" 148.50 1920 2448 2492 2640 1080 1084 1089 1125  +hsync +vsync
    ModeLine        "1920x1080@24" 74.16 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync    
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "ModeValidation" "NoEdidModes"    
    Option         "DynamicTwinView" "false" #twinview line
    Option         "UseEDIDFreqs" "False"
    Option         "HWCursor" "False"    
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    Option         "Twinview" "0"    
    DefaultDepth    24
    Option         "DynamicTwinView"  "False"
    Option         "FlatPanelProperties" "Scaling=Native"  
   SubSection     "Display"
       Depth       24
       Modes "1920x1080@60" "1920x1080@50" "1920x1080@24"      
   EndSubSection
EndSection

this will sync and auto switch to the correct Hz, but make sure you tv supports this or alter the modes, there are some guides here on the form to get the correct supported Modes of your tv
Reply
#4
Meteorite Wrote:Ok my settings are:

Render Method = VDPAU
Adj Refresh = on
Sync playback = off
VDPAU Studio level color conversion = on

if you have a 1080p supported monitor you could use a xorg.conf like this

Code:
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
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 "Extensions"
    Option "Composite" "Disable"
EndSection


Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       15.0 - 68.0
    VertRefresh     23.0 - 61.0
    Option         "DPMS"
    Option         "ExactModeTimingsDVI" "TRUE"
    ModeLine        "1920x1080@60" 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
    ModeLine        "1920x1080@50" 148.50 1920 2448 2492 2640 1080 1084 1089 1125  +hsync +vsync
    ModeLine        "1920x1080@24" 74.16 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync    
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "ModeValidation" "NoEdidModes"    
    Option         "DynamicTwinView" "false" #twinview line
    Option         "UseEDIDFreqs" "False"
    Option         "HWCursor" "False"    
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    Option         "Twinview" "0"    
    DefaultDepth    24
    Option         "DynamicTwinView"  "False"
    Option         "FlatPanelProperties" "Scaling=Native"  
   SubSection     "Display"
       Depth       24
       Modes "1920x1080@60" "1920x1080@50" "1920x1080@24"      
   EndSubSection
EndSection

this will sync and auto switch to the correct Hz, but make sure you tv supports this or alter the modes, there are some guides here on the form to get the correct supported Modes of your tv

I am using a Panasonic PT-AX200U projector.
Video Compatibility: HDTV 1080p/60, 1080p/50, 1080p/24, 1080i, 720p, 576p, 576i, 480p. NTSC/PAL/SECAM.
Nvidia Shield with Kodi 18
Reply
#5
I really doubt the 195.30 drivers work as expected with nvidia-180-libvdpau.

What's the output of
Code:
ls -l /usr/lib/libGL.so.* /usr/lib/vdpau/

You need to provide alot more info, at least a current debug log, for anyone be able to help. Please check the sticky http://forum.xbmc.org/showthread.php?tid=34655
Reply
#6
output

Code:
xbmc@xbmc-desktop:~$ ls -l /usr/lib/libGL.so.* /usr/lib/vdpau/
ls: cannot access /usr/lib/vdpau/: No such file or directory
lrwxrwxrwx 1 root root     15 2010-01-13 17:28 /usr/lib/libGL.so.1 -> libGL.so.195.30
-rw-r--r-- 1 root root 739008 2010-01-01 18:33 /usr/lib/libGL.so.195.30
xbmc@xbmc-desktop:~$ su
Password:
root@xbmc-desktop:/home/xbmc# ls -l /usr/lib/libGL.so.* /usr/lib/vdpau/
ls: cannot access /usr/lib/vdpau/: No such file or directory
lrwxrwxrwx 1 root root     15 2010-01-13 17:28 /usr/lib/libGL.so.1 -> libGL.so.195.30
-rw-r--r-- 1 root root 739008 2010-01-01 18:33 /usr/lib/libGL.so.195.30
root@xbmc-desktop:/home/xbmc#

here is the current log
Nvidia Shield with Kodi 18
Reply
#7
ok so I went into the nvidia gui and checked sync to vblank and checked allow flipping and that did something becuase its alot smoother playback and now the audio is not all off. the video is alot smoother now.

I still get tearing on the video however.
Nvidia Shield with Kodi 18
Reply
#8
updated the below in the xorg.config and now its running smooth. playback in both 720 and 1080. audio sync is working, vdpau is working now and tearing is very minimal.

below is my xorg.config file

Code:
Section "Screen"
    Identifier    "Default Screen"
    DefaultDepth    24
EndSection

Section "Module"
    Load    "glx"
EndSection

Section "Extensions"
    Option         "Composite" "Disable"
EndSection

Section "Device"
    Identifier    "Default Device"
    Driver    "nvidia"
    Option    "NoLogo"    "True"
    Option "FlatPanelProperties" "Scaling=Native"
EndSection

anything that I need to add?
Nvidia Shield with Kodi 18
Reply

Logout Mark Read Team Forum Stats Members Help
video all messed up. pls help0