Open ghost opened 5 years ago
Vega can generally be unstable in 4.16, you might have better luck with an updated version. (Build FreeBSD from https://github.com/FreeBSDDesktop/freebsd-base and drivers from this repo — branches have to match, e.g. drm-v5.0
in both.) I'm not sure if 5.0 is already in working condition. @johalun?
amdgpu.dpm=0 at /boot/loader.conf but doesnt seem to effect
It's compat.linuxkpi.dpm
here.
opengl,opencl,vulkan
Yes. You need to build with this patch right now to fix OpenCL, Vulkan, Xwayland and other things. clover
is the package for OpenCL, btw.
rocm
Not yet, we'd need IOMMU support or something
v5.0 is working pretty great. I'm about to put the code up for review now.
v5.0 is working pretty great. I'm about to put the code up for review now.
I just tested it with Polaris because those are the latest AMD GPUs I have. Good news is it seems working fine AND hw.syscons.disable=1
is no longer necessary. Great relief. Unfortunately, with Polaris 11, it didn't find monitor on HDMI port for my dual monitor set up. DVI port was fine. Polaris 10 didn't show the problem, i.e., both monitors on HDMI and DP ports were detected and worked fine. FYI...
Yep, hw.syscons.disable=1
is no longer necessary for me too. And Vega seems to work fine! :)
Whoops… after resolving PCIe issues on my board (by updating firmware), looks like hw.syscons.disable=1
is necessary again, otherwise PSP firmware loading fails (after / because of a VMC page fault)
Hi all,
My system is: CPU: AMD Ryzen2 2700x MB: Asus x470-F Memory: Corsair 32GB PC3200mhz GPU: Asus Rog Strix Vega 64 Monitor: Asus MG279Q ( 2560x1440, 144hz ) (connected at display port 0) + (FreeSync is ON from Monitor Settings) (also tried OFF) Disk: Corsair Nvme 1920gb OS: Freebsd 12 p3
Problem Description: Sudden FPS dropouts and sometimes full system freeze/lock (requires hard reset), + and time to time 15/30ms freezes (doesnt require hard reboot but happens exactly the same time with sudden fps dropouts)
can be problem caused by dynamic power management of gpu/amdgpu ? ( i did amdgpu.dpm=0 at /boot/loader.conf but doesnt seem to effect.. )
Note: all the hardware above has been tested at another pc, they work flawlessly at arch linux (no freezes no hiccups no sudden fps dropouts) (so hardware are fine)
clinfo reports; Number of platforms 0
.. so I'm confused about what works and not or partially works in my system.. (opengl,opencl,vulkan,rocm?,etc..) (+which packages/ports are missing and need to be installed..)
Attached files are: (due attachment limit per post were 5 files max, i posted the rest of the files with my other posts in this topic) 1> uname -a 2> kldstat 3> xrandr 4> /boot/loader.conf 5> /etc/rc.conf 6> dmesg 7> /var/log/messages 8> xorg.conf 9> /var/log/xorg.log.0 10> /var/log/Xorg.log.0 (when full system freeze occurs)=> "[mi] EQ overflowing." + "[mi] This may be caused by a misbehaving driver monopolizing the server's resources." 11> pkg info (installed packages) (comparison with arch wiki amdgpu + xorg amdgpu + https://wiki.freebsd.org/Graphics) 12/13/14/15> glxinfo + glxgears + vulkaninfo + vdpauinfo 16> pciconf -lvbce 17> devinfo -vr 18> sysctl hw.model ---> total 18 files.
Since I cant attach all the files above to this bug report, i submit the link/url that I have attached them to..
https://forums.freebsd.org/threads/freebsd-12-amdgpu-freeze-hiccups.69980/
I really would appriciate any help. Thanks again