LinuxForum.Fans
Тема

Непонятка с драйвером видео

Автор: Sveta_L 20 сообщений 5095 просмотров
#139111

Установлен Debian 6.0.0 - 2.6.32-5-amd64
GeForce 8600GT

В каталоге /etc/X11 отсутствует xorg.conf , но разрешение установлено 1024 х 768 - 60 Гц, хотела установить 85 Гц, НО КУДА ЕГО ПРОПИСАТЬ?
Как проверить работу драйвера?

text
#apt-get install mesa-utils
#glxgears -printfps
или
#glxgears -info

При попытке проверить так, выдает это

text
root@deb7fx:/home/sveta# glxgears -printfsp
Usage:
-display <displayname> set the display to run on
-stereo run in stereo mode
-fullscreen run in fullscreen mode
-info display OpenGL renderer info
-geometry WxH+X+Y window geometry
root@deb7fx:/home/sveta# glxgears -info
No protocol specified
Error: couldn't open display :0

Также пробовала поставить свой xorg.conf (сгенерировала через X -configure) но никакие изменения это не принесло, т.е. прописываю параметры в секции monitor - HorizSync и VertRefresh с параметрами и все также не меняется, частота 60гц - УЖЕ СЛЕЗЫ ИДУТ ТАК РЕЖЕТ ГЛАЗА
При попытке установить драйвер с офф сайта по методу 2, выдает что то - лучше Nouveau display driver и он установлен
Но где мне можно изменить эти параметры монитора и как проверить работу драйвера?

#139117
durc написал:
А лучше так
Готовые решения в Debian GNU/Linux #53243

Это не работает.
Пакеты перечисленные там , не найдены в репозитариях

#139119
Sveta_L написал:
[quote=durc]А лучше так
Готовые решения в Debian GNU/Linux #53243

Это не работает.
Пакеты перечисленные там , не найдены в репозитариях[/quote]
А какие репозитории подключены?
Покажите вывод
[console]cat /etc/apt/sources.list[/console]

#139121
text
# deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official amd64 NETINST Binary-1 20110205-14:31]/ squeeze main

#deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official amd64 NETINST Binary-1 20110205-14:31]/ squeeze main

deb http://ftp.ua.debian.org/debian/ squeeze main deb-src http://ftp.ua.debian.org/debian/ squeeze main

deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/ squeeze/updates main

deb http://ftp.ua.debian.org/debian/ squeeze-updates main deb-src http://ftp.ua.debian.org/debian/ squeeze-updates main

#139132
durc написал:
Добавьте в строку
deb http://ftp.ua.debian.org/debian/ squeeze main contrib non-free
и все пакеты найдутся.

По этому примеру сделала, но частота появилась стала 50Гц, хотя разрешения появились разные. Драйвер установился, 3Д заработало. Но что с частотой делать? После выполнения nvidia-xconfig, сщздался xorg но параметры HorizSync и VertRefresh были не те что в инструкции к монитору, я их исправила. Может это повлияло на неправильную частоту?

#139134

... если оставляю те которые автоматом проставило то разрешение только 640 х 480

#139136

В /etc/X11/xorg.conf

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "1024x768_85 +0+0; nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Попробуйте так.

#139176
durc написал:
Попробуйте так.

Всё тоже самое , никаких изменений - 1024х768 50Гц

#139201

С nvidia никогда дела не имел, а есло по-старому утановить ModeLine
в xorg.conf? man xorg.conf, man gtf.

text
gtf 1024 768 85

Пётр.

#139206

Как-то так:

Показать
Section "ServerFlags"
Option "DontZap" "False" # disable <Ctrl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
#DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
Disable "dri"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "glx" # 3D layer
EndSection

Section "Modes"
Identifier "Sveta"
Modeline "Sveta" 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
ModelName "L1918S "
HorizSync 30-83
VertRefresh 56-75
Option "DPMS"
UseModes "Sveta"

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce 6100 and later"
Driver "nvidia"
Option "DPMS"
Option "DynamicTwinView" "false"
Option "AddARGBGLXVisuals"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Modes "Sveta" "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection

Subsection "Display"
Depth 15
Modes "Sveta" "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection

Subsection "Display"
Depth 16
Modes "Sveta" "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection

Subsection "Display"
Depth 24
Modes "Sveta" "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
Screen "screen1"
EndSection

Только ModeLine - своя, сгенерированная с помощью gtf, как подсказал Peter
HorizSync и VertRefresh - для своего монитора

#139262
mvt написал:
Только ModeLine - своя, сгенерированная с помощью gtf, как подсказал Peter
HorizSync и VertRefresh - для своего монитора

Странно наверное, но ничего не изменилось.

text
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildd@barber)  Sun Jun 13 12:08:56 UTC 2010

Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" EndSection

Section "Files" EndSection

Section "InputDevice" # generated from default Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/psaux" Option "Emulate3Buttons" "no" Option "ZAxisMapping" "4 5" EndSection

Section "InputDevice" # generated from default Identifier "Keyboard0" Driver "kbd" EndSection

Section "Modes" Identifier "1024x768_85.00" Modeline "1024x768_85.00" 94.39 1024 1088 1200 1376 768 769 772 807 -HSync +Vsync EndSection

Section "Monitor" Identifier "Monitor0" VendorName "Unknown" ModelName "Unknown" # HorizSync 28.0 - 33.0 # VertRefresh 43.0 - 72.0 HorizSync 30.0 - 70.0 VertRefresh 50.0 - 160.0 Option "DPMS" UseModes "1024x768_85.00" EndSection

Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" EndSection

Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 Option "TwinView" "0" Option "metamodes" "1024x768_85 +0+0; nvidia-auto-select +0+0" SubSection "Display" Depth 24 Modes "1024x768_85.00" "1024x768" EndSubSection EndSection

#139264

Уберите metamodes из "Screen"
Да просто закоментируйте эту строчку

#139305
mvt написал:
Уберите metamodes из "Screen"
Да просто закоментируйте эту строчку

Не меняется ничего. Мне кажется что оно откуда то с другого места берет параметры :(

#139312

А через Nvidia Display Settings?

#139336

NVIDIA X Server Settings. Там есть нужные настройки и в xorg.config совсем не обязательно руками править.

Войдите или зарегистрируйтесь, чтобы ответить.