You are not logged in.
Pages: 1
The current way that TTYs are displayed is through the built in LCD display, and I want to get them on my monitor because I usually have the lid closed when I am using it. My laptop has a Intel iGPU and discrete NVidia graphics, I tried disconnecting the LCD display to see if the video output would be forced through the HDMI connection, but no luck.
After that, I tried to further narrow down the problem to see if it was related to one of the graphics chips. I blacklisted the NVidia kernel modules for the GPU drivers by adding '''blacklist nvidia''' to '''/etc/modprobe.d/blacklist.conf''', but no results once again.
Most other solutions I have seen involved changing hardware settings in BIOS, but my laptop does not seem to have anything related to video output in BIOS .
Does anyone else have ideas for what I could try?
Last edited by tiger64 (2024-01-07 02:04:58)
Offline
Try enabling KMS for the nvidia card: https://wiki.archlinux.org/title/NVIDIA … de_setting
Assuming that's where your monitor is, what do you get from
lspci -k | grep -E 'VGA|3D'
#From a xorg session
xrandr -q
depending on the interaction of the framebuffer with an integrated GPU and NVidia, chances are this isn't really fixable if you are hell bent on having a plain tty (...what makes running a GUI session and just having a fullscreen terminal unattractive?)
Offline
Yeah, I don't think there are really any fixes to this. I enabled KMS with the kernel module parameters, but that did not make a difference.
Here are the outputs from the commands:
xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 530mm x 290mm
1920x1080 60.00 + 144.00* 119.88 119.42 59.94 50.00
1680x1050 59.95
1600x900 120.00 60.00
1360x768 60.02
1280x1024 75.02 60.02
1280x960 60.00
1280x720 60.00 59.94 50.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32
720x576 50.00
720x480 59.94
640x480 75.00 59.95
DP-1-1 disconnected (normal left inverted right x axis y axis)
DP-1-2 disconnected (normal left inverted right x axis y axis)
lspci
...
0000:00:02.0 VGA compatible controller: Intel Corporation TigerLake-H GT1 [UHD Graphics] (rev 01)
0000:01:00.0 VGA compatible controller: NVIDIA Corporation GA107M [GeForce RTX 3050 Ti Mobile] (rev a1)
...
(... i wanted to get a TTY on my monitor because i was trying out the Console Display Manager and kind of liked it .)
Offline
Please post your complete system journal for the boot:
sudo journalctl -b | curl -F 'file=@-' 0x0.st
Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
https://www.kernel.org/doc/Documentation/fb/modedb.rst - but if the HDMI is wired to the nvidia GPU you'll need https://raw.githubusercontent.com/torva … /fbcon.rst
("fbcon=map")
Online
Please post your complete system journal for the boot
Should I get the logs with the LCD display connected, disconnected, or does it not matter?
Offline
Doesn't matterm but the HDMI output has to be present.
Online
but if the HDMI is wired to the nvidia GPU
I decided to just set both of them because logs from dmesg (http://0x0.st/H6FZ.txt) did not make it clear if HDMI was wired directly through either one of the GPUs.
For context, these are the kernel parameters I have set for GRUB:
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 nvidia_drm.modeset=1 video=HDMI-0:1920x1080@144 fbcon=map:0123"
These logs are post modedb and fbcon edits:
journal
http://0x0.st/H6Fs.txt
Offline
[ 25.253] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 13 00:38:24 2023
The xorg log is dated and has only the eDP.
There's a single output on the nvidia chip, but nothing attached.
Edit: and that's not how the fbcon:map works, please read the readme, don't just copypaste stuff.
Last edited by seth (2024-01-07 17:53:31)
Online
sorry. here is the most recent Xorg log i have: http://0x0.st/H6Fj.txt
i did read the documentation for the map option, but didn't initially understand it.
after rereading it a couple more times, could it be used to specify the framebuffer used for each TTY because there are two different drivers for the GPUs?
fbcon=map:01
Offline
The X11 server is running on the nvidia chip (only) b/c of
[ 26.239] (**) |-->Screen "nvidia_screen" (0)
[ 26.239] (**) | |-->Monitor "Pixio"
[ 26.239] (**) | |-->Device "nvidia_card"
[ 26.239] (**) | |-->GPUDevice "force modesetting"
If you're not interested in the i915 chip, disable it in the BIOS/UEFI or (if that's not an option) blacklist it "module_blacklist=i915", https://wiki.archlinux.org/title/Kernel_parameters
You'd otherwise probably want to revert the mapping order to have the 2nd device mapped to the first TTY (but w/ the simpledrm device in the mix you'd probably first have to TaE which device is which…)
nvidia_drm.modeset=1 video=HDMI-0:D fbcon=map:1
"video=HDMI-0:D" is probably not helpful since it's disable the HDMI output
Also check "ls /sys/class/drm/" for the outputs name.
"map:1" would otherwise, in theory, map the second device to all consoles (ie. nvidia?)
Do you still get output on the eDP?
Online
i added the i915 chip to the blacklist and all that it changed was the device name of the HDMI output:
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 nvidia_drm.modeset=1 module_blacklist=i915 fbcon=map:0 video=HDMI-A-1:1920x1080@144"
i am still getting output on eDP though which is weird...
it might be worth a try to blacklist the nvidia chip and see if the iGPU framebuffer can be (more easily) changed.
sacrificing the nvidia graphics probably would not be worth it at that point though.
Offline
i am still getting output on eDP though which is weird...
Please post your complete system journal for that boot, eg.
sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st
for the previous ("-1") one.
Online
Pages: 1