[Solved] Cloned linux does not start GUI

I cloned the manjaro install from my laptop (Intel CPU and iGPU) to a desktop machine (Ryzen and R9 Fury). It is booting, I can SSH into it but it won’t start the GUI. I do have amdgpu installed though.

lspcisays driver is fine, if I understand this correctly.

07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Fiji [Radeon R9 FURY / NANO Series] (rev cb) (prog-if 00 [VGA controller])
        Subsystem: PC Partner Limited / Sapphire Technology Fiji [Radeon R9 FURY / NANO Series]
        Flags: bus master, fast devsel, latency 0, IRQ 54
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        Memory at f0000000 (64-bit, prefetchable) [size=2M]
        I/O ports at d000 [size=256]
        Memory at fe900000 (32-bit, non-prefetchable) [size=256K]
        Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu

dmesg | grep amdgpu gives me this which … might help … maybe?

[    7.167481] [drm] amdgpu kernel modesetting enabled.
[    7.178745] fb: switching to amdgpudrmfb from EFI VGA
[    7.179198] amdgpu 0000:07:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0xffff
[    7.179244] amdgpu 0000:07:00.0: VRAM: 4096M 0x000000F400000000 - 0x000000F4FFFFFFFF (4096M used)
[    7.179245] amdgpu 0000:07:00.0: GTT: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
[    7.179321] [drm] amdgpu: 4096M of VRAM memory ready
[    7.179322] [drm] amdgpu: 4096M of GTT memory ready.
[    7.431305] fbcon: amdgpudrmfb (fb0) is primary device
[    7.451644] WARNING: CPU: 0 PID: 375 at drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:132 generic_reg_update_ex+0x108/0x150 [amdgpu]
[    7.451645] Modules linked in: bnep amdkfd amd_iommu_v2 amdgpu(+) nls_iso8859_1 nls_cp437 vfat fat joydev mousedev input_leds uvcvideo(+) snd_hda_codec_hdmi edac_mce_amd videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 kvm_amd videobuf2_common snd_hda_intel ccp videodev snd_hda_codec rng_core chash kvm gpu_sched ttm snd_usb_audio btusb btrtl drm_kms_helper btbcm btintel eeepc_wmi snd_usbmidi_lib bluetooth asus_wmi irqbypass media snd_hda_core crct10dif_pclmul snd_rawmidi crc32_pclmul sparse_keymap ghash_clmulni_intel led_class wmi_bmof snd_hwdep mxm_wmi pcbc snd_seq_device drm snd_pcm igb ecdh_generic aesni_intel rfkill snd_timer aes_x86_64 agpgart snd crypto_simd glue_helper syscopyarea i2c_algo_bit sysfillrect sysimgblt dca fb_sys_fops soundcore cryptd pcspkr i2c_piix4 k10temp shpchp rtc_cmos
[    7.451710] RIP: 0010:generic_reg_update_ex+0x108/0x150 [amdgpu]
[    7.451751]  ? generic_reg_update_ex+0xe6/0x150 [amdgpu]
[    7.451786]  ? set_pixel_encoding.isra.0+0x1f3/0x200 [amdgpu]
[    7.451819]  ? amdgpu_cgs_read_ind_register+0xb0/0xb0 [amdgpu]
[    7.451853]  dce110_update_generic_info_packet+0x64/0x3c0 [amdgpu]
[    7.451886]  dce110_stream_encoder_update_dp_info_packets+0x1e3/0x210 [amdgpu]
[    7.451919]  apply_single_controller_ctx_to_hw+0x247/0x360 [amdgpu]
[    7.451952]  dce110_apply_ctx_to_hw+0x428/0x740 [amdgpu]
[    7.451982]  ? generic_reg_update_ex+0xe6/0x150 [amdgpu]
[    7.452017]  dc_commit_state+0x2e6/0x530 [amdgpu]
[    7.452048]  ? mod_freesync_set_user_enable+0x119/0x150 [amdgpu]
[    7.452082]  amdgpu_dm_atomic_commit_tail+0x372/0xdb0 [amdgpu]
[    7.452111]  ? amdgpu_bo_pin_restricted+0x1f9/0x2c0 [amdgpu]
[    7.452143]  ? dm_plane_helper_prepare_fb+0x1da/0x240 [amdgpu]
[    7.452215]  amdgpu_fbdev_init+0xc4/0xf0 [amdgpu]
[    7.452242]  amdgpu_device_init+0xcba/0x1310 [amdgpu]
[    7.452271]  amdgpu_driver_load_kms+0x86/0x2b0 [amdgpu]
[    7.452305]  amdgpu_pci_probe+0xff/0x190 [amdgpu]
[    7.461865] WARNING: CPU: 0 PID: 375 at drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:132 generic_reg_update_ex+0x108/0x150 [amdgpu]
[    7.461865] Modules linked in: bnep amdkfd amd_iommu_v2 amdgpu(+) nls_iso8859_1 nls_cp437 vfat fat joydev mousedev input_leds uvcvideo(+) snd_hda_codec_hdmi edac_mce_amd videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 kvm_amd videobuf2_common snd_hda_intel ccp videodev snd_hda_codec rng_core chash kvm gpu_sched ttm snd_usb_audio btusb btrtl drm_kms_helper btbcm btintel eeepc_wmi snd_usbmidi_lib bluetooth asus_wmi irqbypass media snd_hda_core crct10dif_pclmul snd_rawmidi crc32_pclmul sparse_keymap ghash_clmulni_intel led_class wmi_bmof snd_hwdep mxm_wmi pcbc snd_seq_device drm snd_pcm igb ecdh_generic aesni_intel rfkill snd_timer aes_x86_64 agpgart snd crypto_simd glue_helper syscopyarea i2c_algo_bit sysfillrect sysimgblt dca fb_sys_fops soundcore cryptd pcspkr i2c_piix4 k10temp shpchp rtc_cmos
[    7.461923] RIP: 0010:generic_reg_update_ex+0x108/0x150 [amdgpu]
[    7.461959]  ? generic_reg_update_ex+0xe6/0x150 [amdgpu]
[    7.461992]  dce110_update_generic_info_packet+0x64/0x3c0 [amdgpu]
[    7.462029]  dce110_stream_encoder_update_dp_info_packets+0x1e3/0x210 [amdgpu]
[    7.462062]  dce110_enable_stream+0x51/0xd0 [amdgpu]
[    7.462093]  core_link_enable_stream+0x1a1/0xc40 [amdgpu]
[    7.462124]  ? dce110_update_generic_info_packet+0x30e/0x3c0 [amdgpu]
[    7.462157]  ? amdgpu_cgs_read_ind_register+0xb0/0xb0 [amdgpu]
[    7.462187]  ? dce110_stream_encoder_update_dp_info_packets+0x155/0x210 [amdgpu]
[    7.462219]  apply_single_controller_ctx_to_hw+0x294/0x360 [amdgpu]
[    7.462249]  dce110_apply_ctx_to_hw+0x428/0x740 [amdgpu]
[    7.462279]  ? generic_reg_update_ex+0xe6/0x150 [amdgpu]
[    7.462310]  dc_commit_state+0x2e6/0x530 [amdgpu]
[    7.462340]  ? mod_freesync_set_user_enable+0x119/0x150 [amdgpu]
[    7.462373]  amdgpu_dm_atomic_commit_tail+0x372/0xdb0 [amdgpu]
[    7.462400]  ? amdgpu_bo_pin_restricted+0x1f9/0x2c0 [amdgpu]
[    7.462432]  ? dm_plane_helper_prepare_fb+0x1da/0x240 [amdgpu]
[    7.462505]  amdgpu_fbdev_init+0xc4/0xf0 [amdgpu]
[    7.462534]  amdgpu_device_init+0xcba/0x1310 [amdgpu]
[    7.462562]  amdgpu_driver_load_kms+0x86/0x2b0 [amdgpu]
[    7.462596]  amdgpu_pci_probe+0xff/0x190 [amdgpu]
[    7.471339] WARNING: CPU: 0 PID: 375 at drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:132 generic_reg_update_ex+0x108/0x150 [amdgpu]
[    7.471339] Modules linked in: bnep amdkfd amd_iommu_v2 amdgpu(+) nls_iso8859_1 nls_cp437 vfat fat joydev mousedev input_leds uvcvideo(+) snd_hda_codec_hdmi edac_mce_amd videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 kvm_amd videobuf2_common snd_hda_intel ccp videodev snd_hda_codec rng_core chash kvm gpu_sched ttm snd_usb_audio btusb btrtl drm_kms_helper btbcm btintel eeepc_wmi snd_usbmidi_lib bluetooth asus_wmi irqbypass media snd_hda_core crct10dif_pclmul snd_rawmidi crc32_pclmul sparse_keymap ghash_clmulni_intel led_class wmi_bmof snd_hwdep mxm_wmi pcbc snd_seq_device drm snd_pcm igb ecdh_generic aesni_intel rfkill snd_timer aes_x86_64 agpgart snd crypto_simd glue_helper syscopyarea i2c_algo_bit sysfillrect sysimgblt dca fb_sys_fops soundcore cryptd pcspkr i2c_piix4 k10temp shpchp rtc_cmos
[    7.471398] RIP: 0010:generic_reg_update_ex+0x108/0x150 [amdgpu]
[    7.471440]  dce110_update_generic_info_packet+0x64/0x3c0 [amdgpu]
[    7.471473]  dce110_stream_encoder_update_dp_info_packets+0x1e3/0x210 [amdgpu]
[    7.471504]  dc_stream_adjust_vmin_vmax+0xb3/0xf0 [amdgpu]
[    7.471534]  set_freesync_on_streams.part.4+0x173/0x220 [amdgpu]
[    7.471564]  mod_freesync_notify_mode_change+0x11e/0x150 [amdgpu]
[    7.471597]  amdgpu_dm_atomic_commit_tail+0x53c/0xdb0 [amdgpu]
[    7.471624]  ? amdgpu_bo_pin_restricted+0x1f9/0x2c0 [amdgpu]
[    7.471656]  ? dm_plane_helper_prepare_fb+0x1da/0x240 [amdgpu]
[    7.471722]  amdgpu_fbdev_init+0xc4/0xf0 [amdgpu]
[    7.471748]  amdgpu_device_init+0xcba/0x1310 [amdgpu]
[    7.471777]  amdgpu_driver_load_kms+0x86/0x2b0 [amdgpu]
[    7.471810]  amdgpu_pci_probe+0xff/0x190 [amdgpu]
[    7.488765] amdgpu 0000:07:00.0: fb0: amdgpudrmfb frame buffer device
[    7.501232] [drm] Initialized amdgpu 3.23.0 20150101 for 0000:07:00.0 on minor 0

Any ideas? Do I have to kick some Intel stuff or rm a config or so?

Are you running Wayland or X?
What are you getting in journald for error messages?

Make sure that you have all packages updated and that you have all of the correct modesetting drivers installed. You literally cloned the characteristics of a Chevy and then layed them into a Ford and told it to live long and prosper.

You can always follow the configuration guide on the arch wiki and look at configuring things by hand.

How can I find that out without running it?
What is journald? How do I check that?

Yup. :smiley: I know.
I am honestly impressed that I have a running system at all.

System has all available updates.

Yeah, but I’m lazy. I also don’t think that is necessary.

does the GUI start if you add nomodeset to the kernel args? sounds like a GPU driver is expecting a gpu and not finding one

also what does systemd say for errors?

Nope, it gives me [drm:amdgpu_init [amdgpu]] *ERROR* VGACON disables amdgpu kernel modesetting.

Where do I look? Do you mean dmesg | grep systemd?

[    6.701494] systemd[1]: RTC configured in localtime, applying delta of 120 minutes to system time.
[    6.721171] systemd[1]: systemd 238 running in system mode. (+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN +PCRE2 default-hierarchy=hybrid)
[    6.733283] systemd[1]: Detected architecture x86-64.
[    6.738138] systemd[1]: Set hostname to <fury>.
[    6.833644] systemd[1]: Listening on Journal Socket.
[    6.834506] systemd[1]: Listening on Process Core Dump Socket.
[    6.834514] systemd[1]: Reached target Remote File Systems.
[    6.834539] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[    6.834564] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    6.835838] systemd[1]: Mounting Huge Pages File System...
[    6.835896] systemd[1]: Listening on udev Control Socket.
[    6.887842] systemd-journald[353]: Received request to flush runtime journal from PID 1
[    6.890826] systemd-journald[353]: File /var/log/journal/800f2f36c32e40188f35c9a26d04d5f6/system.journal corrupted or uncleanly shut down, renaming and replacing.

Commandline isn’t my home, please treat me like the dumb child I still am. xD

just run systemctl and look for any failed services. a service in systemd is just a file the says how to run and start some kind of program like ssh, xorg, etc.

then you run can systemctl status -l someService.service

2 Likes

Or better,

journalctl -xe
2 Likes
Apr 06 21:46:25 fury sddm[558]: /usr/bin/xauth: (stdin):2:  bad "add" command line
Apr 06 21:46:25 fury sddm[558]: QProcess: Destroyed while process ("/usr/lib/sddm/sddm-helper") is still running.
Apr 06 21:46:25 fury sddm[558]: /usr/bin/xauth: (stdin):1:  bad "remove" command line

Repeatedly.

Waiting, active, exited, running… nothing says failed.

1 Like

that is very strange. its running but not attached to anything.

@SgtAwesomesauce any ideas?

A couple.

sddm is for KDE, so I’m a bit out of my depth, but getting it running is something I should be able to help with.

First thing’s first, a dump of the output of journalctl -xe would be very helpful.

(I think manjaro has a package called pastebinit that allows you to pipe stdin to a new pastebin, that might help you)

3 Likes

That is handy! I like that.
Here is all the crap.

https://pastebin.com/RnVkP2ZN

1 Like

Have you looked at your xorg log? (looks like your xorg config is probably broken)

Looks like you’re using x, based on /usr/bin/xauth being called.

https://bbs.archlinux.org/viewtopic.php?id=206219

Not sure if you saw that thread. Might be helpful.

I got it, there was an Intel config file in /etc/X11/xorg.conf.d.
Removed that, “pling” KDE login prompt.

Thanks guys!

5 Likes

Glad I could help. :smiley:

2 Likes