Box86 and Wine on RPi4
-
I installed your box86/wine multiple times on an updated fresh Raspberry pi OS with Desktop.
After the install everything works, but somehow the OS becomes slow and everytime HDMI audio breaks after a few days.
Could this have something to do with the box86/wine install ?
-
Hi @folly , thanks for letting me know. I've also experienced an audio issue after a few days, but haven't had the chance to experiment with it yet. I'll test out what happens when I reboot and then don't launch Wine and see if the audio issues persist after a few days.
As for the system slowing down, how are you seeing this? Is it from playing a game or something else?
From what I can tell, wine isn't running in the background, the graphics drivers are separate, and box86 is not running either. It could be something with binfmt, since that will intercept what you're trying to execute and then send it to the appropriate place, but that is a standard package anyone can install themselves. Maybe it's Timidity (for midi), which could also explain audio issues.
If I find anything out, I'll let you know.
- George
-
@george said in Box86 and Wine on RPi4:
Hi @folly , thanks for letting me know. I've also experienced an audio issue after a few days, but haven't had the chance to experiment with it yet. I'll test out what happens when I reboot and then don't launch Wine and see if the audio issues persist after a few days.
As for the system slowing down, how are you seeing this? Is it from playing a game or something else?
Just the normal use, opening text files and using the webbrowser.
Also experiencing freezes.
I had the issues with booting from an sd card and from an usb stick.
Now I use an usb harddrive for booting, without box86/wine and it's working fine.
If I have time I will try it on another usb harddrive to see what will happen.From what I can tell, wine isn't running in the background, the graphics drivers are separate, and box86 is not running either. It could be something with binfmt, since that will intercept what you're trying to execute and then send it to the appropriate place, but that is a standard package anyone can install themselves. Maybe it's Timidity (for midi), which could also explain audio issues.
I tried beebem. Beebem works but the sound has an echo.
This can be related to beebem though.
But it could also be an indication of the problem.
First time I ran Beebem I had audio from hdmi.
After reboot I had no sound when I ran Beebem, noticed later that AVjack was selected and hdmi was gone in the volume settings.
I had a similar problem when I tried pinball, only music from hdmi and no sounds.
After reboot hdmi gone.
I don't know how I can detect where it's going wrong.
But indeed. it could be Timidity, as you said.Seems there have been similar problems with hdmi audio last december when updating the OS.
Because there have been changes in the OS for that matter.
But since mine is working good after the latest updates and after a reboot.
It seems not related to the OS update.Also switched raspberry pi's to see if it was the raspberry pi.
Same result.Nevertheless it would be great if Beebem could run.
Seems many people want this in retropie.
There is a good chance we can build a module script for that emulator.If I find anything out, I'll let you know.
Thanks, curious what you will find/experience ;-)
- George
-
@george said in Box86 and Wine on RPi4:
As for the system slowing down, how are you seeing this? Is it from playing a game or something else?
Could it be caused by cpu throttling?
-
-
Ok, I will.
-
I boot from my usb3.0 stick now.
This is the first slowdown.
(forgive me I didn't use ssh, I was able to this in the desktop enviroment)I managed to make a log of 2 slowdowns (I will remove the logs later, once you have seen it !):
First one :
temp=53.5'C throttled=0x0 frequency(46)=500000992 frequency(48)=800191424 UID PID PPID C STIME TTY TIME CMD root 1 0 0 13:30 ? 00:00:05 /sbin/init splash root 2 0 0 13:30 ? 00:00:00 [kthreadd] root 3 2 0 13:30 ? 00:00:00 [rcu_gp] root 4 2 0 13:30 ? 00:00:00 [rcu_par_gp] root 6 2 0 13:30 ? 00:00:00 [kworker/0:0H-kblockd] root 8 2 0 13:30 ? 00:00:00 [mm_percpu_wq] root 9 2 0 13:30 ? 00:00:00 [ksoftirqd/0] root 10 2 0 13:30 ? 00:00:02 [rcu_sched] root 11 2 0 13:30 ? 00:00:00 [migration/0] root 12 2 0 13:30 ? 00:00:00 [cpuhp/0] root 13 2 0 13:30 ? 00:00:00 [cpuhp/1] root 14 2 0 13:30 ? 00:00:00 [migration/1] root 15 2 0 13:30 ? 00:00:00 [ksoftirqd/1] root 17 2 0 13:30 ? 00:00:00 [kworker/1:0H-kblockd] root 18 2 0 13:30 ? 00:00:00 [cpuhp/2] root 19 2 0 13:30 ? 00:00:00 [migration/2] root 20 2 0 13:30 ? 00:00:00 [ksoftirqd/2] root 22 2 0 13:30 ? 00:00:00 [kworker/2:0H-kblockd] root 23 2 0 13:30 ? 00:00:00 [cpuhp/3] root 24 2 0 13:30 ? 00:00:00 [migration/3] root 25 2 0 13:30 ? 00:00:00 [ksoftirqd/3] root 27 2 0 13:30 ? 00:00:00 [kworker/3:0H-kblockd] root 28 2 0 13:30 ? 00:00:00 [kdevtmpfs] root 29 2 0 13:30 ? 00:00:00 [netns] root 32 2 0 13:30 ? 00:00:00 [kauditd] root 33 2 0 13:30 ? 00:00:00 [khungtaskd] root 34 2 0 13:30 ? 00:00:00 [oom_reaper] root 35 2 0 13:30 ? 00:00:00 [writeback] root 36 2 0 13:30 ? 00:00:00 [kcompactd0] root 54 2 0 13:30 ? 00:00:00 [kblockd] root 55 2 0 13:30 ? 00:00:00 [blkcg_punt_bio] root 56 2 0 13:30 ? 00:00:00 [watchdogd] root 57 2 0 13:30 ? 00:00:00 [rpciod] root 58 2 0 13:30 ? 00:00:00 [kworker/u9:0-sdhci] root 59 2 0 13:30 ? 00:00:00 [xprtiod] root 60 2 0 13:30 ? 00:00:00 [kswapd0] root 61 2 0 13:30 ? 00:00:00 [nfsiod] root 62 2 0 13:30 ? 00:00:00 [kthrotld] root 63 2 0 13:30 ? 00:00:00 [irq/55-aerdrv] root 64 2 0 13:30 ? 00:00:00 [iscsi_eh] root 69 2 0 13:30 ? 00:00:00 [DWC Notificatio] root 70 2 0 13:30 ? 00:00:00 [uas] root 72 2 0 13:30 ? 00:00:04 [vchiq-slot/0] root 73 2 0 13:30 ? 00:00:01 [vchiq-recy/0] root 74 2 0 13:30 ? 00:00:00 [vchiq-sync/0] root 75 2 0 13:30 ? 00:00:00 [vchiq-keep/0] root 76 2 0 13:30 ? 00:00:00 [SMIO] root 78 2 0 13:30 ? 00:00:00 [sdhci] root 79 2 0 13:30 ? 00:00:04 [irq/40-mmc0] root 80 2 0 13:30 ? 00:00:00 [scsi_eh_0] root 81 2 0 13:30 ? 00:00:00 [scsi_tmf_0] root 82 2 0 13:30 ? 00:00:02 [usb-storage] root 83 2 0 13:30 ? 00:00:00 [kworker/1:1H-kblockd] root 85 2 0 13:30 ? 00:00:00 [kworker/3:1H-kblockd] root 86 2 0 13:30 ? 00:00:00 [jbd2/sda2-8] root 87 2 0 13:30 ? 00:00:00 [ext4-rsv-conver] root 88 2 0 13:30 ? 00:00:00 [kworker/2:1H-kblockd] root 89 2 0 13:30 ? 00:00:00 [ipv6_addrconf] root 92 2 0 13:30 ? 00:00:00 [kworker/0:1H-kblockd] root 112 1 0 13:30 ? 00:00:00 /lib/systemd/systemd-journald root 146 1 0 13:30 ? 00:00:00 /lib/systemd/systemd-udevd root 177 2 0 13:30 ? 00:00:00 [SMIO] root 183 2 0 13:30 ? 00:00:00 [mmal-vchiq] root 186 2 0 13:30 ? 00:00:00 [mmal-vchiq] root 189 2 0 13:30 ? 00:00:00 [mmal-vchiq] root 191 2 0 13:30 ? 00:00:00 [mmal-vchiq] root 203 2 0 13:30 ? 00:00:11 [v3d_bin] root 204 2 0 13:30 ? 00:00:13 [v3d_render] root 205 2 0 13:30 ? 00:00:00 [v3d_tfu] root 206 2 0 13:30 ? 00:00:00 [v3d_csd] root 207 2 0 13:30 ? 00:00:00 [v3d_cache_clean] root 247 2 0 13:30 ? 00:00:00 [cfg80211] root 267 2 0 13:30 ? 00:00:00 [brcmf_wq/mmc1:0] root 268 2 0 13:30 ? 00:00:00 [brcmf_wdog/mmc1] systemd+ 336 1 0 13:30 ? 00:00:00 /lib/systemd/systemd-timesyncd message+ 393 1 0 13:30 ? 00:00:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only root 402 1 0 13:30 ? 00:00:00 /usr/sbin/rsyslogd -n -iNONE root 403 1 0 13:30 ? 00:00:01 /usr/sbin/rngd -r /dev/hwrng avahi 407 1 0 13:30 ? 00:00:00 avahi-daemon: running [raspberrypi.local] root 408 1 0 13:30 ? 00:00:00 /lib/systemd/systemd-logind nobody 409 1 0 13:30 ? 00:00:03 /usr/sbin/thd --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobody --deviceglob /dev/input/event* root 422 1 0 13:30 ? 00:00:00 /usr/sbin/alsactl -E HOME=/run/alsa -s -n 19 -c rdaemon avahi 433 407 0 13:30 ? 00:00:00 avahi-daemon: chroot helper root 443 1 0 13:30 ? 00:00:00 /usr/sbin/cron -f root 453 1 0 13:30 ? 00:00:00 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant root 456 1 0 13:30 ? 00:00:00 /usr/sbin/cupsd -l root 465 1 0 13:30 ? 00:00:00 /usr/sbin/cups-browsed root 474 1 0 13:30 ? 00:00:00 /sbin/dhcpcd -q -b root 514 1 0 13:30 tty1 00:00:00 /bin/login -f timidity 527 1 0 13:30 ? 00:00:00 /usr/bin/timidity -Os -iAD root 540 1 0 13:30 ? 00:00:00 wpa_supplicant -B -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -Dnl80211,wext pi 562 1 0 13:30 ? 00:00:00 /lib/systemd/systemd --user pi 563 562 0 13:30 ? 00:00:00 (sd-pam) pi 573 514 0 13:30 tty1 00:00:00 -bash root 590 2 0 13:30 ? 00:00:00 [kworker/u9:1-hci0] root 591 1 0 13:30 ? 00:00:00 /usr/bin/hciattach /dev/serial1 bcm43xx 3000000 flow - root 597 1 0 13:30 ? 00:00:00 /usr/lib/bluetooth/bluetoothd pi 745 573 0 13:30 tty1 00:00:00 /bin/sh /usr/bin/startx pi 767 745 0 13:30 tty1 00:00:00 xinit /etc/X11/xinit/xinitrc -- /etc/X11/xinit/xserverrc :0 vt1 -keeptty -auth /tmp/serverauth.nGySgieS0w pi 768 767 5 13:30 tty1 00:02:37 /usr/lib/xorg/Xorg -nolisten tcp :0 vt1 -keeptty -auth /tmp/serverauth.nGySgieS0w pi 772 767 0 13:30 tty1 00:00:01 /usr/bin/lxsession -s LXDE-pi -e LXDE pi 781 562 0 13:30 ? 00:00:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only pi 805 772 0 13:30 ? 00:00:00 /usr/bin/ssh-agent x-session-manager pi 816 562 0 13:30 ? 00:00:00 /usr/lib/gvfs/gvfsd pi 821 562 0 13:30 ? 00:00:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes pi 837 772 0 13:30 tty1 00:00:03 openbox --config-file /home/pi/.config/openbox/lxde-pi-rc.xml pi 840 772 0 13:30 tty1 00:00:00 lxpolkit pi 841 772 0 13:30 tty1 00:00:14 lxpanel --profile LXDE-pi pi 843 772 0 13:30 tty1 00:00:21 pcmanfm --desktop --profile LXDE-pi pi 848 1 0 13:30 ? 00:00:00 /usr/bin/ssh-agent -s pi 851 1 0 13:30 tty1 00:00:00 /bin/sh /usr/lib/raspi-config/cmstart.sh root 855 1 0 13:30 ? 00:00:00 /usr/lib/policykit-1/polkitd --no-debug pi 858 851 0 13:30 tty1 00:00:00 xcompmgr -aR pi 873 1 0 13:30 tty1 00:00:00 /usr/bin/python3 /usr/share/system-config-printer/applet.py pi 874 562 1 13:30 ? 00:00:43 /usr/bin/pulseaudio --daemonize=no rtkit 888 1 0 13:30 ? 00:00:00 /usr/lib/rtkit/rtkit-daemon root 895 2 0 13:30 ? 00:00:00 [krfcommd] pi 899 1 0 13:30 ? 00:00:00 /usr/lib/menu-cache/menu-cached /run/user/1000/menu-cached-:0 pi 903 562 0 13:30 ? 00:00:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor root 906 1 0 13:30 ? 00:00:00 /usr/lib/udisks2/udisksd pi 920 562 0 13:30 ? 00:00:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor pi 924 562 0 13:30 ? 00:00:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor pi 928 562 0 13:30 ? 00:00:00 /usr/lib/gvfs/gvfs-goa-volume-monitor pi 932 562 0 13:30 ? 00:00:00 /usr/lib/gvfs/gvfs-afc-volume-monitor pi 969 816 0 13:30 ? 00:00:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.4 /org/gtk/gvfs/exec_spaw/0 pi 1341 562 0 13:32 ? 00:00:00 /usr/lib/gvfs/gvfsd-metadata pi 1388 562 0 13:33 ? 00:00:00 /usr/lib/dconf/dconf-service root 2223 2 0 13:47 ? 00:00:04 [kworker/u8:0-events_unbound] root 3875 2 0 13:58 ? 00:00:00 [kworker/3:1-mm_percpu_wq] root 3907 2 0 13:59 ? 00:00:01 [kworker/0:1-events] root 3915 2 0 13:59 ? 00:00:00 [kworker/1:4-mm_percpu_wq] root 3919 2 0 14:00 ? 00:00:00 [kworker/2:2-mm_percpu_wq] pi 4693 841 5 14:04 tty1 00:01:02 /usr/lib/chromium-browser/chromium-browser-v7 --force-renderer-accessibility --disable-quic --enable-tcp-fast-open --enable-pinch pi 4715 4693 0 14:04 tty1 00:00:00 /usr/lib/chromium-browser/chromium-browser-v7 --type=zygote --no-zygote-sandbox pi 4716 4693 0 14:04 tty1 00:00:00 /usr/lib/chromium-browser/chromium-browser-v7 --type=zygote pi 4718 4716 0 14:04 tty1 00:00:00 /usr/lib/chromium-browser/chromium-browser-v7 --type=zygote pi 4742 4715 11 14:04 tty1 00:02:01 /usr/lib/chromium-browser/chromium-browser-v7 --type=gpu-process --field-trial-handle=10081958632426864600,5615009333255266452,131072 --gpu-preferences=MAAAAAAAAAAgAAAQAAAAAAAAAAAAAAAAAABgAAAAAAAQAAAAAAAAAAAAAAAAAAAASAAAAAgAAABAAAAAAAAAAEgAAAAAAAAAUAAAAAAAAABYAAAAAAAAAGAAAAAAAAAAaAAAAAAAAABwAAAAAAAAAHgAAAAAAAAAEAAAAAAAAAAAAAAADAAAABAAAAAAAAAAAAAAAA0AAAAQAAAAAAAAAAEAAAAMAAAAEAAAAAAAAAABAAAADQAAABAAAAAAAAAABAAAAAwAAAAQAAAAAAAAAAQAAAANAAAAEAAAAAAAAAAGAAAADAAAABAAAAAAAAAABgAAAA0AAAA= --shared-files pi 4744 4693 0 14:04 tty1 00:00:08 /usr/lib/chromium-browser/chromium-browser-v7 --type=utility --utility-sub-type=network.mojom.NetworkService --field-trial-handle=10081958632426864600,5615009333255266452,131072 --lang=en-US --service-sandbox-type=network --disable-quic --shared-files=v8_snapshot_data:100 pi 4749 4718 0 14:04 tty1 00:00:00 /usr/lib/chromium-browser/chromium-browser-v7 --type=utility --utility-sub-type=storage.mojom.StorageService --field-trial-handle=10081958632426864600,5615009333255266452,131072 --lang=en-US --service-sandbox-type=utility --disable-quic --shared-files=v8_snapshot_data:100 pi 4766 4718 7 14:04 tty1 00:01:18 /usr/lib/chromium-browser/chromium-browser-v7 --type=renderer --field-trial-handle=10081958632426864600,5615009333255266452,131072 --lang=en-US --num-raster-threads=2 --enable-main-frame-before-activation --renderer-client-id=8 --no-v8-untrusted-code-mitigations --shared-files=v8_snapshot_data:100 pi 4832 4718 0 14:04 tty1 00:00:05 /usr/lib/chromium-browser/chromium-browser-v7 --type=renderer --field-trial-handle=10081958632426864600,5615009333255266452,131072 --lang=en-US --extension-process --num-raster-threads=2 --enable-main-frame-before-activation --renderer-client-id=5 --no-v8-untrusted-code-mitigations --shared-files=v8_snapshot_data:100 pi 4889 4742 0 14:04 tty1 00:00:00 /usr/lib/chromium-browser/chromium-browser-v7 --type=broker pi 4979 4718 7 14:04 tty1 00:01:14 /usr/lib/chromium-browser/chromium-browser-v7 --type=renderer --field-trial-handle=10081958632426864600,5615009333255266452,131072 --lang=en-US --num-raster-threads=2 --enable-main-frame-before-activation --renderer-client-id=9 --no-v8-untrusted-code-mitigations --shared-files=v8_snapshot_data:100 root 4995 2 0 14:04 ? 00:00:02 [kworker/0:3+events_freezable] pi 5013 4693 0 14:06 tty1 00:00:04 /usr/lib/chromium-browser/chromium-browser-v7 --type=utility --utility-sub-type=audio.mojom.AudioService --field-trial-handle=10081958632426864600,5615009333255266452,131072 --lang=en-US --service-sandbox-type=none --disable-quic --shared-files=v8_snapshot_data:100 pi 5028 4718 0 14:06 tty1 00:00:00 /usr/lib/chromium-browser/chromium-browser-v7 --type=renderer --field-trial-handle=10081958632426864600,5615009333255266452,131072 --lang=en-US --num-raster-threads=2 --enable-main-frame-before-activation --renderer-client-id=13 --no-v8-untrusted-code-mitigations --shared-files=v8_snapshot_data:100 root 5045 2 0 14:07 ? 00:00:00 [kworker/2:3+events_freezable_power_] root 5064 2 0 14:10 ? 00:00:00 [kworker/0:2-events] root 5066 2 0 14:10 ? 00:00:00 [kworker/3:0-mm_percpu_wq] root 5070 2 0 14:12 ? 00:00:00 [kworker/1:1-mm_percpu_wq] root 5083 2 0 14:12 ? 00:00:00 [kworker/u8:2+flush-8:0] root 5090 2 0 14:14 ? 00:00:00 [kworker/2:0-mm_percpu_wq] root 5096 2 0 14:15 ? 00:00:00 [kworker/0:0-events] root 5098 2 0 14:15 ? 00:00:00 [kworker/3:2-mm_percpu_wq] root 5114 2 0 14:17 ? 00:00:00 [kworker/3:3-mm_percpu_wq] root 5131 2 0 14:18 ? 00:00:00 [kworker/1:0-mm_percpu_wq] root 5136 2 0 14:18 ? 00:00:00 [kworker/u8:1-events_unbound] root 5138 2 0 14:19 ? 00:00:00 [kworker/0:4-mm_percpu_wq] pi 5154 841 0 14:20 tty1 00:00:01 lxterminal pi 5160 5154 0 14:20 pts/0 00:00:00 bash pi 5190 4718 4 14:21 tty1 00:00:00 /usr/lib/chromium-browser/chromium-browser-v7 --type=renderer --field-trial-handle=10081958632426864600,5615009333255266452,131072 --lang=en-US --instant-process --num-raster-threads=2 --enable-main-frame-before-activation --renderer-client-id=14 --no-v8-untrusted-code-mitigations --shared-files=v8_snapshot_data:100 root 5209 2 0 14:21 ? 00:00:00 [kworker/2:1-events] pi 5210 5160 0 14:21 pts/0 00:00:00 bash get.sh pi 5221 5210 0 14:21 pts/0 00:00:00 ps -ef
This is the second slowdown/freeze :
(forgive me I didn't use ssh, I was able open a terminal with ctrl+alt+F2)
It took quite a while to get the log, so it was extremly slowing down while creating the log.temp=48.7'C throttled=0x0 frequency(46)=250000496 frequency(48)=600117184 UID PID PPID C STIME TTY TIME CMD root 1 0 0 15:30 ? 00:00:04 /sbin/init splash root 2 0 0 15:30 ? 00:00:00 [kthreadd] root 3 2 0 15:30 ? 00:00:00 [rcu_gp] root 4 2 0 15:30 ? 00:00:00 [rcu_par_gp] root 6 2 0 15:30 ? 00:00:00 [kworker/0:0H-kblockd] root 8 2 0 15:30 ? 00:00:00 [mm_percpu_wq] root 9 2 0 15:30 ? 00:00:00 [ksoftirqd/0] root 10 2 0 15:30 ? 00:00:00 [rcu_sched] root 11 2 0 15:30 ? 00:00:00 [migration/0] root 12 2 0 15:30 ? 00:00:00 [cpuhp/0] root 13 2 0 15:30 ? 00:00:00 [cpuhp/1] root 14 2 0 15:30 ? 00:00:00 [migration/1] root 15 2 0 15:30 ? 00:00:00 [ksoftirqd/1] root 17 2 0 15:30 ? 00:00:00 [kworker/1:0H-kblockd] root 18 2 0 15:30 ? 00:00:00 [cpuhp/2] root 19 2 0 15:30 ? 00:00:00 [migration/2] root 20 2 0 15:30 ? 00:00:00 [ksoftirqd/2] root 22 2 0 15:30 ? 00:00:00 [kworker/2:0H] root 23 2 0 15:30 ? 00:00:00 [cpuhp/3] root 24 2 0 15:30 ? 00:00:00 [migration/3] root 25 2 0 15:30 ? 00:00:00 [ksoftirqd/3] root 27 2 0 15:30 ? 00:00:00 [kworker/3:0H-kblockd] root 28 2 0 15:30 ? 00:00:00 [kdevtmpfs] root 29 2 0 15:30 ? 00:00:00 [netns] root 30 2 0 15:30 ? 00:00:03 [kworker/0:1-events] root 31 2 0 15:30 ? 00:00:00 [kworker/1:1-mm_percpu_wq] root 32 2 0 15:30 ? 00:00:00 [kauditd] root 33 2 0 15:30 ? 00:00:00 [khungtaskd] root 34 2 0 15:30 ? 00:00:00 [oom_reaper] root 35 2 0 15:30 ? 00:00:00 [writeback] root 36 2 0 15:30 ? 00:00:00 [kcompactd0] root 54 2 0 15:30 ? 00:00:00 [kblockd] root 55 2 0 15:30 ? 00:00:00 [blkcg_punt_bio] root 56 2 0 15:30 ? 00:00:00 [watchdogd] root 57 2 0 15:30 ? 00:00:00 [rpciod] root 58 2 0 15:30 ? 00:00:00 [kworker/u9:0-sdhci] root 59 2 0 15:30 ? 00:00:00 [xprtiod] root 60 2 0 15:30 ? 00:00:00 [kswapd0] root 61 2 0 15:30 ? 00:00:00 [nfsiod] root 62 2 0 15:30 ? 00:00:00 [kthrotld] root 63 2 0 15:30 ? 00:00:00 [irq/55-aerdrv] root 64 2 0 15:30 ? 00:00:00 [iscsi_eh] root 65 2 0 15:30 ? 00:00:04 [kworker/u8:1-cfg80211] root 69 2 0 15:30 ? 00:00:00 [DWC Notificatio] root 70 2 0 15:30 ? 00:00:00 [uas] root 71 2 0 15:30 ? 00:00:03 [kworker/0:2-events] root 72 2 0 15:30 ? 00:00:01 [vchiq-slot/0] root 73 2 0 15:30 ? 00:00:00 [vchiq-recy/0] root 74 2 0 15:30 ? 00:00:00 [vchiq-sync/0] root 75 2 0 15:30 ? 00:00:00 [vchiq-keep/0] root 76 2 0 15:30 ? 00:00:00 [SMIO] root 78 2 0 15:30 ? 00:00:00 [sdhci] root 79 2 0 15:30 ? 00:00:01 [irq/40-mmc0] root 80 2 0 15:30 ? 00:00:00 [scsi_eh_0] root 81 2 0 15:30 ? 00:00:00 [scsi_tmf_0] root 82 2 0 15:30 ? 00:00:01 [usb-storage] root 83 2 0 15:30 ? 00:00:00 [kworker/1:1H-kblockd] root 85 2 0 15:30 ? 00:00:00 [kworker/3:1H-kblockd] root 86 2 0 15:30 ? 00:00:00 [jbd2/sda2-8] root 87 2 0 15:30 ? 00:00:00 [ext4-rsv-conver] root 88 2 0 15:30 ? 00:00:00 [ipv6_addrconf] root 89 2 0 15:30 ? 00:00:00 [kworker/3:2-events] root 94 2 0 15:30 ? 00:00:00 [kworker/2:1H-kblockd] root 104 2 0 15:30 ? 00:00:00 [kworker/0:1H-kblockd] root 115 1 0 15:30 ? 00:00:00 /lib/systemd/systemd-journald root 145 1 0 15:30 ? 00:00:00 /lib/systemd/systemd-udevd root 170 2 0 15:30 ? 00:00:00 [kworker/2:2-events_power_efficient] root 173 2 0 15:30 ? 00:00:00 [SMIO] root 201 2 0 15:30 ? 00:00:00 [mmal-vchiq] root 205 2 0 15:30 ? 00:00:00 [mmal-vchiq] root 209 2 0 15:30 ? 00:00:00 [mmal-vchiq] root 211 2 0 15:30 ? 00:00:00 [mmal-vchiq] root 217 2 0 15:30 ? 00:00:00 [cfg80211] root 222 2 0 15:30 ? 00:00:02 [v3d_bin] root 223 2 0 15:30 ? 00:00:03 [v3d_render] root 224 2 0 15:30 ? 00:00:00 [v3d_tfu] root 225 2 0 15:30 ? 00:00:00 [v3d_csd] root 226 2 0 15:30 ? 00:00:00 [brcmf_wq/mmc1:0] root 228 2 0 15:30 ? 00:00:00 [v3d_cache_clean] root 230 2 0 15:30 ? 00:00:00 [brcmf_wdog/mmc1] systemd+ 347 1 0 15:30 ? 00:00:00 /lib/systemd/systemd-timesyncd nobody 384 1 0 15:30 ? 00:00:00 /usr/sbin/thd --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobody --deviceglob /dev/input/event* root 386 1 0 15:30 ? 00:00:00 /usr/sbin/cron -f root 389 1 0 15:30 ? 00:00:00 /usr/sbin/rsyslogd -n -iNONE avahi 391 1 0 15:30 ? 00:00:00 avahi-daemon: running [raspberrypi.local] root 394 1 0 15:30 ? 00:00:00 /lib/systemd/systemd-logind root 396 1 0 15:30 ? 00:00:00 /usr/sbin/alsactl -E HOME=/run/alsa -s -n 19 -c rdaemon message+ 398 1 0 15:30 ? 00:00:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only root 402 1 0 15:30 ? 00:00:00 /usr/sbin/cupsd -l root 408 1 0 15:30 ? 00:00:00 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant root 415 1 0 15:30 ? 00:00:00 /usr/sbin/rngd -r /dev/hwrng avahi 430 391 0 15:30 ? 00:00:00 avahi-daemon: chroot helper root 472 1 0 15:30 ? 00:00:00 /sbin/dhcpcd -q -b root 497 1 0 15:30 ? 00:00:00 /usr/sbin/cups-browsed root 511 1 0 15:30 tty1 00:00:00 /bin/login -f timidity 519 1 0 15:30 ? 00:00:00 /usr/bin/timidity -Os -iAD root 522 2 0 15:30 ? 00:00:00 [kworker/2:3-mm_percpu_wq] root 539 2 0 15:30 ? 00:00:00 [kworker/u8:3-events_unbound] root 540 1 0 15:30 ? 00:00:00 wpa_supplicant -B -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -Dnl80211,wext pi 560 1 0 15:30 ? 00:00:00 /lib/systemd/systemd --user pi 561 560 0 15:30 ? 00:00:00 (sd-pam) pi 571 511 0 15:30 tty1 00:00:00 -bash root 588 1 0 15:30 ? 00:00:00 /usr/bin/hciattach /dev/serial1 bcm43xx 3000000 flow - root 590 2 0 15:30 ? 00:00:00 [kworker/u9:1-hci0] root 593 1 0 15:30 ? 00:00:00 /usr/lib/bluetooth/bluetoothd pi 742 571 0 15:30 tty1 00:00:00 /bin/sh /usr/bin/startx pi 764 742 0 15:30 tty1 00:00:00 xinit /etc/X11/xinit/xinitrc -- /etc/X11/xinit/xserverrc :0 vt1 -keeptty -auth /tmp/serverauth.zhtANsKRp0 pi 765 764 2 15:30 tty1 00:00:25 /usr/lib/xorg/Xorg -nolisten tcp :0 vt1 -keeptty -auth /tmp/serverauth.zhtANsKRp0 pi 769 764 0 15:30 tty1 00:00:00 /usr/bin/lxsession -s LXDE-pi -e LXDE pi 778 560 0 15:30 ? 00:00:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only pi 802 769 0 15:30 ? 00:00:00 /usr/bin/ssh-agent x-session-manager pi 813 560 0 15:30 ? 00:00:00 /usr/lib/gvfs/gvfsd pi 818 560 0 15:30 ? 00:00:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes pi 833 769 0 15:30 tty1 00:00:00 openbox --config-file /home/pi/.config/openbox/lxde-pi-rc.xml pi 836 769 0 15:30 tty1 00:00:00 lxpolkit pi 837 769 0 15:30 tty1 00:00:03 lxpanel --profile LXDE-pi pi 839 769 0 15:30 tty1 00:00:01 pcmanfm --desktop --profile LXDE-pi pi 844 1 0 15:30 ? 00:00:00 /usr/bin/ssh-agent -s pi 846 1 0 15:30 tty1 00:00:00 /bin/sh /usr/lib/raspi-config/cmstart.sh pi 855 846 0 15:30 tty1 00:00:00 xcompmgr -aR root 856 1 0 15:30 ? 00:00:00 /usr/lib/policykit-1/polkitd --no-debug pi 864 1 0 15:30 tty1 00:00:00 /usr/bin/python3 /usr/share/system-config-printer/applet.py pi 870 560 0 15:30 ? 00:00:08 /usr/bin/pulseaudio --daemonize=no rtkit 883 1 0 15:30 ? 00:00:00 /usr/lib/rtkit/rtkit-daemon root 891 2 0 15:30 ? 00:00:00 [krfcommd] pi 895 1 0 15:30 ? 00:00:00 /usr/lib/menu-cache/menu-cached /run/user/1000/menu-cached-:0 pi 899 560 0 15:30 ? 00:00:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor root 902 1 0 15:30 ? 00:00:00 /usr/lib/udisks2/udisksd pi 916 560 0 15:30 ? 00:00:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor pi 920 560 0 15:30 ? 00:00:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor pi 924 560 0 15:30 ? 00:00:00 /usr/lib/gvfs/gvfs-goa-volume-monitor pi 928 560 0 15:30 ? 00:00:00 /usr/lib/gvfs/gvfs-afc-volume-monitor pi 965 813 0 15:30 ? 00:00:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.4 /org/gtk/gvfs/exec_spaw/0 pi 1389 837 10 15:35 tty1 00:01:08 /usr/lib/chromium-browser/chromium-browser-v7 --force-renderer-accessibility --disable-quic --enable-tcp-fast-open --enable-pinch pi 1411 1389 0 15:35 tty1 00:00:00 /usr/lib/chromium-browser/chromium-browser-v7 --type=zygote --no-zygote-sandbox pi 1412 1389 0 15:35 tty1 00:00:00 /usr/lib/chromium-browser/chromium-browser-v7 --type=zygote pi 1414 1412 0 15:35 tty1 00:00:00 /usr/lib/chromium-browser/chromium-browser-v7 --type=zygote pi 1438 1411 11 15:35 tty1 00:01:19 /usr/lib/chromium-browser/chromium-browser-v7 --type=gpu-process --field-trial-handle=10953666345163838183,3183982652119743396,131072 --gpu-preferences=MAAAAAAAAAAgAAAQAAAAAAAAAAAAAAAAAABgAAAAAAAQAAAAAAAAAAAAAAAAAAAASAAAAAgAAABAAAAAAAAAAEgAAAAAAAAAUAAAAAAAAABYAAAAAAAAAGAAAAAAAAAAaAAAAAAAAABwAAAAAAAAAHgAAAAAAAAAEAAAAAAAAAAAAAAADAAAABAAAAAAAAAAAAAAAA0AAAAQAAAAAAAAAAEAAAAMAAAAEAAAAAAAAAABAAAADQAAABAAAAAAAAAABAAAAAwAAAAQAAAAAAAAAAQAAAANAAAAEAAAAAAAAAAGAAAADAAAABAAAAAAAAAABgAAAA0AAAA= --shared-files pi 1440 1389 1 15:35 tty1 00:00:07 /usr/lib/chromium-browser/chromium-browser-v7 --type=utility --utility-sub-type=network.mojom.NetworkService --field-trial-handle=10953666345163838183,3183982652119743396,131072 --lang=en-US --service-sandbox-type=network --disable-quic --shared-files=v8_snapshot_data:100 pi 1445 1414 0 15:35 tty1 00:00:00 /usr/lib/chromium-browser/chromium-browser-v7 --type=utility --utility-sub-type=storage.mojom.StorageService --field-trial-handle=10953666345163838183,3183982652119743396,131072 --lang=en-US --service-sandbox-type=utility --disable-quic --shared-files=v8_snapshot_data:100 pi 1518 1414 0 15:35 tty1 00:00:06 /usr/lib/chromium-browser/chromium-browser-v7 --type=renderer --field-trial-handle=10953666345163838183,3183982652119743396,131072 --lang=en-US --extension-process --num-raster-threads=2 --enable-main-frame-before-activation --renderer-client-id=5 --no-v8-untrusted-code-mitigations --shared-files=v8_snapshot_data:100 pi 1581 1438 0 15:35 tty1 00:00:00 /usr/lib/chromium-browser/chromium-browser-v7 --type=broker root 1684 2 0 15:35 ? 00:00:00 [kworker/1:0-events] pi 1724 1389 0 15:36 tty1 00:00:00 /usr/lib/chromium-browser/chromium-browser-v7 --type=utility --utility-sub-type=audio.mojom.AudioService --field-trial-handle=10953666345163838183,3183982652119743396,131072 --lang=en-US --service-sandbox-type=none --disable-quic --shared-files=v8_snapshot_data:100 root 1741 2 0 15:36 ? 00:00:00 [kworker/u8:0+flush-8:0] root 1745 2 0 15:37 ? 00:00:00 [kworker/3:1-mm_percpu_wq] root 1775 2 0 15:38 ? 00:00:00 [kworker/0:3-events] pi 1776 1414 6 15:38 tty1 00:00:28 /usr/lib/chromium-browser/chromium-browser-v7 --type=renderer --field-trial-handle=10953666345163838183,3183982652119743396,131072 --lang=en-US --num-raster-threads=2 --enable-main-frame-before-activation --renderer-client-id=17 --no-v8-untrusted-code-mitigations --shared-files=v8_snapshot_data:100 root 1787 2 0 15:38 ? 00:00:00 [kworker/3:4-mm_percpu_wq] pi 1789 1414 7 15:38 tty1 00:00:35 /usr/lib/chromium-browser/chromium-browser-v7 --type=renderer --field-trial-handle=10953666345163838183,3183982652119743396,131072 --lang=en-US --num-raster-threads=2 --enable-main-frame-before-activation --renderer-client-id=18 --no-v8-untrusted-code-mitigations --shared-files=v8_snapshot_data:100 pi 1800 1414 1 15:38 tty1 00:00:07 /usr/lib/chromium-browser/chromium-browser-v7 --type=renderer --field-trial-handle=10953666345163838183,3183982652119743396,131072 --lang=en-US --num-raster-threads=2 --enable-main-frame-before-activation --renderer-client-id=19 --no-v8-untrusted-code-mitigations --shared-files=v8_snapshot_data:100 root 1847 2 0 15:41 ? 00:00:00 [kworker/1:2-mm_percpu_wq] pi 1880 1414 2 15:42 tty1 00:00:06 /usr/lib/chromium-browser/chromium-browser-v7 --type=renderer --field-trial-handle=10953666345163838183,3183982652119743396,131072 --lang=en-US --num-raster-threads=2 --enable-main-frame-before-activation --renderer-client-id=24 --no-v8-untrusted-code-mitigations --shared-files=v8_snapshot_data:100 pi 1900 837 0 15:42 tty1 00:00:00 lxterminal pi 1915 1414 0 15:43 tty1 00:00:00 /usr/lib/chromium-browser/chromium-browser-v7 --type=renderer --field-trial-handle=10953666345163838183,3183982652119743396,131072 --lang=en-US --num-raster-threads=2 --enable-main-frame-before-activation --renderer-client-id=25 --no-v8-untrusted-code-mitigations --shared-files=v8_snapshot_data:100 root 1933 2 0 15:43 ? 00:00:00 [kworker/u8:2-events_unbound] pi 1936 837 0 15:44 tty1 00:00:00 lxterminal root 1937 2 0 15:44 ? 00:00:00 [kworker/1:3-rcu_gp] root 1955 2 0 15:45 ? 00:00:00 [kworker/0:0+events_freezable] root 1956 1 0 15:45 tty2 00:00:00 /bin/login -p -- pi 1964 1956 0 15:46 tty2 00:00:00 -bash pi 1975 1964 0 15:46 tty2 00:00:00 bash get.sh pi 1977 1936 5 15:46 pts/0 00:00:00 bash pi 1980 1900 0 15:46 pts/1 00:00:00 bash root 1991 2 0 15:46 ? 00:00:00 [kworker/2:0-cgroup_destroy] pi 1992 1975 0 15:46 tty2 00:00:00 ps -ef
-
Thanks for the log, @folly.
I have to look at the output of
ps -ef
more deeply. There are many things running that I don't have running (LXDE/OpenBox, Chromium, Pulse Audio, etc.). Any one of those things could be stressing out the CPU, causing the temperature to rise and slowing things down. But it's just a guess so far.I can say your temperature is much higher than what I am seeing with my Pi4. Mine has a big heat sink and fan, so it runs at about 39.0'C. Here's my output when just running EmulationStation:
temp=39.0'C throttled=0x0 frequency(46)=277646496 frequency(48)=700154304
Perhaps try running those commands when everything is running smoothly.
Interestingly, your frequencies on the first run are higher than mine, but your CPU frequency on the second item is lower. And of course, neither times is it showing that there is throttling going on.
In other news, I think I've been able to trace an audio issue back to Timidity. I found my Pi4 not outputting any audio today. Running the following command resolved the issue without having to restart the Pi4.
sudo service timidity restart
Perhaps see if this will resolve your audio issues too, and maybe even the performance issue. If so, we might want to consider removing Timidity from the Wine installation and only put it into the Space Cadet installation, only turning it on when the program runs, and then turning it off when Space Cadet exits.
Can you also run the following and send the output:
dpkg -l | grep -i fbturbo
- George
-
Thanks for looking at it.
I can say your temperature is much higher than what I am seeing with my Pi4.
Earlier on I had a fan on it, but had the same issues.
There are many things running that I don't have running (LXDE/OpenBox, Chromium, Pulse Audio, etc.). Any one of those things could be stressing out the CPU, causing the temperature to rise and slowing things down. But it's just a guess so far.
Indeed, It can, but I have no problem when I run an other the OS from another media (that has not box86/wine installed yet). It could also be the usb stick, or the pi can't supply enough power to the usb stick. I have to check this again with a new install on a harddrive with box86/wine installed also.
Another thing is, that pulseaudio is now installed if you update your raspberry pi OS. Seems that sometimes this will break the audio. Strange thing was, that it is not always installed when you upgrade. My harddrive had still alsa only. yesterday I did a "sudo apt dist-upgrade" and now it did install pulsaudio with a good volume icon.
It could be, when you do only "sudo apt upgrade" it doesn't upgrade as it should, breaking the audio. Here you can find more about it :
https://www.raspberrypi.org/blog/new-raspberry-pi-os-release-december-2020/I think I've been able to trace an audio issue back to Timidity.
Nice job ! ;-)
Here is the output of the command you wanted to know :
pi@raspberrypi:~ $ dpkg -l | grep -i fbturbo ii gldriver-test 0.6 all Enable/disable fbturbo when OpenGL driver is used
ps.
We can use the konami remakes legally for box86/wine, read this :
https://retropie.org.uk/forum/topic/10918/where-to-legally-acquire-content-to-play-on-retropie/296 -
I am already busy with an install on a powered usb 3.0 harddrive.
Using RetroPie-Setup 4.7.7 now.
I have already installed the mesa supplementary.
Now I am trying to install the box86 emulator.
It fails to detect the mesa supplementary.log said :
rp_getIdxFromId command not found.
Looks like this command isn't supported anymore.I commented the if function to install box86.
Had the same issue with installing wine, also commented the lines.
Removed timidy from the depends to check if there is improvement.
WoW, wine configuration was fast and ended before RetroPie-Setup got back in the menu !Do you have an idea to fix the depedancy checks for box86 and wine ?
Tested a while without timidity, worked good.
Installed timidity manually and installed spacecadet3dpinball again.
(spacecadet3dpinball got stuck in the check also, same problem, commented also the IF function)
All works good, music and sound is working from the hdmi audio port.Well, tested all for quite a while now and up till now it works quite good :-)
(lets say 4 hours) -
@folly said in Box86 and Wine on RPi4:
p_getIdxFromId comm
I adjusted script and removed the lines in which the box86 and mesa installs are detected (or not). This enabled me to complete the installs.
-
@mth75 said in Box86 and Wine on RPi4:
@folly said in Box86 and Wine on RPi4:
p_getIdxFromId comm
I adjusted script and removed the lines in which the box86 and mesa installs are detected (or not). This enabled me to complete the installs.
Yes indeed, did the same thing ;-)
-
@folly said in Box86 and Wine on RPi4:
rp_getIdxFromId command not found.
Thanks @Folly. I'll take a look at what happened to
rp_getIdxFromId
and see if there is a replacement.- George
-
@folly said in Box86 and Wine on RPi4:
We can use the konami remakes legally for box86/wine, read this :
https://retropie.org.uk/forum/topic/10918/where-to-legally-acquire-content-to-play-on-retropie/296Thanks @Folly, this is cool. I've been looking at some of the recent commits for RetroPie and it looks like there is a new feature enabling external repositories for modules, which might be good for this use case. That would mean that once we get things figured out with installation directory, ports vs. emulator, etc. A whole repository can be created for the Konami remakes.
What do you think?
- George
-
@george said in Box86 and Wine on RPi4:
I'll take a look at what happened to rp_getIdxFromId and see if there is a replacement.
Looks like this functionality was removed at about the same time I submitted my pull request for the script modules. But it also looks like some functionality may still exist and be simpler to make sure the chain still works. I'll do some work and update my scripts. I'll also test doing a dist upgrade to see where Pulse Audio is getting installed and how it affects things.
Thanks again!
- George
-
@george said in Box86 and Wine on RPi4:
@folly said in Box86 and Wine on RPi4:
We can use the konami remakes legally for box86/wine, read this :
https://retropie.org.uk/forum/topic/10918/where-to-legally-acquire-content-to-play-on-retropie/296Thanks @Folly, this is cool. I've been looking at some of the recent commits for RetroPie and it looks like there is a new feature enabling external repositories for modules, which might be good for this use case. That would mean that once we get things figured out with installation directory, ports vs. emulator, etc. A whole repository can be created for the Konami remakes.
What do you think?
- George
Yes indeed, I read that also about external repositories.
Pretty good idea !I just did an experiment on my usb3.0 stick, because I found this :
https://raspberrypi.stackexchange.com/questions/101388/sata-3-ssd-too-slow-on-raspberry-pi-4-even-with-external-power
https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=245931I turned uas off for my stick in boot/cmdline.txt
So I will have to test here and there, but I think this could be the solution.
Tested, still slow after a while, perhaps there is some corruption going on.
I think I will wipe that stick and try fresh again. -
Today my HDMI audio was gone again (in the desktop enviroment).
I removed timidity, did a shutdown and checked the cables.
Then booted my pi again and my HDMI audio was back again.
I don't know if timidity is causing this, but I thought you should know. -
Here's a treat for you people.
I still have the SpaceCadet Pinball game installation .EXE (it's freeware, so no harm done):
=========================
-
@h2805270 said in Box86 and Wine on RPi4:
I still have the SpaceCadet Pinball game installation .EXE (it's freeware, so no harm done):
Didn't know it's freeware - do you have a reference to that ?
-
@mitu
"Abandonware" is a more appropriate terminology in the case of this game, but yes. The original release/full game "Full Tilt Pinball" is classified as such:
-========================-The Windows Game is just an altered downgraded Demo Port of the original game, re-written in the C language (for wider CPU compatibility).
Windows itself dropped it from Vista because of a collision bug in the 64-bit version they couldn't fix (works fine on Windows 10).
They tried reviving the licence in 2018 as a "Microsoft Garage" project, but Cinematronics refused to give them the rights because of some complicated "only for Windows 95" mumbo-jumbo.
In short, it's as good as most MS-DOS games.
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.