You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
2.0 KiB
54 lines
2.0 KiB
|
2 years ago
|
# First Install
|
||
|
|
|
||
|
|
I first chose Ubuntu-22.04 because it's the latest Long Term Support (LTS)
|
||
|
|
release and I was reading about ROCm, the AMD equivalent of CUDA for nVidia,
|
||
|
|
and it had 22.04 Ubuntu releases.
|
||
|
|
|
||
|
|
I assumed that whatever problems from driver / package mismatches and errors from
|
||
|
|
bleeding-edge releases would be balanced by frequent fixes.
|
||
|
|
|
||
|
|
However, I eventually abandoned this approach because it became clear from
|
||
|
|
multiple sources that the `amdgpu` unified open source driver stopped supporting
|
||
|
|
Hawaii chipsets (sometimes called `gfx7`) which are the hardware / OEM names for
|
||
|
|
the R9 390s.
|
||
|
|
|
||
|
|
I'm summarizing more briefly my approach here to keep straight what I've already tried
|
||
|
|
and why, in case it's useful to try again in the future for better hardware support, etc.
|
||
|
|
|
||
|
|
I installed three times, until the machine appeared borked (the screen went blank on
|
||
|
|
bootup, or a sick-computer black-and-white screen due to an unrecoverable kernel error.
|
||
|
|
|
||
|
|
In retrospect, these seem likely to have been solvable by two methods:
|
||
|
|
|
||
|
|
* uninstalling newer kernel versions and downgrading to a kernel that others have reported success with
|
||
|
|
* fixing kernel boot parameters in GRUB and trying again.
|
||
|
|
|
||
|
|
## On-board Display
|
||
|
|
|
||
|
|
A key part of this phase of the debugging was setting the "Advanced Configuration"
|
||
|
|
"Chipset Configuration" part of the UEFI / BIOS to use the on-board graphics for display,
|
||
|
|
rather than the GPU. That's because we're using the VGA port on the mainboard.
|
||
|
|
|
||
|
|
## The Latest Unified AMDGPU Driver
|
||
|
|
|
||
|
|
|
||
|
|
## The Latest Radeon Driver
|
||
|
|
|
||
|
|
I still don't know the difference between the two kinds of drivers.
|
||
|
|
|
||
|
|
## DKMS Compile Errors
|
||
|
|
|
||
|
|
The end of this line of inquiry came from repeatedly encountering DKMS compile errors.
|
||
|
|
These got compiled into `/usr/src/module/amdgpu` or some similar path I believe.
|
||
|
|
|
||
|
|
The make would fail due to a preprocessor error about the macro
|
||
|
|
|
||
|
|
```
|
||
|
|
#define NULL ((void *)0)
|
||
|
|
```
|
||
|
|
|
||
|
|
which looks legit to me. The make log would say that it is using gcc-11.4.0
|
||
|
|
but the kernel was built with gcc-11.3.0.
|
||
|
|
|
||
|
|
|