[Bug 1905272] Re: Can't get h/w video acceleration on rpi4

2022-05-26 Thread Maciej Borzecki
AFAIU support for pulling in dtbs from the kernel snap is already in snapd. We've recently also fixed a problem with AppArmor profile that blocked access to the GPU device, perhaps that's related. The PR that contains the fix is https://github.com/snapcore/snapd/pull/11822 -- You received this

[Bug 1905272] Re: Can't get h/w video acceleration on rpi4

2022-05-26 Thread Maciej Borzecki
Can you please pull the latest pi kernel and gadget from 20/stable, snapd from edge and verify if things are working for you? ** Changed in: snapd Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1905272] Re: Can't get h/w video acceleration on rpi4

2020-12-10 Thread Maciej Borzecki
@juergh do I understand it correctly that this is blocked on snapd pulling dtbs from the kernel snap? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1905272 Title: Can't get h/w video acceleration

[Bug 1905272] Re: Can't get h/w video acceleration on rpi4

2020-11-30 Thread Juerg Haefliger
This is gated by snapd work. I don't have visibility into the snap team's schedule. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1905272 Title: Can't get h/w video acceleration on rpi4 To manage

[Bug 1905272] Re: Can't get h/w video acceleration on rpi4

2020-11-25 Thread Viktor Petersson
@Juerg - Do you have a timeline for this? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1905272 Title: Can't get h/w video acceleration on rpi4 To manage notifications about this bug go to:

[Bug 1905272] Re: Can't get h/w video acceleration on rpi4

2020-11-25 Thread Juerg Haefliger
We will fix 18 eventually (when we move the kernel to 5.4). But that requires some snap changes that are currently in the works. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1905272 Title: Can't

[Bug 1905272] Re: Can't get h/w video acceleration on rpi4

2020-11-24 Thread Sergey Borovkov
Thanks, ogra pointed me to the /pending subdirectory for images. I installed the latest one and gstreamer can actually detect v4l2h264 decoding capabilities there. Unfortunate that it does not work on 18 though. -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1905272] Re: Can't get h/w video acceleration on rpi4

2020-11-24 Thread Juerg Haefliger
You can try to copy the DTBs (and overlays) from /lib/firmware/5.4.0--raspi/device-tree/broadcom/ to /run/mnt /ubuntu-seed after refreshing the kernel snap. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1905272] Re: Can't get h/w video acceleration on rpi4

2020-11-24 Thread Sergey Borovkov
I guess I will have to build an image with my own assertion, as ubuntu's images are in fact from May and image does not boot if I refresh the kernel. Will update if it does not work once I make it myself. -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1905272] Re: Can't get h/w video acceleration on rpi4

2020-11-24 Thread Juerg Haefliger
** Changed in: linux-raspi (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1905272 Title: Can't get h/w video acceleration on rpi4 To manage notifications

[Bug 1905272] Re: Can't get h/w video acceleration on rpi4

2020-11-23 Thread Sergey Borovkov
For UC 20 I downloaded the image from here: https://cdimage.ubuntu.com/ubuntu-core/20/beta/current/ I tried refreshing to the edge kernel but then an image would not boot. For 18 I had built an image from an assertion containing kernel: pi- kernel=18-pi -- You received this bug notification

[Bug 1905272] Re: Can't get h/w video acceleration on rpi4

2020-11-23 Thread Juerg Haefliger
5.4.0-1011-raspi is an ancient kernel from May. How did you end up using that? Current is 5.4.0-1022.25. With that kernel, I still had to copy the DTBs from the kernel to make it work. So it looks like another DTB/kernel mismatch. -- You received this bug notification because you are a member of

[Bug 1905272] Re: Can't get h/w video acceleration on rpi4

2020-11-23 Thread Oliver Grawert
this could surely be part of it -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1905272 Title: Can't get h/w video acceleration on rpi4 To manage notifications about this bug go to:

[Bug 1905272] Re: Can't get h/w video acceleration on rpi4

2020-11-23 Thread Sergey Borovkov
On Core 20: root@ubuntu:/home/pi# modprobe bcm2835_codec modprobe: FATAL: Module bcm2835_codec not found in directory /lib/modules/5.4.0-1011-raspi On raspbian: sudo modprobe bcm2835_codec pi@raspberrypi:~ $ Google seems to be telling me that it's an element that provides video encode, decode,

[Bug 1905272] Re: Can't get h/w video acceleration on rpi4

2020-11-23 Thread Michael Vogt
** Changed in: snapd Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1905272 Title: Can't get h/w video acceleration on rpi4 To manage notifications about this bug

[Bug 1905272] Re: Can't get h/w video acceleration on rpi4

2020-11-23 Thread Sergey Borovkov
Hi Oliver, sorry, did not mention that the difference in codecs is with core 18 - I only tried the snap on 20 to make sure it does not work there as well. I will check it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1905272] Re: Can't get h/w video acceleration on rpi4

2020-11-23 Thread Oliver Grawert
talking to juerg (our kernel maintainer) it seems the codec module should be available in 5.4 in UC20, did you try to manually modprobe it ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1905272

[Bug 1905272] Re: Can't get h/w video acceleration on rpi4

2020-11-23 Thread Oliver Grawert
the config option seems to be: CONFIG_VIDEO_CODEC_BCM2835=m ** Also affects: linux-raspi (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1905272