nVidia GTX 670 + nVidia GTS 450 и Xorg

Автор Tammy, 11 сентября 2013, 00:04:38

« назад - далее »

0 Пользователи и 1 гость просматривают эту тему.

Tammy

Здравствуйте, собственно проблема в том, что с nVidia GTS 450 не показывается изображение. Раньше на nVidia GTS 450 + nVidia GT 240 все запускалось нормально.
Такая ерунда что на драйверах 308, что на 325.

Собственно xprg.conf

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 325.15  (pbuilder@cake)  Thu Aug  8 10:40:52 UTC 2013


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
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 "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Samsung SMB1940W"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 670"
    BusID          "PCI:1:0:0"
EndSection

Section "Screen"

# Removed Option "metamodes" "GPU-29f3ab69-4997-a5d1-d709-4396c08f2647.DVI-I-1: 1440x900 +3040+0, GPU-29f3ab69-4997-a5d1-d709-4396c08f2647.HDMI-0: 1600x900 +0+0, GPU-cc71c98b-6401-3110-0893-638dbca33f5d.VGA-0: 1440x900 +1600+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "GPU-29f3ab69-4997-a5d1-d709-4396c08f2647.DVI-I-1: 1440x900 +1280+0, GPU-cc71c98b-6401-3110-0893-638dbca33f5d.DVI-I-0: 1280x1024 +0+0 {viewportin=1440x900, viewportout=1280x900+0+0}"
    Option         "MultiGPU" "Off"
    Option         "SLI" "off"
    Option         "BaseMosaic" "on"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


qupl

Tammy, собственно, не видно второй секции Device. Описана только одна карта.

Tammy

при добавлении вручную, вообще ничего не показывает, что я делаю не так?

Открыть содержимое (спойлер)
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 304.108  (pbuilder@cake)  Sun Aug 18 18:35:38 UTC 2013

Section "ServerLayout"
   
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
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 "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Samsung SMB1940W"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 670"
    Option         "Coolbits" "1"
    Option         "AddARGBGLXVisuals" "true"
    Option         "TripleBuffer" "false"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTS 450"
    Option         "Coolbits" "1"
    Option         "AddARGBGLXVisuals" "true"
    Option         "TripleBuffer" "false"
    BusID          "PCI:2:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "MultiGPU" "On"
    Option         "SLI" "off"
    Option         "BaseMosaic" "on"
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "CRT-1: nvidia-auto-select +0+0, DFP-1: nvidia-auto-select +1440+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "enable"
#   Option      "RENDER"   "disable"
EndSection
[свернуть]






Tammy

Цитата: qupl от 11 сентября 2013, 19:35:28lspci | grep -i vga
~$ lspci | grep -i vga
01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 670] (rev a1)
02:00.0 VGA compatible controller: NVIDIA Corporation GF116 [GeForce GTS 450 Rev. 2] (rev a1)

Цитата: qupl от 11 сентября 2013, 19:35:28xrandr -q
Открыть содержимое (спойлер)
~$ xrandr -q
Screen 0: minimum 8 x 8, current 3360 x 1080, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 connected 1440x900+0+0 (normal left inverted right x axis y axis) 408mm x 255mm
   1440x900       59.9*+   75.0 
   1280x1024      75.0     60.0 
   1280x960       60.0 
   1280x800       59.8 
   1280x720       60.0     50.0 
   1152x864       75.0 
   1024x768       75.0     70.1     60.0 
   800x600        75.0     72.2     60.3     56.2 
   720x576        50.0 
   720x480        59.9 
   640x480        75.0     72.8     59.9 
HDMI-0 connected 1920x1080+1440+0 (normal left inverted right x axis y axis) 160mm x 90mm
   1920x1080      60.0*+   59.9     50.0     30.0     25.0     24.0     30.0     30.0     25.0 
   1680x1050      60.0 
   1600x900       60.0 
   1440x900       59.9 
   1366x768       59.8 
   1280x1024      75.0     60.0 
   1280x800       59.8 
   1280x720       60.0     59.9     50.0 
   1152x864       75.0 
   1024x768       75.0     70.1     60.0 
   800x600        75.0     72.2     60.3 
   720x576        50.0     25.0 
   720x480        59.9     30.0 
   640x480        75.0     72.8     59.9 
DP-0 disconnected (normal left inverted right x axis y axis)
DVI-D-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
[свернуть]

qupl

#5
Цитата: общерапространенное мнениеЕсли вы используете видеоадаптеры NVIDIA, возможно лучшим способом генерации файла xorg.conf является запуск фирменной утилиты nvidia-xconfig.

Tammy, мне не нравится эти строчки
    Option         "Xinerama" "0"
....
Option         "nvidiaXineramaInfoOrder" "DFP-0"
Option         "metamodes" "CRT-1: nvidia-auto-select +0+0, DFP-1: nvidia-auto-select +1440+0"

потому что CRT - это обычно аналоговый выход VGA, которого у Вас нет. И отключена xinerama для которой есть  настройки в секции Screen.

Если все-таки настраивать вручную, нужно выяснить наименование используемых выходов (скорее всего это DFP-0 DFP-1).
Нашел отличную ссылку-первоисточник.


Сообщение объединено: 12 сентября 2013, 07:38:19

Так можно узнать названия выходов
nvidia-xconfig --query-gpu-info
источник

Tammy

#6
Цитата: qupl от 12 сентября 2013, 06:54:26потому что CRT - это обычно аналоговый выход VGA, которого у Вас нет.
Есть он.
Открыть содержимое (спойлер)
# nvidia-xconfig --query-gpu-info
Number of GPUs: 2

GPU #0:
  Name      : GeForce GTX 670
  PCI BusID : PCI:1:0:0

  Number of Display Devices: 2

  Display Device 0 (DFP-0):
      EDID Name             : Samsung SMB1940W
      Minimum HorizSync     : 30.000 kHz
      Maximum HorizSync     : 81.000 kHz
      Minimum VertRefresh   : 56 Hz
      Maximum VertRefresh   : 75 Hz
      Maximum PixelClock    : 140.000 MHz
      Maximum Width         : 1280 pixels
      Maximum Height        : 1024 pixels
      Preferred Width       : 1440 pixels
      Preferred Height      : 900 pixels
      Preferred VertRefresh : 60 Hz
      Physical Width        : 410 mm
      Physical Height       : 260 mm

  Display Device 1 (DFP-1):
      EDID Name             : SAMSUNG
      Minimum HorizSync     : 15.000 kHz
      Maximum HorizSync     : 81.000 kHz
      Minimum VertRefresh   : 24 Hz
      Maximum VertRefresh   : 75 Hz
      Maximum PixelClock    : 230.000 MHz
      Maximum Width         : 1920 pixels
      Maximum Height        : 1080 pixels
      Preferred Width       : 1920 pixels
      Preferred Height      : 1080 pixels
      Preferred VertRefresh : 60 Hz
      Physical Width        : 890 mm
      Physical Height       : 500 mm


GPU #1:
  Name      : GeForce GTS 450
  PCI BusID : PCI:2:0:0

  Number of Display Devices: 1

  Display Device 0 (CRT-1):
      EDID Name             : Samsung SyncMaster
      Minimum HorizSync     : 30.000 kHz
      Maximum HorizSync     : 81.000 kHz
      Minimum VertRefresh   : 56 Hz
      Maximum VertRefresh   : 75 Hz
      Maximum PixelClock    : 140.000 MHz
      Maximum Width         : 1280 pixels
      Maximum Height        : 1024 pixels
      Preferred Width       : 1440 pixels
      Preferred Height      : 900 pixels
      Preferred VertRefresh : 60 Hz
      Physical Width        : 410 mm
      Physical Height       : 260 mm
[свернуть]
Цитата: qupl от 12 сентября 2013, 06:54:26И отключена xinerama для которой есть  настройки в секции Screen.
Включил xinerama, картинка появилась, но компьютер начинает виснуть почти намертво - 10 секунд фризов через каждые 3 секунды, при запуске любого приложения использующего OpenGL. При завершении работы приложения тормозиловка пропадает.
xorg.conf был сгенерирован c помощью nvidia-settings.
Открыть содержимое (спойлер)

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 304.108  (pbuilder@cake)  Sun Aug 18 18:35:38 UTC 2013


Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 1440 0
    Screen      1  "Screen1" LeftOf "Screen0"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option         "Xinerama" "1"
EndSection

Section "Files"
    ModulePath      "/usr/lib/xorg/modules"
    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"
    FontPath        "built-ins"
EndSection

Section "Module"
    Load           "glx"
    Load           "dbe"
    Load           "dri2"
    Load           "record"
    Load           "extmod"
# Load "dri"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Samsung SMB1940W"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       0.0 - 0.0
    VertRefresh     0.0
EndSection

Section "Monitor"
    Identifier     "Monitor2"
    VendorName     "Monitor Vendor"
    ModelName      "Monitor Model"
EndSection

Section "Monitor"
    Identifier     "Monitor3"
    VendorName     "Monitor Vendor"
    ModelName      "Monitor Model"
EndSection

Section "Monitor"
    Identifier     "Monitor4"
    VendorName     "Monitor Vendor"
    ModelName      "Monitor Model"
EndSection

Section "Monitor"
    Identifier     "Monitor5"
    VendorName     "Monitor Vendor"
    ModelName      "Monitor Model"
EndSection

Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
    Option         "Coolbits" "1"
    Option         "AddARGBGLXVisuals" "true"
    Option         "TripleBuffer" "false"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"
    Identifier     "Card1"
    Driver         "nvidia"
    Option         "Coolbits" "1"
    Option         "AddARGBGLXVisuals" "true"
    Option         "TripleBuffer" "false"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "ShadowFB"            # [<bool>]
        #Option     "Rotate"              # <str>
        #Option     "fbdev"              # <str>
        #Option     "debug"              # [<bool>]
    Identifier     "Card2"
    Driver         "nvidia"
    Option         "Coolbits" "1"
    Option         "AddARGBGLXVisuals" "true"
    Option         "TripleBuffer" "false"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "ShadowFB"            # [<bool>]
        #Option     "Rotate"              # <str>
        #Option     "fbdev"              # <str>
        #Option     "debug"              # [<bool>]
    Identifier     "Card3"
    Driver         "nvidia"
    Option         "Coolbits" "1"
    Option         "AddARGBGLXVisuals" "true"
    Option         "TripleBuffer" "false"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "ShadowFB"            # [<bool>]
        #Option     "DefaultRefresh"      # [<bool>]
        #Option     "ModeSetClearScreen" # [<bool>]
    Identifier     "Card4"
    Driver         "nvidia"
    Option         "Coolbits" "1"
    Option         "AddARGBGLXVisuals" "true"
    Option         "TripleBuffer" "false"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "ShadowFB"            # [<bool>]
        #Option     "DefaultRefresh"      # [<bool>]
        #Option     "ModeSetClearScreen" # [<bool>]
    Identifier     "Card5"
    Driver         "nvidia"
    Option         "Coolbits" "1"
    Option         "AddARGBGLXVisuals" "true"
    Option         "TripleBuffer" "false"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 670"
    Option         "Coolbits" "1"
    Option         "AddARGBGLXVisuals" "true"
    Option         "TripleBuffer" "false"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTS 450"
    Option         "Coolbits" "1"
    Option         "AddARGBGLXVisuals" "true"
    Option         "TripleBuffer" "false"
    BusID          "PCI:2:0:0"
EndSection

Section "Screen"

# Removed Option "metamodes" "DFP-0: 1440x900 +0+0; DFP-0: 1440x900 +0+0"
# Removed Option "metamodes" "DVI-I-1: 1440x900 +0+0; DVI-I-1: 1440x900 +0+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DFP-0: 1440x900 +0+0; DFP-0: 1440x900 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"

# Removed Option "metamodes" "1440x900 +0+0"
# Removed Option "metamodes" "nvidia-auto-select +0+0; nvidia-auto-select +0+0"
# Removed Option "metamodes" "nvidia-auto-select +0+0"
# Removed Option "metamodes" "1440x900 +0+0"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    Option         "Stereo" "0"
    Option         "metamodes" "nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen2"
    Device         "Card2"
    Monitor        "Monitor2"
    SubSection     "Display"
        Viewport    0 0
        Depth       1
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       4
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       8
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       15
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       16
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen3"
    Device         "Card3"
    Monitor        "Monitor3"
    SubSection     "Display"
        Viewport    0 0
        Depth       1
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       4
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       8
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       15
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       16
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen4"
    Device         "Card4"
    Monitor        "Monitor4"
    SubSection     "Display"
        Viewport    0 0
        Depth       1
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       4
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       8
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       15
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       16
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen5"
    Device         "Card5"
    Monitor        "Monitor5"
    SubSection     "Display"
        Viewport    0 0
        Depth       1
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       4
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       8
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       15
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       16
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
    EndSubSection
EndSection

Section "Extensions"

# Removed Option "Composite" "enable"
# Removed Option "Composite" "enable"
# Removed Option "Composite" "enable"
# Removed Option "Composite" "enable"
# Removed Option "Composite" "enable"
    Option         "Composite" "Disable"
# Option      "RENDER" "disable"
EndSection
[свернуть]

qupl

Tammy, какой -то большой конфиг получился. Откуда столько секций? Достаточно тех, что были.

Сообщение объединено: 13 сентября 2013, 21:20:50

А через nvidia-xconfig не пробовали?