Page 1 of 1

Borked Catalyst. How to reinstall to open driver?

PostPosted: Aug 23rd, '15, 09:37
by Etherflyer
In the process of trying to remove Catalyst from my machine and reinstall from the now available package in the repositories I somehow borked my mageia install.

Now when I try to start Mageia it just goes to a screen and hangs that says the following:
Code: Select all
Starting netprofile:  [   10.653523  ] ca0132 DOWNLOAD FAILED!!! DSP IS NOT INSTALLED
The default is the current profile.

fglrx (15.20.1046):  Already installed on this kernel.
Checking for new hardware
[   31.699590 ] xt_addrtype: ipv6 does not support BROADCAST matching...


And then just hangs indefinately.

So I guess my question is what do I need to do? Go to a prompt do the mageia equivalent of purge fglrx and load xorg/open driver from prompt? If so how would I do this in mageia? I tried urpme *fglrx* and it didn't seem to have any luck finding the files.

Thanks in advance for the help!

Re: Borked Catalyst. How to reinstall to open driver?

PostPosted: Aug 23rd, '15, 19:13
by doktor5000
Best is to simply run drakx11 and select one of the free drivers, you should find them under Select driver => Xorg => radeon or use any of the generic drivers like vesa.
To remove all the fglrx packages, you could use
Code: Select all
urpme $(rpm -qa|grep fglrx)
but best first show the output here.

Re: Borked Catalyst. How to reinstall to open driver?

PostPosted: Aug 23rd, '15, 21:32
by Etherflyer
k I went to safe mode which dropped me to terminal and put it in. Would paste this in as code but was long enough a picture was just easier.

So looks like it removed a bunch of files, asked me if I wanted to remove the auto oprhans(I didn't). Then I rebooted the machine and tried to just boot Mageia 5 as usual and got the error message that started the thread.

Re: Borked Catalyst. How to reinstall to open driver?

PostPosted: Aug 24th, '15, 19:24
by doktor5000
Did you miss the important part?
doktor5000 wrote:Best is to simply run drakx11 and select one of the free drivers, you should find them under Select driver => Xorg => radeon or use any of the generic drivers like vesa.

Re: Borked Catalyst. How to reinstall to open driver?

PostPosted: Aug 25th, '15, 05:23
by Etherflyer
No I was just waiting in case I wasn't supposed to run it yet since you asked me to:

but best first show the output here.


That being said drakx11 selecting either proprietary or open still lead to the same message detecting fglrx 15.20.1046 until I removed all the orphans. Then I ran drakx11 again (from Mageia safe mode prompt). Proprietary just threw an error message saying my resolution wasn't enough on my monitor no matter which one I picked. Open worked (or seemed to) but on rebooting while not throwing the part about fglrx anymore still went to this error message after hanging...

Code: Select all
ipv6 does not support BROADCAST matching...


And then it'd just hang, and honestly the above doesn't even seem like a graphics error so now I'm kinda confused. Am I pretty much better off just reinstalling and saving my home directory at this point? (I have a backup as well incase it goes south of anything important)

Thanks again for all the patience and help it helped me with the commands if nothing else. :)

Re: Borked Catalyst. How to reinstall to open driver?

PostPosted: Aug 25th, '15, 07:12
by doktor5000
If the boot stops at the point you mentioned, can you try switching to another tty via e.g. Ctrl+Alt+F2 and then login as root and run startx ?

Re: Borked Catalyst. How to reinstall to open driver?

PostPosted: Aug 25th, '15, 07:46
by Etherflyer
When I try it throws a fatal server error.

I can get back to a GUI if I use one of the older kernels though at the boot screen but nothing seems to fix it for the latest and greatest that I've updated too before I removed the Catalyst driver (I'm assuming what's under Mageia 5).

I try going to the log file it indicates but I didn't see anything of use. xorg.0.log. There's an xorg.9.log file it didn't reference me too

End of the file is...

Code: Select all
[    55.152] (--) using VT number 2

[    55.157] (WW) Falling back to old probe method for v4l
[    55.158] (II) [KMS] drm report modesetting isn't supported.
[    55.158] (EE) Screen 0 deleted because of no matching config section.
[    55.158] (II) UnloadModule: "radeon"
[    55.158] (EE) Device(s) detected, but none match those in the config file.
[    55.158] (EE)
Fatal server error:
[    55.158] (EE) no screens found(EE)
[    55.158] (EE)
Please consult the The X.Org Foundation support
    at http://bugs.mageia.org
 for help.
[    55.158] (EE) Please also check the log file at "/var/log/Xorg.9.log" for additional information.
[    55.158] (EE)
[    55.161] (EE) Server terminated with error (1). Closing log file.

Re: Borked Catalyst. How to reinstall to open driver?

PostPosted: Aug 25th, '15, 19:56
by doktor5000
Can you please boot one of the older kernels, and then attach your /etc/X11/xorg.conf and post the output as root of
Code: Select all
rpm -qa|grep -iE "kernel|fglrx"
dkms status
ls -al /boot

Re: Borked Catalyst. How to reinstall to open driver?

PostPosted: Aug 26th, '15, 04:42
by Etherflyer
Code: Select all
[etherflyer@localhost ~]$ rpm -qa|grep -iE "kernel|fglrx"
kernel-desktop-devel-3.19.7-1.mga5-1-1.mga5
kernel-desktop-devel-latest-3.19.8-2.mga5
kernel-firmware-nonfree-20150510-1.mga5.nonfree
kernel-desktop-devel-3.19.8-1.mga5-1-1.mga5
kernel-firmware-20150309-1.mga5
kernel-desktop-3.19.7-1.mga5-1-1.mga5
kernel-desktop-3.19.8-1.mga5-1-1.mga5
kernel-desktop-latest-3.19.8-2.mga5
kernel-desktop-3.19.8-2.mga5-1-1.mga5
kernel-desktop-3.19.6-2.mga5-1-1.mga5
kernel-desktop-devel-3.19.8-2.mga5-1-1.mga5
virtualbox-kernel-3.19.7-desktop-1.mga5-4.3.26-9.mga5
virtualbox-kernel-3.19.8-desktop-2.mga5-4.3.28-2.mga5
virtualbox-kernel-desktop-latest-4.3.28-2.mga5
kernel-userspace-headers-3.19.8-2.mga5
virtualbox-kernel-3.19.8-desktop-1.mga5-4.3.28-1.mga5
[etherflyer@localhost ~]$ dkms status
bash: dkms: command not found
[etherflyer@localhost ~]$ ls -al /boot
total 79040
drwxr-xr-x  4 root root     4096 Jul 16 09:48 ./
drwxr-xr-x 21 root root     4096 Aug 23 00:10 ../
-rw-r--r--  1 root root      440 May  3 13:43 boot.backup.sda
-rw-r--r--  1 root root   171245 May  2 17:24 config-3.19.6-desktop-2.mga5
-rw-r--r--  1 root root   171313 May  8 13:08 config-3.19.7-desktop-1.mga5
-rw-r--r--  1 root root   171313 May 11 09:36 config-3.19.8-desktop-1.mga5
-rw-r--r--  1 root root   171313 May 21 16:55 config-3.19.8-desktop-2.mga5
drwxr-xr-x  2 root root     4096 May 18 14:04 dracut/
-rwxr-xr-x  1 root root   562688 Jun  1 11:55 gfxmenu*
drwxr-xr-x  2 root root     4096 May 22 20:57 grub/
-rw-------  1 root root 14000287 May 10 00:25 initrd-3.19.6-desktop-2.mga5.img
-rw-------  1 root root 11474274 May 10 00:25 initrd-3.19.7-desktop-1.mga5.img
-rw-------  1 root root 11475592 May 11 23:26 initrd-3.19.8-desktop-1.mga5.img
-rw-------  1 root root 11426501 Jul  8 20:50 initrd-3.19.8-desktop-2.mga5.img
lrwxrwxrwx  1 root root       32 May 22 20:57 initrd-desktop.img -> initrd-3.19.8-desktop-2.mga5.img
lrwxrwxrwx  1 root root       32 May 22 20:57 initrd.img -> initrd-3.19.8-desktop-2.mga5.img
-rw-r--r--  1 root root   245460 May  2 17:24 symvers-3.19.6-desktop-2.mga5.xz
-rw-r--r--  1 root root   245460 May  8 13:08 symvers-3.19.7-desktop-1.mga5.xz
-rw-r--r--  1 root root   245444 May 11 09:36 symvers-3.19.8-desktop-1.mga5.xz
-rw-r--r--  1 root root   245444 May 21 16:55 symvers-3.19.8-desktop-2.mga5.xz
-rw-r--r--  1 root root  3224475 May  2 17:24 System.map-3.19.6-desktop-2.mga5
-rw-r--r--  1 root root  3224413 May  8 13:08 System.map-3.19.7-desktop-1.mga5
-rw-r--r--  1 root root  3224733 May 11 09:36 System.map-3.19.8-desktop-1.mga5
-rw-r--r--  1 root root  3224733 May 21 16:55 System.map-3.19.8-desktop-2.mga5
lrwxrwxrwx  1 root root       29 May 22 20:57 vmlinuz -> vmlinuz-3.19.8-desktop-2.mga5
-rw-r--r--  1 root root  4342080 May  2 17:24 vmlinuz-3.19.6-desktop-2.mga5
-rw-r--r--  1 root root  4342208 May  8 13:08 vmlinuz-3.19.7-desktop-1.mga5
-rw-r--r--  1 root root  4343680 May 11 09:36 vmlinuz-3.19.8-desktop-1.mga5
-rw-r--r--  1 root root  4343616 May 21 16:55 vmlinuz-3.19.8-desktop-2.mga5
lrwxrwxrwx  1 root root       29 May 22 20:57 vmlinuz-desktop -> vmlinuz-3.19.8-desktop-2.mga5


Xorg and code posted.

Re: Borked Catalyst. How to reinstall to open driver?

PostPosted: Aug 28th, '15, 23:38
by Etherflyer
Decided to reinstall since everyone including me was stumped. Please close this issue. I'll make sure I'll stick to the packaged drivers this time. Still appreciate all the help though as I learned some commands/what I was putting in incorrectly that will still help me in the future.

Is there a way to give tips to those that help or are we better off just donating to the Mageia project?

Re: Borked Catalyst. How to reinstall to open driver?

PostPosted: Aug 29th, '15, 09:27
by isadora
Etherflyer, donating to the project is always welcome, just as contributing in whatever way:
https://www.mageia.org/en-gb/donate/
https://www.mageia.org/en-gb/contribute/

Closing the topic is maybe just a bit to quick. Lets wait for some reactions on your latest posts.
If not for your case, it might be helpful for others in the future. ;)

Re: Borked Catalyst. How to reinstall to open driver?

PostPosted: Aug 30th, '15, 00:59
by Etherflyer
Sure. :) I just didn't want anyone to think I was still doing without a machine and stressing about it.

Re: Borked Catalyst. How to reinstall to open driver?

PostPosted: Aug 30th, '15, 17:38
by doktor5000
FWIW, the xorg.conf you posted had "ati" (the free driver) as driver, that's probably the case why it was not able to load fglrx driver on boot.
Although why It didn't work to change the drivers via drakx11 is a good question, which I don't know the anwer to.