Disabilitare la modalità video alta risoluzione in Debian: Difference between revisions

From RVM Wiki
Jump to navigation Jump to search
m New page: Se si vuole avere la vecchi console 80x25, occorre: * Impostare la modalità testo: sudoedit /etc/default/grub GRUB_TERMINAL=console * Aggiungere il parameto <code>nomodeset</code> al...
 
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
Se si vuole avere la vecchi console 80x25, occorre:
Se in Debian si vuole avere la vecchia console 80x25, controllare tutti questi settaggi:
 
=Blacklist framebuffer=
 
* Blacklistare i moduli di framebuffer
 
** Per schede nVidia
echo blacklist nouveau | sudo tee /etc/modprobe.d/blacklist-nouveau.conf
 
** Per schede Radeon
  Edit /etc/modprobe.d/i915-kms.conf or /etc/modprobe.d/radeon-kms.conf accordingly.
 
** Genericamente blacklistare il modulo (ad esempio hyperv_fb):
lsmod | grep fb
 
* Impostare:
sudo /etc/init.d/kmod restart
 
* Reboot, e verificare che /dev/fb0 non esista
ls /dev/fb*
 
 
=Modalità grafica di boot=
 
* Impostare la modalità testo:
* Impostare la modalità testo:
   sudoedit /etc/default/grub
   sudoedit /etc/default/grub
Line 8: Line 31:


  sudoedit /etc/default/grub
  sudoedit /etc/default/grub
** Genericamente mettere
  GRUB_CMDLINE_LINUX_DEFAULT="quiet nomodeset"


** Per schede nVidia
** Per schede nVidia
Line 13: Line 39:


** Per schede Radeon
** Per schede Radeon
   GRUB_CMDLINE_LINUX_DEFAULT="quiet nomodeset
   GRUB_CMDLINE_LINUX_DEFAULT="quiet nomodeset"
 
** Generico:
GRUB_GFXPAYLOAD_LINUX=keep


* Ricostruire la config di grub2
* Ricostruire la config di grub2
  sudo update-grub
  sudo update-grub


* Blacklistare i moduli di framebuffer
** Per schede nVidia
echo blacklist nouveau | sudo tee /etc/modprobe.d/blacklist-nouveau.conf


** Per schede Radeon
=Console setup=
  Edit /etc/modprobe.d/i915-kms.conf or /etc/modprobe.d/radeon-kms.conf accordingly.
* Verificare che non ci sia un font strano in
sudoedit /etc/default/console-setup
 
* Eventualmente, riconfigurare:
sudo dpkg-reconfigure console-setup
 
* Scegliere il font VGA 8x16
 
* Mettere
sudoedit /etc/default/console-setup
 
VIDEOMODE=""


* Reboot, e verificare che /dev/fb0 non esista
ls /dev/fb*


==Riferimenti==
=Riferimenti=
*[http://forums.debian.net/viewtopic.php?f=5&t=62476#p363695 Debian User Forums • View topic - Disable framebuffer after squeeze 32bit installation]
*[http://forums.debian.net/viewtopic.php?f=5&t=62476#p363695 Debian User Forums • View topic - Disable framebuffer after squeeze 32bit installation]
*[http://wiki.debian.org/KernelModesetting#Disabling_KMS KernelModesetting - Debian Wiki]
*[http://wiki.debian.org/KernelModesetting#Disabling_KMS KernelModesetting - Debian Wiki]
*[https://wiki.debian.org/GrubTransition GrubTransition - Debian Wiki]
*[http://forums.debian.net/viewtopic.php?f=5&t=63779 Debian User Forums • View topic - How to change resolution of console (tty)?]
*[http://serverfault.com/questions/490955/where-when-does-a-debian-linux-system-change-the-console-display-mode boot - Where/when does a (Debian) Linux system change the console display mode? - Server Fault]

Latest revision as of 15:19, 27 July 2016

Se in Debian si vuole avere la vecchia console 80x25, controllare tutti questi settaggi:

Blacklist framebuffer

  • Blacklistare i moduli di framebuffer
    • Per schede nVidia
echo blacklist nouveau | sudo tee /etc/modprobe.d/blacklist-nouveau.conf
    • Per schede Radeon
 Edit /etc/modprobe.d/i915-kms.conf or /etc/modprobe.d/radeon-kms.conf accordingly.
    • Genericamente blacklistare il modulo (ad esempio hyperv_fb):
lsmod | grep fb
  • Impostare:
sudo /etc/init.d/kmod restart
  • Reboot, e verificare che /dev/fb0 non esista
ls /dev/fb*


Modalità grafica di boot

  • Impostare la modalità testo:
 sudoedit /etc/default/grub
GRUB_TERMINAL=console
  • Aggiungere il parameto nomodeset al kernel:
sudoedit /etc/default/grub
    • Genericamente mettere
 GRUB_CMDLINE_LINUX_DEFAULT="quiet nomodeset"
    • Per schede nVidia
 GRUB_CMDLINE_LINUX_DEFAULT="quiet nouveau.modeset=0"
    • Per schede Radeon
 GRUB_CMDLINE_LINUX_DEFAULT="quiet nomodeset"
    • Generico:
GRUB_GFXPAYLOAD_LINUX=keep
  • Ricostruire la config di grub2
sudo update-grub


Console setup

  • Verificare che non ci sia un font strano in
sudoedit /etc/default/console-setup
  • Eventualmente, riconfigurare:
sudo dpkg-reconfigure console-setup
  • Scegliere il font VGA 8x16
  • Mettere
sudoedit /etc/default/console-setup 
VIDEOMODE=""


Riferimenti