XBMC VDPAU on T61?
#1
Question 
Hi Forum,

I have a old thinkpad T61 with ubuntu installed on it (latest 11.04), and I have latest XBMC release installed as well. I have nvidia driver working fine, current version 270.29-0ubuntu1, I also set XBMC to use VDPAU, but XBMC still use ff-h264 to decode x264 movie. Is there any setting issue? Or does XBMC support VDPAU on T61?

Thanks

Noodle
Reply
#2
VDPAU requires a card based on the G9x series cores.
Reply
#3
According to the mythtv wiki and nvnews.net, the quadro chipset in the T61 (Quadro NVS 140M) should work with the VDPAU extensions. Have you set up an Xorg.conf file? Degug log maybe. Could be that XBMC isn't playing nice with it as well.
Reply
#4
Wait, x264 not h264? Is it SD or HD?

*edit*

The Wiki Wrote:<vdpauscaling>true</vdpauscaling> <!-- scales with vdpau instead of opengl and turns on its HQ scaler when available, enabling this might slow down rendering and cause framedrops especially on ion systems, this setting requires a vdpau feature set C gpu-->

If it's SD content all is working as it should.
Reply
#5
For scaling yes, but for decoding if the content is h.264 encoded, vdpau should kick in for decoding and ff-h264 should be bypassed.

BTW, x264 is an h.264 AVC encoder, not a separate codec.
Reply
#6
I will check xorg.conf and try to get debug log once I get chance.

Thanks for taking time to look at this, BTW.

Noodle

pumkinut Wrote:According to the mythtv wiki and nvnews.net, the quadro chipset in the T61 (Quadro NVS 140M) should work with the VDPAU extensions. Have you set up an Xorg.conf file? Degug log maybe. Could be that XBMC isn't playing nice with it as well.
Reply
#7
Check xorg.conf, nothing special.

in xbmc.log I found:

Code:
16:38:11 T:139816150755072 M:1493622784  NOTICE: CDVDVideoCodecFFmpeg::Open() Creating VDPAU(1920x816, 28)
16:38:11 T:139816150755072 M:1492840448  NOTICE: vdp_device = 0x00000001 vdp_st = 0x00000000
16:38:11 T:139816150755072 M:1492840448  NOTICE: VDPAU Decoder capabilities:
16:38:11 T:139816150755072 M:1492840448  NOTICE: name          level macbs width height
16:38:11 T:139816150755072 M:1492840448  NOTICE: ------------------------------------
16:38:11 T:139816150755072 M:1492840448  NOTICE: MPEG1             0  8192  2048  2048
16:38:11 T:139816150755072 M:1492840448  NOTICE: MPEG2_SIMPLE      3  8192  2048  2048
16:38:11 T:139816150755072 M:1492840448  NOTICE: MPEG2_MAIN        3  8192  2048  2048
16:38:11 T:139816150755072 M:1492840448  NOTICE: H264_MAIN        41  8192  2048  2048
16:38:11 T:139816150755072 M:1492840448  NOTICE: H264_HIGH        41  8192  2048  2048
16:38:11 T:139816150755072 M:1492840448  NOTICE: VC1_SIMPLE        1  8190  2048  2048
16:38:11 T:139816150755072 M:1492840448  NOTICE: VC1_MAIN          2  8190  2048  2048
16:38:11 T:139816150755072 M:1492840448  NOTICE: VC1_ADVANCED      4  8190  2048  2048
16:38:11 T:139816150755072 M:1492840448  NOTICE: ------------------------------------
16:38:11 T:139816150755072 M:1492840448  NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_NOISE_REDUCTION
16:38:11 T:139816150755072 M:1492840448  NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_SHARPNESS
16:38:11 T:139816150755072 M:1492840448  NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL
16:38:11 T:139816150755072 M:1492840448  NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL_SPATIAL
16:38:11 T:139816150755072 M:1492840448  NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_INVERSE_TELECINE
16:38:11 T:139816150755072 M:1492299776   ERROR:  (VDPAU) Error: The system does not have enough resources to complete the requested operation at this time.(23) checking for decoder support
16:38:11 T:139816150755072 M:1492938752  NOTICE: CDVDVideoCodecFFmpeg::Open() Failed to get VDPAU device
16:38:11 T:139816150755072 M:1492938752  NOTICE:  (VDPAU) Close

I'm thinking is it possible because there's no enough RAM allocated to video card? I have 2G RAM total, and I cannot found video RAM configuration in BIOS.

Thanks

Noodle
Reply
#8
VRAM could be an issue, have you also made sure that any compositing is disabled in your Xorg.conf file?
Reply
#9
Get a bigger swap file. When my swap ate itself and wasn't working I was getting the same errors. I just made a 5GB file on my hard drive and did swapon /swapfile. Fixed all the problems.
Code:
GRANT ALL PRIVILEGES ON `xbmc_%`.* TO 'xbmc'@'%';
IF you have a mysql problem, find one of the 4 dozen threads already open.
Reply
#10
Thanks, I will try this trick, were you fix it on T61?

darkscout Wrote:Get a bigger swap file. When my swap ate itself and wasn't working I was getting the same errors. I just made a 5GB file on my hard drive and did swapon /swapfile. Fixed all the problems.
Reply
#11
Sorry, but increase swap doesn't help. I create a 5G file and use it as swap (I have 4G partition already). So total 9G swap still not using VDPAU.

darkscout Wrote:Get a bigger swap file. When my swap ate itself and wasn't working I was getting the same errors. I just made a 5GB file on my hard drive and did swapon /swapfile. Fixed all the problems.
Reply
#12
Here is my xorg.conf file, nothing disabled. This laptop connect to a Dell 20" monitor, so should be two "Monitor', but I see only one. Could this be an issue?

Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 260.19.06  (buildd@yellow)  Mon Oct  4 15:59:51 UTC 2010

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
#    InputDevice    "Keyboard0" "CoreKeyboard"
# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
#    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
#Section "InputDevice"
#    # generated from default
#    Identifier     "Mouse0"
#    Driver         "mouse"
#    Option         "Protocol" "auto"
#    Option         "Device" "/dev/psaux"
#    Option         "Emulate3Buttons" "no"
#    Option         "ZAxisMapping" "4 5"
#EndSection

# commented out by update-manager, HAL is now used and auto-detects devices
# Keyboard settings are now read from /etc/default/console-setup
#Section "InputDevice"
#    # generated from default
#    Identifier     "Keyboard0"
#    Driver         "kbd"
#EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "IBM"
    HorizSync       53.2 - 63.9
    VertRefresh     40.0 - 60.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro NVS 140M"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "DFP-1"
    Option         "metamodes" "DFP-0: nvidia-auto-select +0+0, DFP-1: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

pumkinut Wrote:VRAM could be an issue, have you also made sure that any compositing is disabled in your Xorg.conf file?
Reply
#13
Any news on this? XBMC Eden still not using VDPAU.
Reply
#14
I had a brief look in the spec of a T61. 128MB video ram is not enough to get this working.
Reply
#15
Yikes! 128MB of VRAM, that's way low.
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC VDPAU on T61?2