Topic Title: Radeon HD 7790 and Ubuntu 13.04 (Raring)
Topic Summary: Cannot install AMD Radeon™ HD7790 Catalyst™ Performance Driver
Created On: 07/25/2013 03:47 PM
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 07/25/2013 03:47 PM
User is offline View Users Profile Print this message

Author Icon
Vertago1
Peon

Posts: 2
Joined: 01/09/2010

I am running ubuntu 13.04 with kernel 3.8.0-26

I just got a Radeon HD 7790 and was trying to get it to work. fglrx doesn't recognize the card so I tried to install the driver here:

http://support.amd.com/us/kbarticles/Pages/RadeonHD7790CatalystPerformanceDriver.aspx

I was able to generate the packages by running:

./amd-driver-installer-radeon-hd7790-12.101.2.1-linux-x86.x86_64.run --buildpkg Ubuntu/raring

when I try to install the packages fglrx is unable to compile the kernel module I checked the log and it said 

DKMS make.log for fglrx-12.101 for kernel 3.8.0-26-generic (x86_64)
Thu Jul 25 14:08:38 CDT 2013
AMD kernel module generator version 2.1
kernel includes at /lib/modules/3.8.0-26-generic/build/include not found or incomplete
file: /lib/modules/3.8.0-26-generic/build/include/linux/version.h

So I did the following work around: 

cd /lib/modules/3.8.0-26-generic/build/include/linux
sudo ln -s ../generated/uapi/linux/version.h version.h

but it still fails to build with the following error:

DKMS make.log for fglrx-12.101 for kernel 3.8.0-26-generic (x86_64)
Thu Jul 25 14:31:04 CDT 2013
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/3.8.0-26-generic/build SUBDIRS=/var/lib/dkms/fglrx/12.101/build/2.6.x modules
make[1]: Entering directory `/usr/src/linux-headers-3.8.0-26-generic'
  CC [M] /var/lib/dkms/fglrx/12.101/build/2.6.x/firegl_public.o
/var/lib/dkms/fglrx/12.101/build/2.6.x/firegl_public.c: In function ‘KCL_EFI_IS_ENABLED’:
/var/lib/dkms/fglrx/12.101/build/2.6.x/firegl_public.c:3086:5: warning: return makes integer from pointer without a cast [enabled by default]
/var/lib/dkms/fglrx/12.101/build/2.6.x/firegl_public.c: In function ‘KCL_MEM_VM_MapRegion’:
/var/lib/dkms/fglrx/12.101/build/2.6.x/firegl_public.c:3946:39: error: ‘VM_RESERVED’ undeclared (first use in this function)
/var/lib/dkms/fglrx/12.101/build/2.6.x/firegl_public.c:3946:39: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [/var/lib/dkms/fglrx/12.101/build/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/var/lib/dkms/fglrx/12.101/build/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-26-generic'
make: *** [kmod_build] Error 2
build failed with return value 2

I am trying to get my system back to normal.

I think next I am going to see if the beta drivers work for the radeon hd 7790.

 07/25/2013 04:02 PM
User is offline View Users Profile Print this message

Author Icon
Vertago1
Peon

Posts: 2
Joined: 01/09/2010

I tried out the 13.4 generic driver and was able to build the deb packages and get them to work.

My guess is that the fglrx in the ubuntu repo is too old for the card, and the specific driver released for the hd 7790 was a revert back to a version that doesn't support the 3.8 linux kernel.

Statistics
87568 users are registered to the AMD Support and Game forum.
There are currently 7 users logged in.

FuseTalk Hosting Executive Plan v3.2 - © 1999-2014 FuseTalk Inc. All rights reserved.