Canalblog
Suivre ce blog Administration + Créer mon blog

Notes, aide-mémoire et astuces

Notes, aide-mémoire et astuces
Publicité
Archives
3 janvier 2007

Mon fichier sources.list pour KUbuntu Edgy (6.10)

Juste pour mémoire / information, voila mon fichier /etc/apt/sources.list (KUbuntu Edgy Eft 6.10).

#############################################################
## /etc/apt/sources.list Ubuntu 6.10 Edgy Eft (KUbuntu)
#############################################################
## Depots officiels
## FR
deb http://fr.archive.ubuntu.com/ubuntu/ edgy main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ edgy main restricted
## International
deb http://archive.ubuntu.com/ubuntu/ edgy main restricted
deb-src http://archive.ubuntu.com/ubuntu edgy main restricted

## Mises a jour
## FR
deb http://fr.archive.ubuntu.com/ubuntu/ edgy-updates main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu/ edgy-updates main restricted
## International
deb http://archive.ubuntu.com/ubuntu/ edgy-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted
#############################################################

#############################################################
## Depots Universe et Multiverse
## FR
deb http://fr.archive.ubuntu.com/ubuntu/ edgy universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu edgy universe multiverse
## International
deb http://archive.ubuntu.com/ubuntu/ edgy universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy universe multiverse

## Mises a jour
## FR
deb http://fr.archive.ubuntu.com/ubuntu/ edgy-updates universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu edgy-updates universe multiverse
## International
deb http://archive.ubuntu.com/ubuntu/ edgy-updates universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy-updates universe multiverse
#############################################################

#############################################################
## Depots backport
## FR
deb http://fr.archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse
## International
deb http://archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse
#############################################################

#############################################################
## Depots commerciaux (Canonical)
deb http://archive.canonical.com/ubuntu edgy-commercial main
#############################################################

#############################################################
## Depots non officiels
## Medibuntu/PLF
## Merci de rapporter tout bug sur https://launchpad.net/products/medibuntu/+bugs
deb http://medibuntu.sos-sts.com/repo/ edgy free non-free
deb-src http://medibuntu.sos-sts.com/repo/ edgy free non-free

## Kubuntu Packages
deb http://kubuntu.org/packages/koffice-latest/ edgy main
deb-src http://kubuntu.org/packages/koffice-latest/ edgy main
deb http://kubuntu.org/packages/kde-latest/ edgy main
deb-src http://kubuntu.org/packages/kde-latest/ edgy main
deb http://kubuntu.org/packages/amarok-latest/ edgy main
deb-src http://kubuntu.org/packages/amarok-latest/ edgy main
#############################################################

#############################################################
## Mises a jour de securite
## FR
deb http://fr.archive.ubuntu.com/ubuntu/ edgy-security main restricted
deb-src http://fr.archive.ubuntu.com/ubuntu edgy-security main restricted

## International
deb http://security.ubuntu.com/ubuntu edgy-security main restricted
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted

## Universe
## FR
deb http://fr.archive.ubuntu.com/ubuntu/ edgy-security universe multiverse
deb-src http://fr.archive.ubuntu.com/ubuntu edgy-security universe multiverse
## International
deb http://archive.ubuntu.com/ubuntu/ edgy-security universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy-security universe multiverse
############################################################

Publicité
Publicité
3 janvier 2007

Configuration de la carte graphique ATI X700 sur Linux KUbuntu Edgy Eft (6.10) avec les pilotes libres Radeon

Choix des pilotes libres Radeon
Il n'y a rien à installer, il faut juste "déclarer" le pilote. Dans la section Device, on remplace le pilote "ati" par "radeon" ; la ligne devient donc:
Driver "radeon"

Activation de l'accélération 3D
Après la section Module on ajoute les lignes suivantes:
Section "Extensions"
              Option "RENDER" "Enable"
EndSection

Redémarrer ensuite le serveur X (ctrl+alt+backspace).
Pour tester l'accélération graphique, utiliser les commandes glxinfo et glxgears:
$>glxinfo | grep "direct rendering"
gt;glxinfo | grep "direct rendering"
gt;glxinfo | grep "direct rendering"
gt;glxinfo | grep "direct rendering"
direct rendering: Yes
$>glxgears -printfps
10861 frames in 5.0 seconds = 2172.126 FPS

Configuration de la résolution de l'écran
Avec la configuration par défaut (KUbuntu Edgy), la résolution le plus haute possible est 1024x768. Hors dans mon cas la résolution préférable pour mon écran 16/10ème est 1280x800. Pour changer la résolution de l'écran, il faut ajouter le "mode" correspondant dans le ficher /etc/X11/xorg.conf dans chacune des sections Display de la section Screen. Voilà ce que cela donne chez moi:
Section "Screen"
          Identifier      "Default Screen"
 Device          "ATI Technologies, Inc. Radeon Mobility X700 (RV410)"
 Monitor         "Generic Monitor"
 DefaultDepth    24
 SubSection "Display"
  Depth           1
  Modes          "1280x800" "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth           4
  Modes          "1280x800" "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
   Depth           8
   Modes          "1280x800" "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
   Depth           15
   Modes          "1280x800" "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
   Depth           16
  Modes          "1280x800" "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
  Depth           24
  Modes          "1280x800" "1024x768" "800x600" "640x480"
 EndSubSection
EndSection

Nettoyage du fichier /etc/X11/xorg.conf
On supprime les lignes à propos de Wacom dans la section "ServerLayout". Ca ne change rien mais ca rend le fichier un peu plus propre et surtout plus clair.
Les 3 lignes à supprimer sont les suivantes:
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"

On efface les sections à propos du matériel Wacom (au début du fichier xorg.conf).
Les sections à supprimer sont les suivantes:
Section "InputDevice"
 Driver        "wacom"
 Identifier    "stylus"
 Option        "Device"       "/dev/wacom"          # Change to
         
               # /dev/input/event
                   
     # for USB
 Option        "Type"         "stylus"
 Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
 Driver        "wacom"
 Identifier    "eraser"
 Option        "Device"       "/dev/wacom"          # Change to
   # /dev/input/event
    # for USB
 Option        "Type"         "eraser"
 Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
 Driver        "wacom"
 Identifier    "cursor"
 Option        "Device"       "/dev/wacom"          # Change to
   # /dev/input/event
   # for USB
 Option        "Type"         "cursor"
 Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Consoles virtuelles
Lorsqu'on passe de l'écran graphique (X) aux consoles virtuelles ctrl+alt+F1 (F2, F3...) l'écran se brouille et l'affichage plante ou se fige pendant quelques temps. Pour corriger cela, on ajoute la ligne suivante au fichier /etc/X11/xorg.conf dans la section Device:
Option "MonitorLayout" "LVDS, AUTO"

En parallèle, on change la résolution de l'écran lors de la séquence de boot pour que ce soit plus joli ;)
Pour cela, on modifie le fichier /boot/grub/menu.lst et on ajoute la commande vga=791 à la ligne de boot. Chez moi ça donne ça:
title           Ubuntu, kernel 2.6.17-10-generic
root            (hd0,2)
kernel          /boot/vmlinuz-2.6.17-10-generic root=/dev/hda3 ro quiet splash vga=791
initrd          /boot/initrd.img-2.6.17-10-generic
quiet
savedefault
boot

Problèmes non résolus
Message d'erreur:
libGL warning: 3D driver claims to not support visual 0x4b

Solution: pas de solution trouvée pour l'instant (comme ce n'est absolument pas bloquant pour mon utilisation pour l'instant, je n'ai pas trop cherché non plus ;)
Il semble que le pilote ne gère pas l'affichage de la 3D avec une profondeur de 24...

A noter également qu'il doit certainement être possible d'optimiser les performances (qui ne sont quand même pas terrible) du pilote en spécifiant quelques paramètres bien obscurs dans le fichier /etc/X11/xorg.cong. On verra ça une autre fois si ça devient nécessaire ou si j'ai du temps à perdre ;-)

A suivre...

2 janvier 2007

Inauguration

Voilà, c'est ici que je posterai des aide-mémoire ou des astuces d'installation ou de configuration lié à Linux et/ou aux logiciels libres.

Pour l'instant les commentaires sont activés et non modérés, j'imagine qu'il va y avoir plein de spam, je choisirai des solutions à ce moment là. En attentant n'hésitez pas à faire part de vos remarques, commentaires (constructifs...) ou questions, j'essaierai d'y répondre.

Enjoy !

Publicité
Publicité
Publicité