[opensuse-factory] NVIDIA/Leap 15.0: Console (VT) not working with external display
Hello all, I have a laptop with openSUSE Leap 15.0 and an external monitor running nicely - if I use X. But I cannot use the virtual terminals on the external display. If I switch to a virtual terminal/console (e.g. by pressing STRG-ALT-F1), my monitor displays nothing and goes into powersave. On the laptop display I get a virtual terminal (crappy resolution, but that's not really an issue). Since I couldn't get the external display working with the default nouveau, I tried the proprietary drivers. I'm now running these RPMs: user@box:~> rpm -qa nvidia-* nvidia-computeG04-390.59-lp150.8.1.x86_64 nvidia-gfxG04-kmp-default-390.59_k4.12.14_lp150.11-lp150.8.1.x86_64 nvidia-glG04-390.59-lp150.8.1.x86_64 My Graphics adapter is an "nVidia GM107GLM [Quadro M1200 Mobile]". If I understand correctly, I need a framebuffer device in order to use a virtual console. And an FB device seems to exist: user@box:~> ll /dev/fb0* crw-rw---- 1 root video 29, 0 25. Mai 08:47 /dev/fb0 box:~ # fbtest && echo YES YES I'm unsure though whether the configuration is correct: box:~ # cat /sys/class/graphics/fb0/mode box:~ # cat /sys/class/graphics/fb0/modes U:800x600p-75 box:~ # cat /sys/module/nvidia_drm/parameters/modeset N Writing anything to 'mode' doesn't work: box:~ # echo U:1280x720p-30 > /sys/class/graphics/fb0/mode -bash: echo: write error: Invalid argument In /etc/default/grub I have GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/system/swap splash=verbose" GRUB_TERMINAL="console" GRUB_GFXMODE=auto GRUB_GFXPAYLOAD_LINUX=keep I already tried appending 'nomodeset' to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub: GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/system/swap splash=verbose nomodeset" which didn't work. Switching to GRUB_TERMINAL="gfxterm" doesn't seem make to a difference either. I'd appreciate any hints on how to getting my virtual consoles to work on the external display. Somewhat related: How do I switch back to nouveau? Simply uninstall the NVIDIA RPMs? Or is there some option/configuration to be set? Thanks and regards -- Till -- Dipl.-Inform. Till Dörges doerges@pre-sense.de Tel. +49 - 40 - 244 2407 - 14 Fax +49 - 40 - 244 2407 - 24 PRESENSE Technologies GmbH Sachsenstr. 5, D-20097 HH Geschäftsführer/Managing Directors AG Hamburg, HRB 107844 Till Dörges, Jürgen Sander USt-IdNr.: DE263765024 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
25.05.2018 11:30, Till Dörges пишет:
Hello all,
I have a laptop with openSUSE Leap 15.0 and an external monitor running nicely - if I use X.
But I cannot use the virtual terminals on the external display.
If I switch to a virtual terminal/console (e.g. by pressing STRG-ALT-F1), my monitor displays nothing and goes into powersave.
On the laptop display I get a virtual terminal (crappy resolution, but that's not really an issue).
For VGA based console (including vesafb) output is determined by default adapter settings, probably controlled by BIOS. KMS framebuffer drivers should actually output to all connected monitors by default. I briefly tested on my notebook; initial BIOS and bootloader output goes to internal display; as soon as inteldrmfb is loaded output is duplicated to TV connected by HDMI. All in text mode.
Since I couldn't get the external display working with the default nouveau, I tried
Not sure what you mean here. It does not work in X11/Wayland or it does not work in text console?
the proprietary drivers. I'm now running these RPMs:
user@box:~> rpm -qa nvidia-* nvidia-computeG04-390.59-lp150.8.1.x86_64 nvidia-gfxG04-kmp-default-390.59_k4.12.14_lp150.11-lp150.8.1.x86_64 nvidia-glG04-390.59-lp150.8.1.x86_64
My Graphics adapter is an "nVidia GM107GLM [Quadro M1200 Mobile]".
Well, to my best knowledge nVidia does not offer DRM framebuffer driver at all, so you get just single display. You may be able to configure which one in BIOS setup or card properties using nVidia utilities. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi, thanks for your answer! Am 26.05.2018 um 08:42 schrieb Andrei Borzenkov:
Not sure what you mean here. It does not work in X11/Wayland or it does not work in text console?
X11: both internal and external display work fine. Console: only internal display.
Well, to my best knowledge nVidia does not offer DRM framebuffer driver at all, so you get just single display. You may be able to configure which one in BIOS setup or card properties using nVidia utilities.
Well, that would explain, why I can have a console/virtual terminal on the internal display only. Thanks again -- Till -- Dipl.-Inform. Till Dörges doerges@pre-sense.de Tel. +49 - 40 - 244 2407 - 14 Fax +49 - 40 - 244 2407 - 24 PRESENSE Technologies GmbH Sachsenstr. 5, D-20097 HH Geschäftsführer/Managing Directors AG Hamburg, HRB 107844 Till Dörges, Jürgen Sander USt-IdNr.: DE263765024 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
26.05.2018 13:46, Till Dörges пишет:
Hi,
thanks for your answer!
Am 26.05.2018 um 08:42 schrieb Andrei Borzenkov:
Not sure what you mean here. It does not work in X11/Wayland or it does not work in text console?
X11: both internal and external display work fine. Console: only internal display.
Well, it is hard to say without any information. dmesg after boot with nouveau would be the first step.
Well, to my best knowledge nVidia does not offer DRM framebuffer driver at all, so you get just single display. You may be able to configure which one in BIOS setup or card properties using nVidia utilities.
Well, that would explain, why I can have a console/virtual terminal on the internal display only.
That does not explain why you do not have output on second terminal with nouveau. Are you on notebook with optimus by any chance? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, May 25, 2018 at 10:30:10AM +0200, Till Dörges wrote:
Since I couldn't get the external display working with the default nouveau, I tried the proprietary drivers. I'm now running these RPMs:
user@box:~> rpm -qa nvidia-* nvidia-computeG04-390.59-lp150.8.1.x86_64 nvidia-gfxG04-kmp-default-390.59_k4.12.14_lp150.11-lp150.8.1.x86_64 nvidia-glG04-390.59-lp150.8.1.x86_64
My Graphics adapter is an "nVidia GM107GLM [Quadro M1200 Mobile]".
Seems you're missing the x11-video-nvidiaG04 package needed for X11 support. Wayland is currently not supported yet with NVIDIA proprietary driver (in the works still). Hope this helps. Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany --------------------------------------------------------------- SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --------------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 26.05.2018 um 11:45 schrieb Stefan Dirsch:
On Fri, May 25, 2018 at 10:30:10AM +0200, Till Dörges wrote:
Since I couldn't get the external display working with the default nouveau, I tried the proprietary drivers. I'm now running these RPMs:
user@box:~> rpm -qa nvidia-* nvidia-computeG04-390.59-lp150.8.1.x86_64 nvidia-gfxG04-kmp-default-390.59_k4.12.14_lp150.11-lp150.8.1.x86_64 nvidia-glG04-390.59-lp150.8.1.x86_64
My Graphics adapter is an "nVidia GM107GLM [Quadro M1200 Mobile]".
Seems you're missing the x11-video-nvidiaG04 package needed for X11 support. Wayland is currently not supported yet with NVIDIA proprietary driver (in the works still).
Maybe there's a misunderstanding? At least X11 is working fine for me. I only have issues with the virtual terminals. E.g. switching to VT1 (CTRL-ALT-F1) gives me a blank external display. Only the int. displays shows VT1. But if I understood Andrei correctly, the proprietary nvidia driver simply doesn't offer the feature I would like to have. Regards -- Till -- Dipl.-Inform. Till Dörges doerges@pre-sense.de Tel. +49 - 40 - 244 2407 - 14 Fax +49 - 40 - 244 2407 - 24 PRESENSE Technologies GmbH Sachsenstr. 5, D-20097 HH Geschäftsführer/Managing Directors AG Hamburg, HRB 107844 Till Dörges, Jürgen Sander USt-IdNr.: DE263765024 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Sat, May 26, 2018 at 12:46:39PM +0200, Till Dörges wrote:
Am 26.05.2018 um 11:45 schrieb Stefan Dirsch:
On Fri, May 25, 2018 at 10:30:10AM +0200, Till Dörges wrote:
Since I couldn't get the external display working with the default nouveau, I tried the proprietary drivers. I'm now running these RPMs:
user@box:~> rpm -qa nvidia-* nvidia-computeG04-390.59-lp150.8.1.x86_64 nvidia-gfxG04-kmp-default-390.59_k4.12.14_lp150.11-lp150.8.1.x86_64 nvidia-glG04-390.59-lp150.8.1.x86_64
My Graphics adapter is an "nVidia GM107GLM [Quadro M1200 Mobile]".
Seems you're missing the x11-video-nvidiaG04 package needed for X11 support. Wayland is currently not supported yet with NVIDIA proprietary driver (in the works still).
Maybe there's a misunderstanding? At least X11 is working fine for me. I only have issues with the virtual terminals. E.g. switching to VT1 (CTRL-ALT-F1) gives me a blank external display. Only the int. displays shows VT1.
But if I understood Andrei correctly, the proprietary nvidia driver simply doesn't offer the feature I would like to have.
Well, question is if you really want to install parts of the proprietary NVIDIA driver, but excluding its X11 driver. Apparently you're now using some fallback X11 driver like fbdev or even vesa and then mixing it with NVIDIA's libGL. Not sure, if this is what you really want ... I would suggest to install x11-video-nvidiaG04 in addition first. Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany --------------------------------------------------------------- SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --------------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Andrei Borzenkov
-
Stefan Dirsch
-
Till Dörges