The officially official Devuan Forum!

You are not logged in.

#1 2024-12-06 07:28:34

rdav
Member
Registered: 2017-06-30
Posts: 55  

[SOLVED] Ctrl+Alt+F1...6 freezes desktop and unable to get to console

Hi All,

Can you please help with this annoying problemo?

ctrl+alt+f1/2/3/4/5/6 freeze the desktop and the only way to recover is to ssh in and reboot from there.
or ctrl+alt+sys+REISUB to reboot.

I thought it may be the framebuffer resolution in /etc/default/grub.
As in the value for  "GRUB_GFXMODE"
However values listed in  "hwinfo --framebuffer"
1920x1080, 1600x1200, 1280x1024, 1280x800, 1024x768, 800x600  have no difference and ctrl+alt+f1 freezes the desktop

Unsure how to tackle this.

FYI: /etc/default/grub:

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet modprobe.blacklist=pcspkr"
GRUB_CMDLINE_LINUX=""

# Enable Luks Encrypted disk
GRUB_ENABLE_CRYPTODISK=y

# Save the last chosen OS to be the default for the next boot
GRUB_SAVEDEFAULT=true
GRUB_DEFAULT=saved

# Disable "Advanced Menu"
GRUB_DISABLE_SUBMENU=y

# If your computer has multiple operating systems installed, then you
# probably want to run os-prober. However, if your computer is a host
# for guest OSes installed via LVM or raw disk devices, running
# os-prober can cause damage to those guest OSes as it mounts
# filesystems to look for things.
GRUB_DISABLE_OS_PROBER=true

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
GRUB_GFXMODE=800x600
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true]

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

output of "# hwinfo --framebuffer"

$ sudo hwinfo --framebuffer                                      
[sudo] password for rd: 
02: None 00.0: 11001 VESA Framebuffer                            
  [Created at bios.459]
  Unique ID: rdCR.P3ahv1w3gf8                                             
  Hardware Class: framebuffer                                             
  Model: "NVIDIA GK104 Board - 2051b501"
  Vendor: "NVIDIA Corporation"                                            
  Device: "GK104 Board - 2051b501"                                        
  SubVendor: "NVIDIA"                                                     
  SubDevice:                                                              
  Revision: "Chip Rev"                                                    
  Memory Size: 14 MB                                                      
  Memory Range: 0x01000000-0x01dfffff (rw)
  Mode 0x0300: 640x400 (+640), 8 bits  
  Mode 0x0301: 640x480 (+640), 8 bits  
  Mode 0x0303: 800x600 (+800), 8 bits   
  Mode 0x0305: 1024x768 (+1024), 8 bits 
  Mode 0x0307: 1280x1024 (+1280), 8 bits 
  Mode 0x030e: 320x200 (+640), 16 bits   
  Mode 0x030f: 320x200 (+1280), 24 bits
  Mode 0x0311: 640x480 (+1280), 16 bits
  Mode 0x0312: 640x480 (+2560), 24 bits
  Mode 0x0314: 800x600 (+1600), 16 bits
  Mode 0x0315: 800x600 (+3200), 24 bits
  Mode 0x0317: 1024x768 (+2048), 16 bits
  Mode 0x0318: 1024x768 (+4096), 24 bits
  Mode 0x031a: 1280x1024 (+2560), 16 bits
  Mode 0x031b: 1280x1024 (+5120), 24 bits
  Mode 0x0330: 320x200 (+320), 8 bits   
  Mode 0x0331: 320x400 (+320), 8 bits    
  Mode 0x0332: 320x400 (+640), 16 bits   
  Mode 0x0333: 320x400 (+1280), 24 bits 
  Mode 0x0334: 320x240 (+320), 8 bits    
  Mode 0x0335: 320x240 (+640), 16 bits   
  Mode 0x0336: 320x240 (+1280), 24 bits
  Mode 0x033d: 640x400 (+1280), 16 bits 
  Mode 0x033e: 640x400 (+2560), 24 bits                     
  Mode 0x0345: 1600x1200 (+1600), 8 bits
  Mode 0x0346: 1600x1200 (+3200), 16 bits
  Mode 0x034a: 1600x1200 (+6400), 24 bits
  Mode 0x034b: 1920x1080 (+1920), 8 bits
  Mode 0x034c: 1920x1080 (+3840), 16 bits
  Mode 0x034d: 1920x1080 (+7680), 24 bits
  Mode 0x0360: 1280x800 (+1280), 8 bits
  Mode 0x0361: 1280x800 (+5120), 24 bits
  Config Status: cfg=new, avail=yes, need=no, active=unknown

info on the Graphics, Machine, repos

$ inxi -MGr
Machine:
  Type: Laptop System: Hewlett-Packard product: HP EliteBook 8770w
    v: A1029CD10000 serial: <superuser required>
  Mobo: Hewlett-Packard model: 176C v: KBC Version 50.1F
    serial: <superuser required> BIOS: Hewlett-Packard v: 68IAV Ver. F.66
    date: 07/13/2017
Graphics:
  Device-1: NVIDIA GK104GLM [Quadro K3000M] driver: nouveau v: kernel
  Device-2: Chicony Integrated HP HD Webcam type: USB driver: uvcvideo
  Device-3: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo
  Display: server: X.Org v: 1.21.1.14 with: Xwayland v: 22.1.9 driver: X:
    loaded: nouveau dri: nouveau gpu: nouveau resolution: 1680x1050~60Hz
  API: OpenGL v: N/A renderer: N/A
Repos:
  Active apt repos in: /etc/apt/sources.list
    1: deb http://au.deb.devuan.org/merged/ daedalus main contrib non-free non-free-firmware
    2: deb http://deb.devuan.org/merged/ daedalus-security non-free-firmware non-free contrib main
    3: deb http://au.deb.devuan.org/merged/ daedalus-updates main contrib non-free non-free-firmware
    4: deb http://au.deb.devuan.org/merged/ daedalus-backports main contrib non-free non-free-firmware
    5: deb http://au.deb.devuan.org/merged/ chimaera main contrib non-free
    6: deb http://deb.devuan.org/merged/ chimaera-security main contrib non-free
    7: deb http://au.deb.devuan.org/merged/ chimaera-updates main contrib non-free
    8: deb [arch=amd64] https://deb.rug.nl/ppa/mirror/repo.skype.com/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/skype-stable.list
    1: deb [arch=amd64] https://repo.skype.com/deb stable main
    Active apt repos in: /etc/apt/sources.list.d/vivaldi.list
    1: deb [arch=amd64] https://repo.vivaldi.com/stable/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/zotero.list
    1: deb [signed-by=/usr/share/keyrings/zotero-archive-keyring.gpg by-hash=force] https://zotero.retorque.re/file/apt-package-archive/ ./

Version of Devuan/Debian:

$ cat /etc/devuan_version
daedalus
$ cat /etc/debian_version 
12.7

Thanks in advance for your generous help!

- r

Offline

#2 2024-12-06 07:39:48

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,270  

Re: [SOLVED] Ctrl+Alt+F1...6 freezes desktop and unable to get to console

does it wake up with ctrl-alt-7 ?

if so, which init system do you use? and does it start getty on tty1-6 ?

Online

#3 2024-12-06 08:23:16

stargate-sg1-cheyenne-mtn
Member
Registered: 2023-11-27
Posts: 231  

Re: [SOLVED] Ctrl+Alt+F1...6 freezes desktop and unable to get to console

what does "who -a" display?


Be Excellent to each other and Party On!
https://www.youtube.com/watch?v=rph_1DODXDU
https://en.wikipedia.org/wiki/Bill_%26_Ted%27s_Excellent_Adventure
Do unto others as you would have them do instantaneously back to you!

Offline

#4 2024-12-06 12:22:41

blackhole
Member
Registered: 2020-03-16
Posts: 116  

Re: [SOLVED] Ctrl+Alt+F1...6 freezes desktop and unable to get to console

First, as part of a process of elimination:

GRUB_GFXMODE=800x600
GRUB_GFXPAYLOAD_LINUX=keep

Comment those two lines, then:

# update-grub

Reboot

If that changes nothing, revert the change and run "update-grub" again.

At that point, the problem is most likely related to the Nouveau driver.

The driver has "power management" listed as "WIP" for NVE0 here:

https://nouveau.freedesktop.org/FeatureMatrix.html

So with a laptop ,you may be better off abandoning the attempt and pursue trying to get the nvidia proprietary driver installed and working instead.

Last edited by blackhole (2024-12-06 12:23:30)

Offline

#5 2024-12-12 02:11:12

rdav
Member
Registered: 2017-06-30
Posts: 55  

Re: [SOLVED] Ctrl+Alt+F1...6 freezes desktop and unable to get to console

Thanks to all who responded!

ralph.ronnquist: no change on crtl-alt-7, still locked up, still have to use ssh in and reboot from there

blackhole:  that fixed it!
removing

GRUB_GFXMODE=800x600
GRUB_GFXPAYLOAD_LINUX=keep

and updating grub, rebooting sorted it out!

Thank you for all!!

Offline

#6 2024-12-12 09:50:49

blackhole
Member
Registered: 2020-03-16
Posts: 116  

Re: [SOLVED] Ctrl+Alt+F1...6 freezes desktop and unable to get to console

That's good to know. I believe those lines cause display problems with kernel mode setting drivers. With KMS you don't use that method to set the console resolution anymore. Instead you need to set the console font size.

Offline

#7 2024-12-12 10:27:26

rdav
Member
Registered: 2017-06-30
Posts: 55  

Re: [SOLVED] Ctrl+Alt+F1...6 freezes desktop and unable to get to console

I spoke too soon!

the switch to console with ctrl+alt+f12345 is unreliable and still freezes this laptop.

answering stargate-sg1-cheyenne
 

$ who -a
                        Dec 12 21:20               488 id=si    term=0 exit=0
           system boot  Dec 12 21:20
           run-level 2  Dec 12 21:20                   last=S
                        Dec 12 21:20              1716 id=l2    term=0 exit=0
LOGIN      tty1         Dec 12 21:20              4315 id=1
LOGIN      tty2         Dec 12 21:20              4316 id=2
LOGIN      tty3         Dec 12 21:20              4317 id=3
LOGIN      tty4         Dec 12 21:20              4318 id=4
LOGIN      tty5         Dec 12 21:20              4319 id=5
LOGIN      tty6         Dec 12 21:20              4320 id=6

Offline

#8 2024-12-12 13:03:52

blackhole
Member
Registered: 2020-03-16
Posts: 116  

Re: [SOLVED] Ctrl+Alt+F1...6 freezes desktop and unable to get to console

That's a separate issue.  Unfortunately, as per my earlier post, you may have to install the nvidia proprietary driver.  To get stable performance, and working power management.

Offline

#9 2024-12-12 16:24:30

delgado
Member
Registered: 2022-07-14
Posts: 217  

Re: [SOLVED] Ctrl+Alt+F1...6 freezes desktop and unable to get to console

No solution, just wondering: Does "Xwayland" mean something here?

rdav wrote:
 $ inxi -MGr
...
 Display: server: X.Org v: 1.21.1.14 with: Xwayland v: 22.1.9 driver: X:
    loaded: nouveau dri: nouveau gpu: nouveau resolution: 1680x1050~60Hz

Btw: Interesting inxi switches.
Respective line on my excalibur machine (with nvidia driver and 1920x1080 consoles) is:

  Display: x11 server: X.org v: 1.21.1.14 driver: X: loaded: nvidia

Offline

#10 2024-12-13 04:33:27

rdav
Member
Registered: 2017-06-30
Posts: 55  

Re: [SOLVED] Ctrl+Alt+F1...6 freezes desktop and unable to get to console

blackhole:  thanks nvidia drivers are now installed, and the ctrl-alt-f123456 keys are working again!

Note: last time I attempted nvidia drivers on this ancient laptop and gpu combo it didn't work.

This time followed the Debian notes to install the Nvidia drivers https://wiki.debian.org/NvidiaGraphicsD … dia-detect
After removing the previous xorf.conf for nouveau, restarting display manager (slim) the gui login screen came up.
With the consoles all cooperating!

thanks again!

- r

Offline

Board footer