Auteur Sujet: [fontes] Thinkpad IBM T30 Améliorer le rendu des polices dans Bento  (Lu 3973 fois)

0 Membres et 1 Invité sur ce sujet

Hors ligne melodie

  • Administrateur
  • Membre Héroïque
  • *****
  • Messages: 1774
    • Citrotux
Après avoir installé Bento Trusty (rc) dans ce vieux laptop, http://www.thinkwiki.org/wiki/Category:T30  avec Intel Pentium 4 1.8Ghz et 1 Go de ram, et surtout, doté d'une carte graphique ATI Radeon Mobility 7500  http://www.thinkwiki.org/wiki/ATI_Mobility_Radeon_7500

puis allégé comme indiqué ici : http://forum.linuxvillage.org/index.php/topic,293.0/topicseen.html

+ permuté de lxpanel à tint2 et de pcmanfm gérant le fond d'écran à feh (voir le fichier ~/.config/autostart et les commentaires indiqués dans le fichier), il fallait faire quelque chose pour les fontes, floues, pas du tout agréables à voir.

J'ai fait une petite recherche sur le web pour trouver un xorg.conf des familles prêt à l'emploi, et après deux reboot pour le rendre compatible avec la version actuelle, le voici, tout beau et tout efficace:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
# sudo dpkg-reconfigure xserver-xorg

Section "Files"
FontPath "/usr/share/fonts/X11//misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
EndSection

Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "v4l"
Load "vbe"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon Mobility 7500 M7 (RV200 LW)"
Driver "radeon"
# BusID "PCI:1:0:0"
#newstuff
Option "RenderAccel" "true"
Option "AGPMode" "4"
Option "AGPFastWrite" "true"
Option "EnablePageFlip" "True"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-49
VertRefresh 43-72
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon Mobility 7500 M7 (RV200 LW)"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

Si vous avez une de ces vieilles cartes ATI dans une machine, vous pouvez adapter le contenu ci-dessus, le nommer "xorg.conf" et le place sous /etc/X11. (Je précise pour les nouveaux qui n'auraient pas connu le fichier xorg.conf et les différentes manières de le gérer et le modifier).

Avec nodm ça a été un peu le folklore pour démarrer X, mais après deux reboot ça a fonctionné. J'ai regardé la différence avec glxgears, cela n'est pas très visible, mais il y a une petite différence quand même:
Citer
Avant xorg.conf:

$ glxgears
195 frames in 5.0 seconds = 38.981 FPS
256 frames in 5.0 seconds = 51.033 FPS
254 frames in 5.0 seconds = 50.718 FPS
^C
$

Après xorg.conf:
$ glxgears
197 frames in 5.0 seconds = 39.287 FPS
281 frames in 5.0 seconds = 56.148 FPS
281 frames in 5.0 seconds = 56.187 FPS
281 frames in 5.0 seconds = 56.060 FPS
281 frames in 5.0 seconds = 56.049 FPS
^C
$

Good leaders being scarce, following yourself is allowed.