You are not logged in.

#1 2016-02-06 13:15:00

davy_crockett
Member
Registered: 2015-10-21
Posts: 75

[SOLVED] Graphics card issues and should I try the AMD catalyst driver

Hi there,

When I first installed Arch Linux, I thought the graphics drivers had installed fine, except then I experienced issues with trying to hibernate the system and trying to get HDMI audio to work.
Recently I've also been experiencing issues and system crashes. The hardware I'm using is a Dell Precison M6700 laptop with an AMD FirePro M6000 Graphics Card and a docking station and external monitor. I've been experiencing system crashes only since adding the docking station and external monitor. I keep both my laptop monitor open and the external monitor on so I have 2 displays. This works, however I experience occasional system crashes and occasionally when I turn on the computer, one or both my displays will be blurry or flickery and I resolve this either by turning the display off and on again or restarting the computer. However I can power on my computer about 80% of the time and the displays and graphics work fine and it won't crash.

I noticed on bootup I receive the following error message:

[5.711826] radeon 0000:01:00.0: Invalid ROM contents

When the system crashes, the following messages are printed to my console (sometimes others, but I managed to write these down. I'll write down more if it crashes again)

VCE init error (-22)
radeon 0000:01:00.0: VCE init error (-22)
radeon 0000:01:00.0: ring 5 stalled for more than 1000msec
... (recurring similar messages)

Two potentially related issues - HDMI audio won't work and Hibernate won't work:
https://bbs.archlinux.org/viewtopic.php?id=207924
https://bbs.archlinux.org/viewtopic.php?id=207923

I also received the following messages when I resumed after entering systemctl hibernate in the console (without booting into KDE)

[   59.449920] radeon 0000:01:00.0: VCE init error (-22).
[   70.213873] radeon 0000:01:00.0: ring 5 stalled for more than 10000msec
[   70.213974] [drm:uvd_v1_0_ib_test [radeon]] *ERROR* radeon: fence wait failed (-35).
[   70.213999] [drm:radeon_ib_ring_tests [radeon]] *ERROR* radeon: failed testing IB on ring 5 (-35).
[   70.214008] radeon 0000:01:00.0: scheduling IB failed (-12).
[   70.214023] [drm:radeon_vce_get_create_msg [radeon]] *ERROR* radeon: failed to schedule ib (-12).
[   70.214040] [drm:radeon_vce_ib_test [radeon]] *ERROR* radeon: failed to get create msg (-12).
[   70.214056] [drm:radeon_ib_ring_tests [radeon]] *ERROR* radeon: failed testing IB on ring 6 (-12).
[   70.214060] radeon 0000:01:00.0: scheduling IB failed (-12).
[   70.214074] [drm:radeon_vce_get_create_msg [radeon]] *ERROR* radeon: failed to schedule ib (-12).
[   70.214088] [drm:radeon_vce_ib_test [radeon]] *ERROR* radeon: failed to get create msg (-12).
[   70.214103] [drm:radeon_ib_ring_tests [radeon]] *ERROR* radeon: failed testing IB on ring 7 (-12).
[   74.264854] ERROR @wl_cfg80211_scan : WLC_SCAN error (-22)

I have the xf86-video-ati driver installed, along with mesa-libgl, lib32-mesa-libgl, mesa-vdpau and lib32-mesa-vdpau.

My mkinitcpio.conf file:

MODULES="radeon"
BINARIES="/sbin/mdmon"
FILES=""
HOOKS="systemd autodetect modconf block mdadm_udev sd-encrypt sd-lvm2 filesystems keyboard fsck"

My /etc/default/grub

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="rd.luks.name=ab20aafc-85b8-43ab-9b27-c8dbd9e30cdf=system rd.lvm.lv=system/root rd.lvm.lv=system/swap root=UUID=cd23a73c-70db-428f-9116-978d4e468801 rw resume=UUID=1a72b1f5-8da7-4b7b-9d6b-380f25fee231 splash ipv6.disable=1 radeon.audio=1"
GRUB_CMDLINE_LINUX=""

Last edited by davy_crockett (2017-02-01 03:18:11)

Offline

#2 2016-02-06 14:40:22

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: [SOLVED] Graphics card issues and should I try the AMD catalyst driver

While the docking station is connected , please post lscpi -k FULL output so we can see what hardware is detected and which videocards are present in your system.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2016-02-06 23:08:47

davy_crockett
Member
Registered: 2015-10-21
Posts: 75

Re: [SOLVED] Graphics card issues and should I try the AMD catalyst driver

Output of lspci -k:

00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
        Subsystem: Dell Device 053f
        Kernel driver in use: ivb_uncore
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
        Subsystem: Dell Device 053f
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
        Subsystem: Dell Device 053f
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
        Subsystem: Dell Device 053f
        Kernel driver in use: e1000e
        Kernel modules: e1000e
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
        Subsystem: Dell Device 053f
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
        Subsystem: Dell Device 053f
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1c.3 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 (rev c4)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1c.7 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 8 (rev c4)
        Kernel driver in use: pcieport
        Kernel modules: shpchp
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
        Subsystem: Dell Device 053f
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci
00:1f.0 ISA bridge: Intel Corporation QM77 Express Chipset LPC Controller (rev 04)
        Subsystem: Dell Device 053f
        Kernel driver in use: lpc_ich
        Kernel modules: lpc_ich
00:1f.2 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 04)
        Subsystem: Dell Device 053f
        Kernel driver in use: ahci
        Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
        Subsystem: Dell Device 053f
        Kernel modules: i2c_i801
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Heathrow XT [Radeon HD 7870M]
        Subsystem: Dell FirePro M6000
        Kernel driver in use: radeon
        Kernel modules: radeon
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]
        Subsystem: Dell Device 053f
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
03:00.0 Network controller: Broadcom Corporation BCM43228 802.11a/b/g/n
        Subsystem: Dell Device 0014
        Kernel driver in use: wl
        Kernel modules: bcma, wl
0c:00.0 FireWire (IEEE 1394): O2 Micro, Inc. 1394 OHCI Compliant Host Controller (rev 05)
        Subsystem: Dell Device 053f
        Kernel driver in use: firewire_ohci
        Kernel modules: firewire_ohci
0c:00.1 SD Host controller: O2 Micro, Inc. OZ600RJ0/OZ900RJ0/OZ600RJS SD/MMC Card Reader Controller (rev 05)
        Subsystem: Dell Device 053f
        Kernel driver in use: sdhci-pci
        Kernel modules: sdhci_pci

Offline

#4 2016-02-08 07:21:56

davy_crockett
Member
Registered: 2015-10-21
Posts: 75

Re: [SOLVED] Graphics card issues and should I try the AMD catalyst driver

I placed the following in /etc/X11/20-radeon.conf

Section "Device"
        Identifier "Radeon"
        Driver "radeon"
        Option "AccelMethod" "Glamor"
        Option "DRI" "3"
        Option "TearFree" "on"
EndSection

I also removed Option "EXAVSync" "yes" which I had in there previously (but none of the other options). I've seen some stability improvements, however it hasn't fixed the issue entirely, nor has it resolved my issues with hibernate and HDMI audio. I think I need to get the "Invalid ROM Contents" on startup resolved somehow; I read this thread: https://bbs.archlinux.org/viewtopic.php?id=187388 hence why I originally tried ExAVSync in the above and that made things worse and didn't resolve the message.

Perhaps I should try the Catalyst driver instead? I would very much prefer the xf86-video-ati driver; if only I could get everything fully functional and stable on my hardware. Any ideas, or should I revert?

Last edited by davy_crockett (2016-02-08 07:23:02)

Offline

#5 2016-02-08 14:04:50

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: [SOLVED] Graphics card issues and should I try the AMD catalyst driver

While your M6000 uses the same chipset as radeon 7870card,  it's not identical .

I do think Catalyst may give you better results.

I've checked adm.com ,and for your card /laptop they recommend this driver :
http://support.amd.com/en-us/download/w … .502.1040#

The file that downloads has 14.502.1040-linux-cert-dell.zip as name.
It looks like catalyst, whether it's the same as generic catalyst i don't know.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2016-02-09 09:37:39

davy_crockett
Member
Registered: 2015-10-21
Posts: 75

Re: [SOLVED] Graphics card issues and should I try the AMD catalyst driver

Thanks, I'll give it a try when I have the time; hopefully on the weekend. How do I go about resolving dependencies; what packages will I need to uninstall first and what will I need to downgrade? I presume it will behave similar to the Catalyst driver from the Catalyst repository and that I'll need to uninstall the xf86-video-ati driver and related packages, along with Xorg first?

Offline

#7 2016-02-09 10:38:30

davy_crockett
Member
Registered: 2015-10-21
Posts: 75

Re: [SOLVED] Graphics card issues and should I try the AMD catalyst driver

When uninstalling xf86-video-ati I received the following:

Checking dependencies...

Packages (1) xf86-video-ati-1:7.6.1-1

Total Removed Size:  0.47 MiB

:: Do you want to remove these packages? [Y/n] y
:: Processing package changes...
(1/1) removing xf86-video-ati                                                                             [###############################################################] 100%
ldconfig: File /usr/lib/libkasten2okteta1controllers.so.0.2.1 is empty, not checked.
ldconfig: File /usr/lib/libkasten2okteta1core.so.0.2.1 is empty, not checked.
ldconfig: File /usr/lib/libkasten2controllers.so.2 is empty, not checked.
ldconfig: File /usr/lib/libkasten2okteta1gui.so is empty, not checked.
ldconfig: File /usr/lib/libokteta1gui.so.0.8.1 is empty, not checked.
ldconfig: File /usr/lib/libkasten2gui.so.2 is empty, not checked.
ldconfig: File /usr/lib/libokteta1gui.so.1 is empty, not checked.
ldconfig: File /usr/lib/libkasten2gui.so.0.2.0 is empty, not checked.
ldconfig: File /usr/lib/libkasten2okteta1gui.so.0.2.1 is empty, not checked.
ldconfig: File /usr/lib/libkasten2okteta1controllers.so is empty, not checked.
ldconfig: File /usr/lib/libkasten2core.so.2 is empty, not checked.
ldconfig: File /usr/lib/libokteta1core.so.1 is empty, not checked.
ldconfig: File /usr/lib/libkasten2okteta1controllers.so.1 is empty, not checked.
ldconfig: File /usr/lib/libkasten2okteta1core.so.1 is empty, not checked.
ldconfig: File /usr/lib/libkasten2core.so.0.2.0 is empty, not checked.
ldconfig: File /usr/lib/libokteta1core.so.0.8.1 is empty, not checked.
ldconfig: File /usr/lib/libkasten2controllers.so.0.2.0 is empty, not checked.
ldconfig: File /usr/lib/libokteta1gui.so is empty, not checked.
ldconfig: File /usr/lib/libkasten2core.so is empty, not checked.
ldconfig: File /usr/lib/libkasten2okteta1gui.so.1 is empty, not checked.
ldconfig: File /usr/lib/libkasten2gui.so is empty, not checked.
ldconfig: File /usr/lib/libkonsoleprivate.so is empty, not checked.
ldconfig: File /usr/lib/libokteta1core.so is empty, not checked.
ldconfig: File /usr/lib/libkasten2okteta1core.so is empty, not checked.
ldconfig: File /usr/lib/libkasten2controllers.so is empty, not checked.

Would that be anything to do with the issues I'm experiencing, and will I need to fix this? I've come across this thread: https://bbs.archlinux.org/viewtopic.php?id=85480 however it's old and pacman -Syyf doesn't work (-f is invalid). Using pacman -Qo for these missing files results in no package owns it.

Additionally, the installer for the proprietary graphics drivers reports

error: Detected X Server version 'XServer 1.18.0_64a' is not supported. Supported versions are X.Org 6.9 or later, up to XServer 1.10 (default:v2:x86_64:lib32:XServer 1.18.0_64a:none:4.4.1-2-ARCH:)
Installation will not proceed.

The wiki page for downgrading packages https://wiki.archlinux.org/index.php/do … g_packages also doesn't say how I downgrade packages that aren't in cache. How do I go about downgrading to xorg-server 1.10 if I don't have it in cache?

Last edited by davy_crockett (2016-02-09 11:37:36)

Offline

#8 2016-02-10 12:37:35

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: [SOLVED] Graphics card issues and should I try the AMD catalyst driver

Those libkasten files probably come from an older version of okteta (current version has libkasten3 ) and look like a remnant .
just move the conflicting files to some backup location, then update use system a few days and check logs for any problems.
If no problems, those files can go to /dev/null .

It seems that version of fglrx is much much older then i expected, don't bother with it anymore.

Check catalyst wiki page and try the latest version of Vi0lo's pacakges .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#9 2016-02-12 07:36:04

davy_crockett
Member
Registered: 2015-10-21
Posts: 75

Re: [SOLVED] Graphics card issues and should I try the AMD catalyst driver

I tried installing the driver from Dell posted above, and I used Vi0lo's repository to downgrade to xorg-server v1.10 but the installer still didn't like it, so I used xorg-server v1.15 and vi0lo's catalyst driver.

The good news is I was able to resolve my issues with hibernate (I can now successfully hibernate) and I was also able to resolve my HDMI audio issues, however I tried other things I'll post about in that thread and I think it may have been coincidental. Also, I don't get flickery monitors when I start linux.

The bad news is I get frequent system hangs where the keyboard and mouse go completely unresponsive and I have to hold down the power button on my laptop to turn it off. People have wrote about this issue extensively in this thread and others: https://bbs.archlinux.org/viewtopic.php?id=141563

I'd be happy to use the AMD catalyst driver as long as the system hanging issue is resolved. It's happened EVERY TIME i've powered on my laptop, usually after 30 minutes to an hour.

Offline

#10 2016-04-10 06:27:42

davy_crockett
Member
Registered: 2015-10-21
Posts: 75

Re: [SOLVED] Graphics card issues and should I try the AMD catalyst driver

I played around with reinstalling Arch from scratch with both the proprietary and open source graphics drivers and found out that my system crashes only occurred when it was docked on my docking station. At the moment I am using the open-source graphics driver I now have the following issues:

1. For convenience I would really like to be able to use my docking station without the graphics card/drivers crashing. I have created another thread for this issue here: https://bbs.archlinux.org/viewtopic.php?id=211085
2. With the proprietary catalyst driver, I wasn't able to get my games to work in Wine - notably Rome Total War 2, whereas I could with the open-source driver. This is why I'm now using the open source driver
3. With the open-source graphics driver I can't get hibernate to work. I had a thread about it here but I closed it off https://bbs.archlinux.org/viewtopic.php?id=207923, finding that hibernate worked with the proprietary driver. Can I re-open it to investigate getting hibernate to work with the open-source driver, so my system is fully functional with the open-source driver? Using the proprietary driver is not an option if my games don't work.

Last edited by davy_crockett (2016-04-10 06:28:31)

Offline

#11 2017-02-01 03:16:58

davy_crockett
Member
Registered: 2015-10-21
Posts: 75

Re: [SOLVED] Graphics card issues and should I try the AMD catalyst driver

My laptop's motherboard failed at a later time and replacing the motherboard resolved these issues.

To recap they were:
Receiving errors relating to Radeon when the laptop is on the docking station
Unable to hibernate with the open-source radeon drivers

Both issues were resolved by replacing a faulty motherboard. Surprisingly there was actually nothing wrong with the graphics card

Offline

Board footer

Powered by FluxBB