[elrepo] kmod-fglrx on CentOS 7.3

Manuel Wolfshant wolfy at nobugconsulting.ro
Sat Dec 31 02:18:46 EST 2016


On 12/30/2016 10:46 PM, Andrea Celentano wrote:
>
> Dear  Manuel,
>
> I was able to install the packages you sent me. However, I got in 
> trouble with the following errors:
>
> 1) After reboot, I got a blank screen with an error message, saying 
> "Oh Oh something went wrong..".  Xorg log showed an error, saying that 
> the following file was missing:
>
> /usr/X11R6/lib64/modules/dri/fglrx_dri.so
>
> I created a symlink there poiting to  /usr/lib64/dri/ , where the file 
> is present.
I am pretty sure that the "Oh oh" error and the entry from Xorg.log are 
not related. I have the same error on my CentOS 6 but it still works 
perfectly fine.

That's my log without the symlink you made:
[    40.405] (==) fglrx(0): OpenGL ClientDriverName: "fglrx_dri.so"
[    40.405] (II) fglrx(0): swlDriScreenInit for fglrx driver
[    40.406] (II) fglrx(0): [uki] created "fglrx" driver at busid 
"PCI:0:1:0"
[    40.406] (II) fglrx(0): Kernel Module version matches driver.
[    40.436] (II) fglrx(0): Initialized in-driver Xinerama extension
[    41.434] (EE) AIGLX error: failed to open 
/usr/X11R6/lib64/modules/dri/fglrx_dri.so, 
error[/usr/X11R6/lib64/modules/dri/fglrx_dri.so: cannot open shared 
object file: No such file or directory]
[    41.931] (II) AIGLX: Loaded and initialized OpenGL driver(II) GLX: 
Initialized DRI GL provider for screen 0
[    43.189]    ABI class: X.Org XInput driver, version 21.0

And that's the log with the symlink:
[    43.959] (II) Loading /usr/lib64/xorg/modules/drivers/fglrx_drv.so
[    49.801] (II) fglrx(0): FB driver is not enabled
[    50.323] (==) fglrx(0): OpenGL ClientDriverName: "fglrx_dri.so"
[    50.323] (II) fglrx(0): swlDriScreenInit for fglrx driver
[    50.324] (II) fglrx(0): [uki] created "fglrx" driver at busid 
"PCI:0:1:0"
[    50.324] (II) fglrx(0): Kernel Module version matches driver.
[    50.350] (II) fglrx(0): Initialized in-driver Xinerama extension
[    51.888] (II) AIGLX: Loaded and initialized OpenGL driver(II) GLX: 
Initialized DRI GL provider for screen 0
[    53.453]    ABI class: X.Org XInput driver, version 21.0

[    43.959] (II) Loading /usr/lib64/xorg/modules/drivers/fglrx_drv.so
[    49.801] (II) fglrx(0): FB driver is not enabled
[    50.323] (==) fglrx(0): OpenGL ClientDriverName: "fglrx_dri.so"
[    50.323] (II) fglrx(0): swlDriScreenInit for fglrx driver
[    50.324] (II) fglrx(0): [uki] created "fglrx" driver at busid 
"PCI:0:1:0"
[    50.324] (II) fglrx(0): Kernel Module version matches driver.
[    50.350] (II) fglrx(0): Initialized in-driver Xinerama extension
[    51.888] (II) AIGLX: Loaded and initialized OpenGL driver(II) GLX: 
Initialized DRI GL provider for screen 0
[    53.453]    ABI class: X.Org XInput driver, version 21.0

On my system the end behavior is exactly the same, I for one do not 
perceive any difference at all. It could be, of course, that I am not 
using any of the functions potentially brought in by the fglrx_dri library


> 2) Still, after another reboot, I got the same error message. I was 
> able to o get a graphical environment installing lightdm and using it 
> instead of gdm, and then starting KDE: Gnome still does not work, and 
> I get the same error message if I try to use it in lightdm.
The "Oh oh..." message is normally a sign that your X installation 
misses some packages. I've seen it too a long time back ( more or less 2 
years ago ) but I do not remember exactly if I solved that replacing gdm 
with kdm in /etc/sysconfig/desktop ( which is the most probable thing I 
did ) or  the opposite, replacing kdm with gdm.  I do not yet use EL7 
anywhere so my ability to perform tests in this environment is limited. 
Try adding
         DISPLAYMANAGER = KDE
in  /etc/sysconfig/desktop. If you do more digging and find out how to 
make Gnome work and the changes require modifying the fglrx packages, 
let me know and if possible I will do those modifications.

>
> 3) After logging in to KDE, If I try the following command:
> ati-config-display
>
> I get the error:
>
> Traceback (most recent call last):
>   File "/usr/sbin/ati-config-display", line 19, in <module>
>     import ixf86config
> ImportError: No module named ixf86config
That's an issue I know about. It was reported as 
https://elrepo.org/bugs/view.php?id=651 and 
https://elrepo.org/bugs/view.php?id=701 . I will investigate that as 
well but I am afraid it's due to a change that was introduced by EL 7.3 
and which, at least for now, I cannot solve. Some time ago a similar 
problem was solved by upgrading the drivers. Unfortunately I cannot 
figure out how to do a polite repackaging of the recent drivers shipped 
by ATI ( AMD ). In their current incarnation, AMD provides the 16.50 
drivers as a compressed tar which, upon extraction, gives a bunch of rpm 
packages and a bash script that in theory is supposed to install those 
packages plus some needed dependencies, taken from EPEL. Unpackaging  
those rpm packages and than repackaging is something I'd rather avoid 
doing. But as I said, I need to investigate further, due to lack of time 
I just skimmed over.


More information about the elrepo mailing list