Archivi tag: vga

Screen resolution, VGA and HDMI on Sony Vaio VPCS11E7E with Ubuntu 10.04 (no bed of roses)

Italiano | English

UPDATE (08-30-2010): To bring TTYs back and set boot resolution, click here.

Have you succeeded in installing Ubuntu 10.04 on your Vaio? Good, now let’s deal with screen resolution and shit like that (OMG, not my politeness day!). I know that installing NVIDIA proprietary driver and manually modifying xorg.conf works, but I don’t know if NVIDIA drivers are really required. If you wish to keep nouveau drivers read this post and use it your way.

Install NVIDIA drivers by SystemAdministrationHardware drivers and when you’re asked to reboot don’t do it.

Open a terminal and type

gksu gedit /etc/X11/xorg.conf

and add lines 14 and 15 to that file, like this

Section "Screen"
Identifier      "Default Screen"
DefaultDepth    24
EndSection

Section "Module"
Load    "glx"
EndSection

Section "Device"
Identifier      "Default Device"
Driver  "nvidia"
Option  "NoLogo"        "True"
Option  "ConnectedMonitor"      "DFP-0,DFP-1,CRT"
Option  "CustomEDID" "DFP-0: /proc/acpi/video/IGPU/LCD0/EDID"
EndSection

What do those lines do?

  1. line: configures 3 possible monitors (DFP-0, DFP-1 e CRT).
  2. line: tells your graphic chip your monitor specifications (DFP-0) from an EDID generated by ACPI.

Now you can reboot and enjoy your VGA and HDMI (the latter sadly without sound at the moment).

Side effects

You will lose you virtual consoles. Well, actually they are still there, but when you switch to one of them your screen will shut down. You could try, CTRL+ALT+F1 (CTRL+ALT+F7 brings your desktop back). This is really annoying, but my eyes tell me it’s better than a wrong resolution.

This is energy saving on Linux 😀

Nothing I’m aware of at the moment. This guide continues here.

Sources: obviously vaio-f11-linux, can’t remember the others.

Aggiustare la risoluzione e abilitare VGA e HDMI su Sony Vaio VPCS11E7E (con qualche piccolo sacrificio)

Italiano | English

AGGIORNAMENTO (30-08-2010): Per riavere le console virtuali e aggiustare la risoluzione al boot, cliccate qui.

L’ultima volta (23 Luglio?! O.O) abbiamo installato Ubuntu disabilitando il KMS dei driver nouveau, rimanendo però con il problema della risoluzione dello schermo del portatile completamente sballata. Ammetto la mia ignoranza e chiarisco subito che non so da cosa dipenda il problema, tuttavia poiché installare i driver NVIDIA proprietari non è sufficiente a risolvere, direi sia colpa di X.

Installate i driver NVIDIA da SistemaAmministrazioneDriver hardware e alla richiesta di riavvio del PC non riavviate.

Aprite un terminale e date il comando

gksu gedit /etc/X11/xorg.conf

e aggiungete al file le righe 14 e 15 che vedete qui sotto:

Section "Screen"
Identifier      "Default Screen"
DefaultDepth    24
EndSection

Section "Module"
Load    "glx"
EndSection

Section "Device"
Identifier      "Default Device"
Driver  "nvidia"
Option  "NoLogo"        "True"
Option  "ConnectedMonitor"      "DFP-0,DFP-1,CRT"
Option  "CustomEDID" "DFP-0: /proc/acpi/video/IGPU/LCD0/EDID"
EndSection

Cosa fanno quelle due righe?

  1. Configura 3 monitor (DFP-0, DFP-1 e CRT) per la scheda grafica.
  2. Dice alla scheda grafica di leggere le informazioni del monitor del portatile (DFP-0) da un file EDID dedotto da ACPI.

Ora potete riavviare e godervi inoltre le vostre uscite VGA e HDMI (quest’ultima purtroppo ancora senza audio).

Effetti collaterali

Semplicemente perderete le console virtuali, da F1 in poi. Provate se non mi credete, premete CTRL+ALT+ F1 (si torna con CTRL+ALT+F7). Questo può rivelarsi davvero scomodo in molti casi, a meno che non sappiate andare un po’ a memoria.

In compenso è un buon metodo veloce per spegnere lo schermo e risparmiare energia. 😀

Nessuno, la guida continua qui.

Fonte: Tanti, troppi siti, non me li ricordo.