View previous topic :: View next topic |
Author |
Message |
Tvin n00b

Joined: 15 Sep 2010 Posts: 27
|
Posted: Fri Jul 22, 2016 7:34 pm Post subject: Xorg doesn't start on a laptop with AMD Daul Head graphics |
|
|
A laptop is MSI GX70 with the A10-5750m APU (HD 8650G (ARUBA) video card as internal) and the Radeon HD 8970m (HAINAN) as external v. card. KDE Plasma profile.
sddm starts then it hangs up a few seconds and then it reboots the laptop.
Xorg.0.log is a file of 0 bytes length.
Quote: | lspci | grep VGA
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Richland [Radeon HD 8650G]
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Neptune XT [Radeon HD 8970M] (rev ff)
|
I guess it's because of incorrect video cards drivers installation. Currently, I use Linux Mint 17.3 as my main Linux system installation and start Gentoo with Mint's grub in EFI mode.
There's no xorg.conf. Kernel was compiled with the genkernel utility. |
|
Back to top |
|
 |
Keruskerfuerst Advocate


Joined: 01 Feb 2006 Posts: 2289 Location: near Augsburg, Germany
|
Posted: Sat Jul 23, 2016 6:39 am Post subject: |
|
|
You have posted the Xorg.0.log.old. |
|
Back to top |
|
 |
Tvin n00b

Joined: 15 Sep 2010 Posts: 27
|
Posted: Sat Jul 23, 2016 12:12 pm Post subject: |
|
|
Keruskerfuerst wrote: | You have posted the Xorg.0.log.old. | Yes, I did, because it was zerro length file.
I emerged kernel-4.6.4 (configuration file: http://bpaste.net/show/0555324898bb) and the latest xorg-server-1.8.4, xf86-input-evdev-2.10.3, xf86-video-ati-7.7.0, xf86-input-synaptics-1.8.3.
Xorg-server still hangs up and reboots my system. But now I've got the Xorg.0.log: http://bpaste.net/show/7e72349debd1 . |
|
Back to top |
|
 |
Tvin n00b

Joined: 15 Sep 2010 Posts: 27
|
Posted: Sat Jul 23, 2016 12:27 pm Post subject: |
|
|
Tvin wrote: | Keruskerfuerst wrote: | You have posted the Xorg.0.log.old. | Yes, I did, because it was zerro length file.
I emerged kernel-4.6.4 (configuration file: http://bpaste.net/show/0555324898bb) and the latest xorg-server-1.8.4, xf86-input-evdev-2.10.3, xf86-video-ati-7.7.0, xf86-input-synaptics-1.8.3.
Xorg-server still hangs up and reboots my system. But now I've got the Xorg.0.log: http://bpaste.net/show/7e72349debd1 . |
If I try 'startkde' then '$DISPLAY is not set or cannot connect to the Xserver.'
dmesg: http://paste.linuxmint.com/view/edjj . |
|
Back to top |
|
 |
Tvin n00b

Joined: 15 Sep 2010 Posts: 27
|
Posted: Wed Aug 03, 2016 8:47 am Post subject: |
|
|
Are there any advices for me?
There is an error when loading radeon driver, and I think it's is the root of my issues:
[ 24.280276] [drm:r600_ring_test [radeon]] *ERROR* radeon: ring 0 test failed (scratch(0x850C)=0xCAFEDEAD)
Quote: | cat dmesg | grep radeon
[ 0.000000] Command line: BOOT_IMAGE=/boot/kernel-genkernel-x86_64-4.7.0-gentoo root=/dev/sdb3 radeon.modeset=1
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/kernel-genkernel-x86_64-4.7.0-gentoo root=/dev/sdb3 radeon.modeset=1
[ 22.545035] [drm] radeon kernel modesetting enabled.
[ 22.545096] fb: switching to radeondrmfb from EFI VGA
[ 22.545242] fb: switching to radeondrmfb from VGA16 VGA
[ 22.545752] radeon 0000:00:01.0: VRAM: 256M 0x0000000000000000 - 0x000000000FFFFFFF (256M used)
[ 22.545755] radeon 0000:00:01.0: GTT: 1024M 0x0000000010000000 - 0x000000004FFFFFFF
[ 22.545872] [drm] radeon: 256M of VRAM memory ready
[ 22.545873] [drm] radeon: 1024M of GTT memory ready.
[ 22.546047] [drm] radeon: dpm initialized
[ 22.580885] radeon 0000:00:01.0: WB enabled
[ 22.580889] radeon 0000:00:01.0: fence driver on ring 0 use gpu addr 0x0000000010000c00 and cpu addr 0xffff88042010cc00
[ 22.581269] radeon 0000:00:01.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xffffc90001635a18
[ 22.601454] radeon 0000:00:01.0: fence driver on ring 6 use gpu addr 0x0000000010000c18 and cpu addr 0xffff88042010cc18
[ 22.601457] radeon 0000:00:01.0: fence driver on ring 7 use gpu addr 0x0000000010000c1c and cpu addr 0xffff88042010cc1c
[ 22.601459] radeon 0000:00:01.0: fence driver on ring 1 use gpu addr 0x0000000010000c04 and cpu addr 0xffff88042010cc04
[ 22.601461] radeon 0000:00:01.0: fence driver on ring 2 use gpu addr 0x0000000010000c08 and cpu addr 0xffff88042010cc08
[ 22.601464] radeon 0000:00:01.0: fence driver on ring 3 use gpu addr 0x0000000010000c0c and cpu addr 0xffff88042010cc0c
[ 22.601466] radeon 0000:00:01.0: fence driver on ring 4 use gpu addr 0x0000000010000c10 and cpu addr 0xffff88042010cc10
[ 22.601472] radeon 0000:00:01.0: radeon: MSI limited to 32-bit
[ 22.601503] radeon 0000:00:01.0: radeon: using MSI.
[ 22.601783] [drm] radeon: irq initialized.
[ 23.342476] [drm] radeon atom DIG backlight initialized
[ 23.639442] fbcon: radeondrmfb (fb0) is primary device
[ 23.760948] radeon 0000:00:01.0: fb0: radeondrmfb frame buffer device
[ 23.766098] [drm] Initialized radeon 2.45.0 20080528 for 0000:00:01.0 on minor 0
[ 23.766208] radeon 0000:01:00.0: enabling device (0000 -> 0003)
[ 23.826779] radeon 0000:01:00.0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
[ 23.826782] radeon 0000:01:00.0: GTT: 1024M 0x0000000080000000 - 0x00000000BFFFFFFF
[ 23.826801] [drm] radeon: 2048M of VRAM memory ready
[ 23.826802] [drm] radeon: 1024M of GTT memory ready.
[ 23.908482] [drm] radeon: dpm initialized
[ 23.912679] radeon 0000:01:00.0: WB enabled
[ 23.912683] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0xffff88041e82ec00
[ 23.912685] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0xffff88041e82ec04
[ 23.912687] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0xffff88041e82ec08
[ 23.912689] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0xffff88041e82ec0c
[ 23.912691] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0xffff88041e82ec10
[ 23.913089] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xffffc90006e35a18
[ 23.933282] radeon 0000:01:00.0: fence driver on ring 6 use gpu addr 0x0000000080000c18 and cpu addr 0xffff88041e82ec18
[ 23.933284] radeon 0000:01:00.0: fence driver on ring 7 use gpu addr 0x0000000080000c1c and cpu addr 0xffff88041e82ec1c
[ 23.933289] radeon 0000:01:00.0: radeon: MSI limited to 32-bit
[ 23.933319] radeon 0000:01:00.0: radeon: using MSI.
[ 23.933351] [drm] radeon: irq initialized.
[ 24.280276] [drm:r600_ring_test [radeon]] *ERROR* radeon: ring 0 test failed (scratch(0x850C)=0xCAFEDEAD)
[ 24.280282] radeon 0000:01:00.0: disabling GPU acceleration
[ 24.464951] radeon 0000:01:00.0: No connectors reported connected with modes
[ 24.466140] radeon 0000:01:00.0: fb1: radeondrmfb frame buffer device
[ 24.466381] [drm] Initialized radeon 2.45.0 20080528 for 0000:01:00.0 on minor 1
|
I made /etc/X11/radeon.conf file:
Quote: |
cat /etc/X11/xorg.conf.d/radeon.conf
Section "ServerLayout"
Identifier "layout"
Screen 0 "radeon"
EndSection
Section "Device"
Identifier "Radeon"
Driver "radeon"
Option "DRI" "3"
Option "TearFree" "on"
BusID "1:0:0"
EndSection
Section "Screen"
Identifier "radeon"
Device "radeon"
Option "AllowEmptyInitialConfiguration"
EndSection
|
Maybe, I should write a bug in bugs.gentoo.org? Or is it an upstream radeon driver error? Or should I just change my laptop or hardware? Please, give me a hand  |
|
Back to top |
|
 |
Jaglover Watchman


Joined: 29 May 2005 Posts: 7799 Location: Saint Amant, Acadiana
|
|
Back to top |
|
 |
Logicien Veteran


Joined: 16 Sep 2005 Posts: 1415 Location: Montréal
|
Posted: Wed Aug 03, 2016 2:24 pm Post subject: |
|
|
"Tvin wrote: | ...
[ 24.280276] [drm:r600_ring_test [radeon]] *ERROR* radeon: ring 0 test failed (scratch(0x850C)=0xCAFEDEAD)
[ 24.280282] radeon 0000:01:00.0: disabling GPU acceleration]
...
|
I think this is your problem. The Radeon support on Linux side have disable the GPU acceleration because of the previous error. You should check if some firmware files are missing in dmesg output.
Xorg is set with DRI3 who need GPU acceleration. This can explain why it refuse to work. I have Google with the line error. You should look at it --> .
There is a bug related to it. Some propose to use Fglrx instead of Radeon.
Note, I don't think Xorg will read the file named /etc/X11/radeon.conf unless it is renamed /etc/X11/xorg.conf or /etc/X11/xorg.conf.d/radeon.conf _________________ Paul |
|
Back to top |
|
 |
Tvin n00b

Joined: 15 Sep 2010 Posts: 27
|
Posted: Thu Aug 04, 2016 8:08 am Post subject: |
|
|
Logicien wrote: | "Tvin wrote: | ...
[ 24.280276] [drm:r600_ring_test [radeon]] *ERROR* radeon: ring 0 test failed (scratch(0x850C)=0xCAFEDEAD)
[ 24.280282] radeon 0000:01:00.0: disabling GPU acceleration]
...
|
I think this is your problem. The Radeon support on Linux side have disable the GPU acceleration because of the previous error. You should check if some firmware files are missing in dmesg output.
Xorg is set with DRI3 who need GPU acceleration. This can explain why it refuse to work. I have Google with the line error. You should look at it --> .
There is a bug related to it. Some propose to use Fglrx instead of Radeon.
Note, I don't think Xorg will read the file named /etc/X11/radeon.conf unless it is renamed /etc/X11/xorg.conf or /etc/X11/xorg.conf.d/radeon.conf |
Thank you for your advice.
Yeah, it's in /etc/X11/xorg.conf.d/, of course.
Do you know what kernel and xorg-server does fglrx work with? |
|
Back to top |
|
 |
|