Compiz on Toshiba Satellite 2410-603

August 17, 2009 // Posted in computer  


Mentre i nostri amici Magnamotto sono una famiglia decisamente Mac addicted (a quando il primo Mac per il piccolo Edo?) qui dai Sacchibelli si predilige l’open source e tutti i PC di casa sono dotati di Linux come OS principale. Ieri sera, dopo qualche traffico, siamo anche riusciti ad abilitare gli effetti 3D di Compiz sul “vecchio” Toshiba Satellite 2410-603. Certo, e’ stato un po’ potenziato (un po’ di RAM, un disco nuovo) ma tutto sommato e’ un laptop datato 2003 e vedere come Linux, con gli effetti 3D abilitati per la scheda Geforce4 420, giri fluidamente lascia piacevolmente sorpresi. Per coloro che disponessero dello stesso hardware, ecco i “tricks” necessari per configurare correttamente il tutto.

Hardware
Toshiba Satellite 2410-603
Scheda video:01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 420 Go] (rev a3)
Software
OS: Ubuntu Linux 9.04 (Jaunty Jackalope)
Kernel: Linux tughi 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25 00:28:35 UTC 2009 i686 GNU/Linux
Nvidia Driver version: 96.43.10
  • Fare il backup di /etc/X11/xorg.conf in modo da poterlo ripristinare nel caso in cui al riavvio lo schermo non sia visualizzabile
  • Da System -> Administration -> Hardware Testing abbiamo abilitato i “driver proprietari” nvidia.
  • Viene cosi’ generato un nuovo file /etc/X11/xorg.conf che carica i driver nvidia
  • Se al riavvio lo schermo risulta nero (come nel nostro caso), premere ctrl-alf-f1, loggarsi in modalita’ testo e aggiungere la seguente riga al file xorg.conf nella sezione Screen
  • Option “UseDisplayDevice” “DFP-0”
  • Senza questa option veniva infatti riconosciuto di Default il monitor CRT (peraltro non connesso) anziche’ il monitor LCD del portatile
  • Ora l’ambiente grafico X dovrebbe partire ma con risoluzione a 800×600 anziche’ 1024×768
  • Il problema e’ legato a un problema di interpretazione dell’EDID da parte del driver nvidia. L’unico modo per ovviare sembra essere sfruttare l’opzione Option “CustomEDID” in xorg.conf che permette di forzare la lettura delle corrette EDID informazioni da un file esterno e non in automatico (grazie alle info trovate qui.
  • Ecco il file /etc/X11/xorg.conf finale che funziona correttamente sul nostro laptop
  • Ed ecco il file /etc/X11/Toshiba_s_2410.bin tramite cui, in xorg.conf, carichiamo le corrette edid informations
  • Infine si installa Compiz e ci si diverte con gli effetti 3D

While our friends Magnamotto are Mac addicted (when a new Mac for little Edo?), here we prefer to use Open Source software and, obviously, Linux is the main OS for all the Sacchibelli’s PCs (PC are cheaper than Mac, and Linux is free, while Apple sell you a “cool” version of the same OS…..). Yesterday, after some tricking, we were able to run Compiz on the “old” laptop TOshiba Satellite 2410-603 Silvia bought in 2003. It has been a little bit refreshed (more RAM, more disk), but it is quite impressive how Compiz and graphics effects flawlessly work on such an “old” PC. Does anyone is able to run “Microsoft Vista” on that hardware?
Here is what we did:

Hardware
Toshiba Satellite 2410-603
Video card:01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 420 Go] (rev a3)
Software
OS: Ubuntu Linux 9.04 (Jaunty Jackalope)
Kernel: Linux tughi 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25 00:28:35 UTC 2009 i686 GNU/Linux
Nvidia Driver version: 96.43.10
  • To make a backup of/etc/X11/xorg.conf to be able to have graphics mode always available in case of issues with the suggested procedure
  • To enable, from System -> Administration -> Hardware Testing “proprietary drivers” Nvidia.
  • This generates a new /etc/X11/xorg.conf, which load nvidia driver
  • After the reboot you will probably have black screen; so through ctrl-alf-f1, log in in text mode and add the following line at the xorg.conf screen section
  • Option “UseDisplayDevice” “DFP-0”
  • Withouth this you would have black screen because Nvidia driver idendify a CRT monitor (not existing) as the default
  • Now X starts, but with a 800×600 resolution (instead of the expected 1024×768)
  • The problem is related to the wrong interpretation of theEDID from Nvidia driver (at least, this is what I understood). To overcome this issue you need to set the “CustomEDID” option in xorg.conf; this force to read the correct EDID information from a file (thanks to the info I found here.
  • This is the /etc/X11/xorg.conf that correcly works on our laptop
  • And this is the file /etc/X11/Toshiba_s_2410.bin which contains the correct EDID information (valid only for this kind of graphic card).
  • At the end you can install Compiz, enable visual effects and enjoy.

This entry was posted on August 17, 2009 at 8:55 am and is filed under computer. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Comments (1)

  • RepoX says:

    Ma 'ste cose la Fedora le fa giĆ  con l'installazione standard… Parlo gi della versione 9 su un P4M con una ATI Mobility Radeon 7500 del 2002…
    Ma a voi debianisti vi piace complicarvi sempre la vita… DEBIATI…

Leave a Reply to RepoX (name & email required)

Time limit is exhausted. Please reload CAPTCHA.