Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: rozlišení tty  (Přečteno 2030 krát)

h.giuseppe

  • Aktivní člen
  • *
  • Příspěvků: 323
rozlišení tty
« kdy: 13 Prosince 2012, 20:34:53 »
Ahoj, vím že už jsem to tu jednou řešil, ale pořád se to zdá být problém.
Mluvím o tom jak změnit rozlišení tty konzole, po nainstalování ovladačů nVidia?
Už jsem tu řešil jak změnit rozlišení plymouth pro ubuntu 12.04 64bit, myslím že jsme dospěli k závěru, že to nejde a přesto se mi to povedlo spuštěním nějakého skriptu, který jsem už bohužel znovu neobjevil.
Trochu jsem to googlil, návodů jsem našel hodně, ale žádný pro display 16:9, 1366x768.
Nevíte někdo jak na to?
« Poslední změna: 14 Prosince 2012, 12:54:01 od h.giuseppe »
Debian Stretch 64bit - Gmone; Intel HD Graphics 620 (Kabylake GT2); Inntel core I5 7200U @ 2.5GHz; 8GB RAM......

Rover623

Re:rozlišní tty
« Odpověď #1 kdy: 13 Prosince 2012, 20:45:45 »
Konzole přebírá nastavení z GRUBu, pokud chceš větší písmenka musíš v GRUBu nastavit menší rozlišení, což samozřejmě ovlivní i Plymouth

h.giuseppe

  • Aktivní člen
  • *
  • Příspěvků: 323
Re:rozlišní tty
« Odpověď #2 kdy: 14 Prosince 2012, 11:17:26 »
No jde právě o to, že ho změním, ale nic se nestane.
Debian Stretch 64bit - Gmone; Intel HD Graphics 620 (Kabylake GT2); Inntel core I5 7200U @ 2.5GHz; 8GB RAM......

beer

  • Host
Re:rozlišní tty
« Odpověď #3 kdy: 14 Prosince 2012, 11:23:44 »
Kód: [Vybrat]
cat /etc/default/grub

h.giuseppe

  • Aktivní člen
  • *
  • Příspěvků: 323
Re:rozlišní tty
« Odpověď #4 kdy: 14 Prosince 2012, 11:27:49 »
Kód: [Vybrat]
# 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_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# 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-pc only)
#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=1366x768

# 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"
Debian Stretch 64bit - Gmone; Intel HD Graphics 620 (Kabylake GT2); Inntel core I5 7200U @ 2.5GHz; 8GB RAM......

beer

  • Host
Re:rozlišní tty
« Odpověď #5 kdy: 14 Prosince 2012, 12:29:50 »
Vypadá to, že máš nastaveno správně.

Je potřeba ale udělat ještě maličkost:

Kód: [Vybrat]
sudo update-grub
Pokud nepomůže, tak fakt nevím...

h.giuseppe

  • Aktivní člen
  • *
  • Příspěvků: 323
Re:rozlišní tty
« Odpověď #6 kdy: 14 Prosince 2012, 12:53:38 »
to už jsem prováděl 3x a nefunguje :-D
v boot.cfg je to zapsané...
Debian Stretch 64bit - Gmone; Intel HD Graphics 620 (Kabylake GT2); Inntel core I5 7200U @ 2.5GHz; 8GB RAM......

jmp

  • Host
Re:rozlišení tty
« Odpověď #7 kdy: 14 Prosince 2012, 13:02:17 »
nezkoušel jsem
https://help.ubuntu.com/community/ChangeTTYResolution
FOR 9.10 KARMIC KOALA AND LATER

    Karmic Koala has switched to GRUB 2, and now the settings can be found in the file /etc/default/grub

    Resolutions available to GRUB 2 can be displayed by typing vbeinfo in the GRUB 2 command line. The command line is accessed by typing "c" when the main GRUB 2 menu screen is displayed. (Hold the left shift key pressed before ubuntu loads to access it)
    Open /etc/default/grub with your text editor with root privilege.

    Add the following new line using your preferred resolution-depth from the list that vbeinfo gave you. It should be like this if you have a 1280x800 screen:

     GRUB_GFXPAYLOAD_LINUX=1280x800

    Save the file and exit. (If you can't save the file you haven't opened it as root, go back and execute gksudo gedit /etc/default/grub providing your password.)
    Execute the command

     sudo update-grub
    Restart your computer.

beer

  • Host
Re:rozlišení tty
« Odpověď #8 kdy: 14 Prosince 2012, 13:11:46 »
Můžeš zkusit, jestli to vezme jiné hodnoty?

například:
800×600
1024×768

Možná je problém, že tvoje karta toto rozližení neumí skrze VBE, viz:
Citace
you can use only modes which your graphic card supports via VBE

Na stránkách wikipedie uvádějí možná rozlišení:

Citace
Graphics modes    320×200    640×400      640×480    800×600    1,024×768    1,280×1,024

Nebo

Citace
Other commonly available graphics modes
Graphics modes    320×200    640×400    640×480    800×500    800×600    896×672    1,024×640    1,024×768    1,152×720    1,280×1,024    1,440×900    1,600×1,200
.

Je tam toho více, ale rozlišení, které požaduješ, tam fakt nevidím.

Rover623

Re:rozlišení tty
« Odpověď #9 kdy: 14 Prosince 2012, 13:13:37 »
GRUB nebere hodnoty rozlišení 16:9, ale pouze 4:3 a 16:10 (v omezené míře)

 

Provoz zaštiťuje spolek OpenAlt.