latest linux* update kills rpi video accel

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

latest linux* update kills rpi video accel

Postby acconciox » Tue Jun 25, 2019 11:44 am

$this->bbcode_second_pass_quote('', '[')vo/rpi] Could not create MMAL renderer.
mmal: mmal_vc_shm_init: could not initialize vc shared memory service
mmal: mmal_vc_component_create: failed to initialise shm for 'vc.ril.video_render' (7:EIO)
mmal: mmal_component_create_core: could not create component 'vc.ril.video_render' (7)



in order to use mpv with mmal had to downgrade:
$this->bbcode_second_pass_code('', '
[2019-06-25 13:30] [ALPM] downgraded linux-raspberrypi (4.19.55-1 -> 4.19.50-1)
[2019-06-25 13:31] [ALPM] downgraded linux-raspberrypi-headers (4.19.55-1 -> 4.19.50-1)
[2019-06-25 13:31] [ALPM] downgraded raspberrypi-bootloader (20190624-1 -> 20190611-1)
[2019-06-25 13:31] [ALPM] downgraded raspberrypi-bootloader-x (20190624-1 -> 20190611-1)
[2019-06-25 13:31] [ALPM] downgraded raspberrypi-firmware (20190624-1 -> 20190611-1)
')
Im not sure if any of these downgrades is necessary, but is enough to have mpv running.
Last edited by acconciox on Mon Jul 29, 2019 10:31 pm, edited 1 time in total.
acconciox
 
Posts: 110
Joined: Thu May 05, 2016 4:39 pm

Re: latest linux* update kills rpi video accel

Postby seodisparate » Sat Jul 06, 2019 8:43 am

I think I am experiencing the same bug, but in a different way: I cannot take pictures with the PiCamera module.

The error I get is:
$this->bbcode_second_pass_code('', 'mmal: mmal_vc_shm_init: could not initialize vc shared memory service
mmal: mmal_vc_component_create: failed to initialise shm for 'vc.camera_info' (7:EIO)
mmal: mmal_component_create_core: could not create component 'vc.camera_info' (7)
<class 'picamera.exc.PiCameraMMALError'>
<traceback object at 0x762fc648>')

I also needed to downgrade packages to get it working again:
$this->bbcode_second_pass_code('', '[2019-07-06 17:33] [ALPM] downgraded raspberrypi-firmware (20190626-1 -> 20190611-1)
[2019-07-06 17:33] [ALPM] downgraded raspberrypi-bootloader (20190705-1 -> 20190611-1)
[2019-07-06 17:33] [ALPM] downgraded raspberrypi-bootloader-x (20190705-1 -> 20190611-1)
[2019-07-06 17:35] [ALPM] downgraded linux-firmware (20190618.acb56f2-1 -> 20190514.711d329-1)
[2019-07-06 17:35] [ALPM] downgraded linux-api-headers (5.1-1 -> 5.0.7-1)
[2019-07-06 17:35] [ALPM] downgraded libutil-linux (2.34-3 -> 2.33.2-1)
[2019-07-06 17:36] [ALPM] downgraded util-linux (2.34-3 -> 2.33.2-1)
[2019-07-06 17:37] [ALPM] downgraded linux-raspberrypi (4.19.57-1 -> 4.19.50-1)')

My system specs:
$this->bbcode_second_pass_code('', 'OS: Arch Linux ARM armv7l
Host: Raspberry Pi 3 Model B Rev 1.2
Kernel: 4.19.50-1-ARCH
Uptime: 3 mins
Packages: 268 (pacman)
Shell: bash 5.0.7
Terminal: /dev/pts/0
CPU: BCM2835 (4) @ 1.200GHz
Memory: 110MiB / 870MiB')
seodisparate
 
Posts: 1
Joined: Sat Jul 06, 2019 8:37 am

Re: latest linux* update kills rpi video accel

Postby Kallestofeles » Sat Jul 27, 2019 9:39 pm

I thought I would pitch in on the matter - I am experiencing this issue as well, but as I use my RPI as a Kodi media center box, it fails to bring up the media center (kodi standalone service) due to X failure. Did not find any real useful logs which would point to a known issue or similar, but for the time being, downgrading the packages also mentioned by seodisparate gets the media center running again.
I wonder to whom's attention this issue should be brought?
Kallestofeles
 
Posts: 9
Joined: Sun Jul 21, 2019 11:24 am

Re: latest linux* update kills rpi video accel

Postby graysky » Sat Jul 27, 2019 10:05 pm

$this->bbcode_second_pass_quote('Kallestofeles', 'I') thought I would pitch in on the matter - I am experiencing this issue as well, but as I use my RPI as a Kodi media center box, it fails to bring up the media center (kodi standalone service) due to X failure. Did not find any real useful logs which would point to a known issue or similar, but for the time being, downgrading the packages also mentioned by seodisparate gets the media center running again.
I wonder to whom's attention this issue should be brought?


Which kodi package ar eyou using? I have an up-to-date system running kodi-rbp3 and no issues. To be clear: are you using Arch ARM + kodi-standalone-service from the AUR? If so, that is your problem. The kodi packages for Arm ARM ship with kodi.service that does it all.
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: latest linux* update kills rpi video accel

Postby Kallestofeles » Sun Jul 28, 2019 2:40 pm

graysky, I am using kodi-rbp package from the alarm repos - have not dared to introduce AUR to ARM devices yet. That package also provided the kodi.service (the standalone variant).
Alas, I have not tried the kodi-rbp3 package - thank you for bringing that to my attention! It would make sense to use that one instead as I indeed have a RPI3. :lol:
I shall report back when I have had time to check it and troubleshoot the matter further. Thanks again!

EDIT:
Thank you graysky again for bringing kodi-rbp3 package to my attention! Switching the kodi-rbp package out with kodi-rbp3 seems to have resolved my compatibility issues and the system is now up-to-date. Thanks again! ;)
Kallestofeles
 
Posts: 9
Joined: Sun Jul 21, 2019 11:24 am

Re: latest linux* update kills rpi video accel

Postby aelfscien » Mon Jul 29, 2019 12:00 pm

I’m having a similar experience to acconciox, but I’ve found that downgrading only the raspberrypi-firmware package causes videos to play on rbp 3s and 2s running either the kodi-rbp or kodi-rbp3 packages.

Testing to see if this is still an issue, using a fresh install of archlinuxarm (as on 7/27/19) on a pi4 with kodi-rbp4 installed, when I try to play a video, kodi crashes producing the following log entries:

$this->bbcode_second_pass_code('', '
NOTICE: Starting Kodi (18.3 Git:20190727-nogitfound). Platform: Linux ARM 32-bit
NOTICE: Using Release Kodi x32 build
NOTICE: Kodi compiled 2019-07-27 by GCC 8.3.0 for Linux ARM 32-bit version 5.1.0 (327936)
NOTICE: Running on Arch Linux ARM 0.0, kernel: Linux ARM 32-bit version 4.19.60-1-ARCH
NOTICE: FFmpeg version/source: 4.0.3-Kodi
NOTICE: Host CPU: ARMv7 Processor rev 3 (v7l), 4 cores available
NOTICE: ARM Features: Neon enabled



ERROR: CMMALPool::CMMALPool Failed to create component vc.ril.video_decode
')

The error is the same one I see on my rbp3 and rbp2 machines without downgrading the firmware.
aelfscien
 
Posts: 1
Joined: Mon Jul 29, 2019 11:19 am


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 9 guests