ROCKNIX / distribution

Other
413 stars 74 forks source link

[BUG]Can't detect SD 2 on RG-ARC S #676

Open NagaseKouichi opened 1 month ago

NagaseKouichi commented 1 month ago

Describe the bug

ROCKNIX Can't detect SD 2 on RG-ARC S. I tryed FAT32 and exFAT, neither works. Autodetect Games Card is turned on. Stock FW can detect SD 2 with the same SD card.

Information

Log file

boot.log:

Thu Oct 31 06:08:45 EDT 2024: Autostart: Run RK3566 quirks. Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3566/001-device_config Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3566/002-turbo-mode_config Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3566/010-governors Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3566/010-led_control Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3566/030-suspend_mode Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3566/050-audio_path Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3566/050-modifiers Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3566/050-volume Simple mixer control 'Master',0 Capabilities: pvolume cvolume Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: Playback 0 - 255 Capture 0 - 255 Front Left: Playback 255 [100%] [0.00dB] Capture 255 [100%] [0.00dB] Front Right: Playback 255 [100%] [0.00dB] Capture 255 [100%] [0.00dB] Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3566/055-thermal-trips Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3566/060-game_settings Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3566/090-ui_service Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3566/091-ui_shader Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/platforms/RK3566/bin Thu Oct 31 06:08:45 EDT 2024: Autostart: Run Anbernic RG ARC-S quirks. Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/devices/Anbernic RG ARC-S/001-device_config Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/devices/Anbernic RG ARC-S/020-gpios Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/devices/Anbernic RG ARC-S/050-game-configs Thu Oct 31 06:08:45 EDT 2024: Autostart: Run /usr/lib/autostart/quirks/devices/Anbernic RG ARC-S/remappings Thu Oct 31 06:08:46 EDT 2024: Autostart: Run /usr/lib/autostart/common/001-controller Thu Oct 31 06:08:46 EDT 2024: Autostart: Run /usr/lib/autostart/common/001-emulationstation Thu Oct 31 06:08:46 EDT 2024: Autostart: Run /usr/lib/autostart/common/001-setup Thu Oct 31 06:08:46 EDT 2024: Autostart: Run /usr/lib/autostart/common/001-sync-modules Thu Oct 31 06:08:46 EDT 2024: Autostart: Run /usr/lib/autostart/common/002-kernel vm.swappiness = 1 vm.laptop_mode = 5 vm.dirty_writeback_centisecs = 1500 Thu Oct 31 06:08:46 EDT 2024: Autostart: Run /usr/lib/autostart/common/003-gpudriver Thu Oct 31 06:08:47 EDT 2024: Autostart: Run /usr/lib/autostart/common/003-logging Thu Oct 31 06:08:47 EDT 2024: Autostart: Run /usr/lib/autostart/common/003-upgrade Thu Oct 31 06:08:47 EDT 2024: Autostart: Run /usr/lib/autostart/common/006-display Thu Oct 31 06:08:47 EDT 2024: Autostart: Run /usr/lib/autostart/common/007-rootpw Thu Oct 31 06:08:48 EDT 2024: Autostart: Run /usr/lib/autostart/common/008-perfmode Wed Oct 23 06:11:59 EDT 2024: Autostart: Run /usr/lib/autostart/common/009-bluetooth Wed Oct 23 06:11:59 EDT 2024: Autostart: Run /usr/lib/autostart/common/009-sleepmode Wed Oct 23 06:11:59 EDT 2024: Autostart: Run /usr/lib/autostart/common/010-moonlight Wed Oct 23 06:11:59 EDT 2024: Autostart: Run /usr/lib/autostart/common/010-pico8 Wed Oct 23 06:11:59 EDT 2024: Autostart: Run /usr/lib/autostart/common/010-uimode Wed Oct 23 06:11:59 EDT 2024: Autostart: Run /usr/lib/autostart/common/020-configs Wed Oct 23 06:11:59 EDT 2024: Autostart: Run /usr/lib/autostart/common/050-audio 536870916 Wed Oct 23 06:11:59 EDT 2024: Autostart: Run /usr/lib/autostart/common/055-hdmi-check 0 1 Wed Oct 23 06:12:00 EDT 2024: Autostart: Run /usr/lib/autostart/common/080-network Wed Oct 23 06:12:00 EDT 2024: Autostart: Run /usr/lib/autostart/common/081-usbgadget Wed Oct 23 06:12:00 EDT 2024: Autostart: Run /usr/lib/autostart/common/095-turbo-mode Wed Oct 23 06:12:00 EDT 2024: Autostart: Run /usr/lib/autostart/common/098-deviceutils Wed Oct 23 06:12:00 EDT 2024: Autostart: Run /usr/lib/autostart/common/098-wireguard Wed Oct 23 06:12:00 EDT 2024: Autostart: Run /usr/lib/autostart/common/099-networkservices Wed Oct 23 06:12:00 EDT 2024: Autostart: Run /usr/lib/autostart/common/111-sway-init Wed Oct 23 06:12:01 EDT 2024: Autostart: Run /usr/lib/autostart/common/999-export Wed Oct 23 06:12:01 EDT 2024: Autostart: Startup complete...

Context

RK3566:~ # df -h Filesystem Size Used Available Use% Mounted on devtmpfs 485.8M 4.0K 485.8M 0% /dev /dev/mmcblk1p1 2.0G 1.3G 672.2M 67% /flash /dev/loop0 1.3G 1.3G 0 100% / /dev/mmcblk1p2 26.0G 563.6M 25.4G 2% /storage tmpfs 488.7M 332.0K 488.4M 0% /dev/shm tmpfs 195.5M 14.5M 181.0M 7% /run tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup tmpfs 488.7M 44.0K 488.7M 0% /var tmpfs 488.8M 8.0K 488.7M 0% /tmp none 26.0G 563.6M 25.4G 2% /tmp/assets none 26.0G 563.6M 25.4G 2% /tmp/cores none 26.0G 563.6M 25.4G 2% /tmp/database none 26.0G 563.6M 25.4G 2% /tmp/joypads none 26.0G 563.6M 25.4G 2% /tmp/overlays none 26.0G 563.6M 25.4G 2% /tmp/shaders /dev/mmcblk1p2 26.0G 563.6M 25.4G 2% /storage/roms /dev/loop0 1.3G 1.3G 0 100% /usr/lib/libEGL.so.1.1.0 /dev/loop0 1.3G 1.3G 0 100% /usr/lib/libGLESv1_CM.so.1.2.0 /dev/loop0 1.3G 1.3G 0 100% /usr/lib/libGLESv2.so.2.1.0 /dev/loop0 1.3G 1.3G 0 100% /usr/lib/libgbm.so.1.0.0 /dev/loop0 1.3G 1.3G 0 100% /usr/lib/libwayland-egl.so.1.23.0 /dev/loop0 1.3G 1.3G 0 100% /usr/lib32/libEGL.so.1.1.0 /dev/loop0 1.3G 1.3G 0 100% /usr/lib32/libGLESv1_CM.so.1.2.0 /dev/loop0 1.3G 1.3G 0 100% /usr/lib32/libGLESv2.so.2.1.0 /dev/loop0 1.3G 1.3G 0 100% /usr/lib32/libgbm.so.1.0.0 /dev/loop0 1.3G 1.3G 0 100% /usr/lib32/libwayland-egl.so.1.23.0 /dev/loop0 1.3G 1.3G 0 100% /usr/lib/libSDL2-2.0.so.0.3000.5 /dev/loop0 1.3G 1.3G 0 100% /usr/lib32/libSDL2-2.0.so.0.3000.5 devtmpfs 485.8M 4.0K 485.8M 0% /usr/lib/libGL.so.1.7.0 devtmpfs 485.8M 4.0K 485.8M 0% /usr/lib32/libGL.so.1.7.0 RK3566:~ # mount devtmpfs on /dev type devtmpfs (rw,relatime,size=497468k,nr_inodes=124367,mode=755) proc on /proc type proc (rw,relatime) sysfs on /sys type sysfs (rw,relatime) /dev/mmcblk1p1 on /flash type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro) /dev/loop0 on / type squashfs (ro,relatime,errors=continue) /dev/mmcblk1p2 on /storage type ext4 (rw,noatime) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,nodev,size=200192k,nr_inodes=819200,mode=755) tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,size=4096k,nr_inodes=1024,mode=755) cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700) cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma) cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids) cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=33,pgrp=1,timeout=0,minproto=5,maxproto=5,direct) debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /var type tmpfs (rw,relatime) mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime) configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,size=500480k,nr_inodes=1048576) none on /tmp/assets type overlay (rw,relatime,lowerdir=/usr/share/retroarch-assets,upperdir=/storage/assets,workdir=/storage/.tmp/assets-workdir) none on /tmp/cores type overlay (rw,relatime,lowerdir=/usr/lib/libretro,upperdir=/storage/cores,workdir=/storage/.tmp/cores-workdir) none on /tmp/database type overlay (rw,relatime,lowerdir=/usr/share/libretro-database,upperdir=/storage/database,workdir=/storage/.tmp/database-workdir) none on /tmp/joypads type overlay (rw,relatime,lowerdir=/usr/share/libretro/autoconfig,upperdir=/storage/joypads,workdir=/storage/.tmp/joypads-workdir) none on /tmp/overlays type overlay (rw,relatime,lowerdir=/usr/share/retroarch-overlays,upperdir=/storage/overlays,workdir=/storage/.tmp/overlays-workdir) none on /tmp/shaders type overlay (rw,relatime,lowerdir=/usr/share/common-shaders:/usr/share/glsl-shaders:/usr/share/slang-shaders,upperdir=/storage/shaders,workdir=/storage/.tmp/shaders-workdir) /dev/mmcblk1p2 on /storage/roms type ext4 (rw,noatime) /dev/loop0 on /usr/lib/libEGL.so.1.1.0 type squashfs (ro,relatime,errors=continue) /dev/loop0 on /usr/lib/libGLESv1_CM.so.1.2.0 type squashfs (ro,relatime,errors=continue) /dev/loop0 on /usr/lib/libGLESv2.so.2.1.0 type squashfs (ro,relatime,errors=continue) /dev/loop0 on /usr/lib/libgbm.so.1.0.0 type squashfs (ro,relatime,errors=continue) /dev/loop0 on /usr/lib/libwayland-egl.so.1.23.0 type squashfs (ro,relatime,errors=continue) /dev/loop0 on /usr/lib32/libEGL.so.1.1.0 type squashfs (ro,relatime,errors=continue) /dev/loop0 on /usr/lib32/libGLESv1_CM.so.1.2.0 type squashfs (ro,relatime,errors=continue) /dev/loop0 on /usr/lib32/libGLESv2.so.2.1.0 type squashfs (ro,relatime,errors=continue) /dev/loop0 on /usr/lib32/libgbm.so.1.0.0 type squashfs (ro,relatime,errors=continue) /dev/loop0 on /usr/lib32/libwayland-egl.so.1.23.0 type squashfs (ro,relatime,errors=continue) /dev/loop0 on /usr/lib/libSDL2-2.0.so.0.3000.5 type squashfs (ro,relatime,errors=continue) /dev/loop0 on /usr/lib32/libSDL2-2.0.so.0.3000.5 type squashfs (ro,relatime,errors=continue) devtmpfs on /usr/lib/libGL.so.1.7.0 type devtmpfs (rw,relatime,size=497468k,nr_inodes=124367,mode=755) devtmpfs on /usr/lib32/libGL.so.1.7.0 type devtmpfs (rw,relatime,size=497468k,nr_inodes=124367,mode=755)

Yutsud commented 2 weeks ago

I am having a similar issue on 20241029. Sorry, I do not understand how to further add log or provide further technical context.

aenertia commented 2 weeks ago

/dev/mmcblk2p1 - should be the location of the 2nd SD if it is being detected by the kernel;

try manually mounting it mount /dev/mmcblk2p1 /storage/games-external

If /dev/mmcblk2 doesn't exist at all then it's not seeing the TF card at all.

NagaseKouichi commented 2 weeks ago

/dev/mmcblk2p1 - should be the location of the 2nd SD if it is being detected by the kernel;

try manually mounting it mount /dev/mmcblk2p1 /storage/games-external

If /dev/mmcblk2 doesn't exist at all then it's not seeing the TF card at all.

There is no mmcblk2 in /dev. You can see the df -h info above.

AllejoBR commented 2 weeks ago

[ENG] [RG503 - RK3566 - 64bits - RocknixOS] Friend, I also have problems with card reading. The file manager identifies the external card normally, but nothing appears on the front end (in the console interface).

I've already tried: 1-remove and insert the card with the console on and off 2-I've already clicked on "update game lists" on several attempts 3-I have already explored everything that the menume allowed me to do 4-I've already flashed this firmware about 5 times (starting without and with the external card) - where the initial firmware configurations begin 5-it is very exhausting to do this. 6-RocknixOS Firmware - this was the only one that managed to make the bluetooth work (headphones, I haven't tried controls yet), although it crashes the console a lot, and freezes several times when I'm testing some configuration. WiFi works well. 7-I've already done an update to this firmware via the console itself, but it doesn't seem to change anything. The version and some values ​​remain the same, I didn't see any difference. HELP!


[PT-BR] [RG503 - RK3566 - 64bits - RocknixOS] Amigo, tambem tenho problemas com leitura de cartão. O gerenciador de arquivos identifica o cartão externo normalmente, mas não aparece nada na front-end (na interface do console).

Já tentei: 1-remover e inserir o cartão com o console ligado e também desligado 2-já cliquei em "atualizar listas jogos" em diversas tentativas 3-já explorei tudo o que o menume me permitia 4-já fiz o flash desse firmware umas 5x (inciando sem e com o cartão externo) - onde se iniciam as configutações iniciais do firmware 5-tá sendo muito exaustivo fazer isso. 6-Firmware RocknixOS - esse foi o unico que consegui fazer funcionar o bluetooth (fones de ouvido, ainda não tentei controles), embora ele trava muito o console, e congela várias vezes quando estou testando alguma configuração. WiFI funciona bem. 7-Ja fiz uma atualização pra esse firmware pelo próprio console, mas me parece que não mudou nada. A versão e alguns valores continuam o mesmo, não vi diferença. HELP!


1731079547924 1731079547931 1731079547939

sousapro commented 2 weeks ago

@AllejoBR you need to move your system roms folders into a folder named roms instead of having the systems sit in the root of your SD card. In the screenshot above they should be in /roms/cps1 instead of just /cps1

https://rocknix.org/play/add-games/#simple-storage

AllejoBR commented 2 weeks ago

I got it friend,

I created a "rom" folder before the system folders on the external card. detail: the application is not available to me: /usr/bin/cleanup_overlay.

I'm having problems displaying game media, nothing appears, and the entire SD card is full of covers, images, game manuals created by screenscrapper.fr, but nothing is displayed, and they are in their respective folders.

I'm currently downloading themes to see if that works.

aenertia commented 2 weeks ago

We don't load any media artifacts not explictly defined in the gamelist.xml. if your artifacts are not in the xml defintion and rely on filename parsing that will be why they do not appear

NagaseKouichi commented 4 days ago

This issue is fixed in the 20241120 release! Thank you! EDIT: It's very strange. Sometimes when I boot RG ARC-S, It can't detect the external SD card. Then I shutdown it and boot it again. And this time it does detect the external SD card and auto mounts it.