Система Kubuntu 7.04
Поставил драйвера NVIDIA 1.0-9631. После установки шрифты просто огромные, хотя в настройках стоит 10.
Плюс к этому максимальное разрешение экрана - 85 Hz, хотя на самом деле 100. При добалении modline в конфиг, X'ы не стартуют, говоря, что modline - недопустимая опция.
kubuntu nvidia шрифты
Модератор: Модераторы разделов
-
@rБУzzz
- Сообщения: 92
- ОС: Kubuntu 7.04
kubuntu nvidia шрифты
Многие люди объясняют непонятные вещи ещё более непонятными словами...
-
Aectann
- Бывший модератор
- Сообщения: 3491
- Статус: ...
- ОС: OS X, GNU_и_не_только/Linux
Re: kubuntu nvidia шрифты
Что показывает xdpyinfo | grep resolution ?
Плюс к этому максимальное разрешение экрана - 85 Hz, хотя на самом деле 100. При добалении modline в конфиг, X'ы не стартуют, говоря, что modline - недопустимая опция.
Во-первых, не modline, а Modeline. Во-вторых: может вы его прописали неправильно? Покажите xorg.conf.
My god... it's full of stars!...
-
@rБУzzz
- Сообщения: 92
- ОС: Kubuntu 7.04
Re: kubuntu nvidia шрифты
Код: Выделить всё
resolution: 123x121 dots per inchModline в конфиге я писал правильно. Я его через gtf получил. Просто тут неправильно написал.
Вот сам конфиг. Сейчас Modeline закомментирован.
Код:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Thu Nov 9 17:55:20 PST 2006
# /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 xorg.conf(5) manual page.
# (Type "man 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 command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
Section "Files"
# path to defoma fonts
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"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru(winkeys)"
Option "XkbVariant" ","
Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll,grp:caps_toogle"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Monitor"
Identifier "F700P"
Option "DPMS"
EndSection
Section "Device"
#Modeline "1024x768_100.00" 113.3 1024 1096 1208 1392 768 769 772 814 -hsync +vsync
#HorizSync 30.0 - 96.0
#VertRefresh 50.0 - 160.0
Identifier "nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x]"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x]"
Monitor "F700P"
DefaultDepth 24
Option "NoLogo" "TRUE"
Option "AddARGBGLXVisuals" "True"
SubSection "Display"
Depth 1
Modes "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSectionМногие люди объясняют непонятные вещи ещё более непонятными словами...
-
Aectann
- Бывший модератор
- Сообщения: 3491
- Статус: ...
- ОС: OS X, GNU_и_не_только/Linux
Re: kubuntu nvidia шрифты
Похоже, что в этом и проблема. Попробуйте сделать так: откройте файл /usr/bin/startx, найдите там параметр defaultserverargs (он где-то в начале) и пропишите в нем:
Код: Выделить всё
...
defaultserverargs="-dpi 96" //там могут уже быть ещё какие-то опции, между ними пробел ставится
...Если иксы стартуются через kdm, то найдите в файле /etc/kde3/kdm/kdmrc параметр ServerArgsLocal и в нем пропишите:
Код: Выделить всё
ServerArgsLocal=-dpi 96После этого перезапустите иксы, все должно быть в норме( на всякий случай выполните ещё раз xdpyinfo | grep resolution, он должен показывать 96x96)
Modline в конфиге я писал правильно. Я его через gtf получил. Просто тут неправильно написал.
Вот сам конфиг. Сейчас Modeline закомментирован.
1. Modeline вроде как в секции Monitor прописывается, а не в Device
2. А в секции Display вы его прописывали(как 1024x768_100.00) ? Попробуйте оставить только его для глубины 24, а остальные режимы убрать.
My god... it's full of stars!...
-
diesel
- Бывший модератор
- Сообщения: 5989
- ОС: OS X, openSuSE, ROSA, Debian
Re: kubuntu nvidia шрифты
Если дрова он нвидии, то в свойства дров видокарты допиши:
Option "DPI" "96x96"
Option "DPI" "96x96"