Xorg not starting after replacing Nvidia GPU with AMD GPU

I couldn’t find anything interesting in the UEFI / BIOS. Secure boot is disabled.

The grub parameters didn’t help (as long as I did the right thing; I added a set ... line for every parameter.).

While it wasn’t manjaro, I had a pop os live usb which worked without problems. I even did a benchmark and could see the gpu being used in radeontop.

I’m flashing a Manjaro ISO right now to see if this is a problem with my setup or Manjaro in general, but I assume the problem is on my end.

If there is nothing else I can try I guess I will just have to reinstall Manjaro :confused:

While writing my reply I realized that the grub parameters probably belong to the linux command in the grub config. I tried that but had no luck as well.

if it worked in popos it will hopefully work in manjaro usb …
no you dont add any set, this is how it should look like - using your cmdline from above:

GRUB_CMDLINE_LINUX_DEFAULT="quiet cryptdevice=UUID=cb6c2345-4354-45e0-a7d7-ac1bab050703:luks-cb6c2345-4354-45e0-a7d7-ac1bab050703 root=/dev/mapper/luks-cb6c2345-4354-45e0-a7d7-ac1bab050703 splash apparmor=1 security=apparmor resume=/dev/mapper/luks-14dfa0a3-eee1-41f3-a442-c46618244862 udev.log_priority=3 radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1"

if it works in manjaro, check the cmdline in the live usb …

The Manjaro Live USB worked without problems as well.

Applying the grub parameters in the correct way did not make any difference. I’m quite certain I did it right this time.

The live USB had a few extra parameters, they did not help as well unfortunately.

Thanks for the help nevertheless.

maybe try with different kernel … also check logs, maybe there is something:
journalctl -b0 -p4 --no-pager

There was (probably still is) a minimum requirement for kernel for these new AMD cards. Install kernel 5.15 without any extra Grub parameter, and see if it works. You didn’t provide an inxi -Fazy you should always provide one when opening a support thread.

@brahma

I looked at the logs quite a lot but could not find anything.

I tried and older kernel, which didn’t work.

@omano

I will try the newer kernel right away.

Here is the inxi -Fazy (I was on tty2):

System:
  Kernel: 5.10.141-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64
    root=UUID=0998ba73-ac0d-4e66-b11f-ebbdd497717d rw quiet
    cryptdevice=UUID=cb6c2345-4354-45e0-a7d7-ac1bab050703:luks-cb6c2345-4354-45e0-a7d7-ac1bab050703
    root=/dev/mapper/luks-cb6c2345-4354-45e0-a7d7-ac1bab050703 splash
    apparmor=1 security=apparmor
    resume=/dev/mapper/luks-14dfa0a3-eee1-41f3-a442-c46618244862
    udev.log_priority=3
  Console: tty 2 DM: GDM v: 42.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: Z170 PRO GAMING v: Rev X.0x
    serial: <filter> UEFI: American Megatrends v: 0803 date: 09/24/2015
CPU:
  Info: model: Intel Core i5-6600K socket: LGA1151 bits: 64 type: MCP
    arch: Skylake-S gen: core 6 level: v3 built: 2015 process: Intel 14nm
    family: 6 model-id: 0x5E (94) stepping: 3 microcode: 0xF0
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 256 KiB
    desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB
    desc: 1x6 MiB
  Speed (MHz): avg: 800 min/max: 800/3900 base/boost: 3500/3900 scaling:
    driver: intel_pstate governor: powersave volts: 1.1 V ext-clock: 100 MHz
    cores: 1: 800 2: 800 3: 800 4: 800 bogomips: 28009
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    disabled
  Type: mds mitigation: Clear CPU buffers; SMT disabled
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT disabled
  Type: retbleed mitigation: IBRS
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl and seccomp
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: IBRS, IBPB: conditional, RSB filling,
    PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort mitigation: Clear CPU buffers; SMT disabled
Graphics:
  Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M]
    vendor: Sapphire driver: N/A arch: RDNA-2 code: Navi-2x process: TSMC n7
    (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 03:00.0
    chip-ID: 1002:73df class-ID: 0300
  Display: server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.3 driver: X:
    loaded: radeon unloaded: modesetting alternate: fbdev,vesa gpu: N/A
    tty: 128x48
  Message: GL data unavailable in console for root.
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a170
    class-ID: 0403
  Device-2: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel
    pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:ab28
    class-ID: 0403
  Sound Server-1: ALSA v: k5.10.141-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.21 running: no
  Sound Server-3: PulseAudio v: 16.1 running: no
  Sound Server-4: PipeWire v: 0.3.57 running: no
Network:
  Device-1: Intel Ethernet I219-V vendor: ASUSTeK driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15b8 class-ID: 0200
  IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 4.34 TiB used: 703.85 GiB (15.9%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: WDS100T3X0C-00SJG0 size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 111110WD temp: 41.9 C
  ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 850 EVO 500GB
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 2B6Q scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WD30EZRZ-00Z5HB0 size: 2.73 TiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 0A80 scheme: GPT
  ID-4: /dev/sdc maj-min: 8:32 vendor: Samsung model: SSD 850 EVO 250GB
    size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 2B6Q
  ID-5: /dev/sdd maj-min: 8:48 type: USB vendor: SanDisk model: Cruzer Blade
    size: 14.59 GiB block-size: physical: 512 B logical: 512 B type: N/A
    serial: <filter> rev: 1.00 scheme: MBR
Partition:
  ID-1: / raw-size: 448.35 GiB size: 440.24 GiB (98.19%) used: 250.22 GiB
    (56.8%) fs: ext4 block-size: 4096 B dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-cb6c2345-4354-45e0-a7d7-ac1bab050703
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 440 KiB
    (0.1%) fs: vfat block-size: 512 B dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 17.11 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/dm-1 maj-min: 254:1
    mapped: luks-14dfa0a3-eee1-41f3-a442-c46618244862
Sensors:
  System Temperatures: cpu: 26.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 160 Uptime: 0m wakeups: 0 Memory: 15.55 GiB used: 433.8 MiB
  (2.7%) Init: systemd v: 251 default: graphical tool: systemctl Compilers:
  gcc: 12.2.0 clang: 14.0.6 Packages: 1630 pm: pacman pkgs: 1600 libs: 435
  tools: gnome-software,pamac pm: flatpak pkgs: 30 Shell: Zsh (sudo) v: 5.9
  default: Bash v: 5.1.16 running-in: tty 2 inxi: 3.3.21

you are having intel cpu, which has integrated gpu:
Intel® HD Graphics 530 so you should be able to boot with it …however its not being detected with inxi nor with mhwd …

Good news, using the 5.15 kernel just works!

Before I do anything else: Is there something I have to keep in mind? Or can I just use my PC like this?

Check basics like starting graphical program (game) or use command line tools (like glxinfo) to check if the video card works as intended.

maybe disabled in the BIOS, that’s what I would do on a desktop with dedicated GPU, I would disable the low end integrated one.

The graphics card working and I can see it being used.

maybe disabled in the BIOS, that’s what I would do on a desktop with dedicated GPU, I would disable the low end integrated one.

There is an option in my BIOS where I could force either one and it is set to AUTO. I guess it decided that it would be stupid to use the integrated graphics for me.

Thank you two very much, i appreciate the help!

Nice. Keep in mind if for whatever reason you want to enable the integrated graphics, you probably would/should then install the hybrid driver available in MHWD GUI (Manjaro Setings Manager → Hardware), it should configure some things here and there to be able to use the dedicated card on demand by starting programs with specific environment variable, and use Intel for everything else.

If it works good for you like that, I guess keep it like that and enjoy :wink:

Also inxi should now tell you it is using amdgpu, but you already know it now works properly

PS: don’t forget to remove kernel 5.10 as it is no good for you I guess.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.