Open nihil-2019 opened 5 years ago
Huh. amdgpu_query_info(ACCEL_WORKING)
is exactly where drm auth fails, and -13 is EACCES (access denied – hinting at auth again). Are you 100% sure the debug log shows auth passing when the windows are not displaying? Have you tried the workaround patch anyway?
It's interesting that you managed to load the driver from the bootloader. I don't remember that succeeding, it used to blow up, but of course I haven't tried that in a while.
Whoops; applied the patch & it was actually bug 33, I just couldn't find the error in dmesg debug. Sorry! Gonna edit the bug to reflect that.
The issue of acceleration not working without applications being run through truss still persists, of course.
I'm running a dual monitor HDMI/DVI-D setup, & my GPU is a Sapphire Radeon 370 Nitro, which is a Pitcairn in the Southern Islands family, & uses a chipset from AMD 7000 series. I'm running the latest FreeBSD current as of 7:15 P.M. EST, the latest versions of sway & XWayland in the pkg repos, & drm-current-kmod built from ports but otherwise untouched, save for the small edit I have to do before I build because of my previous issue.
GPU acceleration doesn't work in OpenGL apps... unless I run them with truss, as I confirmed with both glxgears, arx-libertalis, & freedink from ports. Again, apps give no error when running normally, nor does LIBGL_DEBUG, only thing useful they may say is that they're running with llvmpipe. I've tried poking, prodding, searching, reading, thinking, to get GPU accel running without truss, to no avail. Here's the output from arx being run with truss.