You are not logged in.
Pages: 1
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
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
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
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
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.
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
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
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
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
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
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
Here's a simple test: Can you boot a Linux Mint disc into a live environment?
Offline
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
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
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
tried
amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0
?
Online
tried
amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0
?
I tried it. Same black blank screen.
Offline
Does disabling the framebuffer console get you anywhere?
https://wiki.archlinux.org/index.php/GR … ramebuffer
Online
If that fails consider trying 4.13-rc6.
Offline
If that fails consider trying 4.13-rc6.
tried it:
https://pastebin.com/0bgLjt25
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
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
Does your monitor still get a signal?
"amdgpu.audio=0 amdgpu.msi=0"
Online
Pages: 1