-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since FreeBSD 14.1 upgrade, getting amdgpu issues with RX 550 #317
Comments
Forgot to include the output of
Some additional info: -
As I saw Linux in the trace, but it didn't any difference. What has changed in FreeBSD 14.1 which is causing this? |
Have been a longtime FreeBSD user (since v5), not had to deal with crash dumps so much before. So throw me bone if needed. |
I am not sure this is a "bone" but.... To me it looks like your might not have The following worked for me:
|
@ClausAndersen "Throw me a bone" is an expression that equates to something like "help me out" or "give me a hint". Used "freebsd-update" to update the src and system bins before, have been through quite a few major OS versions so far. Now on p5 version of kernel as of today. Maybe the src folder needs re-populating as you mentioned (as I've said, done multiple major OS upgrades), let me wipe it and follow your instructions to re-populate it. Watch this space... |
Updated src folder but not as you mentioned (the first "git clone" command just dumped the usage): -
Let me try re-building drm-61 now... |
@ClausAndersen Yes, can confirm drm-61 now compiles from ports with my clean src folder. Will reboot later on and first test if still works my my 6500XT, if that works I will retry the 550. Watch this space. |
@ClausAndersen Speaking of the ports (this is a little off-subject) - but I update ports via "portsnap" and now that is saying it's going be EoL'ed soon. So what is the official method of updating the ports? |
If you look at the compiler error you will see:
That means that The most likely culprit is that it was not installed originally using I normally do not rebuild FreeBSD myself so I usually never install this on my system. And it is very few ports which depends on this so you can normally live a happy life without. That would be the common cause. In your case my guess is that you installed The official method for both src and ports is using git. They are as usual documented in the Handbook. You now have an unholy mix of binary packages and ports (as do I) which as you might know is not recommended. If Links: 4.4.12. Locking and Unlocking Packages |
@ClausAndersen I always install the src when installing from ISO. So "freebsd-update" didn't update my src folders correctly for some reason. Oh, I've been thought many upgrades before. Including one where I would only install packages by building from src (ports). I have locked the package for drm-61 - with command Do you believe that my RX550 will work now? And see that using GIT is now the way to update both the ports and src. But I've noticed some about a new package called "pkgbase" - do you know about this? |
This will probably be a transistion where we can value we have ZFS snapshots as well. 😄 You might enjoy the video from EuroBSDcon 2019 as well[2]. [1] DevSummit planning document for 15 |
I forgot the main page: https://wiki.freebsd.org/PkgBase |
@ClausAndersen I found that main page quite a while ago. Just don't understand why the handbook hasn't been updated to say that GIT is the way to update src and ports. As the message from "pkg update" just states it's going to die soon, yet doesn't mention any alternatives. |
@ClausAndersen But on a more positive note - the drm-61-kmod firmware is STILL working fine on my system, that is with my backup gfx card which is a RX6500XT which is completely overkill for this PC. Hence, why I want to put back my RX550. Do you think things will work now? As I've had another user report that a RX580 is producing the same issues. Details to come. |
@yukiteruamano Please report here. |
At this time, to update the ports: -
Then from now on to update them: -
|
To deal with /usr/src - wipe that folder completely, before starting: -
After that, to update them: -
|
Would be a better command. |
Tried the RX550 again, but now not even getting a console - switched back the RX6550XT. Maybe this is an BIOS issue? |
Right now building with poudriere, drm-61-kmod build successful on FreeBSD 14.1-p5 |
Build, all ok, with drm-61-kmod I don't have problems. X run fine, mpv with VAAPI and GLSL shaders using Vulkan and OpenGL context work fine. |
Think my RX550 might have died. As can't even POST with it. But there is another BIOS for my motherboard which I have now updated too despite it still being "beta" - well I need that to support my CPU. My X470 motherboard, originally had an 2700X CPU installed but with the beta BIOS I was able to upgrade to a 5800X and gained at least 60% in performance (with my own internal tests). I will have to re-test with the new BIOS - watch this space. |
So everything mentioned here has resolved YOUR issue? |
@ClausAndersen @yukiteruamano Did the 61 version resolve your issues? |
Yes, 61 without problems |
@yukiteruamano That is fantastic - glad my post helped you resolve your issue ^^. |
Yeah, 510 and 61-kmod work fine, but 515 is a disaster with RX580 |
@yukiteruamano But you're running with 61 at this point in time? |
As I will retry the gfx card again very soon, as I don't want such an expensive card in use for my main PC - it is completely OVERKILL. |
I threw my HD 7850 (pitcairn) into one of my machines to test since I used to use it with FreeBSD a few years ago, and it's supposed to work with both radeonkms and amdgpu - I got a kernel panic loading either of them, with both drm-510-kmod installed from pkg and drm-61-kmod compiled from ports. |
@Ice-IX That's quite a different generation of card compared to mine. Codename "Pitcairn Pro" (released 2012) vs "Polaris 12" (released 2017) of mine. Maybe raise a new issue on here for that? As that also needs to be noted and resolved. However, you getting kernel panics with MULTIPLE OS's generally (in my experiences at least) typically is a hardware fault. I bet Windows just used a generic driver and nothing actually accelerated, hence why it appeared to work at first. Did you try to run something like FurMark in Windows? |
I've just re-installed my RX550 and my PC now POSTs with it (after the BIOS upgrade - yet it was fine before that, but anyway). It appears from
The firmware now gets loaded successfully. Let me test more over the next day or so - to ensure that the 61 version resolved my issue. |
Do have hardware acceleration as tried my time-tested game - Neverputt. Haha. |
Yes I'm running 61 actually |
Upon re-sync'ing my /usr/src folder and ports /usr/ports - was able to compile the 61 kmod. Now after a several days of testing - the issue I originally reported is now RESOLVED. So I will close this issue shortly. @Ice-IX Please raise your issue on here (not in this post, but as another issue) as my original issue is now resolved. @yukiteruamano Remember to lock those packages too. My RX550 is working great now. But also know that my backup RX6500XT also now works - so bonus. |
To update your ports (ensure folder is empty to start with): -
Then after that to update it: -
|
To update your src (again, ensure folder is empty) and this for 14.1: -
Then after that to update it: -
|
Both of these points NEED to be updated in the handbook. |
Closing issue as now resolved by 61-kmod being built from src. |
Describe the bug
Ever since I've upgraded from v14.0 to v14.1 been getting kernel panics when the X environment gets loaded - BUT, not every time - it seems to when something needs to access DRM, like in my case when VLC loads a DVD.
I don't use a graphical login manager, I login via console and then issue "startx" - always done this and that's never going to change.
With my mentioned card (in the title - RX 550) it's 100% fails now. So I swapped it out for my backup gfx card - which is a RX 6500XT, everything works perfectly! So I ordered another RX550 thinking my gfx card failed in some way (as from personal experiences, kernel panics have always been hardware issues) - well, it turns out that it wasn't. Fault still happens with NEW hardware - so the issue is clearly with the drivers/firmware.
Upon some research found this. It states that the solution is to install drm-61 instead - great! But there's multiple problems with that. First: No pkg currently available to install. Second: Building from ports/source fails (for me at least): -
I would prefer to put my cheaper gfx card back into my main PC, but can't at the moment.
Also seen other issues raised on here that sound slightly similar too.
Please can someone help?
Thanks.
FreeBSD version
FreeBSD mainpc.local 14.1-RELEASE-p4 FreeBSD 14.1-RELEASE-p4 GENERIC amd64 1401000 1401000
PCI Info
DRM KMOD version
To Reproduce
Already mentioned earlier.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Additional info available upon request.
The text was updated successfully, but these errors were encountered: