樹梅派Genpi64.img 無法執行 nestopia - Linux

Table of Contents


安裝 https://github.com/sakaki-/gentoo-on-rpi-64bit Genpi64.img version 1.6

下載 source Nestopia-1.50.
編譯 as follows,
aclocal
automake --add-missing --copy --force-missing
autoconf
./configure --enable-gui
make
執行 by ./nestopia, and get some error messages.
Failed to compile vertex shader
Failed to compile fragment shader
Failed to link shader program
解決 by comment out a line of (BootPartition)/config.txt
# dtoverlay=vc4-fkms-v3d
結果 Nestopia-1.50 runs with bad audio quality and slow frame refresh rate.

測試之前版本 Genpi64.img version 1.5x (2019, gentoo base 2.6)
前置作業:
Compile a kernel that
CONFIG_FB_FOREIGN_ENDIAN=y
CONFIG_FB_BOTH_ENDIAN=y
Install the package "xf86-video-fbdev"
Comment out " # dtoverlay=vc4-fkms-v3d " in config.txt
Reboot.
結果 Nestopia-1.50 runs much better.

猜測:
X11 module "Shawdow" conflicts with vc4-fkms-v3d
Genpi64.img version 1.5x supports Glamor.


--

All Comments

Hedy avatarHedy2021-03-01
目前用/dev/dri還是有問題 用/dev/fb0靠cpu全速還可接受