20.04 with NVIDIA and hardware acceleration
Jerry Geis
jerry.geis at gmail.com
Thu Jun 3 19:16:13 UTC 2021
On Thu, Jun 3, 2021 at 8:27 AM Liam Proven <lproven at gmail.com> wrote:
> On Thu, 3 Jun 2021 at 14:13, Jerry Geis <jerry.geis at gmail.com> wrote:
> >
> > Thanks - so I installed celluloid and ran it - same thing - frames drops
> or video freezes at times.
>
> I don't know much about video but this seems odd.
>
> > I found this in Xorg.0.log
>
> You can also try:
>
> glxinfo | less
>
> On the 2nd or so screen you should find the driver in use.
>
> Another test: run `nvidia-settings`
>
> It simply won't run if you're not using the nVidia driver.
>
> > [ 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
>
> > So I dont think nvidia is actually being used ?
>
> Looks all right to me.
>
> > 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
>
> I think that's quite an old kernel.
>
> > What might I not have right ?
>
> Have you installed the HWE stack?
>
> https://wiki.ubuntu.com/Kernel/LTSEnablementStack
>
> https://learnubuntumate.weebly.com/install-hwe-2004.html
>
> In theory, it's as easy as:
>
> sudo apt install linux-generic-hwe-20.04
>
>
> --
> Liam Proven – Profile: https://about.me/liamproven
> Email: lproven at cix.co.uk – gMail/gTalk/gHangouts: lproven at gmail.com
> Twitter/Facebook/LinkedIn/Flickr: lproven – Skype: liamproven
> UK: +44 7939-087884 – ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
I did the apt update; apt upgrade rebooted.
more /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-5.4.0-74-generic
root=UUID=76aeeff4-4d65-4f4a-889e-5f12ae03068b ro splash nouveau.modeset=0
nomodeset acpi=off vt.handoff=7
So kernel is up to date. All drivers up to date.
ubuntu-drivers list
nvidia-340
glxinfo - shows
glxinfo | grep -i nvidia
server glx vendor string: NVIDIA Corporation
client glx vendor string: NVIDIA Corporation
OpenGL vendor string: NVIDIA Corporation
OpenGL core profile version string: 3.3.0 NVIDIA 340.108
OpenGL core profile shading language version string: 3.30 NVIDIA via Cg
compiler
OpenGL version string: 3.3.0 NVIDIA 340.108
OpenGL shading language version string: 3.30 NVIDIA via Cg compiler
OpenGL ES profile version string: OpenGL ES 2.0 NVIDIA 340.108 340.108
I have not tried the hwe yet - but it "should" work with what I have.
I am not sure why its not using HW acceleration to play the h264 video and
I get freezes ???
Thanks,
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20210603/984a236e/attachment.html>
More information about the ubuntu-users
mailing list