20.04 with NVIDIA and hardware acceleration
Jerry Geis
jerry.geis at gmail.com
Thu Jun 3 12:10:50 UTC 2021
On Thu, Jun 3, 2021 at 4:36 AM Bret Busby <bret.busby at gmail.com> wrote:
> On 03/06/2021, Bret Busby <bret.busby at gmail.com> wrote:
> > On 03/06/2021, Jerry Geis <jerry.geis at gmail.com> wrote:
> >> I have 20.04 installed on a Zotac Zbox. ZBOX-ID41
> >>
> >> lspci | grep VGA
> >> 03:00.0 VGA compatible controller: NVIDIA Corporation GT218 [ION] (rev
> >> a2)
> >>
> >> vainfo
> >> libva info: VA-API version 1.7.0
> >> libva info: Trying to open
> >> /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
> >> libva info: Found init function __vaDriverInit_1_0
> >> libva info: va_openDriver() returns 0
> >> vainfo: VA-API version: 1.7 (libva 2.6.0)
> >> vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for
> VA-API
> >> -
> >> 0.7.4
> >> vainfo: Supported profile and entrypoints
> >> VAProfileMPEG2Simple : VAEntrypointVLD
> >> VAProfileMPEG2Main : VAEntrypointVLD
> >> VAProfileMPEG4Simple : VAEntrypointVLD
> >> VAProfileMPEG4AdvancedSimple : VAEntrypointVLD
> >> VAProfileH264Main : VAEntrypointVLD
> >> VAProfileH264High : VAEntrypointVLD
> >> VAProfileVC1Simple : VAEntrypointVLD
> >> VAProfileVC1Main : VAEntrypointVLD
> >> VAProfileVC1Advanced : VAEntrypointVLD
> >>
> >> The NVIDIA acceleration does not seem to be happening - even though
> >> vainfo
> >> shows present.
> >> libvdpau is installed.
> >>
> >> When I run the 1080p video with totem I get many frame drops.
> >>
> >> Is there something special on 20.04 I need to to do and get NVIDIA
> >> hardware
> >> acceleration going ?
> >>
> >> Thanks,
> >>
> >> Jerry
> >>
> >
> > Have you tried an application other than totem?
> >
> > I have been using UbuntuMATE for about 8 years with nVIDIA Optimus and
> > external monitors with 1080p resolution, on two separate systems,
> > without any problems.
> >
> > If you are using totem for watching videos, try something else, like
> > celluloid, and see what happens.
> >
> > --
> > Bret Busby
> > Armadale
> > West Australia
> > (UTC+0800)
> > ..............
> >
>
> Oh, and, I am currently running 21.04, on all of my systems.
>
> I have been successfully using Ubuntu, with nVIDIA, since 12.04.
>
> I did not need to make any changes to settings (other than switching
> the screen priorities, to switch of the laptop screens and use only
> the external monitors), to successfully use Ubuntu with nVIDIA, with
> 1080p resolution on external monitors.
>
> --
> Bret Busby
> Armadale
> West Australia
> (UTC+0800)
> ..............
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Thanks - so I installed celluloid and ran it - same thing - frames drops or
video freezes at times.
apt list --installed | grep -i vdpau
libvdpau-dev/focal,now 1.3-1ubuntu2 amd64 [installed]
libvdpau1/focal,now 1.3-1ubuntu2 amd64 [installed,automatic]
mesa-vdpau-drivers/focal-updates,now 20.2.6-0ubuntu0.20.04.1 amd64
[installed,automatic]
vdpau-driver-all/focal,now 1.3-1ubuntu2 amd64 [installed,automatic]
vdpau-va-driver/now 0.7.4-7 amd64 [installed,local]
I found this in Xorg.0.log
[ 66.203] (II) NVIDIA GLX Module 340.108 Wed Dec 11 14:26:50 PST 2019
[ 66.203] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[ 66.204] loading driver: nvidia
[ 66.559] (==) Matched nvidia as autoconfigured driver 0
[ 66.559] (==) Matched nouveau as autoconfigured driver 1
[ 66.560] (==) Matched modesetting as autoconfigured driver 2
[ 66.560] (==) Matched fbdev as autoconfigured driver 3
[ 66.560] (==) Matched vesa as autoconfigured driver 4
[ 66.560] (==) Assigned the driver to the xf86ConfigLayout
[ 66.560] (II) LoadModule: "nvidia"
[ 66.560] (II) Loading /usr/lib/nvidia-340/xorg/nvidia_drv.so
[ 66.577] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 66.577] compiled for 4.0.2, module version = 1.0.0
[ 66.577] Module class: X.Org Video Driver
[ 66.578] (II) LoadModule: "nouveau"
[ 66.583] (WW) Warning, couldn't open module nouveau
[ 66.583] (EE) Failed to load module "nouveau" (module does not exist, 0)
[ 66.583] (II) LoadModule: "modesetting"
[ 66.583] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 66.586] (II) Module modesetting: vendor="X.Org Foundation"
[ 66.586] compiled for 1.20.9, module version = 1.20.9
[ 66.586] Module class: X.Org Video Driver
[ 66.586] ABI class: X.Org Video Driver, version 24.1
[ 66.586] (II) LoadModule: "fbdev"
[ 66.587] (WW) Warning, couldn't open module fbdev
[ 66.587] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 66.587] (II) LoadModule: "vesa"
[ 66.587] (WW) Warning, couldn't open module vesa
[ 66.588] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 66.588] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[ 66.588] loading driver: nvidia
[ 66.935] (==) Matched nvidia as autoconfigured driver 0
[ 66.936] (==) Matched nouveau as autoconfigured driver 1
[ 66.936] (==) Matched modesetting as autoconfigured driver 2
[ 66.936] (==) Matched fbdev as autoconfigured driver 3
[ 66.936] (==) Matched vesa as autoconfigured driver 4
[ 66.936] (==) Assigned the driver to the xf86ConfigLayout
[ 66.936] (II) LoadModule: "nvidia"
[ 66.936] (II) Loading /usr/lib/nvidia-340/xorg/nvidia_drv.so
[ 66.936] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 66.936] compiled for 4.0.2, module version = 1.0.0
[ 66.936] Module class: X.Org Video Driver
[ 66.936] (II) UnloadModule: "nvidia"
[ 66.936] (II) Unloading nvidia
[ 66.937] (EE) Failed to load module "nvidia" (module doesn't support
this OS, 0)
[ 66.937] (II) LoadModule: "nouveau"
[ 66.937] (WW) Warning, couldn't open module nouveau
So I dont think nvidia is actually being used ?
apt list --installed | grep -i nvidia
nvidia-340/focal-updates,now 340.108-0ubuntu5.20.04.1 amd64 [installed]
nvidia-opencl-icd-340/focal-updates,now 340.108-0ubuntu5.20.04.1 amd64
[installed,automatic]
nvidia-settings/focal-updates,now 460.39-0ubuntu0.20.04.1 amd64
[installed,automatic]
lspci | grep VGA
03:00.0 VGA compatible controller: NVIDIA Corporation GT218 [ION] (rev a2)
nvidia-detector
nvidia-340
cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-5.4.0-72-generic
root=UUID=76aeeff4-4d65-4f4a-889e-5f12ae03068b ro splash nouveau.modeset=0
nomodeset acpi=off vt.handoff=7
What might I not have right ?
Thanks.
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20210603/cfae8365/attachment.html>
More information about the ubuntu-users
mailing list