mhwd --listinstalled
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-linux 2018.05.04 true PCI
video-nvidia-470xx 2021.12.18 false PCI
Warning: No installed USB configs!
and
mhwd --list
> 0000:09:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
network-r8168 2016.04.20 true PCI
> 0000:05:00.0 (0300:1002:73ff) Display controller ATI Technologies Inc:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-linux 2018.05.04 true PCI
video-modesetting 2020.01.13 true PCI
video-vesa 2017.03.12 true PCI
Well, to start with, if you’re replacing the nvidia with an AMD, as your title says, then the nvidia drivers’ll do you no good. So you can remove them:
I removed video-nvidia-470xx rebooted and still the same issue, black screen, my monitor shows a message saying there’s no signal and I start lightdm with a terminal I accessed by doing ctrl alt f number
mhwd --listinstalled
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-linux 2018.05.04 true PCI
Warning: No installed USB configs!
mhwd --list
> 0000:09:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
network-r8168 2016.04.20 true PCI
> 0000:05:00.0 (0300:1002:73ff) Display controller ATI Technologies Inc:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-linux 2018.05.04 true PCI
video-modesetting 2020.01.13 true PCI
video-vesa 2017.03.12 true PCI
mhwd --auto pci free 0300
> Using config 'video-linux' for device: 0000:05:00.0 (0300:1002:73ff) Display controller ATI Technologies Inc Navi 23 [Radeon RX 6600/6600 XT/6600M]
> Installing video-linux...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/video-linux/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0380
Processing classid: 0302
:: Synchronizing package databases...
core downloading...
extra downloading...
community downloading...
multilib downloading...
resolving dependencies...
looking for conflicting packages...
Packages (14) lib32-libvdpau-1.4-2 lib32-libva-vdpau-driver-0.7.4-6 lib32-mesa-vdpau-21.3.7-2 lib32-vulkan-intel-21.3.7-2 lib32-vulkan-radeon-21.3.7-2 libva-mesa-driver-21.3.7-2 libva-vdpau-driver-0.7.4-6 mesa-vdpau-21.3.7-2 vulkan-intel-21.3.7-2 vulkan-radeon-21.3.7-2 xf86-video-amdgpu-22.0.0-1 xf86-video-ati-1:19.1.0.r9.g5eba006e-2 xf86-video-intel-1:2.99.917+916+g31486f40-2 xf86-video-nouveau-1.0.17-2
Total Download Size: 0.04 MiB
Total Installed Size: 76.63 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
lib32-mesa-vdpau-21.3.7-2-x86_64 downloading...
mesa-vdpau-21.3.7-2-x86_64 downloading...
libva-mesa-driver-21.3.7-2-x86_64 downloading...
vulkan-intel-21.3.7-2-x86_64 downloading...
lib32-vulkan-intel-21.3.7-2-x86_64 downloading...
lib32-vulkan-radeon-21.3.7-2-x86_64 downloading...
vulkan-radeon-21.3.7-2-x86_64 downloading...
xf86-video-intel-1:2.99.917+916+g31486f40-2-x86_64 downloading...
xf86-video-ati-1:19.1.0.r9.g5eba006e-2-x86_64 downloading...
xf86-video-nouveau-1.0.17-2-x86_64 downloading...
xf86-video-amdgpu-22.0.0-1-x86_64 downloading...
lib32-libva-vdpau-driver-0.7.4-6-x86_64 downloading...
libva-vdpau-driver-0.7.4-6-x86_64 downloading...
lib32-libvdpau-1.4-2-x86_64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing xf86-video-ati...
installing xf86-video-amdgpu...
installing xf86-video-intel...
>>> This driver now uses DRI3 as the default Direct Rendering
Infrastructure. You can try falling back to DRI2 if you run
into trouble. To do so, save a file with the following
content as /etc/X11/xorg.conf.d/20-intel.conf :
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "DRI" "2" # DRI3 is now default
#Option "AccelMethod" "sna" # default
#Option "AccelMethod" "uxa" # fallback
EndSection
Optional dependencies for xf86-video-intel
libxrandr: for intel-virtual-output [installed]
libxinerama: for intel-virtual-output [installed]
libxcursor: for intel-virtual-output [installed]
libxtst: for intel-virtual-output [installed]
libxss: for intel-virtual-output [installed]
installing xf86-video-nouveau...
installing vulkan-intel...
Optional dependencies for vulkan-intel
vulkan-mesa-layers: additional vulkan layers
installing vulkan-radeon...
Optional dependencies for vulkan-radeon
vulkan-mesa-layers: additional vulkan layers
installing libva-mesa-driver...
installing libva-vdpau-driver...
installing mesa-vdpau...
installing lib32-vulkan-intel...
Optional dependencies for lib32-vulkan-intel
lib32-vulkan-mesa-layers: additional vulkan layers
installing lib32-vulkan-radeon...
Optional dependencies for lib32-vulkan-radeon
lib32-vulkan-mesa-layers: additional vulkan layers
installing lib32-libvdpau...
installing lib32-libva-vdpau-driver...
installing lib32-mesa-vdpau...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
xf86-video-ati: install reason has been set to 'explicitly installed'
xf86-video-amdgpu: install reason has been set to 'explicitly installed'
xf86-video-intel: install reason has been set to 'explicitly installed'
xf86-video-nouveau: install reason has been set to 'explicitly installed'
vulkan-intel: install reason has been set to 'explicitly installed'
vulkan-radeon: install reason has been set to 'explicitly installed'
libva-mesa-driver: install reason has been set to 'explicitly installed'
libva-vdpau-driver: install reason has been set to 'explicitly installed'
mesa-vdpau: install reason has been set to 'explicitly installed'
lib32-vulkan-intel: install reason has been set to 'explicitly installed'
lib32-vulkan-radeon: install reason has been set to 'explicitly installed'
lib32-libva-vdpau-driver: install reason has been set to 'explicitly installed'
lib32-mesa-vdpau: install reason has been set to 'explicitly installed'
> Successfully installed video-linux
I rebooted, then maybe it was a blip but I got a black screen when grub should have come up, rebooted again, grub reappeared, and no change from previous situation, black screen.
journalctl --boot --unit=lightdm
Mar 27 13:57:44 gregoire-x58aud3r systemd[1]: Starting Light Display Manager...
Mar 27 13:57:44 gregoire-x58aud3r systemd[1]: Started Light Display Manager.
Mar 27 13:57:44 gregoire-x58aud3r systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Mar 27 13:57:44 gregoire-x58aud3r systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mar 27 13:57:45 gregoire-x58aud3r systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 1.
Mar 27 13:57:45 gregoire-x58aud3r systemd[1]: Stopped Light Display Manager.
Mar 27 13:57:45 gregoire-x58aud3r systemd[1]: Starting Light Display Manager...
Mar 27 13:57:45 gregoire-x58aud3r systemd[1]: Started Light Display Manager.
Mar 27 13:57:45 gregoire-x58aud3r systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Mar 27 13:57:45 gregoire-x58aud3r systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mar 27 13:57:45 gregoire-x58aud3r systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 2.
Mar 27 13:57:45 gregoire-x58aud3r systemd[1]: Stopped Light Display Manager.
Mar 27 13:57:45 gregoire-x58aud3r systemd[1]: Starting Light Display Manager...
Mar 27 13:57:45 gregoire-x58aud3r systemd[1]: Started Light Display Manager.
Mar 27 13:57:45 gregoire-x58aud3r systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Mar 27 13:57:45 gregoire-x58aud3r systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mar 27 13:57:45 gregoire-x58aud3r systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 3.
Mar 27 13:57:45 gregoire-x58aud3r systemd[1]: Stopped Light Display Manager.
Mar 27 13:57:45 gregoire-x58aud3r systemd[1]: Starting Light Display Manager...
Mar 27 13:57:45 gregoire-x58aud3r systemd[1]: Started Light Display Manager.
Mar 27 13:57:45 gregoire-x58aud3r systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Mar 27 13:57:45 gregoire-x58aud3r systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mar 27 13:57:46 gregoire-x58aud3r systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 4.
Mar 27 13:57:46 gregoire-x58aud3r systemd[1]: Stopped Light Display Manager.
Mar 27 13:57:46 gregoire-x58aud3r systemd[1]: Starting Light Display Manager...
Mar 27 13:57:46 gregoire-x58aud3r systemd[1]: Started Light Display Manager.
Mar 27 13:57:46 gregoire-x58aud3r systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Mar 27 13:57:46 gregoire-x58aud3r systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mar 27 13:57:46 gregoire-x58aud3r systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 5.
Mar 27 13:57:46 gregoire-x58aud3r systemd[1]: Stopped Light Display Manager.
Mar 27 13:57:46 gregoire-x58aud3r systemd[1]: lightdm.service: Start request repeated too quickly.
Mar 27 13:57:46 gregoire-x58aud3r systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mar 27 13:57:46 gregoire-x58aud3r systemd[1]: Failed to start Light Display Manager.
I put the files back, lightdm does not start after grub, and also I cant start lightdm from one of the ctrl alt f+number terminal but sway works (sort of).
pamac reinstall --overwrite lightdm
Reinstall packages
pamac reinstall <package(s),group(s)>
options:
--overwrite <glob> : overwrite conflicting files, multiple patterns can be specified by separating them with a comma
--download-only, -w : download all packages but do not install/upgrade anything
--as-deps : mark all packages installed as a dependency
--as-explicit : mark all packages explicitly installed
--no-confirm : bypass any and all confirmation messages