Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #270102 > unrolled thread
| Started by | Mike <debian@norgie.net> |
|---|---|
| First post | 2024-06-14 19:00 +0200 |
| Last post | 2024-06-16 01:20 +0200 |
| Articles | 7 — 4 participants |
Back to article view | Back to linux.debian.user
Virtual Terminal has seen better days Mike <debian@norgie.net> - 2024-06-14 19:00 +0200
Re: Virtual Terminal has seen better days Michael Kjörling <2695bd53d63c@ewoof.net> - 2024-06-14 19:20 +0200
Re: Virtual Terminal has seen better days Mike <debian@norgie.net> - 2024-06-14 19:30 +0200
Re: Virtual Terminal has seen better days Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2024-06-17 14:50 +0200
Re: Virtual Terminal has seen better days Felix Miata <mrmazda@earthlink.net> - 2024-06-14 19:50 +0200
Re: Virtual Terminal has seen better days Mike <debian@norgie.net> - 2024-06-16 00:50 +0200
Re: Virtual Terminal has seen better days Felix Miata <mrmazda@earthlink.net> - 2024-06-16 01:20 +0200
| From | Mike <debian@norgie.net> |
|---|---|
| Date | 2024-06-14 19:00 +0200 |
| Subject | Virtual Terminal has seen better days |
| Message-ID | <IPirn-2Vht-3@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Folks, I'm trying to resolve a long standing issue with my virtual consoles. They're just a bit messed up. The most pressing issue is that when I boot, after Grub, I get some miminal output on the screen and then the screen turns off. If I blindly enter my userid and password and then type startx, the monitor turns back on and X works in beautiful 4k glory. I do get a bit of output to say that a couple of services failed to start, so it seems that the monitor goes into power off just before the login prompt should be displayed. I had a fiddle with a setting in Grub which I think was probably the wrong place and also /etc/default/console-setup, which sounds like a sensible place to fiddle, although it didn't make any difference. I'd be grateful if anyone could give me any pointers to get the terminals looking vaguely sensible, please? I think the first isse it working out how to stop the screen turning off, which I assume is because the display is out of range for the monitor. I can't seen to figure out how to change that. It would perhaps be nice too to tidy up the systemd output but probably best to get the display on first to aid debugging that. If anyone could offer any pointers, I would be really grateful. Kind regards, Mike.
[toc] | [next] | [standalone]
| From | Michael Kjörling <2695bd53d63c@ewoof.net> |
|---|---|
| Date | 2024-06-14 19:20 +0200 |
| Message-ID | <IPiKK-2VDw-7@gated-at.bofh.it> |
| In reply to | #270102 |
On 14 Jun 2024 17:47 +0100, from debian@norgie.net (Mike): > I'd be grateful if anyone could give me any pointers to get the > terminals looking vaguely sensible, please? I think the first isse it > working out how to stop the screen turning off, which I assume is > because the display is out of range for the monitor. I can't seen to > figure out how to change that. That would be the first thing I would want to rule out, too. In GRUB, try "e"diting the boot command sequence and on IIRC the "kernel" line (the one that specifies the kernel and kernel parameters), add one of vga=0; vga=0x0f04 (leave current settings); or vga=ask followed by "scan" at the prompt and then select a reasonable one. See https://www.kernel.org/doc/html/latest/admin-guide/svga.html. In /etc/default/console-setup, try setting VIDEOMODE to the empty string. See console-setup(5). -- Michael Kjörling 🔗 https://michael.kjorling.se “Remember when, on the Internet, nobody cared that you were a dog?”
[toc] | [prev] | [next] | [standalone]
| From | Mike <debian@norgie.net> |
|---|---|
| Date | 2024-06-14 19:30 +0200 |
| Message-ID | <IPiUp-2VGu-5@gated-at.bofh.it> |
| In reply to | #270103 |
[Multipart message — attachments visible in raw view] — view raw
On Fri, Jun 14, 2024 at 05:11:37PM +0000, Michael Kjörling wrote: > On 14 Jun 2024 17:47 +0100, from debian@norgie.net (Mike): > > I'd be grateful if anyone could give me any pointers to get the > > terminals looking vaguely sensible, please? I think the first isse it > > working out how to stop the screen turning off, which I assume is > > because the display is out of range for the monitor. I can't seen to > > figure out how to change that. > > That would be the first thing I would want to rule out, too. > > In GRUB, try "e"diting the boot command sequence and on IIRC the > "kernel" line (the one that specifies the kernel and kernel > parameters), add one of vga=0; vga=0x0f04 (leave current settings); or > vga=ask followed by "scan" at the prompt and then select a reasonable > one. See https://www.kernel.org/doc/html/latest/admin-guide/svga.html. > > In /etc/default/console-setup, try setting VIDEOMODE to the empty > string. See console-setup(5). > Hi, Thanks for the feedback. I have found both of these settings but they haven't helped too much. The /etc/default/console-setup, VIDEOMODE line was oringally blank, so I tried setting it and it made no difference. Likewise, fiddling with the display modes in grub didn't help too much either. I think the max mode I could run, according to vbeinfo or whatever is was is 1080p, so I chose that. I think it was auto selecting that already. Thinking back, I seem to recall the issue with the screen turning off started after I switched from Nouveau to the Nvidia driver. It fixed the issue I had with X but broke my console. Regards, Mike.
[toc] | [prev] | [next] | [standalone]
| From | Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> |
|---|---|
| Date | 2024-06-17 14:50 +0200 |
| Message-ID | <IQjY5-3A2O-3@gated-at.bofh.it> |
| In reply to | #270104 |
Mike <debian@norgie.net> writes: > Thinking back, I seem to recall the issue with the screen turning off > started after I switched from Nouveau to the Nvidia driver. It fixed > the issue I had with X but broke my console. I think I had a similar issue some years ago and these two lines /etc/default/grub helped: GRUB_GFXMODE=1920x1080x32 GRUB_GFXPAYLOAD_LINUX=keep The latter especially. And yes, I'm also using Nvidia proprietary drivers.
[toc] | [prev] | [next] | [standalone]
| From | Felix Miata <mrmazda@earthlink.net> |
|---|---|
| Date | 2024-06-14 19:50 +0200 |
| Message-ID | <IPjdL-2VNg-1@gated-at.bofh.it> |
| In reply to | #270103 |
Michael Kjörling composed on 2024-06-14 17:11 (UTC): > On 14 Jun 2024 17:47 +0100, from Mike: >> I'd be grateful if anyone could give me any pointers to get the >> terminals looking vaguely sensible, please? I think the first isse it >> working out how to stop the screen turning off, which I assume is >> because the display is out of range for the monitor. I can't seen to >> figure out how to change that. > That would be the first thing I would want to rule out, too. > In GRUB, try "e"diting the boot command sequence and on IIRC the > "kernel" line (the one that specifies the kernel and kernel > parameters), add one of vga=0; vga=0x0f04 (leave current settings); or > vga=ask followed by "scan" at the prompt and then select a reasonable > one. See https://www.kernel.org/doc/html/latest/admin-guide/svga.html. The following applies with all FOSS drivers I've ever used except possibly mga: vga= only works until KMS starts. video= does the desired job while KMS is engaged. e.g. video=DP-1:1440x900@60 Causes 1440x900 with refresh 60Hz to be applied only to DP-1. Leave off DP-1: to have it applied to all displays. Leave off @60 to allow the system to determine refresh. https://www.kernel.org/doc/Documentation/fb/modedb.txt -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
[toc] | [prev] | [next] | [standalone]
| From | Mike <debian@norgie.net> |
|---|---|
| Date | 2024-06-16 00:50 +0200 |
| Message-ID | <IPKnD-3cZS-1@gated-at.bofh.it> |
| In reply to | #270105 |
[Multipart message — attachments visible in raw view] — view raw
On Fri, Jun 14, 2024 at 01:49:08PM -0400, Felix Miata wrote: > Michael Kjörling composed on 2024-06-14 17:11 (UTC): > > > On 14 Jun 2024 17:47 +0100, from Mike: > > >> I'd be grateful if anyone could give me any pointers to get the > >> terminals looking vaguely sensible, please? I think the first isse it > >> working out how to stop the screen turning off, which I assume is > >> because the display is out of range for the monitor. I can't seen to > >> figure out how to change that. > > > That would be the first thing I would want to rule out, too. > > > In GRUB, try "e"diting the boot command sequence and on IIRC the > > "kernel" line (the one that specifies the kernel and kernel > > parameters), add one of vga=0; vga=0x0f04 (leave current settings); or > > vga=ask followed by "scan" at the prompt and then select a reasonable > > one. See https://www.kernel.org/doc/html/latest/admin-guide/svga.html. > > The following applies with all FOSS drivers I've ever used except possibly mga: > vga= only works until KMS starts. video= does the desired job while KMS is > engaged. e.g. > > video=DP-1:1440x900@60 > > Causes 1440x900 with refresh 60Hz to be applied only to DP-1. Leave off DP-1: to > have it applied to all displays. Leave off @60 to allow the system to determine > refresh. > > https://www.kernel.org/doc/Documentation/fb/modedb.txt > -- > Evolution as taught in public schools is, like religion, > based on faith, not based on science. > > Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! > Hi Felix, Thanks for your input. I tried the video= and it made no difference. However, I did discover that removing "quiet" creates a lot more output. Funny that, isn't it? Quite nice too! I should probably have mentioned earlier, that if one launches X and then quits X to return to the terminal, the monitor does not turn off again, howeer, the mode is a bit crazy. It appears to display 80x25 but when one starts a new line at line 25, you do not get the usualy scrolling behaviour, things just appear to get printed out "below the monitor" if you know what I mean. Eventually the screen does scroll but after maybe 200 lines or so and it does so in a big jump. I seem to recall reading that the Nvidia driver was a bit cavalier and reinvented various parts of X, so I wondered if there was some crazyness whereby starting X started some of a necessary components of the driver. Checking the output of lsmod, as well as ps for anything nvidia related doesn't appear to be any difference between before X and after X. I'm also pondering if it's something to do with the port it's plugged into. The card has 3 DP ports and 1 HDMI. Two have displayed plugged into them. That said, the UEFI manages to output to a screen and so does Grub / Kernel, so does X, so one would imagine the bit in the middle might get it right too? Any ideas? Kind regards, Mike.
[toc] | [prev] | [next] | [standalone]
| From | Felix Miata <mrmazda@earthlink.net> |
|---|---|
| Date | 2024-06-16 01:20 +0200 |
| Message-ID | <IPKQF-3dq2-1@gated-at.bofh.it> |
| In reply to | #270109 |
Mike composed on 2024-06-15 23:47 (UTC+0100): > On Fri, Jun 14, 2024 at 01:49:08PM -0400, Felix Miata wrote: >> The following applies with all FOSS drivers I've ever used except possibly mga: >> vga= only works until KMS starts. video= does the desired job while KMS is >> engaged. e.g. >> video=DP-1:1440x900@60 >> Causes 1440x900 with refresh 60Hz to be applied only to DP-1. Leave off DP-1: to >> have it applied to all displays. Leave off @60 to allow the system to determine >> refresh. >> https://www.kernel.org/doc/Documentation/fb/modedb.txt > I tried the video= and it made no difference. ... > Any ideas? How many tries? More than one refresh? Without refresh? With other resolutions? Without limit to one port? > I seem to recall reading that the Nvidia driver was a bit cavalier and > reinvented various parts of X, so I wondered if there was some crazyness It wouldn't surprise me at all. I didn't see you mention NVidia's driver before now. I would search for and/or bring this issue up on NVidia's forum site. I have no ideas how VT output is managed with proprietary drivers engaged. Maybe this is one of those cases where nosimplefb=1 is needed on cmdline? -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web