Low framerate on main EmulationStation menu - Pi 4
-
@paddydukes At this stage I might just clean image and see if it resolves...
-
@paddydukes said in Low framerate on main EmulationStation menu - Pi 4:
@paddydukes At this stage I might just clean image and see if it resolves...
KMS requires that you run the latest test kernel which is 5.10.3 as of today.
You are still using 5.4, which has issues. You need to run rpi-update and then proceed with the KMS driver.
Starting with a fresh image may be your last resort. It’s hard to pinpoint issues with too many unknowns especially when you are doing testing.
-
@bluestang Weird that it's still broken when reverting though? I'll update and see anyhow!
And for anyone wondering, yes sadly it appears amiberry is broken due to dispmanx requirement.
-
@paddydukes said in Low framerate on main EmulationStation menu - Pi 4:
And for anyone wondering, yes sadly it appears amiberry is broken due to dispmanx requirement.
KMS disables DISPLAYMANX so any emulator that uses this for the RPi4 will no longer work with KMS.
The RPi4 will eventually transition to KMS as the preferred choice once the driver is ready.
Re: Amiberry there is an option to build it with the SDL2 backend...have you tried that version?
-
@bluestang I just read that and found this. https://github.com/midwan/amiberry/issues/463
Once i get things back up and running I can go down that route!
-
@bluestang Fresh imaged and set everything up again. Backing up my image now :p
Will then rpi-update and attempt to set kms!
-
@bluestang Up to 5.10.3-v7l+
Add kms and noaudio params. Back to no audio. (ES and games)
Revert to fkms. Sound returns (phew)
Change back to kms, same deal.
Added some stuff based on docs trying to get it to output audio:
# uncomment if hdmi display is not detected and composite is being output hdmi_force_hotplug=1 # uncomment to force a HDMI mode rather than DVI. This can make audio work in # DMT (computer monitor) modes hdmi_drive=2 hdmi_force_edid_audio=1
But no joy.
I read here:
https://retropie.org.uk/forum/topic/28732/kernel-5-10-on-board-audio-disabled-or-not-present/5
To check es_settings. Currently HDMI and Default, so should be fine...
Then I see this message:
PulseAudio will not be installed unless you're also installing the desktop - RetroPie doesn't install it by default. When installed, PulseAudio will take over the default ALSA card and instead of PCM, the mixer name will be Master.
Which you alluded to earlier. So as I've never installed desktop... this is possibly the issue.
sudo apt-get install pulseaudio did not resolve, but not sure if there are some other steps I need to do here...
-
This post is deleted! -
@paddydukes said in Low framerate on main EmulationStation menu - Pi 4:
@bluestang Up to 5.10.3-v7l+
Add kms and noaudio params. Back to no audio. (ES and games)
Change back to kms, same deal.If you go to the Audio menu in RetroPie Setup, and then go to Mixer is the volume bar working?
sudo apt update && sudo apt full-upgrade will install PulseAudio since that was a recent update from the RPi dev team.
Update: I don't use the RetroPie images...I start with a fresh RPiOS image and then install RetroPie on top of it. I use the both the desktop and console, so I need to be able to switch back and forth with ease.
-
@bluestang I removed pulse audio again. It was recognising it as a device, but no output to hdmi, and apparently ES doesn't use it?
In Retropie-Setup when I got to audiosettings, it tells me "On board audio disabled or not present"
raspi-config is saying " │ No internal audio devices found" under audio.
-
@paddydukes said in Low framerate on main EmulationStation menu - Pi 4:
@bluestang I removed pulse audio again. It was recognising it as a device, but no output to hdmi, and apparently ES doesn't use it?
In Retropie-Setup when I got to audiosettings, it tells me "On board audio disabled or not present"
raspi-config is saying " │ No internal audio devices found" under audio.
Can you post your /boot/config.txt and dmesg again...something is not right with your setup.
-
@bluestang Sure thing.
config:
# For more options and information see # http://rpf.io/configtxt # Some settings may impact device functionality. See link above for details # uncomment if you get no picture on HDMI for a default "safe" mode #hdmi_safe=1 # uncomment this if your display has a black border of unused pixels visible # and your display can output without overscan disable_overscan=1 # uncomment the following to adjust overscan. Use positive numbers if console # goes off screen, and negative if there is too much border #overscan_left=16 #overscan_right=16 #overscan_top=16 #overscan_bottom=16 # uncomment to force a console size. By default it will be display's size minus # overscan. #framebuffer_width=1280 #framebuffer_height=720 # uncomment if hdmi display is not detected and composite is being output #hdmi_force_hotplug=1 # uncomment to force a specific HDMI mode (this will force VGA) hdmi_group=1 hdmi_mode=4 # uncomment to force a HDMI mode rather than DVI. This can make audio work in # DMT (computer monitor) modes #hdmi_drive=2 #hdmi_force_edid_audio=1 # uncomment to increase signal to HDMI, if you have interference, blanking, or # no display #config_hdmi_boost=4 # uncomment for composite PAL #sdtv_mode=2 #uncomment to overclock the arm. 700 MHz is the default. over_voltage=6 arm_freq=2000 v3d_freq=700 v3d_freq_min=500 # Uncomment some or all of these to enable the optional hardware interfaces #dtparam=i2c_arm=on #dtparam=i2s=on #dtparam=spi=on # Uncomment this to enable infrared communication. #dtoverlay=gpio-ir,gpio_pin=17 #dtoverlay=gpio-ir-tx,gpio_pin=18 # Additional overlays and parameters are documented /boot/overlays/README # Enable audio (loads snd_bcm2835) # dtparam=audio=on [pi4] # Enable DRM VC4 V3D driver on top of the dispmanx display stack #dtoverlay=vc4-kms-v3d-pi4 #dtparam=audio=on max_framebuffers=2 [all] dtoverlay=vc4-kms-v3d-pi4,noaudio dtparam=audio=on dtoverlay=disable-wifi overscan_scale=1 dtoverlay=RetroFlag_pw_io.dtbo enable_uart=1
dmesg
pi@retropie:~ $ dmesg [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.10.3-v7l+ (dom@buildbot) (arm-linux-gnueabihf-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1386 SMP Sun Dec 27 14:05:40 GMT 2020 [ 0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache [ 0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.1 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] Reserved memory: created CMA memory pool at 0x000000001ec00000, size 256 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000000000-0x000000002fffffff] [ 0.000000] Normal empty [ 0.000000] HighMem [mem 0x0000000030000000-0x00000000fbffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x000000003b3fffff] [ 0.000000] node 0: [mem 0x0000000040000000-0x00000000fbffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000fbffffff] [ 0.000000] On node 0 totalpages: 1012736 [ 0.000000] DMA zone: 2304 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 196608 pages, LIFO batch:63 [ 0.000000] HighMem zone: 816128 pages, LIFO batch:63 [ 0.000000] percpu: Embedded 20 pages/cpu s50572 r8192 d23156 u81920 [ 0.000000] pcpu-alloc: s50572 r8192 d23156 u81920 alloc=20*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1010432 [ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1280x720M@60 smsc95xx.macaddr=DC:A6:32:49:97:61 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=1681ecc4-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait loglevel=3 consoleblank=0 plymouth.enable=0 [ 0.000000] Kernel parameter elevator= does not have any effect anymore. Please use sysfs to set IO scheduler for individual devices. [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] software IO TLB: mapped [mem 0x0000000017cc0000-0x000000001bcc0000] (64MB) [ 0.000000] Memory: 3654944K/4050944K available (10240K kernel code, 1353K rwdata, 3152K rodata, 2048K init, 890K bss, 133856K reserved, 262144K cma-reserved, 3264512K highmem) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] ftrace: allocating 33808 entries in 67 pages [ 0.000000] ftrace: allocated 67 pages with 3 groups [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] Rude variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] random: get_random_bytes called from start_kernel+0x3c8/0x59c with crng_init=0 [ 0.000007] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns [ 0.000026] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns [ 0.000084] bcm2835: system timer (irq = 25) [ 0.000722] arch_timer: cp15 timer(s) running at 54.00MHz (phys). [ 0.000739] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns [ 0.000757] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns [ 0.000772] Switching to timer-based delay loop, resolution 18ns [ 0.001018] Console: colour dummy device 80x30 [ 0.001087] printk: console [tty1] enabled [ 0.001145] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000) [ 0.001177] pid_max: default: 32768 minimum: 301 [ 0.001346] LSM: Security Framework initializing [ 0.001526] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.001551] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.003117] Disabling memory control group subsystem [ 0.003234] CPU: Testing write buffer coherency: ok [ 0.003690] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.004638] Setting up static identity map for 0x200000 - 0x20003c [ 0.004853] rcu: Hierarchical SRCU implementation. [ 0.005760] smp: Bringing up secondary CPUs ... [ 0.006955] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.008322] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.009600] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.009761] smp: Brought up 1 node, 4 CPUs [ 0.009782] SMP: Total of 4 processors activated (432.00 BogoMIPS). [ 0.009797] CPU: All CPU(s) started in HYP mode. [ 0.009811] CPU: Virtualization extensions available. [ 0.010695] devtmpfs: initialized [ 0.024546] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0 [ 0.025147] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.025176] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.031921] pinctrl core: initialized pinctrl subsystem [ 0.032956] NET: Registered protocol family 16 [ 0.036987] DMA: preallocated 1024 KiB pool for atomic coherent allocations [ 0.037740] audit: initializing netlink subsys (disabled) [ 0.038001] audit: type=2000 audit(0.030:1): state=initialized audit_enabled=0 res=1 [ 0.038558] thermal_sys: Registered thermal governor 'step_wise' [ 0.039331] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.039350] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.039728] Serial: AMBA PL011 UART driver [ 0.079990] bcm2835-mbox fe00b880.mailbox: mailbox enabled [ 0.100848] raspberrypi-firmware soc:firmware: Attached to firmware from 2020-12-15T18:28:46, variant start [ 0.110862] raspberrypi-firmware soc:firmware: Firmware hash is 4b4aff21f72c5b9ba39d83c7b0f8fa910a6ef99b [ 0.155445] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1 [ 0.159704] vgaarb: loaded [ 0.160149] SCSI subsystem initialized [ 0.160382] usbcore: registered new interface driver usbfs [ 0.160441] usbcore: registered new interface driver hub [ 0.160566] usbcore: registered new device driver usb [ 0.161287] usb_phy_generic phy: supply vcc not found, using dummy regulator [ 0.163216] clocksource: Switched to clocksource arch_sys_counter [ 1.189664] VFS: Disk quotas dquot_6.6.0 [ 1.189768] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 1.189954] FS-Cache: Loaded [ 1.190140] CacheFiles: Loaded [ 1.191186] simple-framebuffer 3e843000.framebuffer: framebuffer at 0x3e843000, 0x384000 bytes, mapped to 0x(ptrval) [ 1.191208] simple-framebuffer 3e843000.framebuffer: format=a8r8g8b8, mode=1280x720x32, linelength=5120 [ 1.191654] Console: switching to colour frame buffer device 160x45 [ 1.196179] simple-framebuffer 3e843000.framebuffer: fb0: simplefb registered! [ 1.206135] NET: Registered protocol family 2 [ 1.206951] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 1.206994] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 1.207069] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 1.207136] TCP: Hash tables configured (established 8192 bind 8192) [ 1.207287] UDP hash table entries: 512 (order: 2, 16384 bytes, linear) [ 1.207326] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) [ 1.207585] NET: Registered protocol family 1 [ 1.208390] RPC: Registered named UNIX socket transport module. [ 1.208406] RPC: Registered udp transport module. [ 1.208421] RPC: Registered tcp transport module. [ 1.208436] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.208459] PCI: CLS 0 bytes, default 64 [ 1.211565] Initialise system trusted keyrings [ 1.211802] workingset: timestamp_bits=14 max_order=20 bucket_order=6 [ 1.219870] zbud: loaded [ 1.221619] FS-Cache: Netfs 'nfs' registered for caching [ 1.222571] NFS: Registering the id_resolver key type [ 1.222618] Key type id_resolver registered [ 1.222634] Key type id_legacy registered [ 1.222775] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.223846] Key type asymmetric registered [ 1.223863] Asymmetric key parser 'x509' registered [ 1.224055] bounce: pool size: 64 pages [ 1.224098] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) [ 1.224351] io scheduler mq-deadline registered [ 1.224368] io scheduler kyber registered [ 1.228852] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges: [ 1.228884] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff] [ 1.228965] brcm-pcie fd500000.pcie: MEM 0x0600000000..0x063fffffff -> 0x00c0000000 [ 1.229053] brcm-pcie fd500000.pcie: IB MEM 0x0000000000..0x00bfffffff -> 0x0400000000 [ 1.285323] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC) [ 1.285685] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00 [ 1.285706] pci_bus 0000:00: root bus resource [bus 00-ff] [ 1.285730] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff]) [ 1.285831] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400 [ 1.286073] pci 0000:00:00.0: PME# supported from D0 D3hot [ 1.289488] PCI: bus0: Fast back to back transfers disabled [ 1.289851] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330 [ 1.289979] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit] [ 1.290413] pci 0000:01:00.0: PME# supported from D0 D3cold [ 1.293841] PCI: bus1: Fast back to back transfers disabled [ 1.293939] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff] [ 1.293963] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit] [ 1.294047] pci 0000:00:00.0: PCI bridge to [bus 01] [ 1.294073] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff] [ 1.294477] pcieport 0000:00:00.0: enabling device (0140 -> 0142) [ 1.294703] pcieport 0000:00:00.0: PME: Signaling with IRQ 69 [ 1.301289] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled [ 1.302216] bcm2835-aux-uart fe215040.serial: there is not valid maps for state default [ 1.304912] iproc-rng200 fe104000.rng: hwrng registered [ 1.305278] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB) [ 1.306218] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000 [ 1.319348] brd: module loaded [ 1.331495] loop: module loaded [ 1.333155] Loading iSCSI transport class v2.0-870. [ 1.335653] libphy: Fixed MDIO Bus: probed [ 1.337033] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000 [ 1.353297] libphy: bcmgenet MII bus: probed [ 1.433396] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus [ 1.434530] usbcore: registered new interface driver r8152 [ 1.434608] usbcore: registered new interface driver lan78xx [ 1.434669] usbcore: registered new interface driver smsc95xx [ 1.436256] xhci_hcd 0000:01:00.0: enabling device (0140 -> 0142) [ 1.436418] xhci_hcd 0000:01:00.0: xHCI Host Controller [ 1.436468] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1 [ 1.439783] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000030000000890 [ 1.441074] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 [ 1.441093] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.441111] usb usb1: Product: xHCI Host Controller [ 1.441127] usb usb1: Manufacturer: Linux 5.10.3-v7l+ xhci-hcd [ 1.441143] usb usb1: SerialNumber: 0000:01:00.0 [ 1.441879] hub 1-0:1.0: USB hub found [ 1.441978] hub 1-0:1.0: 1 port detected [ 1.442653] xhci_hcd 0000:01:00.0: xHCI Host Controller [ 1.442681] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2 [ 1.442706] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed [ 1.443285] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10 [ 1.443304] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.443321] usb usb2: Product: xHCI Host Controller [ 1.443338] usb usb2: Manufacturer: Linux 5.10.3-v7l+ xhci-hcd [ 1.443354] usb usb2: SerialNumber: 0000:01:00.0 [ 1.444057] hub 2-0:1.0: USB hub found [ 1.444141] hub 2-0:1.0: 4 ports detected [ 1.445909] dwc_otg: version 3.00a 10-AUG-2012 (platform bus) [ 1.446302] dwc_otg: FIQ enabled [ 1.446317] dwc_otg: NAK holdoff enabled [ 1.446331] dwc_otg: FIQ split-transaction FSM enabled [ 1.446349] Module dwc_common_port init [ 1.446909] usbcore: registered new interface driver uas [ 1.447016] usbcore: registered new interface driver usb-storage [ 1.447210] mousedev: PS/2 mouse device common for all mice [ 1.449036] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer [ 1.453516] sdhci: Secure Digital Host Controller Interface driver [ 1.453532] sdhci: Copyright(c) Pierre Ossman [ 1.454261] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.457307] ledtrig-cpu: registered to indicate activity on CPUs [ 1.457647] hid: raw HID events driver (C) Jiri Kosina [ 1.457858] usbcore: registered new interface driver usbhid [ 1.457872] usbhid: USB HID core driver [ 1.462909] Initializing XFRM netlink socket [ 1.462951] NET: Registered protocol family 17 [ 1.463068] Key type dns_resolver registered [ 1.463592] Registering SWP/SWPB emulation handler [ 1.463781] registered taskstats version 1 [ 1.463810] Loading compiled-in X.509 certificates [ 1.464625] Key type ._fscrypt registered [ 1.464641] Key type .fscrypt registered [ 1.464656] Key type fscrypt-provisioning registered [ 1.476347] uart-pl011 fe201000.serial: there is not valid maps for state default [ 1.476648] uart-pl011 fe201000.serial: cts_event_workaround enabled [ 1.476739] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 37, base_baud = 0) is a PL011 rev2 [ 1.483101] bcm2835-aux-uart fe215040.serial: there is not valid maps for state default [ 1.483936] printk: console [ttyS0] disabled [ 1.484061] fe215040.serial: ttyS0 at MMIO 0xfe215040 (irq = 38, base_baud = 62500000) is a 16550 [ 1.484259] printk: console [ttyS0] enabled [ 1.485230] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver [ 1.488554] of_cfs_init [ 1.488805] of_cfs_init: OK [ 1.524049] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA [ 1.524984] Waiting for root device PARTUUID=1681ecc4-02... [ 1.625482] mmc0: new ultra high speed DDR50 SDHC card at address aaaa [ 1.626389] mmcblk0: mmc0:aaaa SC16G 14.8 GiB [ 1.629548] mmcblk0: p1 p2 [ 1.654628] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 1.654697] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [ 1.655455] devtmpfs: mounted [ 1.664254] Freeing unused kernel memory: 2048K [ 1.703555] Run /sbin/init as init process [ 1.703570] with arguments: [ 1.703584] /sbin/init [ 1.703599] with environment: [ 1.703613] HOME=/ [ 1.703627] TERM=linux [ 1.803275] usb 1-1: new high-speed USB device number 2 using xhci_hcd [ 1.812376] random: fast init done [ 1.985937] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21 [ 1.985959] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 1.985977] usb 1-1: Product: USB2.0 Hub [ 1.988070] hub 1-1:1.0: USB hub found [ 1.988375] hub 1-1:1.0: 4 ports detected [ 2.125817] systemd[1]: System time before build time, advancing clock. [ 2.133624] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd [ 2.165154] usb 2-1: New USB device found, idVendor=0781, idProduct=5583, bcdDevice= 1.00 [ 2.165175] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2.165193] usb 2-1: Product: SanDisk 3.2Gen1 [ 2.165210] usb 2-1: Manufacturer: USB [ 2.165227] usb 2-1: SerialNumber: 01011216a62b6b724bdfa8b134ff514fe21c105f346f4ff976e037180ad2b88bddb9000000000000000000003ee91c93ff9b3200835581077228cb25 [ 2.167890] usb-storage 2-1:1.0: USB Mass Storage device detected [ 2.168778] scsi host0: usb-storage 2-1:1.0 [ 2.219641] NET: Registered protocol family 10 [ 2.220953] Segment Routing with IPv6 [ 2.285625] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid) [ 2.286402] systemd[1]: Detected architecture arm. [ 2.333304] usb 1-1.3: new low-speed USB device number 3 using xhci_hcd [ 2.351467] systemd[1]: Set hostname to <retropie>. [ 2.471797] usb 1-1.3: New USB device found, idVendor=413c, idProduct=2003, bcdDevice= 2.00 [ 2.471821] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.471840] usb 1-1.3: Product: Dell USB Keyboard [ 2.471858] usb 1-1.3: Manufacturer: Dell [ 2.489465] input: Dell Dell USB Keyboard as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:413C:2003.0001/input/input0 [ 2.554017] hid-generic 0003:413C:2003.0001: input,hidraw0: USB HID v1.10 Keyboard [Dell Dell USB Keyboard] on usb-0000:01:00.0-1.3/input0 [ 2.961620] systemd[1]: /lib/systemd/system/smbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/smbd.pid \xe2\x86\x92 /run/samba/smbd.pid; please update the unit file accordingly. [ 2.983964] systemd[1]: /lib/systemd/system/nmbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/nmbd.pid \xe2\x86\x92 /run/samba/nmbd.pid; please update the unit file accordingly. [ 3.067450] random: systemd: uninitialized urandom read (16 bytes read) [ 3.083762] random: systemd: uninitialized urandom read (16 bytes read) [ 3.084420] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 3.085255] random: systemd: uninitialized urandom read (16 bytes read) [ 3.090378] systemd[1]: Listening on Syslog Socket. [ 3.094153] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 3.095267] systemd[1]: Listening on udev Kernel Socket. [ 3.096190] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ 3.195570] scsi 0:0:0:0: Direct-Access USB SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 6 [ 3.200025] sd 0:0:0:0: [sda] 240353280 512-byte logical blocks: (123 GB/115 GiB) [ 3.201233] sd 0:0:0:0: [sda] Write Protect is off [ 3.201256] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00 [ 3.202097] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 3.268382] sda: sda1 [ 3.282528] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 3.783716] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) [ 3.880499] systemd-journald[117]: Received request to flush runtime journal from PID 1 [ 4.223456] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 4.540929] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned. [ 4.543417] bcm2835_vc_sm_cma_probe: Videocore shared memory driver [ 4.543443] [vc_sm_connected_init]: start [ 4.544135] [vc_sm_connected_init]: installed successfully [ 4.546023] mc: Linux media interface: v0.10 [ 4.588725] videodev: Linux video capture interface: v2.00 [ 4.589838] brcmstb-i2c fef04500.i2c: @97500hz registered in polling mode [ 4.608233] brcmstb-i2c fef09500.i2c: @97500hz registered in polling mode [ 4.623062] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned. [ 4.647637] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned. [ 4.668429] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned. [ 4.677752] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13 [ 4.678186] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14 [ 4.678608] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15 [ 4.678925] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16 [ 4.678954] bcm2835-isp bcm2835-isp: Register output node 0 with media controller [ 4.678981] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller [ 4.679019] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller [ 4.679042] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller [ 4.679265] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp [ 4.696389] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned. [ 4.756581] bcm2835-codec bcm2835-codec: Device registered as /dev/video10 [ 4.756627] bcm2835-codec bcm2835-codec: Loaded V4L2 decode [ 4.826321] bcm2835-codec bcm2835-codec: Device registered as /dev/video11 [ 4.826401] bcm2835-codec bcm2835-codec: Loaded V4L2 encode [ 4.844098] bcm2835-codec bcm2835-codec: Device registered as /dev/video12 [ 4.844147] bcm2835-codec bcm2835-codec: Loaded V4L2 isp [ 4.985409] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0 [ 5.036845] debugfs: Directory 'fef00700.hdmi' with parent 'vc4-hdmi-0' already present! [ 5.041179] vc4-drm gpu: bound fef00700.hdmi (ops vc4_hdmi_ops [vc4]) [ 5.042385] vc4_hdmi fef05700.hdmi: 'dmas' DT property is missing or empty, no HDMI audio [ 5.042518] vc4-drm gpu: bound fef05700.hdmi (ops vc4_hdmi_ops [vc4]) [ 5.042876] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4]) [ 5.044500] vc4-drm gpu: bound fe004000.txp (ops vc4_txp_ops [vc4]) [ 5.050421] vc4-drm gpu: bound fe206000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 5.050776] vc4-drm gpu: bound fe207000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 5.051168] vc4-drm gpu: bound fe20a000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 5.051435] vc4-drm gpu: bound fe216000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 5.051767] vc4-drm gpu: bound fec12000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 5.052616] checking generic (3e843000 384000) vs hw (0 ffffffffffffffff) [ 5.052633] fb0: switching to vc4drmfb from simple [ 5.053392] Console: switching to colour dummy device 80x30 [ 5.076311] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1 [ 5.125274] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x00010000 [ 5.127938] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00001000 [ 5.128534] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x00010000 [ 5.129063] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x00010000 [ 5.151917] Console: switching to colour frame buffer device 160x45 [ 5.173441] vc4-drm gpu: [drm] fb0: vc4drmfb frame buffer device [ 6.838110] random: crng init done [ 6.838132] random: 7 urandom warning(s) missed due to ratelimiting [ 6.871980] uart-pl011 fe201000.serial: no DMA platform data [ 7.191846] 8021q: 802.1Q VLAN Support v1.8 [ 7.328880] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 7.406623] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 7.443851] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS [ 7.504708] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay) [ 7.505211] bcmgenet fd580000.ethernet eth0: Link is Down [ 11.673652] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 11.673703] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 12.028682] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [ 13.208287] ICMPv6: process `dhcpcd' is using deprecated sysctl (syscall) net.ipv6.neigh.eth0.retrans_time - use net.ipv6.neigh.eth0.retrans_time_ms instead [ 13.685959] Bluetooth: Core ver 2.22 [ 13.686026] NET: Registered protocol family 31 [ 13.686038] Bluetooth: HCI device and connection manager initialized [ 13.686061] Bluetooth: HCI socket layer initialized [ 13.686087] Bluetooth: L2CAP socket layer initialized [ 13.686116] Bluetooth: SCO socket layer initialized [ 13.695832] Bluetooth: HCI UART driver ver 2.3 [ 13.695849] Bluetooth: HCI UART protocol H4 registered [ 13.695913] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 13.696182] Bluetooth: HCI UART protocol Broadcom registered [ 13.859527] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 13.859535] Bluetooth: BNEP filters: protocol multicast [ 13.859547] Bluetooth: BNEP socket layer initialized [ 22.223216] usb 1-1.2: new full-speed USB device number 4 using xhci_hcd [ 22.360090] usb 1-1.2: New USB device found, idVendor=045e, idProduct=02d1, bcdDevice= 1.01 [ 22.360098] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 22.360104] usb 1-1.2: Product: Controller [ 22.360109] usb 1-1.2: Manufacturer: Microsoft [ 22.360115] usb 1-1.2: SerialNumber: 7EED8094F428 [ 22.392376] input: Microsoft X-Box One pad as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.0/input/input1 [ 22.392586] usbcore: registered new interface driver xpad
This seems notable:
[ 5.036845] debugfs: Directory 'fef00700.hdmi' with parent 'vc4-hdmi-0' already present! [ 5.041179] vc4-drm gpu: bound fef00700.hdmi (ops vc4_hdmi_ops [vc4]) [ 5.042385] vc4_hdmi fef05700.hdmi: 'dmas' DT property is missing or empty, no HDMI audio
-
I think I may have found the problem...
Make sure that the firmware audio driver: dtparam=audio=on is before dtoverlay=vc4-kms-v3d (drop the -pi4 its not needed)
dtparam=audio=on dtoverlay=vc4-kms-v3d,noaudio
I just set my config to the way you have it and the sound was gone just like yours. I went back and reverted the change and sound was back!
-
@bluestang Sorted it! I didn't think it would be order-sensitive tbh! Thanks for all the help!
-
@paddydukes said in Low framerate on main EmulationStation menu - Pi 4:
@bluestang Sorted it! I didn't think it would be order-sensitive tbh! Thanks for all the help!
I learned something new today, I'm glad you got it fixed. I'm going to update my other post with this info.
-
@bluestang On the Amiberry front, worried I'd have to go off and compile the binary and fiddle around with symlinks and that kind of thing. Turns out, just reinstalling automatically builds the SDL2 version.
Screen tearing I was seeing in Redream seems to be eliminated! Gonna test out Flycast some more too to see if performance has improved.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.