Graphics Driver for Ryzen5600+Gigabyte B550

I am out of ideas for getting display to work.
The old setup - P8Z77 + DDR3 RAM - worked well with Geforce 710 graphics card when I could not get its onboard graphics to work.

The new setup has caused sleepless nights. I tried to get the onboard video to load varying Desktop Environments - sway, mate, fvwm, etc. - but no luck.

I installed a ddr3 Geforce card on the ddr4 Gigabyte B550 Vision D-P board; no screen too.
I have done all possible to make all work but no luck. I am now about buying another graphics card and wanted to be sure if it is needed.

The NICs on the board won't work until I got the module/driver from 13.0-stable/14-current. I have switched to 13.0-Stable, yet no luck.
I have followed all instructions on the net - e.g. https://forums.freebsd.org/threads/ryzen-b450-radeon-rx-550-kernel-panic.74654/.

Attached are a few images (apologies for the quality) showing that the OS doesn't successfully recognise the hardware despite all forms of drivers loaded.

In short, I had a similar problem with the other old board, when the high-end GPU card on it failed and onboard won't work. That was when I got the Geforce 710. What cards would you now recommend? And why won't the onboard cards not (usually) work for Gigabyte boards I.e. Xorg log reporting no screen until an external/pci card is attached?
 

Attachments

  • graphics_card_detected.jpg
    graphics_card_detected.jpg
    99.4 KB · Views: 204
  • no_screen_found.jpg
    no_screen_found.jpg
    97.3 KB · Views: 178
I have a little difficulties with understanding what is your current setup that is causing problems. Is it GeForce 710 (should work just fine with proprietary drivers) + Gigabyte B550? What is your CPU, is that some Ryzen with integrated graphics?
 
I have a little difficulties with understanding what is your current setup that is causing problems. Is it GeForce 710 (should work just fine with proprietary drivers) + Gigabyte B550? What is your CPU, is that some Ryzen with integrated graphics?
Apologies.
Yes, it(Geforce 710) should work as I read that a ddr3/gddr4 graphics card could work on such setup using ddr4. The current problematic setup is - Ryzen5600+B550+Ddr4 RAM.

The integrated graphics on B550 mobo requires a CPU that support it. And the AMD CPU Ryzen 5600G is with a Radeon Graphics & fan. The onboard graphics should work too. Take a closer look at the attached images you will see question marks in the Xorg log. Both graphic devices @ pci:76:0:0 & pci:84:0:0 are question-marked.
 
If you want to use the onboard graphic card from inside you're CPU which is a Radeon™ Graphics then you have to install "drm-fbsd13-kmod" if you are on FreeBSD 13 or "drm-devel-kmod-5.5.19.g20211230" if you are on CURRENT or the latest.

Info: https://www.freshports.org/graphics/drm-fbsd13-kmod/
Trust me. I have done all that. I had a list of installed pkgs with their versions. In fact, I had drm-devel-kmod; it builds only on current.
 
What I do in this situation is this: remove the nvidia card, do a load factory defaults in the bios and work only with the amdgpu. But before everything try to see if xorg loads with driver vesa first.
 
… work only with the amdgpu. …

For AMD Ryzen 5 5600G with Radeon Graphics, <https://bsd-hardware.info/?id=cpu:amd-25-80-0-ryzen-5-5600g-with-radeon-graphics&hwid=e76068026a5b> does show amdgpu working on 9th January with FreeBSD 14.0-CURRENT main-n252294-fcbb1441d07 i.e. <https://cgit.freebsd.org/src/log/?qt=range&q=fcbb1441d07>

Lamia please, is that (Ryzen 5 5600G) a match for your hardware in the context of this topic?

Can you recall which version of 14.0-CURRENT you tried?



Aside:

… I had drm-devel-kmod; it builds only on current. …

Not to recommend stable/13 over main in this case, but what happened when you attempted the build on stable/13?
 
match for your hardware in the context of this topic?

Can you recall which version of 14.0-CURRENT you tried?
Yes, it is a match.

I only got the network drivers from 14.0-current; I could not successfully build 14.0(no make or src confs, even when llvm12 was set over current llvm13). I was instead using 13.0-Stable, which also had the drivers. Technically, 13-current would be 13.0-Stable, which will become 13.1. So that is how my use of the word current came to be. 14 would be highly unstable to use now.

Not to recommend stable/13 over main in this case, but what happened when you attempted the build on stable/13?
No luck either. I would say the devices were all detected. The Xorg log error now changes from "no devices detected" to "no screen".


A few hours ago, someone in IRC mentioned a Ryzen 7 5700u with a Lucienne. Coincidence? Or was that you trying a different card?
Nope.

I have now tried OpenBSD7, which correctly labelled the cards unlike FreeBSD with its '????' in the Xorg log. Yet, no DE had worked. I spent ample time on the bsd-hardware site too. This setup is rare, in fact, no B550 but B450. All 5600(G) showed "detected" for both BSDs - which does not necessarily mean working - hence "worked" is not written for the cards, unlike other devices. I am now buying a graphics card as I did for the other board/PC.
 
… I am now buying a graphics card as I did for the other board/PC.

OK, thanks.

… could not successfully build 14.0 … Technically, 13-current …

I'll cover those points in another recent topic.

… OpenBSD7, which correctly labelled the cards unlike FreeBSD with its '????' in the Xorg log.

In all FreeBSD cases: were you entirely free from manually-created X.Org configuration files?

Yet, no DE had worked. …

I have no experience with OpenBSD, but that surprises me. I'll create a virtual machine (and discuss in an OpenBSD area, if necessary).
 
In all FreeBSD cases: were you entirely free from manually-created X.Org configuration files?
Perhaps no. I recreated it. For example, nvidia-xconfig was used for the Geforce card, I also created a few confs in the Xorg.confd in order to load other drivers - vesa, modesetting, scfb, ati, etc.


I'll cover those points in another recent topic.
SirDice and many others have exhaustively explained it. That was my literal inference since there is not main branch (current) for 13.0 or other versions but STABLE.

I can see several open discussions on this matter in this forum and several others. Together we make the *BSD better as a client(desktop)/server OS. Thanks to you folks.
 
Got FBSD14 going on Generic. Now updating pkgs.
How can one build a poudriere jail of it? The -v argument accepts stable or release and ver. no.
 
Have you checked, whether your pci identifiers (check via pciconf -lv are actually listed in drm-kmod? You might need to patch similar to this:

This obviously only works with at least 13/stable.
 
Got FBSD14 going on Generic. …

How can one build a poudriere jail of it? …

poudriere jail -c -j main -m src=/usr/src

This uses the recently pulled source code for main i.e. CURRENT to create a jail named main.

Looking ahead

After each update of the operating system from source, you can habitually:

poudriere jail -u -j main
 
Just chiming in:

DDR3 vs DDR4: That matters with RAM, but not GPU. For GPU, the cards go into a PCIe slot. One word of caution - in the BIOS, it's possible to disable specific PCIe slots. So, stuff your GPU in, make a note of which PCIe slot it occupies, boot into BIOS, and make sure that specific slot is enabled. Oh, while you're at it, you might also want to disable the integrated graphics (that's also done in the BIOS). FreeBSD is pretty good at figuring out what's enabled, and will tell you that info. Hope this helps.
 
The Void OS, though as lean as *BSD, won't load the GUI.
Debian gave me no headache.
These tests are for both the onboard graphics and the Nvidia card.

The conclusion is that a gddr4 (or ddr3) graphics card can work on ddr4 mobo/board. AMD graphics drivers on Debian are lagging behind for some new gen boards - e g. Vision B550. Despite installing the firmware-amdgpu-drivers pkg (with others already installed e.g. libdrm* & xf64-amd* drivers), the mobo with its onboard graphics AND Ryzen CPU with Radeon Graphics integrated won't get GUI loaded. But the Nvidia card worked.

I am now waiting for RTX 2060 shipped last Monday. It is fails too on *BSD, hmm....
 
I am happy to continue testing. FBSD 14 looks irresistible for a desktop OS. And there are still several of our machines across the globe running FBSD.
 
The conclusion is that a gddr4 (or ddr3) graphics card can work on ddr4 mobo/board.
The video card memory is a bunch of chips on the video card itself connected to the GPU chip which in turn communicates with the CPU through the PCI-E bus. VRAM can't be incompatible with motherboard (CPU, actually) on principle, they aren't directly connected.
 
I could not find where I mentioned 5600x. I have the 5600G. Thanks for your input above about VRAM.
If you have 5600G, that one has integrated graphics. You'll need to get into the BIOS to make use of the GPU card, otherwise the RTX 2060 is pointless.
--
Type of RAM on a GPU has nothing to do with type of RAM a motherboard has. The important part is frankly the PCIe slot on the motherboard - it needs to be labeled PCIe x16.
 
If you have 5600G, that one has integrated graphics. You'll need to get into the BIOS to make use of the GPU card, otherwise the RTX 2060 is pointless
Thank you Sir. The onboard is "IGD Video" in Bios and it is interchangeably selected with the PCIe2, which is X16, for the Gefor e 710. Selecting one then the other make me test both cases.
I reckon it is the PCIe slot too than determines if a graphics card would work. The min. for the card is x4 and it worked on PCIeX4 slot for the old mobo after exhausting X16 & X8 slots.

There were controversies that such card might not work on high-end boards and that has been addressed now. Perf. might suffer over time.

Thanks.
 
Thank you Sir. The onboard is "IGD Video" in Bios and it is interchangeably selected with the PCIe2, which is X16, for the Gefor e 710. Selecting one then the other make me test both cases.
I reckon it is the PCIe slot too than determines if a graphics card would work. The min. for the card is x4 and it worked on PCIeX4 slot for the old mobo after exhausting X16 & X8 slots.

There were controversies that such card might not work on high-end boards and that has been addressed now. Perf. might suffer over time.

Thanks.
nah, if the GPU is enabled in the BIOS, it should definitely work. The PCIe x16 slot gives the GPU the most data bandwidth. Your RTX 2060 is gonna be fine.
--
The point of installing a GPU in an x16 slot (as opposed to x8 or x4) is to avoid a data bottleneck, and allow the GUI to be responsive. Even something as powerful as RTX 3090 will seem slower in an x8 slot than in an x16 slot. Generally, the best practice is to stuff the GPU into an x16 slot, and other cards into the x8/x4 slots.
--
Just to point out - your B550 board probably has just one x16 slot for PCIe. A high-end board (X399, for a Threadripper) would have at least 2 x16 slots, and cost 2-3 times as much as a B550 board.
 
I started on s clean slate, as a last resort, and things are taking shape. I's relying on Stable & Current for missing drivers. I now have both the onboard graphics and Geforce PCIe card working. I am still fine-tuning the system.

On trying to setup poudriere, I got this error:

Code:
$ poudriere jail -c -j 130SAmd64 -m git+ssh -v stable/13 -a amd64
.....
......
--- _bootstrap-tools-lib/libopenbsd ---
cc  -O2 -pipe -fno-common -I/usr/local/poudriere/jails/130SAmd64/usr/src/lib/libopenbsd  -g -MD  -MF.depend-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member  -Qunused-arguments    -I/usr/obj/usr/local/poudriere/jails/130SAmd64/usr/src/amd64.amd64/tmp/legacy/usr/include -c /usr/local/poudriere/jails/130SAmd64/usr/src/lib/libopenbsd/imsg.c -o imsg.o--- _bootstrap-tools-usr.bin/fortune/strfile ---
ld: error: unknown argument '--no-threads'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [strfile.full] Error code 1

make[3]: stopped in /usr/local/poudriere/jails/130SAmd64/usr/src/usr.bin/fortune/strfile
1 error

make[3]: stopped in /usr/local/poudriere/jails/130SAmd64/usr/src/usr.bin/fortune/strfile

make[2]: stopped in /usr/local/poudriere/jails/130SAmd64/usr/src
--- _bootstrap-tools-lib/clang/libllvmminimal ---

make[2]: stopped in /usr/local/poudriere/jails/130SAmd64/usr/src
--- _bootstrap-tools-lib/libopenbsd ---

make[2]: stopped in /usr/local/poudriere/jails/130SAmd64/usr/src
--- _bootstrap-tools-usr.bin/dtc ---

make[2]: stopped in /usr/local/poudriere/jails/130SAmd64/usr/src

make[1]: stopped in /usr/local/poudriere/jails/130SAmd64/usr/src

make: stopped in /usr/local/poudriere/jails/130SAmd64/usr/src
[00:08:06] Error: Failed to 'make buildworld'
[00:08:06] Error while creating jail, cleaning up.

What could be wrong? All current, releng & stable are failing.
 
Back
Top