Installer hangs (amdgpu) - Solved

Questions about the installation of FreeBSD
Post Reply
crimson
Posts: 2
Joined: Sat Dec 10, 2022 7:24 am

Installer hangs (amdgpu) - Solved

Post by crimson »

Hello everyone,

I have been trying to install GhostBSD on two of my PCs, but unfortunatelly the installer hangs as soon as it tries to set up the GPU drivers:

Code: Select all

Setting up (amdgpu).. Please wait..
I have waited up to 2 hours but there was nothing happening after this point (no disk activity either).
Installing FreeBSD 13.1 and manuelly setting up a Desktop or booting from a NomadBSD USB works perfectly fine on both PCs.

What I have tried:

- Redownload the installer
- Use another USB drive
- Use another PC to flash the USB drive
- Use another Software to flash the USB drive
- Disable vesa detection in the bootloader

What worked:

- Disable APU / replace the AMD GPU in my PCs with a Nvidia Quadro 600 (undesirable)
- Install GhostBSD on another PC (Intel Core i5-4690 with HD 4600 graphics)

Hardware I use:

- PC one (Radeon RX 5700 XT): https://bsd-hardware.info/?probe=d27fd3b1a7
- PC two (Radeon Vega 3): https://bsd-hardware.info/?probe=15657b37e2

Is there anything I can do? Or is my RX 5700 XT or Athlon 3000G not supported?

Cheers :)
Last edited by crimson on Sat Dec 10, 2022 12:03 pm, edited 1 time in total.
wb7odyfred
Posts: 207
Joined: Sat Nov 12, 2016 5:44 pm

Re: Installer hangs (amdgpu)

Post by wb7odyfred »

Thank you for you thorough testing and very complete report. Much better than , "does not work." Eric will look at this report and give direction on what to do for further testing. Thank you for this complete report and I am glad you gave GhostBSD a test drive on your PC computer system.

your use of the term "installing" means which operation? 1.) executing GBI app GhostBSD Installer? or 2.) booting up from USB flash drive live image?

what are the contents of files /boot/loader.conf and /etc/rc.conf in particular the loading of graphic card device drivers.?

You are welcome to chat on telegram with other users [url]https:/t.me/ghostbsd[\url] perform a word search there on Nvidia or on amdgpu. See if you can find previous discussions on installing graphic drivers for Nvidia and for AMD GPU.

510 version is the latest one that GhostBSD uses for Nvidia. Verify which version of Nvidia firmware is supported for your Nvidia graphics card.

amdgpu driver supports Vega 10. Vega 3 I am not sure if supported.

I like your method of booting up with a working graphic card. You can edit files /boot/loader.conf /etc/rc.conf to add or change to correct driver name. "poweroff" ; change out graphic cards ; reboot and see if modified files work with new graphic card.
wb7odyfred
Posts: 207
Joined: Sat Nov 12, 2016 5:44 pm

Re: Installer hangs (amdgpu)

Post by wb7odyfred »

Thank you for you thorough testing and very complete report. Much better than , "does not work." Eric will look at this report and give direction on what to do for further testing. Thank you for this complete report and I am glad you gave GhostBSD a test drive on your PC computer system.

your use of the term "installing" means which operation? 1.) executing GBI app GhostBSD Installer? or 2.) booting up from USB flash drive live image?

what are the contents of files /boot/loader.conf and /etc/rc.conf in particular the loading of graphic card device drivers.?

You are welcome to chat on telegram with other users [url]https:/t.me/ghostbsd[/url] perform a word search there on Nvidia or on amdgpu. See if you can find previous discussions on installing graphic drivers for Nvidia and for AMD GPU.

510 version is the latest one that GhostBSD uses for Nvidia. Verify which version of Nvidia firmware is supported for your Nvidia graphics card.

amdgpu driver supports Vega 10. Vega 3 I am not sure if supported.

I like your method of booting up with a working graphic card. You can edit files /boot/loader.conf /etc/rc.conf to add or change to correct driver name. "poweroff" ; change out graphic cards ; reboot and see if modified files work with new graphic card.
wb7odyfred
Posts: 207
Joined: Sat Nov 12, 2016 5:44 pm

Re: Installer hangs (amdgpu)

Post by wb7odyfred »

Techie Chap, I searched on word amdgpu and found this https://t.me/ghostbsd/117166

file /etc/rc.conf contents:
zfs_enable="YES"
kld_list="linux linux64 cuse fusefs amdgpu /boot/modules/amdgpu.ko"
linux_enable="YES"
ntpd_enable="YES"
ntpd_sync_on_start="YES"
devfs_enable="YES"
devfs_system_ruleset="devfsrules_common"
dbus_enable="YES"
lightdm_enable="YES"
webcamd_enable="YES"
cupsd_enable="YES"
avahi_daemon_enable="YES"
avahi_dnsconfd_enable="YES"
moused_enable="YES"
ig4_enable="YES"
ipfw_enable="YES"
firewall_enable="YES"
ifconfig_re0="DHCP"
keymap="us.kbd"
hostname="trueos-5034"


Check out this long technical forum post.
https://forums.freebsd.org/threads/lapt ... 060.84304/

ghostbsd.org/download get "latest" version .iso file , burn to USB flash drive, boot live image from that USB flash drive. Run gbi installer app to install to SSD or hard drive.

A Freebsd forum post talks specifically for 1002:15e8
https://forums.freebsd.org/threads/amd- ... -16.73901/
Last edited by wb7odyfred on Sat Dec 10, 2022 11:11 am, edited 3 times in total.
User avatar
neville
Developer
Posts: 144
Joined: Fri Aug 13, 2021 10:27 am
Location: Japan

Re: Installer hangs (amdgpu)

Post by neville »

Welcome to GhostBSD! Sorry about the trouble you're having. I'm using amdgpu with no problem at all. What version of GhostBSD did you download?
Try using one of the latest builds and see how that goes
crimson
Posts: 2
Joined: Sat Dec 10, 2022 7:24 am

Re: Installer hangs (amdgpu)

Post by crimson »

neville wrote: Sat Dec 10, 2022 10:08 amWhat version of GhostBSD did you download?
I downloaded the GhostBSD 22.06.18 ISO and used is as a LiveCD to install it.

Somehow I remebered reading that some people had problems installing *BSD to their PC when CSM wasn't enabled, even if they used UEFI media.
Turnes out that enabling CSM on my PCs BIOS resolved the issue as well. O.o
I have no idead how or why this helped, but I could install it on the Athlon 3000G PC and boot into LiveCD on the Ryzen / 5700 XT PC.

Thanks nonetheless for every reply, maybe someone runs into the same problem one day and finds this Post. :D

hw-probe: https://bsd-hardware.info/?probe=d8d6af9e56
User avatar
neville
Developer
Posts: 144
Joined: Fri Aug 13, 2021 10:27 am
Location: Japan

Re: Installer hangs (amdgpu) - Solved

Post by neville »

Nice! We also have a telegram channel if you have any further questions or comments. Thanks for trying GhostBSD and thanks for the feedback
User avatar
ericbsd
Developer
Posts: 2116
Joined: Mon Nov 19, 2012 7:54 pm

Re: Installer hangs (amdgpu) - Solved

Post by ericbsd »

@crimson better use the last build instead of the release. 22.06.18 has a couple of firmware missing for AMD and Intel GPU.
jdw100
Posts: 1
Joined: Sat May 13, 2023 1:53 am

Re: Installer hangs (amdgpu) - Solved

Post by jdw100 »

I believe I have the same issue. When attempting to install the GhostBSD system post the 22-01-12 release, I will get the amdgpu hanging at the install as well. I can correct it with a workaround by booting the ISO the old way, "Legacy" as my BIOS shows it which seems to be what crimson was saying also. Upon doing that however, there is an issue with having EFI and non-EFI partitions. [I have Windows and Linux on the same drive as well.] In short I cannot use the older legacy way with my computer due to needing EFI partitions. Nevertheless, the 22-01-12 works with EFI as well as earlier ones. I tried the April of this 2023 year and it still has the same problem. My laptop has a built in Radeon Vega Graphics and I think it is a Ryzen 3 processor.
wb7odyfred
Posts: 207
Joined: Sat Nov 12, 2016 5:44 pm

Re: Installer hangs (amdgpu) - Solved

Post by wb7odyfred »

https://ghostbsd.org/download June 1, 2023 new release to test drive on your PC hardware https://bsd-hardware.info
burn GhostBSD-23-06-01.iso to a usb flash drive stick. boot usb flash drive stick, use the "live media"

pkg install hw-probe
get internet connection operational
ifconfig ue0 up
dhclient ue0
hw-probe -all -upload

See what devices are supported on your PC hardware
Post Reply