Thursday, July 25, 2024

[fedora-arm] Re: Questions to Fedora on Rock 5B

Hello,

even with the newest updates, neither Audio or graphics are working well:

andreas@rockpi5:~$ inxi -G
Graphics:
 Message: No PCI device data found.
 Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 24.1.1
   compositor: kwin_wayland driver: X: loaded: modesetting gpu: N/A
   resolution: 1920x1080
 API: EGL v: 1.5 drivers: kms_swrast,swrast
   platforms: gbm,wayland,x11,surfaceless,device
 API: OpenGL v: 4.5 vendor: mesa v: 24.1.4 renderer: llvmpipe (LLVM 18.1.8
   128 bits)
 API: Vulkan v: 1.3.283 drivers: N/A surfaces: xcb,xlib,wayland
andreas@rockpi5:~$ inxi -A
Audio:
 Message: No device data found.
 API: ALSA v: k6.11.0-0.rc0.20240724git786c8248dbd3.12.fc41.aarch64
   status: kernel-api
 Server-1: PipeWire v: 1.2.1 status: active
andreas@rockpi5:~$ alsaucm -c rk3588-es8316 list _devices  
ALSA lib parser.c:2541:(get_by_card_name) no soundcards found...
ALSA lib main.c:1554:(snd_use_case_mgr_open) error: failed to import rk3588-es8316 use case configuration -2
alsaucm: error failed to open sound card rk3588-es8316: No such file or directory
andreas@rockpi5:~$

Am 28.06.24 um 22:32 schrieb Andreas Reschke:

Update:

see below

Am 21.06.24 um 10:46 schrieb Andreas Reschke:

Hello Peter,

thanks for the update. Audio didn't work for me:

root@rockpi5:~# alsaucm -c rk3588-es8316 reset reload set _verb HiFi list _devices set _enadev Headphones set _enadev Headset
ALSA lib parser.c:2541:(get_by_card_name) no soundcards found...
ALSA lib main.c:1554:(snd_use_case_mgr_open) error: failed to import rk3588-es8316 use case configuration -2
alsaucm: error failed to open sound card rk3588-es8316: No such file or directory
root@rockpi5:~# aplay  /usr/share/sounds/alsa/Front_Left.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Left.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
aplay: set_params:1456: Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: 16
CHANNELS: 1
RATE: 48000
PERIOD_TIME: 125000
PERIOD_SIZE: 6000
PERIOD_BYTES: 12000
PERIODS: 4
BUFFER_TIME: 500000
BUFFER_SIZE: 24000
BUFFER_BYTES: 48000
TICK_TIME: [0 0]
root@rockpi5:~#

root@rockpi5:~# inxi -A
Audio:
 Message: No device data found.
 API: ALSA v: k6.10.0-0.rc4.20240618git14d7c92f8df9.39.fc41.aarch64
   status: kernel-api
 Server-1: PipeWire v: 1.1.83 status: active
root@rockpi5:~#

I'm running KDE (Fedora Linux 41 (Rawhide Prerelease) on my ROCK 5 Model B.

Am 20.06.24 um 17:32 schrieb Peter Robinson:
On Tue, 11 Jun 2024 at 19:43, Andreas Reschke <arm_ml@rirasoft.de> wrote:  
Hello  1. Audio    on this side  https://gitlab.collabora.com/hardware-enablement/rockchip-3588/notes-for-rockchip-3588/-/blob/main/mainline-status.md    is shows Headphone Jack Playback is enable with 6.4-rc1  What does this mean?    I didn't found any soundcard on my device  root@rockpi5:~# inxi -A  Audio:     Message: No device data found.     API: ALSA v: k6.10.0-0.rc2.20240607git8a92980606e3.28.fc41.aarch64       status: kernel-api     Server-1: PipeWire v: 1.1.82 status: active  
Running the following gives me sound via a headset:    alsaucm -c rk3588-es8316 reset reload set _verb HiFi list _devices set  _enadev Headphones set _enadev Headset  aplay  /usr/share/sounds/alsa/Front_Left.wav    Can you provide more details of your configuration? Desktop etc.    I suspect there's a ucm profile missing to do this automatically. I'll  add it to my (very long) todo list to look at some point.

There are ucm profiles:
root@rockpi5:~# rpm -ql alsa-ucm-1.2.12-1.fc41.noarch | grep 3588
/usr/share/alsa/ucm2/Rockchip/rk3588-es8316
/usr/share/alsa/ucm2/Rockchip/rk3588-es8316/HiFi.conf
/usr/share/alsa/ucm2/Rockchip/rk3588-es8316/rk3588-es8316.conf
/usr/share/alsa/ucm2/conf.d/rk3588-es8316
/usr/share/alsa/ucm2/conf.d/rk3588-es8316/rk3588-es8316.conf
root@rockpi5:~#

root@rockpi5:~# alsaucm -c rk3588-es8316 list _devices
ALSA lib parser.c:2541:(get_by_card_name) no soundcards found...
ALSA lib main.c:1554:(snd_use_case_mgr_open) error: failed to import rk3588-es8316 use case configuration -2
alsaucm: error failed to open sound card rk3588-es8316: No such file or directory
root@rockpi5:~#

It seems for me ALSA didn't load these files, or they didn't work.

root@rockpi5:~#    2. GPU  I know the GPU isn't complete at the moment, how to load the kernel  driver panthor at boot time ?  
This is working for me with the Fedora 6.10-rc4 build.  

Didn't work for me, do I have to update initramfs-6.10.0-0.rc4.20240618git14d7c92f8df9.39.fc41.aarch64.img

Thanks

andreas

    

--  _______________________________________________  arm mailing list -- arm@lists.fedoraproject.org  To unsubscribe send an email to arm-leave@lists.fedoraproject.org  Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/  List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines  List Archives: https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org  Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue  

No comments:

Post a Comment