[opensuse-arm] where to find "vcgencmd" ?
On a Raspi 3B+ that I am preparing for MythTV (sofar it works fairly well), I'm trying to verify that the license for hardware MPEG2 decoding has been installed correctly - according to the mail from the Raspberry Pi Store, the command is: vcgencmd codec_enabled MPG2 I guess this is a Raspbian specialty - does anyone know where to find "vcgencmd" for openSUSE ? I see it here, but it's a 32bit executable, I guess I need some 32bit stuff for it to run? https://github.com/raspberrypi/firmware/blob/master/opt/vc/bin/vcgencmd thanks Per -- Per Jessen, Zürich (4.0°C) member, openSUSE Heroes. -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Am 12.12.19 um 09:20 schrieb Per Jessen:
On a Raspi 3B+ that I am preparing for MythTV (sofar it works fairly well), I'm trying to verify that the license for hardware MPEG2 decoding has been installed correctly - according to the mail from the Raspberry Pi Store, the command is:
vcgencmd codec_enabled MPG2
I guess this is a Raspbian specialty - does anyone know where to find "vcgencmd" for openSUSE ?
I see it here, but it's a 32bit executable, I guess I need some 32bit stuff for it to run?
Last time I tried, the multimedia stuff worked only on raspbian kernels anyway and only on 32bit. The userspace stuff was not even compiling under 64 bits (or all functions would be #ifdef'd to dummys or something like that, I don't remember exactly).
https://github.com/raspberrypi/firmware/blob/master/opt/vc/bin/vcgencmd
There is also source code in the userland package IIRC, I built this from source on my yocto poky build some years ago at least. -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi,
-----Original Message----- From: Per Jessen
Sent: 12 December 2019 09:21 To: opensuse-arm@opensuse.org Subject: [opensuse-arm] where to find "vcgencmd" ? On a Raspi 3B+ that I am preparing for MythTV (sofar it works fairly well), I'm trying to verify that the license for hardware MPEG2 decoding has been installed correctly - according to the mail from the Raspberry Pi Store, the command is:
vcgencmd codec_enabled MPG2
I guess this is a Raspbian specialty - does anyone know where to find "vcgencmd" for openSUSE ?
It is available in raspberrypi-userland package available for Tumbleweed here: https://download.opensuse.org/repositories/devel:/ARM:/Factory:/Contrib:/Ras... But it fails to build since end of September, so not sure if it is still installable. But last time I tried, video decoding seemed to happen (no error) but no image from the video were shown on HDMI output, only a black screen. Cheers, Guillaume
I see it here, but it's a 32bit executable, I guess I need some 32bit stuff for it to run?
https://github.com/raspberrypi/firmware/blob/master/opt/vc/bin/vcgencmd
thanks Per
-- Per Jessen, Zürich (4.0°C) member, openSUSE Heroes.
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Guillaume Gardet wrote:
vcgencmd codec_enabled MPG2
I guess this is a Raspbian specialty - does anyone know where to find "vcgencmd" for openSUSE ?
It is available in raspberrypi-userland package available for Tumbleweed here:
https://download.opensuse.org/repositories/devel:/ARM:/Factory:/Contrib:/Ras...
But it fails to build since end of September, so not sure if it is still installable.
Hmm, doesn't sound too promising. Thanks, I'll have a look.
But last time I tried, video decoding seemed to happen (no error) but no image from the video were shown on HDMI output, only a black screen.
I have TV working, that was straight forward, but it's definitely not hardware accelerated. I have added the following to /boot/efi/extraconfig.txt : hdmi_force_hotplug=1 decode_MPG2=0x12345678 -- Per Jessen, Zürich (3.9°C) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Am 12.12.19 um 10:03 schrieb Per Jessen:
I have TV working, that was straight forward, but it's definitely not hardware accelerated.
Try with a HD channel (h264), that needs no extra license. But as I wrote, I could not get any of the video acceleration things going with openSUSE kernels (I think I tried on the raspi 3, this is when I noticed that the userland stuff will only build for 32bits) -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Stefan Seyfried wrote:
Am 12.12.19 um 10:03 schrieb Per Jessen:
I have TV working, that was straight forward, but it's definitely not hardware accelerated.
Try with a HD channel (h264), that needs no extra license.
Have just tried "Channel 4 HD", it reports HD1080, H264 - but it stutters, it is not watchable. Clearly not accelerated which is weird?
But as I wrote, I could not get any of the video acceleration things going with openSUSE kernels (I think I tried on the raspi 3, this is when I noticed that the userland stuff will only build for 32bits)
Okay - I guess it isn't so important, it was just a way of checking. -- Per Jessen, Zürich (4.4°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
-----Original Message----- From: Per Jessen
Sent: 12 December 2019 10:42 To: opensuse-arm@opensuse.org Subject: Re: [opensuse-arm] where to find "vcgencmd" ? Stefan Seyfried wrote:
Am 12.12.19 um 10:03 schrieb Per Jessen:
I have TV working, that was straight forward, but it's definitely not hardware accelerated.
Try with a HD channel (h264), that needs no extra license.
Have just tried "Channel 4 HD", it reports HD1080, H264 - but it stutters, it is not watchable. Clearly not accelerated which is weird?
AFAIK, only omxplayer was using video acceleration. https://pmbs.links2linux.de/package/show/Multimedia/omxplayer Cheers, Guillaume
But as I wrote, I could not get any of the video acceleration things going with openSUSE kernels (I think I tried on the raspi 3, this is when I noticed that the userland stuff will only build for 32bits)
Okay - I guess it isn't so important, it was just a way of checking.
-- Per Jessen, Zürich (4.4°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland.
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Am 12.12.19 um 10:47 schrieb Guillaume Gardet:
-----Original Message----- From: Per Jessen
Have just tried "Channel 4 HD", it reports HD1080, H264 - but it stutters, it is not watchable. Clearly not accelerated which is weird?
AFAIK, only omxplayer was using video acceleration. https://pmbs.links2linux.de/package/show/Multimedia/omxplayer vlc, gstreamer, vdr-plugin-rpihddevice all can use the hardware acceleration. But AFAICT not on 64 bit systems (and I also seem to remember not on upstream 32bit kernels).
Were you ever able to use omxplayer on 64bit openSUSE raspi3? -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Stefan Seyfried wrote:
Am 12.12.19 um 10:47 schrieb Guillaume Gardet:
-----Original Message----- From: Per Jessen
Have just tried "Channel 4 HD", it reports HD1080, H264 - but it stutters, it is not watchable. Clearly not accelerated which is weird?
AFAIK, only omxplayer was using video acceleration. https://pmbs.links2linux.de/package/show/Multimedia/omxplayer vlc, gstreamer, vdr-plugin-rpihddevice all can use the hardware acceleration. But AFAICT not on 64 bit systems (and I also seem to remember not on upstream 32bit kernels).
Were you ever able to use omxplayer on 64bit openSUSE raspi3?
I had a look at it just now - I don't see any builds for Leap 15. -- Per Jessen, Zürich (4.9°C) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Guillaume Gardet wrote:
-----Original Message----- From: Per Jessen
Sent: 12 December 2019 10:42 To: opensuse-arm@opensuse.org Subject: Re: [opensuse-arm] where to find "vcgencmd" ? Stefan Seyfried wrote:
Am 12.12.19 um 10:03 schrieb Per Jessen:
I have TV working, that was straight forward, but it's definitely not hardware accelerated.
Try with a HD channel (h264), that needs no extra license.
Have just tried "Channel 4 HD", it reports HD1080, H264 - but it stutters, it is not watchable. Clearly not accelerated which is weird?
AFAIK, only omxplayer was using video acceleration. https://pmbs.links2linux.de/package/show/Multimedia/omxplayer
Hmm. According to the MythTV wiki, it will use hw acceleration if available, e.g. VDPAU (Nvidia) and the Intel VAAPI - does not mention the Raspberry of course. Ah, I think need to change the "Painter" setting to Auto. Hmm, did not work very well - maybe if I run MythTV directly, instead of under icewm. I'll be back :-) -- Per Jessen, Zürich (4.9°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Per Jessen wrote:
Hmm. According to the MythTV wiki, it will use hw acceleration if available, e.g. VDPAU (Nvidia) and the Intel VAAPI - does not mention the Raspberry of course. Ah, I think need to change the "Painter" setting to Auto. Hmm, did not work very well - maybe if I run MythTV directly, instead of under icewm. I'll be back :-)
Just a brief conclusion - I kept getting conflicting reports about the Raspi's ability to run MythTV with HDTV in a satisfactory manner. My own brief experience showed it was _slow_ just operating the MythTV menus, which I could tell was going to annoy me. Instead I switched to a Zotac mini PC I bought 3 years ago. Back then I gave up because I could not get hw accelerated video to work with Intel HD graphics. Seems to work fine now on Leap 15.1. -- Per Jessen, Zürich (11.3°C) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (3)
-
Guillaume Gardet
-
Per Jessen
-
Stefan Seyfried