You are not logged in.

#1 2022-02-06 23:27:01

demiler
Member
Registered: 2022-02-06
Posts: 4

No HDMI output on boot and login screen

Hello, my laptop has a damaged screen, so I have to use secondary monitor connected over hdmi. Unfortunately while my pc is booting the boot sequence only showing on my laptop screen while second monitor isn't even awake (it's powered and on, but since no hdmi output is present it hangs to sleep). As a result I can't use tty, I can't see boot errors and login screen isn't even showing (if I type password, I'll load into kde and everything starts to work fine). So, is there any way I can make my pc work with hdmi while it's booting?

OS: arch linux, kernel 5.15.13-arch1-1
DE: kde plasma 5.23.5
bootloader: systemd-boot
DM: sddm
nvidia drivers v495.46-7

/boot/loader/loader.conf:
default archlinux.conf

/boot/loader/entries/archlinux.conf
title    Arch Linux
linux    /vmlinuz-linux
initrd   /initramfs-linux.img
options  root="LABEL=archa" rw

P.S. I can't delete nvidia drivers since it disables hdmi in xorg too for some reason.

Offline

#2 2022-02-07 00:31:46

squeaks
Member
Registered: 2022-02-01
Posts: 21

Re: No HDMI output on boot and login screen

I'd try https://wiki.archlinux.org/title/Kernel … cing_modes to set a kernel parameter to try to force output to your HDMI port.

If I recall, SDDM uses X11. The wiki briefly mentions modifying /usr/share/sddm/scripts/Xsetup. Here https://blog.victormendonca.com/2018/06 … e-screens/ is another source for the information.

demiler wrote:

P.S. I can't delete nvidia drivers since it disables hdmi in xorg too for some reason.

I hope you mean switch to nouveau driver or some other driver. Then I understand.


Antec 1200, XSPC Rasa 750 RX360 (v1), Swiftech MCP655TM 12 VDC Laing D5, Monsoon Series Two D5 Dual Bay Res

Offline

#3 2022-02-07 08:55:33

demiler
Member
Registered: 2022-02-06
Posts: 4

Re: No HDMI output on boot and login screen

squeaks wrote:

I'd try https://wiki.archlinux.org/title/Kernel … cing_modes to set a kernel parameter to try to force output to your HDMI port.

I don't know why, but

for p in /sys/class/drm/*/status; do con=${p%/status}; echo -n "${con#*/card?-}: "; cat $p; done

doesn't show hdmi, maybe that's the problem?

xrandr though shows HDMI-1-0, so I'll try add

video=HDMI-1-0:1920x1080@60

to my kernel options but I'm not sure if it'll work.

Offline

#4 2022-02-07 09:59:28

seth
Member
Registered: 2012-09-03
Posts: 63,471

Re: No HDMI output on boot and login screen

Is this an optimus system hybrid graphics)?

Online

#5 2022-02-07 10:57:44

demiler
Member
Registered: 2022-02-06
Posts: 4

Re: No HDMI output on boot and login screen

seth wrote:

Is this an optimus system hybrid graphics)?

I'm not sure what you are talking about. I use dell inspirion 7567, it has nvidia 1050ti mobile and integrated intel graphics.

Offline

#6 2022-02-07 11:08:42

seth
Member
Registered: 2012-09-03
Posts: 63,471

Re: No HDMI output on boot and login screen

https://wiki.archlinux.org/title/NVIDIA_Optimus
https://www.kernel.org/doc/html/latest/fb/fbcon.html
See section B.C.2 - you likely have to map a console to that driver.

https://wiki.archlinux.org/title/PRIME#Reverse_PRIME
https://wiki.archlinux.org/title/Xrandr#Configuration
On how to redirect the output at sddm start.

Alternatively, if possible, disable the igp in the BIOS - disabling the nvidia gpu in the bios might rewire the hdmi to the intel chip.

Online

#7 2022-02-07 17:51:29

demiler
Member
Registered: 2022-02-06
Posts: 4

Re: No HDMI output on boot and login screen

seth wrote:

https://wiki.archlinux.org/title/NVIDIA_Optimus
https://www.kernel.org/doc/html/latest/fb/fbcon.html
See section B.C.2 - you likely have to map a console to that driver.

https://wiki.archlinux.org/title/PRIME#Reverse_PRIME
https://wiki.archlinux.org/title/Xrandr#Configuration
On how to redirect the output at sddm start.

Alternatively, if possible, disable the igp in the BIOS - disabling the nvidia gpu in the bios might rewire the hdmi to the intel chip.

Well, I've added two kernel options to my entry file and... none of them worked, I tried "video=HDMI-1-0:1920x1080@60", "fbcon=map:0", "fbcon=map:01" and "fbcon=map:10".

There is no option to disable nvidia card in my bios and /etc/X11/xorg.conf from archwiki didn't work, so... idk

Offline

#8 2022-02-07 21:26:41

seth
Member
Registered: 2012-09-03
Posts: 63,471

Re: No HDMI output on boot and login screen

The critical part is not the config but "xrandr --setprovideroutputsource ..." which you need to configure for sddm to get access to the nvidia outputs.

Online

Board footer

Powered by FluxBB