Hi Guys - just reporting that I’ve gotten everything working with Frank’s 5.10-rc - patches to mesa etc
I had reached this stage all that time ago! the ONE thing I didn’t do? is to disable DRM debugging - all of a sudden? I have buttery smooth GL - thanks Alex for spotting that!
I’m going to be uploading an image with everything correctly setup and I’m building the patched mesa as debian packages - so that should make intergration in future far less painful.
I’m using Debian 10 upgraded to the testing branch - Mesa + Libdrm are both snapshots from their respective gits - performance is excellent.
I have also, this time, very carefully noted every single step to cross compile mesa, I’ve written scripts that install all dependencies, add the architecture support etc
Also meson cross files as well as an LLVM meson wrapper (needed due to some package dependency quirks not allowing llvm to be installed on one machine for two architectures)
I’ll upload those too so people can compile themselves - but I think a lot of people just want it working in a distro
debug.drm=0x07 seems to be set somewhere outside of uEnv.txt - it’s being appended to the linux command line AFTER the bootopts insertion.
I’ve checked the boot section of the kernel config but the culprit isn’t there either.
Currently I have to manually ‘echo 0 > /sys/drm/parameters/debug’ (might not be exactly that) after boot in order to disable debugging.
I’m also looking at your work on the HDMI sound - have you noticed that in the original R2-BSP tree - the ‘mt7623n.dtsi’ file (I think) contains a similar sound node to the one you inserted for your _hdmi driver effort - it however includes far more detail than your insertion - worth investigating?
I’ll take a look - going to hack away at the audio too - it was working before and I’ve read your and Alex’s conversation regarding the new drivers.
If the WM9860 codec (or whatever it was called) was working before (I remember reading something about the audio being backwards compatible with some other mediatek chip - hence the support in 4.4 etc at the time)
So how about just modifying the newer driver to output over HDMI? the WM9860 codec or whatever - it’s still there - it just… lost HDMI support right?
It’s so frustrating. I finally get 3D working smoothly on the board and now I’ve lost sound lol