Software > User Zone

Graphics Card install

<< < (2/28) > >>

MauryG5:
I also imagined that Fedora 31 already had something pre-installed since the card is recognized perfectly, the problem is that I don't know how to activate it, I can't understand how to make it operational ... Raptor says that from the next firmware of the Blackbird, it will be possible to activate it but they also say that we have to wait for the Q1 of 2020 which I think is a bit long to wait and so I wanted to understand if it was possible to do it already without the need to wait for the new firmware ...

nglevin:

--- Quote from: MauryG5 on November 30, 2019, 06:10:01 pm ---I also imagined that Fedora 31 already had something pre-installed since the card is recognized perfectly, the problem is that I don't know how to activate it, I can't understand how to make it operational ...

--- End quote ---
You need to share some logs before we can help triage this.

madscientist159's suggestion to share dmesg output (tutorial) which you can pipe to a file, and share with us via a link with a service like dpaste would be a good start.


--- Quote ---Raptor says that from the next firmware of the Blackbird, it will be possible to activate it but they also say that we have to wait for the Q1 of 2020 which I think is a bit long to wait and so I wanted to understand if it was possible to do it already without the need to wait for the new firmware ...

--- End quote ---

Slow down a bit. It sounds like you're talking about the bootloader, aka petitboot, which starts before you load Linux. It sounds like you really want to get the GPU working on Fedora. These are two different problems.


For yourself and future visitors, there is a Wiki for troubleshooting GPU problems on Talos and Blackbird hardware. That's a good place to check for specific issues you come across, and tips to diagnose.

I've found that this page is a little Debian/Ubuntu focused at the moment, owing to many users of Raptor hardware being users of Debian, though the advice should be applicable for all Linux distros.

MauryG5:
Maybe I didn't know how to explain myself. I don't know the procedure you're talking about, unfortunately I'm not a Linux expert, I'm just learning to use it now. I need to understand simply how I can activate my AMD Radeon 5700 XT GPU, which the system recognizes perfectly (including 3D acceleration). I need to figure out how to tell the system, which has to use that to give me the video output, thus activating me, both the HDMI output and the others present in the graphics card. My problem is only this ... If there is also the procedure for Ubuntu it is fine as well, I have also installed the one in another HD, I am mainly interested in Fedora but if you know it for Ubuntu, it's ok anyway, meanwhile I begin to understand how to use the GPU ... Thanks

kmarek:
You may not be able to use the embedded GPU and the AMD GPU at the same time. There may be DMA issues in having both enabled at the same time.

See: https://wiki.raptorcs.com/wiki/POWER9_Hardware_Compatibility_List/PCIe_Devices#AMD
See: https://wiki.raptorcs.com/wiki/Troubleshooting/GPU#Workaround_1:_Disable_on-board_VGA

Note, as the second link says, it may be necessary to disable the embedded GPU by putting a jumper cap on a specific place on the motherboard. Reference page 37 of the Blackbird manual: https://wiki.raptorcs.com/w/images/c/ce/C1P9S01_users_guide_version_1_0.pdf

There isn't a spare jumper there, so if you don't have one (maybe from the back of a junk IDE hard drive), then you may need to buy some: https://www.amazon.com/dp/B00N552DWK/

Hopefully you don't need to disable onboard. More on that later.

That being said, there's a couple of other notes regardless:

Many AMD GPUs do not honor PCIe device resets, so you might have something working one boot, and not have output after a reboot (vs shutdown and fresh power up). Newer versions of the amdgpu driver have a workaround to reset the card, but for a lot of cards, this seems to work exactly twice. This is probably not what's causing your card to no work in Fedora 31 right now, but this may be interfering with some of your tests if you're rebooting every time. Personally, I'm "avoiding" the issue by configuring skiboot to go through a full power cycle when requested to reboot (run in bootloader):

--- Code: ---nvram -p ibm,skiboot --update-config fast-reset=0
--- End code ---

Xorg (typically your display server) does some really weird things when multiple GPUs are active. Usually I find that having displays on both GPUs causes both GPUs to need to render the whole desktop (to then show only the part that they are displaying), but doing this usually limits your performance or features to that of the lesser card. Someone on IRC said they had an AMD GPU working with the embedded AST GPU, but they were missing gamma (display brightness) in having both enabled. Since you're using GNOME, you might be using Wayland, which may behave differently (I'm not well versed in Wayland).

You need firmware in your bootloader if you want your bootloader to display, but it may not play nicely with your Linux OS, anyway. Your bootloader probably doesn't display out your AMD GPU. I'm guessing you're using the embedded HDMI because of this. The bootloader is itself another Linux environment with the amdgpu driver, and will want firmware to actually enable the card. The firmware is not already included because it's not open source/auditable and because there isn't enough space to generically include all GPU firmware. Raptor might be telling you to copy the amdgpu firmware into the bootloader to get the bootloader to display, which isn't necessary to get your Linux OS to display. However, AMD cards do not accept firmware more than once (with resets being a possible exception). The specific issue I ran into after installing firmware is:
- the bootloader would display on a fresh boot
- Fedora's amdgpu would reset the card and load their more up to date firmware
- I'd reboot and the bootloader (having an older amdgpu driver that doesn't reset the card) would fail to load the firmware and panic.
Some of us are avoiding these sorts of issues by not installing GPU firmware into the bootloader. I use serial console when I need to interact with my bootloader (serial console will work regardless of functioning GPU, too).

We'll learn more from dmesg (the command that shows Linux kernel logs).

Please:

If Fedora boots and you have a desktop on the embedded GPU, please open a terminal (search "terminal" in GNOME) and run:

--- Code: ---dmesg
--- End code ---
and copy-paste the output here into a code block.

If Fedora boots, but finally ends up at a black screen or something, switch to a virtual terminal by pressing ctrl-alt-F2 (ctrl-alt-F1 will go back to the first desktop on Fedora, or ctrl-alt-F7 on Ubuntu). When you're at a virtual terminal, log in and run:

--- Code: ---dmesg | fpaste
--- End code ---
then go to the link it outputs on another computer, and copy the output from the link (link is only valid for a day).

If Fedora boots but breaks such that you cannot go to a virtual terminal on the embedded card, reboot, press "e" (edit) in bootloader before booting, and add the following to cmdline to temporarily disable using the AMD GPU at all:

--- Code: ---rd.driver.blacklist=amdgpu modprobe.blacklist=amdgpu rd.driver.blacklist=amdgpudrmfb modprobe.blacklist=amdgpudrmfb
--- End code ---
then, instead of dmesg, run the following and paste that output:

--- Code: ---sudo cat /var/log/messages

--- End code ---

If you're having a different issue, please give more details.

We'll suggest a fix if dmesg makes it clear why the GPU doesn't start.

MauryG5:
Hi, I currently use the HDMI video output integrated in the blackbird obviously because it's the only one I can use because if I try to insert the HDMI cable into the 5700 XT output, it doesn't work at the moment. I will try to execute that command and send the result here in the discussion and we'll see what the system says. Thanks

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version