Bug 103292 - Rainbow screen of death on start up
Summary: Rainbow screen of death on start up
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/AMDgpu (show other bugs)
Version: 7.7 (2012.06)
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-16 11:44 UTC by MaxV
Modified: 2017-11-14 04:55 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Dmesg working (79.14 KB, text/plain)
2017-10-17 20:56 UTC, MaxV
no flags Details
Screenshot of bug (4.59 MB, image/jpeg)
2017-10-17 21:03 UTC, MaxV
no flags Details
Some logs (91.87 KB, application/zip)
2017-10-17 21:11 UTC, MaxV
no flags Details

Description MaxV 2017-10-16 11:44:18 UTC
Hi,
I have a laptop with A10-9600 cpu/GPU, the GPU is a R5 series.
I have the last kernel (4.12) but sometime at startup the screen crashes, I just get a Rainbow screen of death, laptop not responding and I have to reboot.
Comment 1 Alex Deucher 2017-10-16 14:09:48 UTC
Please attach your xorg log and full dmesg output.
Comment 2 MaxV 2017-10-17 20:56:29 UTC
Created attachment 134893 [details]
Dmesg working

This dmesg is the working after 3 reboots.
Comment 3 MaxV 2017-10-17 21:03:11 UTC
Created attachment 134895 [details]
Screenshot of bug

I attached a screenshot of bug
Comment 4 MaxV 2017-10-17 21:11:25 UTC
Created attachment 134896 [details]
Some logs

Attached a zip file containing some logs and xorg logs.
Let me know if you need something else.
Do I need to upgrade xorg? My kernel is 4.13.2
Comment 5 MaxV 2017-10-20 19:38:50 UTC
Ok, I found a hint: the bug appears when I turn on the laptop without the power cable. So if I turn on the laptop using just the battery, when start x the rainbow screen of death appears and the keyboard, mouse and all don't work anymore.
If I reboot the laptop with the powe cable connected, all works great.
Comment 6 MaxV 2017-10-25 03:30:32 UTC
Hi,
I found this:

amdgpu_device_initialize: DRM version is 2.50.0 but this driver is only compatible with 3.x.x.

Maybe does the kernel load radeon instead of amdgpu driver?
If I type lsmod, I get:

Module                  Size  Used by
rfcomm                 77824  14
ccm                    20480  9
bnep                   20480  2
binfmt_misc            20480  1
nls_iso8859_1          16384  1
uvcvideo               90112  0
rtsx_usb_ms            20480  0
arc4                   16384  2
memstick               16384  1 rtsx_usb_ms
videobuf2_vmalloc      16384  1 uvcvideo
edac_mce_amd           28672  0
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         24576  1 uvcvideo
videobuf2_core         40960  2 uvcvideo,videobuf2_v4l2
rtl8821ae             225280  0
videodev              172032  3 uvcvideo,videobuf2_core,videobuf2_v4l2
kvm                   581632  0
btusb                  45056  0
btcoexist             126976  1 rtl8821ae
media                  40960  2 uvcvideo,videodev
btrtl                  16384  1 btusb
snd_hda_codec_conexant    24576  1
irqbypass              16384  1 kvm
snd_hda_codec_hdmi     49152  1
snd_hda_codec_generic    73728  1 snd_hda_codec_conexant
btbcm                  16384  1 btusb
btintel                16384  1 btusb
rtl_pci                28672  1 rtl8821ae
crct10dif_pclmul       16384  0
snd_hda_intel          40960  5
rtlwifi                77824  3 rtl_pci,btcoexist,rtl8821ae
crc32_pclmul           16384  0
snd_hda_codec         126976  4 snd_hda_intel,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_codec_generic
ghash_clmulni_intel    16384  0
mac80211              778240  3 rtl_pci,rtlwifi,rtl8821ae
bluetooth             544768  41 btrtl,btintel,bnep,btbcm,rfcomm,btusb
snd_hda_core           81920  5 snd_hda_intel,snd_hda_codec_conexant,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic
pcbc                   16384  0
aesni_intel           188416  6
ecdh_generic           24576  1 bluetooth
aes_x86_64             20480  1 aesni_intel
snd_hwdep              16384  1 snd_hda_codec
crypto_simd            16384  1 aesni_intel
glue_helper            16384  1 aesni_intel
joydev                 20480  0
input_leds             16384  0
snd_pcm                98304  4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
snd_seq_midi           16384  0
snd_seq_midi_event     16384  1 snd_seq_midi
cryptd                 24576  3 crypto_simd,ghash_clmulni_intel,aesni_intel
serio_raw              16384  0
k10temp                16384  0
snd_rawmidi            32768  1 snd_seq_midi
fam15h_power           16384  0
wmi_bmof               16384  0
snd_seq                65536  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         16384  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              32768  2 snd_seq,snd_pcm
cfg80211              610304  2 mac80211,rtlwifi
i2c_piix4              24576  0
ideapad_laptop         32768  0
snd                    77824  21 snd_hda_intel,snd_hwdep,snd_hda_codec_conexant,snd_seq,snd_hda_codec,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_seq_device,snd_pcm
shpchp                 36864  0
mac_hid                16384  0
tpm_crb                16384  0
soundcore              16384  1 snd
sparse_keymap          16384  1 ideapad_laptop
parport_pc             32768  0
ppdev                  20480  0
lp                     20480  0
parport                49152  3 lp,parport_pc,ppdev
autofs4                40960  2
btrfs                1093632  0
xor                    24576  1 btrfs
raid6_pq              118784  1 btrfs
dm_mirror              24576  0
dm_region_hash         20480  1 dm_mirror
dm_log                 20480  2 dm_mirror,dm_region_hash
amdkfd                184320  2
amd_iommu_v2           20480  1 amdkfd
amdgpu               2007040  12
rtsx_usb_sdmmc         28672  0
rtsx_usb               20480  2 rtsx_usb_sdmmc,rtsx_usb_ms
radeon               1474560  1
hwmon                  16384  4 fam15h_power,amdgpu,radeon,k10temp
i2c_algo_bit           16384  2 amdgpu,radeon
ttm                    94208  2 amdgpu,radeon
drm_kms_helper        159744  2 amdgpu,radeon
psmouse               143360  0
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
drm                   348160  8 amdgpu,radeon,ttm,drm_kms_helper
ahci                   36864  3
libahci                32768  1 ahci
r8169                  81920  0
mii                    16384  1 r8169
wmi                    24576  2 wmi_bmof,ideapad_laptop
video                  40960  1 ideapad_laptop

What do you think, should I blacklist radeon driver?
Comment 7 Michel Dänzer 2017-10-25 08:25:47 UTC
(In reply to MaxV from comment #6)
> Maybe does the kernel load radeon instead of amdgpu driver?

Yes, the attached working dmesg shows the radeon driver being used for the discrete GPU (the APU is only supported by amdgpu).


> What do you think, should I blacklist radeon driver?

As of kernel 4.13, it's better to use

 amdgpu.si_support=1 radeon.si_support=0

instead of blacklisting.
Comment 8 MaxV 2017-10-27 10:31:07 UTC
Here is a video of the bug: https://youtu.be/Lnj2_AgQ7WU
Comment 9 MaxV 2017-11-14 04:55:25 UTC
Hi,
I noticed that linux kernek had some errors about CPU/motherboard identification at startup, so I upgraded the motherboard BIOS and now the bus seems disappeared.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.