You are not logged in.

#1 2022-02-21 07:41:29

Kody
Member
Registered: 2018-03-13
Posts: 8

[Solved] No grub or TTY but can still startx

I just swapped out an Nvidia GTX 980 for an RTX 2080. After booting I don't get any image on the screen for grub or a TTY, but I can still blindly login and then run startx and I will get a display. When I am logged in and running X11, if I switch to a different TTY the screen goes blank. Can anyone suggest what I should look at to figure out the problem? I use bspwm so I'd typically login with the TTY and then manually run startx. I also have a second GPU, an RTX 2070 that I use for a VM with vfio if that can make any difference

edit: removing the displayport 1.4 KVM switch and plugging directly into the monitor solved this, I'm guessing it was some kind of EDID issue

Last edited by Kody (2022-02-21 18:03:20)

Offline

#2 2022-02-21 10:02:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,292

Re: [Solved] No grub or TTY but can still startx

This can usually be solved by enabling early KMS and the relevant parameter for enabling KMS support in the first place: https://wiki.archlinux.org/title/NVIDIA … de_setting both the kernel parameter and the early  loading section (... and the pacman-hook to make sure this is applied on nvidia driver updates)

Offline

#3 2022-02-21 16:12:19

Kody
Member
Registered: 2018-03-13
Posts: 8

Re: [Solved] No grub or TTY but can still startx

Thank you for the response, I tried doing that but it had no effect.
I've added

nvidia-drm.modeset=1

to my kernel args making them now:

BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=28e8f3e7-b032-4072-a381-5e37bf2fa0e3 rw amd_iommu=on iommu=pt hugepagesz=1G default_hugepagesz=1G hugepages=28 nvidia-drm.modeset=1 vfio-pci.ids=10de:1f02,10de:10f9,10de:1ada,10de:1adb,1912:0014 pcie_ports=native pci=assign-busses,hpbussize=0x33,realloc,hpmmiosize=128M,hpmmioprefsize=512M,nocrs

and I've added

nvidia nvidia_modeset nvidia_uvm nvidia_drm

to /etc/mkinitcpio.conf so its:

MODULES=(vfio vfio_iommu_type1 vfio_pci vfio_virqfd nvidia nvidia_modeset nvidia_uvm nvidia_drm)
BINARIES=()
FILES=()
HOOKS=(base udev autodetect modconf block filesystems keyboard fsck)

then I ran

sudo mkinitcpio -P

to regenerate the initramfs. After rebooting I still had no display until running startx, any ideas?

edit: solved, just needed to plug directly into monitor and not through kvm switch

Last edited by Kody (2022-02-21 18:03:47)

Offline

Board footer

Powered by FluxBB