You are not logged in.

#1 2017-08-19 10:46:07

legacy.nl
Member
Registered: 2017-03-26
Posts: 14

Hang on boot after installing Rx460

Hello.
Yesterday I upgraded from a Radeon hd5770 to a Rx460. Now X doesnt start! It hangs at a blank screen. I used to use the radeon driver, but because it didn't boot, I removed xf86-video-ati and installed xf86-video-amdgpu. This didn't help, it was still stuck at the blank screen.

When setting 'nomodeset' as a kernel parameter, it also doesn't start, but I can still change to another tty. I think this works because setting nomodeset actually disables the amdgpu driver.

This is my xorg log (with nomodeset): https://pastebin.com/s6QsbHxj

and /etc/X11/xorg.conf.d/10-amgpu.conf: https://pastebin.com/U9zxHFCk

any ideas?

Last edited by legacy.nl (2017-08-24 15:36:31)

Offline

#2 2017-08-19 10:51:29

legacy.nl
Member
Registered: 2017-03-26
Posts: 14

Re: Hang on boot after installing Rx460

lspci -k says this:
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 460] (rev cf)
    Subsystem: PC Partner Limited / Sapphire Technology Device e344
    Kernel modules: amdgpu

Other devices show "Kernel driver in use: ....", so i assume this means the driver isn't actually loaded? (note that this is still on 'nomodeset', as it's the only way i can diagnose this stuff)



this is my Xorg log without 'nomodeset'.:
https://pastebin.com/ACqgUGwv

this is my Xorg log without 'nomodeset' and without a custom xorg.conf file:
https://pastebin.com/jFTzbgMT

Last edited by legacy.nl (2017-08-19 11:10:45)

Offline

#3 2017-08-19 11:59:58

Drehstromlampe
Member
From: GER
Registered: 2015-07-18
Posts: 45

Re: Hang on boot after installing Rx460

I find this line

[     8.562] (==) Matched ati as autoconfigured driver 0

very odd. To me, this looks like there are some leftovers from the old ati driver.

Offline

#4 2017-08-19 13:03:15

loqs
Member
Registered: 2014-03-06
Posts: 17,315

Re: Hang on boot after installing Rx460

Please post the system's dmesg.
Edit:
Also post a dmesg from a boot without the nomodeset parameter it should still be recorded in the journal unless without the nomodeset parameter the system hangs early in boot.

Last edited by loqs (2017-08-19 16:35:04)

Offline

#5 2017-08-20 13:47:27

legacy.nl
Member
Registered: 2017-03-26
Posts: 14

Re: Hang on boot after installing Rx460

with nomodeset: https://pastebin.com/5KdVMqHv
without: https://pastebin.com/6quP3x19

Yesterday I noticed some error about acpid. Apparently it wasn't running so I enabled it, and then it booted correctly!
This is the dmesg output of that session: https://pastebin.com/RK8Mnxvj

Sadly today the problem has returned.


Drehstromlampe wrote:

I find this line

[     8.562] (==) Matched ati as autoconfigured driver 0

very odd. To me, this looks like there are some leftovers from the old ati driver.

I checked every folder in 'man xorg.conf' for any files that might mention the ati driver, but couldn't find anything.
In the X wiki page it says X autoconfigures itself, so maybe it picks the ati driver because of the vendorid?

Last edited by legacy.nl (2017-08-20 13:53:03)

Offline

#6 2017-08-20 15:48:42

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: Hang on boot after installing Rx460

I doubt this is a X issue, it looks more like the system has trouble initialising the videocard.

Are you using latest bios for your motherboard ?

Are all powerconnectors of the card connected ?
What wattage does your powersupply have ?


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

#7 2017-08-20 16:03:34

legacy.nl
Member
Registered: 2017-03-26
Posts: 14

Re: Hang on boot after installing Rx460

I'm using the latest bios(which is from 2011).
I connected the extra power cable to the card.
my psu is rated  530W, the graphicscard takes 75W.

Edit:
I think you're right that my problem is not with X. X is started by lightdm and even when I disable lightdm it still hangs.

Even when using 'rescue' as a boot parameter it hangs.

Last edited by legacy.nl (2017-08-20 17:11:54)

Offline

#8 2017-08-21 10:42:50

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: Hang on boot after installing Rx460

Is there a difference between a cold boot (disconnect the system from power completely) and a warm boot ?

In bios firmware, look for an option to perform a fast/quick Power On Self Test (POST) and disable it .

Does your bootloader show a menu and is that menu visible ?


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 2017-08-21 12:09:36

Drehstromlampe
Member
From: GER
Registered: 2015-07-18
Posts: 45

Re: Hang on boot after installing Rx460

The dmesg log shows some errors regarding powerplay.
What happens when you start with powerplay disabled? Bootoption

amdgpu.powerplay=0

should do the trick.

Offline

#10 2017-08-21 15:53:02

legacy.nl
Member
Registered: 2017-03-26
Posts: 14

Re: Hang on boot after installing Rx460

Lone_Wolf wrote:

Is there a difference between a cold boot (disconnect the system from power completely) and a warm boot ?

In bios firmware, look for an option to perform a fast/quick Power On Self Test (POST) and disable it .

Does your bootloader show a menu and is that menu visible ?

There is no difference between a cold boot and a warm boot.
I can see and use grub just fine.

I don't think it's the card, or power, because I have it working in windows.


The dmesg log shows some errors regarding powerplay.
What happens when you start with powerplay disabled?

Tried it, didn't work.
same blank screen and no inputs work.
https://pastebin.com/ygwA57ZX


On the amdgpu bugtracker someone sugested amdgpu.runpm=0.
It got the same result, but the screen was white!
https://pastebin.com/fevWNXrH

Offline

#11 2017-08-21 16:47:37

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Hang on boot after installing Rx460

Here's a simple test: Can you boot a Linux Mint disc into a live environment?

Offline

#12 2017-08-22 13:41:15

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: Hang on boot after installing Rx460

aug 21 17:40:55 siMonarch3 kernel: AGP: Checking aperture...
aug 21 17:40:55 siMonarch3 kernel: AGP: No AGP bridge found
aug 21 17:40:55 siMonarch3 kernel: AGP: Node 0: aperture [bus addr 0xbc000000-0xbdffffff] (32MB)
aug 21 17:40:55 siMonarch3 kernel: Aperture pointing to e820 RAM. Ignoring.
aug 21 17:40:55 siMonarch3 kernel: AGP: Your BIOS doesn't leave an aperture memory hole
aug 21 17:40:55 siMonarch3 kernel: AGP: Please enable the IOMMU option in the BIOS setup
aug 21 17:40:55 siMonarch3 kernel: AGP: This costs you 64MB of RAM
aug 21 17:40:55 siMonarch3 kernel: AGP: Mapping aperture over RAM [mem 0xbc000000-0xbfffffff] (65536KB)

All of your dmesg logs show that, and IOMMU is important for running 64 bit kernels on systems with amd processors.

Brand and model of your motherboard ?
Check your bios for IOMMU  / virtualization related options and enable them .

Last edited by Lone_Wolf (2017-08-22 13:41:48)


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

#13 2017-08-23 16:39:26

legacy.nl
Member
Registered: 2017-03-26
Posts: 14

Re: Hang on boot after installing Rx460

drcouzelis wrote:

Here's a simple test: Can you boot a Linux Mint disc into a live environment?

Yes, but mint says there's something wrong with the driver, and is in software mode.
https://pastebin.com/79QX31cM

Offline

#14 2017-08-24 15:01:27

legacy.nl
Member
Registered: 2017-03-26
Posts: 14

Re: Hang on boot after installing Rx460

Lone_Wolf wrote:
aug 21 17:40:55 siMonarch3 kernel: AGP: Checking aperture...
aug 21 17:40:55 siMonarch3 kernel: AGP: No AGP bridge found
aug 21 17:40:55 siMonarch3 kernel: AGP: Node 0: aperture [bus addr 0xbc000000-0xbdffffff] (32MB)
aug 21 17:40:55 siMonarch3 kernel: Aperture pointing to e820 RAM. Ignoring.
aug 21 17:40:55 siMonarch3 kernel: AGP: Your BIOS doesn't leave an aperture memory hole
aug 21 17:40:55 siMonarch3 kernel: AGP: Please enable the IOMMU option in the BIOS setup
aug 21 17:40:55 siMonarch3 kernel: AGP: This costs you 64MB of RAM
aug 21 17:40:55 siMonarch3 kernel: AGP: Mapping aperture over RAM [mem 0xbc000000-0xbfffffff] (65536KB)

All of your dmesg logs show that, and IOMMU is important for running 64 bit kernels on systems with amd processors.

Brand and model of your motherboard ?
Check your bios for IOMMU  / virtualization related options and enable them .

My motherboard is a ASRock M3N78D.

I have a biossetting called 'secure virtual machine' which was disabled,so I enabled it.
There is no setting relating to IOMMU.
boot output: https://pastebin.com/PfKRQT9f

Searching for 'amdgpu' doesn't even show anything. Maybe it tries to load vesa first, and then crashes when something tries to load amdgpu on top?

Offline

#15 2017-08-24 15:54:01

seth
Member
Registered: 2012-09-03
Posts: 50,976

Re: Hang on boot after installing Rx460

tried

amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0

?

Online

#16 2017-08-24 19:11:11

legacy.nl
Member
Registered: 2017-03-26
Posts: 14

Re: Hang on boot after installing Rx460

seth wrote:

tried

amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0

?

I tried it. Same black blank screen.

https://pastebin.com/PFmc9PDX

Offline

#17 2017-08-24 19:50:10

seth
Member
Registered: 2012-09-03
Posts: 50,976

Re: Hang on boot after installing Rx460

Does disabling the framebuffer console get you anywhere?
https://wiki.archlinux.org/index.php/GR … ramebuffer

Online

#18 2017-08-24 20:20:39

loqs
Member
Registered: 2014-03-06
Posts: 17,315

Re: Hang on boot after installing Rx460

If that fails consider trying 4.13-rc6.

Offline

#19 2017-08-28 13:22:34

legacy.nl
Member
Registered: 2017-03-26
Posts: 14

Re: Hang on boot after installing Rx460

loqs wrote:

If that fails consider trying 4.13-rc6.

tried it:
https://pastebin.com/0bgLjt25


seth wrote:

Does disabling the framebuffer console get you anywhere?
https://wiki.archlinux.org/index.php/GR … ramebuffer


Tried it, but it didn't make a difference.


Are these journal outputs helpful at all?
Is there someway to get more relevant debug output?

Offline

#20 2017-08-28 16:54:49

loqs
Member
Registered: 2014-03-06
Posts: 17,315

Re: Hang on boot after installing Rx460

Going back over what has been obtained so far.

aug 20 15:25:51 siMonarch3 kernel: [drm:amdgpu_init [amdgpu]] *ERROR* VGACON disables amdgpu kernel modesetting.

Is the only dmesg entry that references amdgpu and only with nomodeset.  No dmesg mentions radeon.
Working on the basis that that line indicates the amdgpu module is not blacklisted or blocked.
Can you try logging in remotely or typing blindly in a boot without nomodeset and dump the output of `lspci -nkk` to a file if typing blindly.
Check the gpu is still detected without the nomodeset parameter present.  Running out of ideas here.

Offline

#21 2017-08-28 21:17:42

seth
Member
Registered: 2012-09-03
Posts: 50,976

Re: Hang on boot after installing Rx460

Does your monitor still get a signal?
"amdgpu.audio=0 amdgpu.msi=0"

Online

Board footer

Powered by FluxBB