No USB detected on Raspberry Pi 4 with aarch64

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

Re: No USB detected on Raspberry Pi 4 with aarch64

Postby robg » Sat Jan 09, 2021 2:29 am

Many thanks again graysky.

I managed to find the missing component. Kodi starts with `systemctl start kodi` (although it takes quite a while) and sound works. When searching through /var/lib/kodi/.kodi/temp/kodi.log (pasted below), I noticed "Default Audio Player: paplayer", i.e., instead of raw alsa, Kodi uses the pulseaudio stack. Following this observation, a simple `pacman -S pulseaudio-alsa` resolved my issues and sound works throughout the system.

If you're still intersted, here is the output of `ls -l /var/lib/kodi/.kodi/temp`
$this->bbcode_second_pass_code('', '
total 76
drwxr-xr-x 2 kodi kodi 4096 Jan 9 02:10 archive_cache
-rw-r--r-- 1 kodi kodi 28806 Jan 9 02:10 kodi.log
-rw-r--r-- 1 kodi kodi 36393 Jan 9 02:10 kodi.old.log
drwxr-xr-x 2 kodi kodi 4096 Jan 9 02:08 temp
')

Kodi log:
$this->bbcode_second_pass_code('', '
[root@alarm alarm]# cat /var/lib/kodi/.kodi/temp/kodi.log
2021-01-09 02:10:51.003 T:704 INFO <general>: -----------------------------------------------------------------------
2021-01-09 02:10:51.003 T:704 INFO <general>: Starting Kodi (19.0-BETA2 (18.9.821) Git:20210104-nogitfound). Platform: Linux ARM 64-bit
2021-01-09 02:10:51.003 T:704 INFO <general>: Using Release Kodi x64
2021-01-09 02:10:51.003 T:704 INFO <general>: Kodi compiled 2021-01-04 by GCC 10.2.0 for Linux ARM 64-bit version 5.8.0 (329728)
2021-01-09 02:10:51.003 T:704 INFO <general>: Running on BCM2835 with Arch Linux ARM 0.0, kernel: Linux ARM 64-bit version 5.10.5-2-ARCH
2021-01-09 02:10:51.003 T:704 INFO <general>: FFmpeg version/source: 4.3.1-Kodi
2021-01-09 02:10:51.004 T:704 INFO <general>: Host CPU: ARMv8 Processor rev 3 (v8l), 4 cores available
2021-01-09 02:10:51.004 T:704 INFO <general>: ARM Features: Neon enabled
2021-01-09 02:10:51.004 T:704 INFO <general>: special://xbmc/ is mapped to: /usr/share/kodi
2021-01-09 02:10:51.004 T:704 INFO <general>: special://xbmcbin/ is mapped to: /usr/lib/kodi
2021-01-09 02:10:51.004 T:704 INFO <general>: special://xbmcbinaddons/ is mapped to: /usr/lib/kodi/addons
2021-01-09 02:10:51.004 T:704 INFO <general>: special://masterprofile/ is mapped to: /var/lib/kodi/.kodi/userdata
2021-01-09 02:10:51.004 T:704 INFO <general>: special://envhome/ is mapped to: /var/lib/kodi
2021-01-09 02:10:51.004 T:704 INFO <general>: special://home/ is mapped to: /var/lib/kodi/.kodi
2021-01-09 02:10:51.004 T:704 INFO <general>: special://temp/ is mapped to: /var/lib/kodi/.kodi/temp
2021-01-09 02:10:51.004 T:704 INFO <general>: special://logpath/ is mapped to: /var/lib/kodi/.kodi/temp
2021-01-09 02:10:51.004 T:704 INFO <general>: The executable running is: /usr/lib/kodi/kodi-gbm
2021-01-09 02:10:51.004 T:704 INFO <general>: Local hostname: alarm
2021-01-09 02:10:51.004 T:704 INFO <general>: Log File is located: /var/lib/kodi/.kodi/temp/kodi.log
2021-01-09 02:10:51.004 T:704 INFO <general>: -----------------------------------------------------------------------
2021-01-09 02:10:51.004 T:704 INFO <general>: loading settings
2021-01-09 02:10:51.005 T:704 INFO <general>: special://profile/ is mapped to: special://masterprofile/
2021-01-09 02:10:51.025 T:704 INFO <general>: No settings file to load (special://xbmc/system/advancedsettings.xml)
2021-01-09 02:10:51.025 T:704 INFO <general>: No settings file to load (special://masterprofile/advancedsettings.xml)
2021-01-09 02:10:51.025 T:704 INFO <general>: Default Video Player: VideoPlayer
2021-01-09 02:10:51.025 T:704 INFO <general>: Default Audio Player: paplayer
2021-01-09 02:10:51.025 T:704 INFO <general>: Disabled debug logging due to GUI setting. Level 0.
2021-01-09 02:10:51.025 T:704 INFO <general>: Log level changed to "INFO"
2021-01-09 02:10:51.026 T:704 INFO <general>: creating subdirectories
2021-01-09 02:10:51.026 T:704 INFO <general>: userdata folder: special://masterprofile/
2021-01-09 02:10:51.026 T:704 INFO <general>: recording folder:
2021-01-09 02:10:51.026 T:704 INFO <general>: screenshots folder:
2021-01-09 02:10:51.030 T:704 INFO <general>: Running database version Addons33
2021-01-09 02:10:51.031 T:704 ERROR <general>: GetDirectory - Error getting /usr/lib/kodi/addons
2021-01-09 02:10:51.031 T:704 ERROR <general>: GetDirectory - Error getting special://xbmcbin/addons
2021-01-09 02:10:51.060 T:704 INFO <general>: CAddonMgr::FindAddons: audioencoder.kodi.builtin.aac v1.0.2 installed
2021-01-09 02:10:51.060 T:704 INFO <general>: CAddonMgr::FindAddons: audioencoder.kodi.builtin.wma v1.0.2 installed
2021-01-09 02:10:51.060 T:704 INFO <general>: CAddonMgr::FindAddons: game.controller.default v1.0.9 installed
2021-01-09 02:10:51.060 T:704 INFO <general>: CAddonMgr::FindAddons: game.controller.snes v1.0.9 installed
2021-01-09 02:10:51.060 T:704 INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.audioengine v1.1.1 installed
2021-01-09 02:10:51.060 T:704 INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.filesystem v1.1.6 installed
2021-01-09 02:10:51.060 T:704 INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.general v1.0.5 installed
2021-01-09 02:10:51.060 T:704 INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.gui v5.15.0 installed
2021-01-09 02:10:51.061 T:704 INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.main v1.3.0 installed
2021-01-09 02:10:51.061 T:704 INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.network v1.0.4 installed
2021-01-09 02:10:51.061 T:704 INFO <general>: CAddonMgr::FindAddons: kodi.binary.global.tools v1.0.4 installed
2021-01-09 02:10:51.061 T:704 INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.audiodecoder v3.0.0 installed
2021-01-09 02:10:51.061 T:704 INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.audioencoder v2.1.0 installed
2021-01-09 02:10:51.061 T:704 INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.game v2.1.0 installed
2021-01-09 02:10:51.061 T:704 INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.imagedecoder v2.1.1 installed
2021-01-09 02:10:51.061 T:704 INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.inputstream v3.0.1 installed
2021-01-09 02:10:51.061 T:704 INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.peripheral v2.0.0 installed
2021-01-09 02:10:51.062 T:704 INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.pvr v7.0.2 installed
2021-01-09 02:10:51.062 T:704 INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.screensaver v2.1.0 installed
2021-01-09 02:10:51.062 T:704 INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.vfs v3.0.0 installed
2021-01-09 02:10:51.062 T:704 INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.videocodec v2.0.2 installed
2021-01-09 02:10:51.062 T:704 INFO <general>: CAddonMgr::FindAddons: kodi.binary.instance.visualization v3.0.0 installed
2021-01-09 02:10:51.062 T:704 INFO <general>: CAddonMgr::FindAddons: kodi.resource v1.0.0 installed
2021-01-09 02:10:51.062 T:704 INFO <general>: CAddonMgr::FindAddons: metadata.album.universal v3.1.3 installed
2021-01-09 02:10:51.062 T:704 INFO <general>: CAddonMgr::FindAddons: metadata.artists.universal v4.3.3 installed
2021-01-09 02:10:51.062 T:704 INFO <general>: CAddonMgr::FindAddons: metadata.common.allmusic.com v3.2.2 installed
2021-01-09 02:10:51.062 T:704 INFO <general>: CAddonMgr::FindAddons: metadata.common.fanart.tv v3.6.3 installed
2021-01-09 02:10:51.063 T:704 INFO <general>: CAddonMgr::FindAddons: metadata.common.imdb.com v3.1.5 installed
2021-01-09 02:10:51.063 T:704 INFO <general>: CAddonMgr::FindAddons: metadata.common.musicbrainz.org v2.2.4 installed
2021-01-09 02:10:51.063 T:704 INFO <general>: CAddonMgr::FindAddons: metadata.common.theaudiodb.com v2.0.3 installed
2021-01-09 02:10:51.063 T:704 INFO <general>: CAddonMgr::FindAddons: metadata.common.themoviedb.org v3.2.3 installed
2021-01-09 02:10:51.063 T:704 INFO <general>: CAddonMgr::FindAddons: metadata.generic.albums v1.0.14 installed
2021-01-09 02:10:51.063 T:704 INFO <general>: CAddonMgr::FindAddons: metadata.generic.artists v1.0.14 installed
2021-01-09 02:10:51.063 T:704 INFO <general>: CAddonMgr::FindAddons: metadata.local v1.0.1 installed
2021-01-09 02:10:51.063 T:704 INFO <general>: CAddonMgr::FindAddons: metadata.themoviedb.org v5.1.7 installed
2021-01-09 02:10:51.063 T:704 INFO <general>: CAddonMgr::FindAddons: metadata.themoviedb.org.python v1.3.0+matrix.1 installed
2021-01-09 02:10:51.064 T:704 INFO <general>: CAddonMgr::FindAddons: metadata.tvshows.themoviedb.org v3.1.0 installed
2021-01-09 02:10:51.064 T:704 INFO <general>: CAddonMgr::FindAddons: metadata.tvshows.themoviedb.org.python v1.3.0 installed
2021-01-09 02:10:51.064 T:704 INFO <general>: CAddonMgr::FindAddons: repository.xbmc.org v3.2.4 installed
2021-01-09 02:10:51.064 T:704 INFO <general>: CAddonMgr::FindAddons: resource.images.weathericons.default v1.1.9 installed
2021-01-09 02:10:51.064 T:704 INFO <general>: CAddonMgr::FindAddons: resource.language.en_gb v2.0.2 installed
2021-01-09 02:10:51.064 T:704 INFO <general>: CAddonMgr::FindAddons: resource.uisounds.kodi v1.0.1 installed
2021-01-09 02:10:51.064 T:704 INFO <general>: CAddonMgr::FindAddons: screensaver.xbmc.builtin.black v1.0.34 installed
2021-01-09 02:10:51.064 T:704 INFO <general>: CAddonMgr::FindAddons: screensaver.xbmc.builtin.dim v1.0.62 installed
2021-01-09 02:10:51.064 T:704 INFO <general>: CAddonMgr::FindAddons: script.module.pil v5.1.0 installed
2021-01-09 02:10:51.065 T:704 INFO <general>: CAddonMgr::FindAddons: script.module.pycryptodome v3.4.3 installed
2021-01-09 02:10:51.065 T:704 INFO <general>: CAddonMgr::FindAddons: service.xbmc.versioncheck v0.5.9+matrix.1 installed
2021-01-09 02:10:51.065 T:704 INFO <general>: CAddonMgr::FindAddons: skin.estouchy v3.0.4 installed
2021-01-09 02:10:51.065 T:704 INFO <general>: CAddonMgr::FindAddons: skin.estuary v3.0.3 installed
2021-01-09 02:10:51.065 T:704 INFO <general>: CAddonMgr::FindAddons: webinterface.default v19.x-2.4.7 installed
2021-01-09 02:10:51.065 T:704 INFO <general>: CAddonMgr::FindAddons: xbmc.addon v18.9.821 installed
2021-01-09 02:10:51.065 T:704 INFO <general>: CAddonMgr::FindAddons: xbmc.core v0.1.0 installed
2021-01-09 02:10:51.065 T:704 INFO <general>: CAddonMgr::FindAddons: xbmc.gui v5.15.0 installed
2021-01-09 02:10:51.065 T:704 INFO <general>: CAddonMgr::FindAddons: xbmc.json v11.21.1 installed
2021-01-09 02:10:51.066 T:704 INFO <general>: CAddonMgr::FindAddons: xbmc.metadata v2.1.0 installed
2021-01-09 02:10:51.066 T:704 INFO <general>: CAddonMgr::FindAddons: xbmc.python v3.0.0 installed
2021-01-09 02:10:51.066 T:704 INFO <general>: CAddonMgr::FindAddons: xbmc.webinterface v1.0.0 installed
2021-01-09 02:10:51.067 T:704 INFO <general>: Selected Logind/UPower as PowerSyscall
2021-01-09 02:10:51.068 T:704 WARNING <general>: DBus connection failed: org.freedesktop.DBus.Error.NoReply - Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
2021-01-09 02:10:51.068 T:704 INFO <general>: LogindUPowerSyscall - UPower not found, battery information will not be available
2021-01-09 02:10:51.068 T:704 WARNING <general>: DBus connection failed: org.freedesktop.DBus.Error.NoReply - Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
2021-01-09 02:10:51.068 T:704 WARNING <general>: DBus connection failed: org.freedesktop.DBus.Error.NoReply - Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
2021-01-09 02:10:51.068 T:704 WARNING <general>: DBus connection failed: org.freedesktop.DBus.Error.NoReply - Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
2021-01-09 02:10:51.068 T:704 WARNING <general>: DBus connection failed: org.freedesktop.DBus.Error.NoReply - Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
2021-01-09 02:10:51.068 T:704 WARNING <general>: DBus connection failed: org.freedesktop.DBus.Error.NoReply - Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
2021-01-09 02:10:51.068 T:704 WARNING <general>: LogindUPowerSyscall - failed to inhibit sleep delay lock
2021-01-09 02:10:51.068 T:704 WARNING <general>: DBus connection failed: org.freedesktop.DBus.Error.NoReply - Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
2021-01-09 02:10:51.078 T:709 INFO <general>: CAESinkALSA - Unable to open device "default" for playback
2021-01-09 02:10:51.095 T:709 INFO <general>: CAESinkALSA - Unable to open device "sysdefault" for playback
2021-01-09 02:10:51.097 T:709 INFO <general>: CAESinkALSA - Unable to open device "sysdefault:CARD=vc4hdmi0" for playback
2021-01-09 02:10:51.098 T:709 INFO <general>: CAESinkALSA - Unable to open device "sysdefault:CARD=vc4hdmi0" for playback
2021-01-09 02:10:51.099 T:709 INFO <general>: CAESinkALSA - Unable to open device "default:CARD=vc4hdmi0" for playback
2021-01-09 02:10:51.100 T:709 INFO <general>: CAESinkALSA - Unable to open device "surround71:CARD=vc4hdmi0,DEV=0" for playback
2021-01-09 02:10:51.101 T:709 INFO <general>: CAESinkALSA - Unable to open device "sysdefault:CARD=vc4hdmi0" for playback
2021-01-09 02:10:51.102 T:709 INFO <general>: CAESinkALSA - Unable to open device "default:CARD=vc4hdmi0" for playback
2021-01-09 02:10:51.102 T:709 INFO <general>: CAESinkALSA - Unable to open device "surround51:CARD=vc4hdmi0,DEV=0" for playback
2021-01-09 02:10:51.102 T:709 INFO <general>: CAESinkALSA - Unable to open device "surround71:CARD=vc4hdmi0,DEV=0" for playback
2021-01-09 02:10:51.103 T:709 INFO <general>: CAESinkALSA - Unable to open device "sysdefault:CARD=vc4hdmi0" for playback
2021-01-09 02:10:51.104 T:709 INFO <general>: CAESinkALSA - Unable to open device "default:CARD=vc4hdmi0" for playback
2021-01-09 02:10:51.105 T:709 INFO <general>: CAESinkALSA - Unable to open device "surround40:CARD=vc4hdmi0,DEV=0" for playback
2021-01-09 02:10:51.105 T:709 INFO <general>: CAESinkALSA - Unable to open device "surround51:CARD=vc4hdmi0,DEV=0" for playback
2021-01-09 02:10:51.105 T:709 INFO <general>: CAESinkALSA - Unable to open device "surround71:CARD=vc4hdmi0,DEV=0" for playback
2021-01-09 02:10:51.106 T:709 INFO <general>: CAESinkALSA - Unable to open device "sysdefault:CARD=vc4hdmi0" for playback
2021-01-09 02:10:51.107 T:709 INFO <general>: CAESinkALSA - Unable to open device "default:CARD=vc4hdmi0" for playback
2021-01-09 02:10:51.112 T:709 INFO <general>: CAESinkALSA - Unable to open device "sysdefault:CARD=vc4hdmi1" for playback
2021-01-09 02:10:51.116 T:709 INFO <general>: CAESinkALSA - Unable to open device "sysdefault:CARD=vc4hdmi1" for playback
2021-01-09 02:10:51.120 T:709 INFO <general>: CAESinkALSA - Unable to open device "default:CARD=vc4hdmi1" for playback
2021-01-09 02:10:51.123 T:709 INFO <general>: CAESinkALSA - Unable to open device "front:CARD=vc4hdmi1,DEV=0" for playback
2021-01-09 02:10:51.126 T:709 INFO <general>: CAESinkALSA - Unable to open device "iec958:CARD=vc4hdmi1,DEV=0" for playback
2021-01-09 02:10:51.126 T:709 INFO <general>: Found 1 Lists of Devices
2021-01-09 02:10:51.126 T:709 INFO <general>: Enumerated ALSA devices:
2021-01-09 02:10:51.126 T:709 INFO <general>: Device 1
2021-01-09 02:10:51.127 T:709 INFO <general>: m_deviceName : iec958
2021-01-09 02:10:51.127 T:709 INFO <general>: m_displayName : vc4-hdmi-0 ()
2021-01-09 02:10:51.127 T:709 INFO <general>: m_displayNameExtra: MAI PCM vc4-hdmi-hifi-0 S/PDIF
2021-01-09 02:10:51.127 T:709 INFO <general>: m_deviceType : AE_DEVTYPE_IEC958
2021-01-09 02:10:51.127 T:709 INFO <general>: m_channels : FL, FR
2021-01-09 02:10:51.127 T:709 INFO <general>: m_sampleRates : 32000,44100,48000,88200,96000
2021-01-09 02:10:51.127 T:709 INFO <general>: m_dataFormats : AE_FMT_RAW,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8
2021-01-09 02:10:51.127 T:709 INFO <general>: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512
2021-01-09 02:10:51.127 T:709 INFO <general>: Device 2
2021-01-09 02:10:51.127 T:709 INFO <general>: m_deviceName : @:CARD=vc4hdmi0,DEV=0
2021-01-09 02:10:51.127 T:709 INFO <general>: m_displayName : vc4-hdmi-0 (vc4hdmi0)
2021-01-09 02:10:51.127 T:709 INFO <general>: m_displayNameExtra: MAI PCM vc4-hdmi-hifi-0
2021-01-09 02:10:51.127 T:709 INFO <general>: m_deviceType : AE_DEVTYPE_PCM
2021-01-09 02:10:51.127 T:709 INFO <general>: m_channels : FL, FR
2021-01-09 02:10:51.127 T:709 INFO <general>: m_sampleRates : 32000,44100,48000,88200,96000
2021-01-09 02:10:51.127 T:709 INFO <general>: m_dataFormats :
2021-01-09 02:10:51.127 T:709 INFO <general>: m_streamTypes : No passthrough capabilities
2021-01-09 02:10:51.127 T:709 INFO <general>: Device 3
2021-01-09 02:10:51.127 T:709 INFO <general>: m_deviceName : iec958:CARD=vc4hdmi0,DEV=0
2021-01-09 02:10:51.127 T:709 INFO <general>: m_displayName : vc4-hdmi-0 (vc4hdmi0)
2021-01-09 02:10:51.127 T:709 INFO <general>: m_displayNameExtra: MAI PCM vc4-hdmi-hifi-0 S/PDIF
2021-01-09 02:10:51.127 T:709 INFO <general>: m_deviceType : AE_DEVTYPE_IEC958
2021-01-09 02:10:51.127 T:709 INFO <general>: m_channels : FL, FR
2021-01-09 02:10:51.127 T:709 INFO <general>: m_sampleRates : 32000,44100,48000,88200,96000
2021-01-09 02:10:51.127 T:709 INFO <general>: m_dataFormats : AE_FMT_RAW,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8
2021-01-09 02:10:51.127 T:709 INFO <general>: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512
2021-01-09 02:10:51.127 T:710 INFO <general>: CActiveAESink::OpenSink - initialize sink
2021-01-09 02:10:51.127 T:710 INFO <general>: CAESinkALSA::Initialize - Attempting to open device "iec958"
2021-01-09 02:10:51.130 T:710 INFO <general>: CAESinkALSA::Initialize - Opened device "iec958:AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x00"
2021-01-09 02:10:51.131 T:710 INFO <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2021-01-09 02:10:51.131 T:710 INFO <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE3
2021-01-09 02:10:51.135 T:704 INFO <general>: CKeyboardLayoutManager: loading keyboard layouts from special://xbmc/system/keyboardlayouts...
2021-01-09 02:10:51.276 T:704 INFO <general>: RetroPlayer[PROCESS]: Registering process control for GBM
2021-01-09 02:10:51.276 T:704 INFO <general>: RetroPlayer[RENDER]: Registering renderer factory for DMA
2021-01-09 02:10:51.276 T:704 INFO <general>: RetroPlayer[RENDER]: Registering renderer factory for OpenGLES
2021-01-09 02:10:51.305 T:704 INFO <general>: CDRMUtils::FindConnector - using connector: 32
2021-01-09 02:10:51.335 T:704 INFO <general>: CDRMUtils::FindConnector - using connector: 32
2021-01-09 02:10:51.335 T:704 INFO <general>: CDRMUtils::FindEncoder - using encoder: 31
2021-01-09 02:10:51.335 T:704 INFO <general>: CDRMUtils::FindPlanes - using crtc: 74
2021-01-09 02:10:51.691 T:704 INFO <general>: Found resolution 2560x1440 with 2560x1440 @ 60.000000 Hz
2021-01-09 02:10:51.691 T:704 INFO <general>: Found resolution 1920x1080 with 1920x1080 @ 60.000000 Hz
2021-01-09 02:10:51.691 T:704 INFO <general>: Found resolution 1920x1080 with 1920x1080 @ 60.000000 Hz
2021-01-09 02:10:51.691 T:704 INFO <general>: Found resolution 1920x1080 with 1920x1080 @ 59.940063 Hz
2021-01-09 02:10:51.691 T:704 INFO <general>: Found resolution 1920x1080 with 1920x1080i @ 60.000000 Hz
2021-01-09 02:10:51.691 T:704 INFO <general>: Found resolution 1920x1080 with 1920x1080i @ 59.940063 Hz
2021-01-09 02:10:51.691 T:704 INFO <general>: Found resolution 1920x1080 with 1920x1080 @ 50.000000 Hz
2021-01-09 02:10:51.691 T:704 INFO <general>: Found resolution 1920x1080 with 1920x1080i @ 50.000000 Hz
2021-01-09 02:10:51.691 T:704 INFO <general>: Found resolution 1920x1080 with 1920x1080 @ 30.000000 Hz
2021-01-09 02:10:51.691 T:704 INFO <general>: Found resolution 1920x1080 with 1920x1080 @ 29.970032 Hz
2021-01-09 02:10:51.691 T:704 INFO <general>: Found resolution 1920x1080 with 1920x1080 @ 25.000000 Hz
2021-01-09 02:10:51.691 T:704 INFO <general>: Found resolution 1920x1080 with 1920x1080 @ 24.000000 Hz
2021-01-09 02:10:51.691 T:704 INFO <general>: Found resolution 1920x1080 with 1920x1080 @ 23.976025 Hz
2021-01-09 02:10:51.691 T:704 INFO <general>: Found resolution 1680x1050 with 1680x1050 @ 60.000000 Hz
2021-01-09 02:10:51.691 T:704 INFO <general>: Found resolution 1280x1024 with 1280x1024 @ 75.000000 Hz
2021-01-09 02:10:51.691 T:704 INFO <general>: Found resolution 1280x1024 with 1280x1024 @ 60.000000 Hz
2021-01-09 02:10:51.691 T:704 INFO <general>: Found resolution 1440x900 with 1440x900 @ 60.000000 Hz
2021-01-09 02:10:51.691 T:704 INFO <general>: Found resolution 1280x960 with 1280x960 @ 60.000000 Hz
2021-01-09 02:10:51.691 T:704 INFO <general>: Found resolution 1280x800 with 1280x800 @ 60.000000 Hz
2021-01-09 02:10:51.691 T:704 INFO <general>: Found resolution 1152x864 with 1152x864 @ 75.000000 Hz
2021-01-09 02:10:51.691 T:704 INFO <general>: Found resolution 1280x720 with 1280x720 @ 60.000000 Hz
2021-01-09 02:10:51.691 T:704 INFO <general>: Found resolution 1280x720 with 1280x720 @ 59.940063 Hz
2021-01-09 02:10:51.691 T:704 INFO <general>: Found resolution 1280x720 with 1280x720 @ 50.000000 Hz
2021-01-09 02:10:51.691 T:704 INFO <general>: Found resolution 1440x576 with 1440x576 @ 50.000000 Hz
2021-01-09 02:10:51.691 T:704 INFO <general>: Found resolution 1024x768 with 1024x768 @ 75.000000 Hz
2021-01-09 02:10:51.691 T:704 INFO <general>: Found resolution 1024x768 with 1024x768 @ 70.000000 Hz
2021-01-09 02:10:51.692 T:704 INFO <general>: Found resolution 1024x768 with 1024x768 @ 60.000000 Hz
2021-01-09 02:10:51.692 T:704 INFO <general>: Found resolution 1440x480 with 1440x480 @ 59.940063 Hz
2021-01-09 02:10:51.692 T:704 INFO <general>: Found resolution 1440x480 with 1440x480 @ 60.000000 Hz
2021-01-09 02:10:51.692 T:704 INFO <general>: Found resolution 832x624 with 832x624 @ 74.925079 Hz
2021-01-09 02:10:51.692 T:704 INFO <general>: Found resolution 800x600 with 800x600 @ 75.000000 Hz
2021-01-09 02:10:51.692 T:704 INFO <general>: Found resolution 800x600 with 800x600 @ 72.000000 Hz
2021-01-09 02:10:51.692 T:704 INFO <general>: Found resolution 800x600 with 800x600 @ 60.000000 Hz
2021-01-09 02:10:51.692 T:704 INFO <general>: Found resolution 800x600 with 800x600 @ 56.000000 Hz
2021-01-09 02:10:51.692 T:704 INFO <general>: Found resolution 720x576 with 720x576 @ 50.000000 Hz
2021-01-09 02:10:51.692 T:704 INFO <general>: Found resolution 720x480 with 720x480 @ 59.940063 Hz
2021-01-09 02:10:51.692 T:704 INFO <general>: Found resolution 720x480 with 720x480 @ 60.000000 Hz
2021-01-09 02:10:51.692 T:704 INFO <general>: Found resolution 640x480 with 640x480 @ 75.000000 Hz
2021-01-09 02:10:51.692 T:704 INFO <general>: Found resolution 640x480 with 640x480 @ 67.000000 Hz
2021-01-09 02:10:51.692 T:704 INFO <general>: Found resolution 640x480 with 640x480 @ 60.000000 Hz
2021-01-09 02:10:51.692 T:704 INFO <general>: Found resolution 640x480 with 640x480 @ 60.000000 Hz
2021-01-09 02:10:51.692 T:704 INFO <general>: Found resolution 720x400 with 720x400 @ 70.000000 Hz
2021-01-09 02:10:51.694 T:704 INFO <general>: EGL_VERSION = 1.4
2021-01-09 02:10:51.694 T:704 INFO <general>: EGL_VENDOR = Mesa Project
2021-01-09 02:10:51.694 T:704 INFO <general>: EGL_EXTENSIONS = EGL_ANDROID_blob_cache EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display
2021-01-09 02:10:51.694 T:704 INFO <general>: EGL_CLIENT_EXTENSIONS = EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless
2021-01-09 02:10:51.697 T:704 INFO <general>: CApplication::CreateGUI - using the gbm windowing system
2021-01-09 02:10:51.697 T:704 INFO <general>: Checking resolution 16
2021-01-09 02:10:51.712 T:704 INFO <general>: GL_VENDOR = Broadcom
2021-01-09 02:10:51.712 T:704 INFO <general>: GL_RENDERER = V3D 4.2
2021-01-09 02:10:51.712 T:704 INFO <general>: GL_VERSION = OpenGL ES 3.1 Mesa 20.3.2
2021-01-09 02:10:51.712 T:704 INFO <general>: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 3.10
2021-01-09 02:10:51.712 T:704 INFO <general>: GL_EXTENSIONS = GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_texture_compression_astc_ldr GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_draw_elements_base_vertex GL_EXT_primitive_bounding_box GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_KHR_context_flush_control GL_NV_image_formats GL_OES_draw_elements_base_vertex GL_OES_primitive_bounding_box GL_OES_shader_io_blocks GL_OES_texture_border_clamp GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_EXT_buffer_storage GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_MESA_framebuffer_flip_y GL_EXT_texture_query_lod
2021-01-09 02:10:51.782 T:704 INFO <general>: GLES: Maximum texture width: 4096
')
robg
 
Posts: 186
Joined: Tue Jan 05, 2021 8:22 am

Re: No USB detected on Raspberry Pi 4 with aarch64

Postby graysky » Sat Jan 09, 2021 10:19 am

OK glad you got it solved. So kodi worked all along, you just didn't wait long enough for it to load? I don't see what was driving the "unable to create GUI" message after you modified /boot/config.txt as directed.
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: No USB detected on Raspberry Pi 4 with aarch64

Postby robg » Sat Jan 09, 2021 11:35 am

The "unable to create GUI" error appeared when I was trying to launch Kodi by typing `kodi` in lqxt-terminal, within a running lxqt session. If I understood the Kodi article on the ArchWiki correcty, this should be supported, as:
$this->bbcode_second_pass_quote('', '
')/usr/bin/kodi is meant to be run by any user on an on-demand basis. Use it like any other program on the system.

But it also states (concerning kodi-standalone now):
$this->bbcode_second_pass_quote('', '
')Warning: Users of Arch ARM should not attempt to configure any of the options presented below as the kodi packages for Arch ARM ship with kodi.service to allow standalone operation on these platforms.

And running `systemctl start kodi.service` indeed did the trick.
Is running kodi-standalone perhaps the only way to launch it on ArchARM? Does running it from within a DE via `kodi` work for you?
robg
 
Posts: 186
Joined: Tue Jan 05, 2021 8:22 am

Re: No USB detected on Raspberry Pi 4 with aarch64

Postby graysky » Sat Jan 09, 2021 11:45 am

Makes sense. I never tried running it from a DE as you have under Xorg. Always with the systemd unit. I do not think kodi-gbm will work under Xorg and we are providing gbm. You could experiment build the x11 binary but I have no idea whether or not hardware decoding will work. Without it, kodi on a RPi is kinda useless.
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: No USB detected on Raspberry Pi 4 with aarch64

Postby robg » Sun Jan 10, 2021 12:50 pm

Thank you for confirming. That closes the issue for me.
To reiterate, for anyone using graysky's kernel and lacking sound outside of Kodi, try installing the pulseadio-alsa package.
robg
 
Posts: 186
Joined: Tue Jan 05, 2021 8:22 am

Re: No USB detected on Raspberry Pi 4 with aarch64

Postby graysky » Sun Jan 10, 2021 1:08 pm

$this->bbcode_second_pass_quote('robg', 'T')hank you for confirming. That closes the issue for me.
To reiterate, for anyone using graysky's kernel and lacking sound outside of Kodi, try installing the pulseadio-alsa package.


I guess the control experiment is to downgrade kernels and remove pulseaudio-alsa. Reboot. Do you have sound?

1. Comment out my repo in /etc/pacman.conf
2. Run pacman -Syuu
3. Run pacman -Rs pulseaudio-alsa
4. Reboot

EDIT: I don't know if the dtoverlay=vc4-kms-v3d does something that requires that package. Another experiment might be to keep my repo, but remove kodi-rpi-git and remove pulseaudio. Are you able to use alsa?
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000
Top

Re: No USB detected on Raspberry Pi 4 with aarch64

Postby robg » Sun Jan 10, 2021 1:20 pm

I don't have access to my RPI right now, but the reason I installed the 5.10 kernel in the first place was the lack of USB support in the vanilla aarch64 kernel (as of this post version 5.8 I believe). Because I currently also lack a reliable way to SSH into my RPI, I will have to postpone your experiment for the moment, since without a functioning keyboard, there is no way for me to interact with my RPI.

Regarding your edit: Yesterday morning, I tried running your kernel without the kodi and pulseaudio packages, resulting in no sound output (with alsamixer reporting no sound controls). This was the result for both dtoverlay=vc4-kms-v3d and dtoverlay=vc4-fkms-v3d. I can only surmise at this point--as I have no time to verify--that pulseaudio-alsa pulls in missing configurations. Kodi also uses paplay internally.
robg
 
Posts: 186
Joined: Tue Jan 05, 2021 8:22 am

Re: No USB detected on Raspberry Pi 4 with aarch64

Postby graysky » Sun Jan 10, 2021 1:46 pm

I refuse to believe that pulseaudio is a requirement to have sounds play on a RPi. I haven't needed to put a DE on a RPi/have no experience with it so i have no first hand experience trying to get sound to work on the thing.
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: No USB detected on Raspberry Pi 4 with aarch64

Postby robg » Sun Jan 10, 2021 2:02 pm

I will do a fresh install next week and will report back with the ouput of alsamixer for a setup that differs from an up-to-date standard one only by your kernel.

I also don't believe that pulseaudio should be necessary - after all, it runs on top of alsa. But if the above-mentioned fresh install still produces no sound, and if then installing pulseaudio-alsa "resolves" the issue, where, if not in the configuration, could the problem lie?
robg
 
Posts: 186
Joined: Tue Jan 05, 2021 8:22 am

Re: No USB detected on Raspberry Pi 4 with aarch64

Postby graysky » Sun Jan 10, 2021 3:46 pm

Booting into the repo aarch64 kernel (5.4.83-5) on a base install after installing alsa-utils:
$this->bbcode_second_pass_code('', '# aplay -l
aplay: device_list:274: no soundcards found...
')

Has to be some config that needs to be setup.

EDIT: same result using armv7h and if you add pulseaudio-alsa it works:
$this->bbcode_second_pass_code('', '% mpg123 02-The_Need_to_Dance.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.26.3; written and copyright by Michael Hipp and others
free software (LGPL) without any warranty but with best wishes


Terminal control enabled, press 'h' for listing of keys and functions.

Playing MPEG stream 1 of 1: 02-The_Need_to_Dance.mp3 ...

MPEG 1.0 L III cbr128 44100 j-s

Title: The Need to Dance Artist: The Jerky Boys
Comment: Album: The Jerky Boys 4
Year: 1997 Genre: Unknown')

I dunno without researching it more. Seems clear there isn't something missing from my 5.10.y config.
graysky
Developer
 
Posts: 1731
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

PreviousNext

Return to ARMv8

Who is online

Users browsing this forum: No registered users and 3 guests