Score:0

fglrx problem with amd gpu drivers

ma flag

i have a radeon r7 APU and 20.04 ubuntu and im trying to install the drivers. i downloaded 4 fglrx files (fglrx-core, fglrx, fglrx-dev, fglrx-amdcccle) and when i try to install the fglrx-core i get the error:

Error! Bad return status for module build on kernel: 5.15.0-57-generic (x86_64) Consult /var/lib/dkms/fglrx-core/15.302/build/make.log for more information. dpkg: error processing package fglrx-core (--install): installed fglrx-core package post-installation script subprocess returned error exit status 10

and heres the make.log

DKMS make.log for fglrx-core-15.302 for kernel 5.15.0-57-generic (x86_64)
Thu 12 Jan 2023 07:29:24 PM +0330
/usr/sbin/dkms: line 80: cd: /var/lib/dkms/fglrx/15.302/build: No such file or directory
make.sh: 42: [: !=: argument expected
AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make -C /lib/modules/5.15.0-57-generic/build SUBDIRS=/var/lib/dkms/fglrx-core/15.302/build/2.6.x modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.0-57-generic'
make[2]: *** No rule to make target 'arch/x86/entry/syscalls/syscall_32.tbl', needed by 'arch/x86/include/generated/uapi/asm/unistd_32.h'.  Stop.
make[1]: *** [arch/x86/Makefile:217: archheaders] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-57-generic'
make: *** [Makefile:88: kmod_build] Error 2
build failed with return value 2

and the other files are all dependante on this one.

i tried purging them and installing them again but that didnt worked.

Score:0
cn flag

fglrx drivers are obsolete and can't be installed to modern Ubuntu releases for many years.

amiroof avatar
ma flag
so how to i install the proper drivers for my gpu? its the only thing thats on the amd website.
Pilot6 avatar
cn flag
You don't need to install any drivers. AMD drivers are included in Ubuntu.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.