AMD fglrx not working under centos 7.3

Issues related to hardware problems
nugai
Posts: 13
Joined: 2014/08/01 23:03:19

Re: AMD fglrx not working under centos 7.3

Post by nugai » 2017/03/05 09:15:23

cwatson wrote:Dear nugai, thank you for your detailed instructions. Before I install them, do you know if I have to install the RPM's while I am logged into the latest kernel? I suspect that is not required (as I am currently logged in running 3.10.0-327.36.3, the last one to work) but want to clarify before I install them.

Thanks!
Sorry, can't help you if you're too lazy to try.

amk
Posts: 16
Joined: 2015/06/02 08:02:58

Re: AMD fglrx not working under centos 7.3

Post by amk » 2017/03/05 09:44:24

That's what AMD hardware does - it makes people nervous. ;)

I guess this thread should be renamed to something like: "AMD fglrx not working - ever - anywhere"
What do you say?

@cwatson: Are you lazy? That's cool!
I don't know what's wrong, but (well, not only) here people are mostly working hard, some even harder and what they get from it is pure crap. So maybe your approach is a healthier one. :)
But no, I don't think you are. If you're willing to cope with the AMD nightmare that never works anywhere, I think you're good. :D

cwatson
Posts: 134
Joined: 2007/10/02 18:55:02

Re: AMD fglrx not working under centos 7.3

Post by cwatson » 2017/03/06 19:48:15

Exactly, it was the hesitation of doing something that has the potential to break things on my system. Asking someone's workflow is not lazy, it is cautious.

Well, I attempted to use the newest drivers by following the steps above, but no luck. I had to reinstall 15.12-4 drivers from elrepo-testing and go back to the older kernel.

supertight
Posts: 171
Joined: 2017/02/07 21:47:51

Re: AMD fglrx not working under centos 7.3

Post by supertight » 2017/04/08 16:40:15

amk wrote:That's what AMD hardware does - it makes people nervous. ;)

I guess this thread should be renamed to something like: "AMD fglrx not working - ever - anywhere"
What do you say?

@cwatson: Are you lazy? That's cool!
I don't know what's wrong, but (well, not only) here people are mostly working hard, some even harder and what they get from it is pure crap. So maybe your approach is a healthier one. :)
But no, I don't think you are. If you're willing to cope with the AMD nightmare that never works anywhere, I think you're good. :D
Broadcomm too! Well, I guess you can get the broadcomm stuff to actually work. You have to compile all the stuff yourself due to BS copy write issues. My main laptop has AMD video I've been working at this fglrx issue for a while now. My HDMI port still will not work. lol. I didn't know about the broadcomm thing until I purchased 2 used netbooks, because the price was right and spent hours getting the WiFi to work. Was good to learn about .tar and .GZ. In general, was good to learn the compilation process. Noobs gotta learn somewhere. lmao. World Champ White Belt. Haha

Edit: I'm going to start a Repo and provide all the broadcomm drivers and ready to yum. Let them sue me. The can have the rock I live under.

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: AMD fglrx not working under centos 7.3

Post by hunter86_bg » 2017/04/17 15:59:58

Hey guys,

does this still work :

Code: Select all

wget http://wdl.lug.ro/fglrx/testing/kmod-fglrx-15.12-6.el7.elrepo.x86_64.rpm &&  wget http://wdl.lug.ro/fglrx/testing/fglrx-x11-drv-15.12-6.el7.elrepo.x86_64.rpm && yum ./*15.12-6.el7*.rpm 
I'm asking this as up to now I didn' t need any gpu support - but things have changed.As I have a lot of work to do - I'm not willing to install them prior the end of the week.
I'm using the latest kernel, but I might drop a version or 2.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: AMD fglrx not working under centos 7.3

Post by TrevorH » 2017/04/17 16:10:23

Those are the latest versions in Wolfy's testing repo. Unsure of the status, might want to ask on #elrepo on freenode IRC or on the ELRepo mailing list for more accurate answers.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

drAntarctica
Posts: 4
Joined: 2017/06/26 07:44:41

Re: AMD fglrx not working under centos 7.3

Post by drAntarctica » 2017/06/26 08:04:08

Hi there, everyone, first post in these forums. I've started using CentOS at work and so have only just signed up. I have experience with other distros (mainly Debian-based). I also have experience of having to deal with AMD graphics, as I generally never have had an Nvidia in the past.

I just wanted to say that the instructions given by Nugai on 3rd March did the trick for me. The information might help other people and the developers. Thank you to all. I'm not sure if I am getting my system completely working, but I think this is more of a configuration issue (I hope!).

My situation:
Desktop workstation, with two Radeon HD 8490 / R5 235X cards installed. I have two Display Port monitors attached; one to each. lspci | grep AMD gives (twice):
[...] [AMD/ATI] Caicos XTX [Radeon HD 8490 / R5 235X OEM]

My Linux installation matches this kernel and CentOS release:
Linux version 3.10.0-514.el7.x86_64
centos-release-7-3.1611.el7.centos.x86_64

I use Mate desktop.

Late on Friday, I tried to install the AMD driver from the website with their .run file ("AMD-Catalyst-15.9-Linux-installer-15.201.1151-x86.x86_64.run"). When I rebooted, the pre-login desktop appeared, in a bad resolution, for a few seconds, with a spinner, then the screen goes to the text spew, on which it would hang. I could switch to another terminal (Ctrl-Alt-F2) and do stuff, by startx would fail. I tried to then uninstall the driver using yum, which I think was successful, but it didn't put the problem right.

Over the weekend I search the web and found this discussion. As I say, I followed Nugai's steps, although I didn't need to uninstall the old driver.

The only issue now is that only one of the monitors is working. I have two monitors, one plugged into each card. They both worked prior to Friday. Surely this is a configuration issue (aticonfig?). It's not critical, so I'll leave it until later to do.

drAntarctica
Posts: 4
Joined: 2017/06/26 07:44:41

Re: AMD fglrx not working under centos 7.3

Post by drAntarctica » 2017/06/26 19:44:42

A few notes:

- The items in the panels top and bottom of the Mate DE doubled up after the install. That is, two menu widgets, two clocks, two terminal shortcuts, etc. Everything was duplicated. When I removed one, both copies of the items disappeared. When replaced, only one was added. Weird!
- The second monitor, when I used AMD CCC (amdcccle at the command line) to add it, had the wrong resolution and the desktop wasn't shared properly. When I edited /etc/X11/xorg.conf, duplicating the working monitor, the monitor achieved the correct resolution. A reboot was required. To get the desktop to share, I had to enable Xinerama; however, this was not quite right as the monitors are assumed to be exactly side-by-side, which mine are not. This needs some tweaking, it seems. Also, a lot of rebooting to change display settings during this; it's a bit disruptive.
- there is now a case where Eclipse has crashed a couple of times when I've been dragging files around in its project explorer; I'm not sure if this is related, but it didn't happen before. I'm going to try making repeatable tests on that and changing display settings (e.g. does Xinerama affect this.?..)
- apart from the above everything seems OK and I'm happy. There were some weird graphical glitches which I had before that I haven't seen since switching; memorably, with GitLab open in Firefox, a small square would appear around the cursor which would be a little dimensional rift to a world where the cursor render is persistent...strange (and difficult to describe...sorry no screenshot).

Mudit Singal
Posts: 1
Joined: 2017/08/10 12:01:33

Re: AMD fglrx not working under centos 7.3

Post by Mudit Singal » 2017/08/10 14:17:24

s1m3mu3 wrote:@ pjwelsh
as I mentioned above, using yum results in the same error

Code: Select all

yum install kmod-fglrx-15.12-5.el7.elrepo.x86_64.rpm fglrx-x11-drv-15.12-5.el7.elrepo.x86_64.rpm
Update 06 Feb 2017:
The new AMDGPU-Pro Driver Version 16.60 now also supports my HD 7790 so I am using this driver instead of the fglrx.
I did a simple yum install fglrx64_p_i_c-15.302-1.x86_64_rhel6_64a.rpm and it installed all files with dependencies

kb9mfd
Posts: 18
Joined: 2011/12/13 13:17:56

Re: AMD fglrx not working under centos 7.3

Post by kb9mfd » 2017/10/09 21:56:39

I know this thread is a little old, but this is exactly what I am having a issue with. I was having a dependency issue so for quite a while, maybe a year or two my machine was not updating. I finally fix it and had over 2000 updates done, now I have no graphics, no X. The Kernel is 3.10.0-693.2.2.el7.x86_64 and yum installs version fglrx-x11-drv-15.12-3.el7.elrepo.x86_64. Here is the output of Xorg.0.log

Code: Select all

[    10.190] 
X.Org X Server 1.19.3
Release Date: 2017-03-15
[    10.190] X Protocol Version 11, Revision 0
[    10.190] Build Operating System:  3.10.0-514.16.1.el7.x86_64 
[    10.190] Current Operating System: Linux timothy.schaeffer 3.10.0-693.2.2.el7.x86_64 #1 SMP Tue Sep 12 22:26:13 UTC 2017 x86_64
[    10.190] Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-693.2.2.el7.x86_64 root=UUID=ba371f2c-b87d-4161-9b75-034937256ef2 ro crashkernel=auto rd.md.uuid=a3e6200a:e1cbfb29:4361e89f:e2bfa9d2 rhgb quiet rd.driver.blacklist=nouveau rd.driver.blacklist=radeon
[    10.190] Build Date: 05 August 2017  06:19:43AM
[    10.190] Build ID: xorg-x11-server 1.19.3-11.el7 
[    10.190] Current version of pixman: 0.34.0
[    10.190] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    10.190] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    10.191] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Oct  9 16:27:22 2017
[    10.192] (==) Using config file: "/etc/X11/xorg.conf"
[    10.192] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    10.192] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    10.192] (==) ServerLayout "aticonfig Layout"
[    10.192] (**) |-->Screen "aticonfig-Screen[0]-0" (0)
[    10.192] (**) |   |-->Monitor "aticonfig-Monitor[0]-0"
[    10.193] (**) |   |-->Device "aticonfig-Device[0]-0"
[    10.193] (==) Automatically adding devices
[    10.193] (==) Automatically enabling devices
[    10.193] (==) Automatically adding GPU devices
[    10.193] (==) Automatically binding GPU devices
[    10.193] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    10.193] (==) FontPath set to:
	catalogue:/etc/X11/fontpath.d,
	built-ins
[    10.193] (==) ModulePath set to "/usr/lib64/xorg/modules"
[    10.193] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    10.193] (II) Loader magic: 0x55f66e645020
[    10.193] (II) Module ABI versions:
[    10.193] 	X.Org ANSI C Emulation: 0.4
[    10.193] 	X.Org Video Driver: 23.0
[    10.193] 	X.Org XInput driver : 24.1
[    10.193] 	X.Org Server Extension : 10.0
[    10.196] (II) xfree86: Adding drm device (/dev/dri/card0)
[    10.202] (--) PCI:*(0:0:1:0) 1002:9901:1043:8526 rev 0, Mem @ 0xe0000000/268435456, 0xfeb00000/262144, I/O @ 0x0000f000/256, BIOS @ 0x????????/131072
[    10.202] (II) "glx" will be loaded by default.
[    10.202] (II) LoadModule: "glx"
[    10.207] (II) Loading /usr/lib64/xorg/modules/extensions/fglrx/libglx.so
[    10.207] (II) Module glx: vendor="Advanced Micro Devices, Inc."
[    10.207] 	compiled for 6.9.0, module version = 1.0.0
[    10.207] (II) LoadModule: "fglrx"
[    10.208] (II) Loading /usr/lib64/xorg/modules/drivers/fglrx_drv.so
[    10.290] (EE) Failed to load /usr/lib64/xorg/modules/drivers/fglrx_drv.so: /usr/lib64/xorg/modules/drivers/fglrx_drv.so: undefined symbol: xf86Initialising
[    10.290] (II) UnloadModule: "fglrx"
[    10.290] (II) Unloading fglrx
[    10.290] (EE) Failed to load module "fglrx" (loader failed, 7)
[    10.290] (EE) No drivers available.
[    10.290] (EE) 
Fatal server error:
[    10.290] (EE) no screens found(EE) 
[    10.290] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    10.290] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    10.290] (EE) 
[    10.291] (EE) Server terminated with error (1). Closing log file.

I tried to install the newer version of fglrx, but I get this -

Code: Select all

[root@timothy ~]# rpm -Uvh kmod-fglrx-15.12-6.el7.elrepo.x86_64.rpm fglrx-x11-drv-15.12-6.el7.elrepo.x86_64.rpm
error: Failed dependencies:
        kernel(get_zone_device_page) = 0x6d849ca0 is needed by kmod-fglrx-15.12-6.el7.elrepo.x86_64

dmesg output -

Code: Select all

[root@timothy ~]# dmesg | grep -i radeon
[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.10.0-693.2.2.el7.x86_64 root=UUID=ba371f2c-b87d-4161-9b75-034937256ef2 ro crashkernel=auto rd.md.uuid=a3e6200a:e1cbfb29:4361e89f:e2bfa9d2 rhgb quiet rd.driver.blacklist=nouveau rd.driver.blacklist=radeon
[    0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-693.2.2.el7.x86_64 root=UUID=ba371f2c-b87d-4161-9b75-034937256ef2 ro crashkernel=auto rd.md.uuid=a3e6200a:e1cbfb29:4361e89f:e2bfa9d2 rhgb quiet rd.driver.blacklist=nouveau rd.driver.blacklist=radeon
[    0.028964] smpboot: CPU0: AMD A10-5800K APU with Radeon(tm) HD Graphics (fam: 15, model: 10, stepping: 01)
[    4.079738] [drm] radeon kernel modesetting enabled.
[    4.144190] radeon 0000:00:01.0: VRAM: 768M 0x0000000000000000 - 0x000000002FFFFFFF (768M used)
[    4.144193] radeon 0000:00:01.0: GTT: 1024M 0x0000000030000000 - 0x000000006FFFFFFF
[    4.146021] [drm] radeon: 768M of VRAM memory ready
[    4.146023] [drm] radeon: 1024M of GTT memory ready.
[    4.155179] [drm] radeon: dpm initialized
[    4.185540] radeon 0000:00:01.0: WB enabled
[    4.185543] radeon 0000:00:01.0: fence driver on ring 0 use gpu addr 0x0000000030000c00 and cpu addr 0xffff8803fd62ec00
[    4.185922] radeon 0000:00:01.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xffffc90002035a18
[    4.206109] radeon 0000:00:01.0: fence driver on ring 6 use gpu addr 0x0000000030000c18 and cpu addr 0xffff8803fd62ec18
[    4.206114] radeon 0000:00:01.0: fence driver on ring 7 use gpu addr 0x0000000030000c1c and cpu addr 0xffff8803fd62ec1c
[    4.206117] radeon 0000:00:01.0: fence driver on ring 1 use gpu addr 0x0000000030000c04 and cpu addr 0xffff8803fd62ec04
[    4.206119] radeon 0000:00:01.0: fence driver on ring 2 use gpu addr 0x0000000030000c08 and cpu addr 0xffff8803fd62ec08
[    4.206121] radeon 0000:00:01.0: fence driver on ring 3 use gpu addr 0x0000000030000c0c and cpu addr 0xffff8803fd62ec0c
[    4.206123] radeon 0000:00:01.0: fence driver on ring 4 use gpu addr 0x0000000030000c10 and cpu addr 0xffff8803fd62ec10
[    4.206204] radeon 0000:00:01.0: radeon: MSI limited to 32-bit
[    4.206227] radeon 0000:00:01.0: irq 32 for MSI/MSI-X
[    4.206236] radeon 0000:00:01.0: radeon: using MSI.
[    4.206262] [drm] radeon: irq initialized.
[    5.939049] [drm] Radeon Display Connectors
[    6.034384] fbcon: radeondrmfb (fb0) is primary device
[    6.106120] radeon 0000:00:01.0: fb0: radeondrmfb frame buffer device
[    6.111439] [drm] Initialized radeon 2.49.0 20080528 for 0000:00:01.0 on minor 0

Code: Select all

[root@timothy ~]# lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Complex
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Trinity [Radeon HD 7660D]
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Trinity HDMI Audio Controller
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 40)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 14)
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] FCH PCI Bridge (rev 40)
00:15.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 0)
00:15.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 1)
00:15.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 2)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 5
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
04:00.0 USB controller: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller
I am at a loss. I have uninstalled, reinstalled, removed and tried to use the builtin radeon driver and I cannot get a display at all. Its a Radeon HD 7660D graphics card. Any suggestions??

Post Reply