Hi,
I replaced an old NVIDIA GeForce GTX550Ti
with a brand new
SAPPHIRE DUAL-X OC with Boost (UEFI) 100373-2L AMD Radeon R9 280 3GB 384-Bi GDDR5 PCI-E
I tried and documented below my attempts with:
1)Debian vesa driver
2)Debian radeon driver
3)debian fglrx driver:
4.1)Beta fglrx from AMD 128742301 Jul 11 02:47 amd-driver-installer-14.20-x86.x86_64.run
4.2)Latest fglrx from AMD 157989882 Nov 28 13:59 amd-driver-installer-14.501.1003-x86.x86_64.run
Any help or advice apreciated. Thanks!
Code:
root@quad:/home/olivier# lspci -nn|grep VGA
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280] [1002:679a]
Running
deb
http://ftp.us.debian.org/debian/ unstable main contrib non-free
These prerequisite are installed:
Code:
ii xserver-xorg-video-vesa 1:2.3.3-1+b3 amd64 X.Org X server -- VESA display driver
ii firmware-linux-nonfree 0.43 all Binary firmware for various drivers in the Linux kernel
ii libgl1-mesa-dri:amd64 10.3.2-1 amd64 free implementation of the OpenGL API -- DRI modules
ii xserver-xorg-video-ati 1:7.5.0-1 amd64 X.Org X server -- AMD/ATI display driver wrapper
ii xserver-xorg-video-radeon 1:7.5.0-1 amd64 X.Org X server -- AMD/ATI Radeon display driver
#Prefer gmd3 but can try xdm:
ii gdm3 3.14.1-3 amd64 GNOME Display Manager
ii libgdm1 3.14.1-3 amd64 GNOME Display Manager (shared library)
ii libxdmcp6:amd64 1:1.1.1-1+b1 amd64 X11 Display Manager Control Protocol library
ii xdm 1:1.1.11-1 amd64 X display manager
1)Debian vesa driver:
Code:
root@quad:/etc/X11# cat xorg.conf
Section "ServerLayout"
Identifier "layoutid"
Screen "screenid"
EndSection
Section "Screen"
Identifier "screenid"
Device "devid"
Monitor "monid"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Device"
Identifier "devid"
#Driver "fglrx"
#Driver "radeon"
#Driver "ati"
Driver "vesa"
#Driver "nv"
#Driver "nvidia"
BusID "PCI:1:0:0"
EndSection
Section "Monitor"
Identifier "monid"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
root@quad:/etc/X11#
root@quad:/home/olivier# /etc/init.d/gdm3 restart
[ ok ] Restarting gdm3 (via systemctl): gdm3.service.
root@quad:/home/olivier#
I get a low definition:
Code:
Oh no! Something has gone wrong.
A problem has occurred and the system can't recover
Please log out and try again.
Xorg.0.log shows these errors:
Code:
[ 7178.940] (EE) AIGLX: reverting to software rendering
[ 7178.973] (EE) AIGLX error: dlopen of /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so failed (/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: undefined symbol: _glapi_tls_Dispatch)
[ 7178.973] (EE) GLX: could not load software renderer
[ 7178.973] (II) GLX: no usable GL providers found for screen 0
Please see Xorg.0.log_vesa.txt in attachment.
2)Debian radeon driver:
Let X autoconfigure itself for radeon:
Code:
root@quad:/etc/X11# rm xorg.conf
root@quad:/home/olivier# /etc/init.d/gdm3 restart
[ ok ] Restarting gdm3 (via systemctl): gdm3.service.
root@quad:/home/olivier#
I get a high definition:
Code:
Oh no! Something has gone wrong.
A problem has occurred and the system can't recover
Please log out and try again.
Code:
root@quad:/etc/X11# lsmod |egrep "radeon|fglrx"
radeon 1341087 2
ttm 69670 1 radeon
drm_kms_helper 49210 1 radeon
drm 249955 5 ttm,drm_kms_helper,radeon
i2c_algo_bit 12751 1 radeon
i2c_core 46012 5 drm,i2c_piix4,drm_kms_helper,i2c_algo_bit,radeon
root@quad:/etc/X11#
Xorg.0.log shows these errors:
Code:
[ 7492.970] (EE) open /dev/dri/card0: No such file or directory
[ 7492.970] (EE) open /dev/dri/card0: No such file or directory
[ 7492.975] (EE) open /dev/fb0: No such file or directory
[ 7492.975] (EE) open /dev/fb0: No such file or directory
[ 7492.975] (EE) Screen 0 deleted because of no matching config section.
[ 7492.975] (EE) Screen 0 deleted because of no matching config section.
[ 7492.975] (EE) Screen 0 deleted because of no matching config section.
[ 7493.171] (EE) AIGLX: reverting to software rendering
[ 7493.205] (EE) AIGLX error: dlopen of
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so failed
(/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: undefined symbol:
_glapi_tls_Dispatch)
[ 7493.205] (EE) GLX: could not load software renderer
Please see Xorg.0.log_radeon.txt in attachment.
xdm gives me the same Oh no! screen:
Code:
root@quad:/home/olivier# /etc/init.d/gdm3 stop
[ ok ] Stopping gdm3 (via systemctl): gdm3.service.
root@quad:/home/olivier# /etc/init.d/xdm restart
[ ok ] Restarting xdm (via systemctl): xdm.service.
root@quad:/home/olivier#
and similar Xorg.0.log
Please see Xorg.0.log_radeon_4_xdm.txt in attachment
3)debian fglrx driver:
Installed:
Code:
ii fglrx-atieventsd 1:14.9+ga14.201-2 daemon for the non-free ATI/AMD RadeonHD display driver
ii fglrx-control 1:14.9+ga14.201-2 amd64 control panel for the non-free ATI/AMD RadeonHD display driver
ii fglrx-driver 1:14.9+ga14.201-2 amd64 non-free ATI/AMD RadeonHD display driver
ii fglrx-modules-dkms 1:14.9+ga14.201-2 amd64 dkms module source for the non-free ATI/AMD RadeonHD display driver
ii glx-alternative-fglrx 0.5.1 amd64 allows the selection of FGLRX as GLX provider
ii libfglrx:amd64 1:14.9+ga14.201-2 amd64 non-free ATI/AMD RadeonHD display driver (runtime libraries)
ii libfglrx-amdxvba1:amd64 1:14.9+ga14.201-2 amd64 AMD XvBA (X-Video Bitstream Acceleration) runtime libraries
ii libgl1-fglrx-glx:amd64 1:14.9+ga14.201-2 amd64 proprietary libGL for the non-free ATI/AMD RadeonHD display driver
Code:
root@quad:/etc/X11# aticonfig --initial
Uninitialised file found, configuring.
Using /etc/X11/xorg.conf
Saving back-up to /etc/X11/xorg.conf.original-1
root@quad:/etc/X11#
root@quad:/etc/X11# cat xorg.conf
Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection
Section "Module"
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
root@quad:/home/olivier# /etc/init.d/gdm3 restart
[ ok ] Restarting gdm3 (via systemctl): gdm3.service.
root@quad:/home/olivier#
I get a black screen
root@quad:/etc/X11# lsmod|grep fglrx
fglrx 9097975 39
button 12944 1 fglrx
root@quad:/etc/X11#
Xorg.0.log shows these errors:
Code:
[ 8305.563] (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]
[ 8305.563] (EE) AIGLX error: failed to open /usr/lib64/dri/fglrx_dri.so, error[/usr/lib64/dri/fglrx_dri.so: cannot open shared object file: No such file or directory]
[ 8305.563] (EE) AIGLX error: failed to open /usr/X11R6/lib/modules/dri/fglrx_dri.so, error[/usr/X11R6/lib/modules/dri/fglrx_dri.so: cannot open shared object file: No such file or directory]
Please see Xorg.0.log_fglrx_Debian.txt in attachment.
4)fglrx from AMD
Uninstalled in aptitude all fglrx packages.
Retried radeon just to see and got another type of error:
I get black screen and:
Code:
[ 1251.785] (II) [KMS] drm report modesetting isn't supported.
[ 1251.785] (EE) Screen 0 deleted because of no matching config section.
[ 1251.785] (II) UnloadModule: "radeon"
[ 1251.785] (EE) Device(s) detected, but none match those in the config file.
[ 1251.785] (EE)
Fatal server error:
[ 1251.785] (EE) no screens found(EE)
Please see Xorg.0.log_radeon_2.txt in attachment.
Code:
root@quad:/etc/X11# Xorg -configure
X.Org X Server 1.16.2.901 (1.16.3 RC 1)
Release Date: 2014-12-09
Build Operating System: Linux 3.2.0-4-amd64 x86_64 Debian
Current Operating System: Linux quad 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt2-1 (2014-12-08) x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=UUID=5f8a3826-c360-44f4-8e56-18587eadc598 ro quiet
Build Date: 09 December 2014 10:15:28PM
xorg-server 2:1.16.2.901-1 (http://www.debian.org/support)
Current version of pixman: 0.32.6
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec 25 16:44:18 2014
List of video drivers:
nouveau
intel
mga
radeon
sisusb
mach64
ati
tdfx
savage
trident
r128
siliconmotion
cirrus
neomagic
nvidia
vmware
openchrome
vesa
fbdev
modesetting
(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) [KMS] drm report modesetting isn't supported.
(EE)
(EE) Backtrace:
(EE) 0: Xorg (xorg_backtrace+0x56) [0x7f1a326e2a76]
(EE) 1: Xorg (0x7f1a3252c000+0x1bac59) [0x7f1a326e6c59]
(EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (0x7f1a30221000+0x35180) [0x7f1a30256180]
(EE)
(EE) Segmentation fault at address 0x0
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
Aborted
root@quad:/etc/X11#
Anyway, installing Proprietary fglrx from AMD, 2 versions:
4.1)Beta fglrx from AMD 128742301 Jul 11 02:47 amd-driver-installer-14.20-x86.x86_64.run
Code:
cd /var/lib/dkms/fglrx/14.20/build; sh make.sh --nohints --uname_r=3.16.0-4-amd64 --norootcheck......(bad exit status: 1)
[Error] Kernel Module : Failed to build fglrx-14.20 with DKMS
[Error] Kernel Module : Removing fglrx-14.20 from DKMS
------------------------------
Deleting module version: 14.20
completely from the DKMS tree.
------------------------------
4.2)Latest fglrx from AMD 157989882 Nov 28 13:59 amd-driver-installer-14.501.1003-x86.x86_64.run
Code:
cd /var/lib/dkms/fglrx/14.501.1003/build; sh make.sh --nohints
--uname_r=3.16.0-4-amd64 --norootcheck.....
cleaning build area....
DKMS: build completed.
fglrx:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.16.0-4-amd64/kernel/drivers/char/drm/
depmod....
DKMS: install completed.
[Reboot] Kernel Module : update-initramfs
root@quad:/etc/X11# aticonfig --initial
aticonfig: error while loading shared libraries: libGL.so.1: cannot open shared
object file: No such file or directory
root@quad:/etc/X11# LD_LIBRARY_PATH=/usr/lib64 aticonfig --initial
Uninitialised file found, configuring.
Using /etc/X11/xorg.conf
Saving back-up to /etc/X11/xorg.conf.original-2
root@quad:/etc/X11#
(same xorg.conf as for Debian aticonfig)
# reboot
I get a black screen
The fglrx module is loaded:
Code:
root@quad:/home/olivier# lsmod|egrep "radeon|vesa|fglrx"
fglrx 10877607 0
button 12944 1 fglrx
root@quad:/home/olivier#
But /var/log/Xorg.0.log says it has been unloaded:
Code:
[ 285.606] (--) PCI:*(0:1:0:0) 1002:679a:174b:a003 rev 0, Mem @
0xd0000000/268435456, 0xfde80000/262144, I/O @ 0x0000ee00/256, BIOS @
0x????????/131072
[ 285.606] (II) "glx" will be loaded by default.
[ 285.606] (II) LoadModule: "glx"
[ 285.607] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 285.607] (EE) Failed to load /usr/lib/xorg/modules/extensions/libglx.so:
libGL.so.1: cannot open shared object file: No such file or directory
[ 285.607] (II) UnloadModule: "glx"
[ 285.607] (II) Unloading glx
[ 285.607] (EE) Failed to load module "glx" (loader failed, 7)
[ 285.607] (II) LoadModule: "fglrx"
[ 285.607] (WW) Warning, couldn't open module fglrx
[ 285.607] (II) UnloadModule: "fglrx"
[ 285.607] (II) Unloading fglrx
[ 285.607] (EE) Failed to load module "fglrx" (module does not exist, 0)
[ 285.607] (EE) No drivers available.
[ 285.607] (EE)
Fatal server error:
[ 285.607] (EE) no screens found(EE)
[ 285.607] (EE)
Please see:
[attach]Xorg.0.log_fglrx_14.501.1003.txt[/attach]
PS:
/var/log/messages and /var/log/syslog show a lot of:
Code:
Dec 25 17:16:27 quad kernel: [ 51.755897] nvidia: module license 'NVIDIA' taints kernel.
Dec 25 17:16:27 quad kernel: [ 51.770702] NVRM: No NVIDIA graphics adapter found!
Dec 25 17:16:27 quad kernel: [ 51.770752] NVRM: NVIDIA init module failed!
and /var/log/kern.log as well:
Code:
Dec 25 17:50:35 quad kernel: [ 48.118122] [drm] Initialized drm 1.1.0 20060810
Dec 25 17:50:38 quad kernel: [ 51.224378] NVRM: No NVIDIA graphics adapter found!
Dec 25 17:50:38 quad kernel: [ 51.224430] NVRM: NVIDIA init module failed!
Thanks.