Skip to content

Instantly share code, notes, and snippets.

@jnettlet
Last active January 18, 2022 11:21
Show Gist options
  • Save jnettlet/bfb51c29426df25620e8932c5b21455f to your computer and use it in GitHub Desktop.
Save jnettlet/bfb51c29426df25620e8932c5b21455f to your computer and use it in GitHub Desktop.
Setting up HoneyComb
installation
modprobe.blacklist=amdgpu
kernel commandline:
grubby --args="amdgpu.pcie_gen_cap=0x4 usbcore.autosuspend=-1 arm-smmu.disable_bypass=0 iommu.passthrough=1" --update-kernel=ALL
Early Boot dracut
/etc/dracut.conf.d/amdgpu.conf
add_drivers+=" amdgpu "
install_items+=" /lib/firmware/amdgpu/polaris*.bin.xz "
fw_dir+=" /lib/firmware/amdgpu/ "
dracut –regenerate-all -f
Fix Xorg/Xwayland without patching mesa
mkdir /usr/share/gdm/env.d
echo "MESA_EXTENSION_OVERRIDE=-GL_ARB_buffer_storage" >> /usr/share/gdm/env.d/mesa.env
Fix 3D acceleration glitching using memcpy
https://github.com/jnettlet/cortex_a72_memcpy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment