Xorg + Nvidia

Sabayon, Calculate, Funtoo, Exherbo

Модератор: /dev/random

Ответить
binom
Сообщения: 177
ОС: Slackware 13

Xorg + Nvidia

Сообщение binom »

Здраствуйте, уважаемые форумчане.
Прошу прощения, но мне ни разу в своей практике использования линукса не удалось запустить иксы после установки драйверов от Nvidia.
Помогите пожалуйста разобраться.
Устанавливал таким способом:

Код: Выделить всё

sh NVIDIA-Linux-x86_64-331.17.run

На удивление все прошло нормально и был сконфигурирован новый xorg.conf:

Код: Выделить всё

Section "ServerLayout"
    Identifier     "Xorg Configured"
    Screen         "Monitor" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    FontPath        "/usr/share/fonts/corefonts"
    FontPath        "/usr/share/fonts/misc"
    FontPath        "/usr/share/fonts/droid"
EndSection

Section "Module"
    Load           "i2c"
    Load           "bitmap"
    Load           "ddc"
    Load           "int10"
    Load           "vbe"
    Load           "glx" # OpenGL X protocol interface
    Load           "extmod" # Misc. required extension
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "keyboard"
EndSection

Section "InputDevice"

    # generated from data in "/etc/conf.d/gpm"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "IMPS/2"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "StandardMonitor"
    Option         "DPMS"
EndSection
Section "Device"
    Identifier     "intelVGA"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Monitor"
    Device         "intelVGA"
    Monitor        "StandardMonitor"
    DefaultDepth    24
    Option         "NoAccel" "False"
    Option         "DRI" "True"
    Option         "AccelMethod" "sna"
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes      "1920x1080"
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "On"
EndSection

но иксы не запускаются ((. вот лог файл:
сейчас перезагружусь и выложу сюда лог ((...
Спасибо сказали:
oldbay
Сообщения: 283
ОС: gentoo, cenos

Re: Xorg + Nvidia

Сообщение oldbay »

Вы так в gentoo делаете?
Спасибо сказали:
binom
Сообщения: 177
ОС: Slackware 13

Re: Xorg + Nvidia

Сообщение binom »

вот лог файл:

Код: Выделить всё

[  3169.036]
X.Org X Server 1.13.4
Release Date: 2013-04-17
[  3169.037] X Protocol Version 11, Revision 0
[  3169.037] Build Operating System: Linux 3.8.4-calculate x86_64 Gentoo
[  3169.037] Current Operating System: Linux calculate 3.9.7-calculate #1 SMP PREEMPT Thu Jun 27 04:02:04 UTC 2013 x86_64
[  3169.037] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.9.7-x86_64-CLD root=UUID=98c4fa7f-74f7-42d0-9183-083158230506 ro video=uvesafb:ywrap,1920x1080-32,mtrr:3,splash=silent,theme:calculate tuxonice tuxonice_resume=UUID=208b7fe4-3323-4403-9931-f570219323df real_resume=UUID=208b7fe4-3323-4403-9931-f570219323df elevator=cfq doscsi calculate=video:intel console=tty1 udev quiet
[  3169.038] Build Date: 22 April 2013  05:17:56PM
[  3169.038]
[  3169.038] Current version of pixman: 0.28.0
[  3169.039]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[  3169.039] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  3169.039] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Oct 27 15:42:39 2013
[  3169.040] (==) Using config file: "/etc/X11/xorg.conf"
[  3169.040] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  3169.040] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  3169.041] (==) ServerLayout "X.org Configured"
[  3169.041] (**) |-->Screen "Screen0" (0)
[  3169.041] (**) |   |-->Monitor "Monitor0"
[  3169.041] (**) |   |-->Device "Card0"
[  3169.041] (**) |-->Screen "Screen1" (1)
[  3169.041] (**) |   |-->Monitor "Monitor1"
[  3169.041] (**) |   |-->Device "Card1"
[  3169.041] (**) |-->Screen "Screen2" (2)
[  3169.041] (**) |   |-->Monitor "Monitor2"
[  3169.041] (**) |   |-->Device "Card2"
[  3169.041] (**) |-->Screen "Screen3" (3)
[  3169.041] (**) |   |-->Monitor "Monitor3"
[  3169.042] (**) |   |-->Device "Card3"
[  3169.042] (**) |-->Screen "Screen4" (4)
[  3169.042] (**) |   |-->Monitor "Monitor4"
[  3169.042] (**) |   |-->Device "Card4"
[  3169.042] (**) |-->Screen "Screen5" (5)
[  3169.042] (**) |   |-->Monitor "Monitor5"
[  3169.042] (**) |   |-->Device "Card5"
[  3169.042] (**) |-->Screen "Screen6" (6)
[  3169.042] (**) |   |-->Monitor "Monitor6"
[  3169.042] (**) |   |-->Device "Card6"
[  3169.042] (**) |-->Screen "Screen7" (7)
[  3169.042] (**) |   |-->Monitor "Monitor7"
[  3169.042] (**) |   |-->Device "Card7"
[  3169.042] (**) |-->Input Device "Mouse0"
[  3169.042] (**) |-->Input Device "Keyboard0"
[  3169.042] (==) Automatically adding devices
[  3169.042] (==) Automatically enabling devices
[  3169.042] (==) Automatically adding GPU devices
[  3169.042] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[  3169.042]     Entry deleted from font path.
[  3169.042] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  3169.042]     Entry deleted from font path.
[  3169.042] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  3169.042]     Entry deleted from font path.
[  3169.042] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  3169.042]     Entry deleted from font path.
[  3169.042]     (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  3169.042] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  3169.042]     Entry deleted from font path.
[  3169.042]     (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  3169.043] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[  3169.043]     Entry deleted from font path.
[  3169.043] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  3169.043]     Entry deleted from font path.
[  3169.043] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  3169.043]     Entry deleted from font path.
[  3169.043] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  3169.043]     Entry deleted from font path.
[  3169.043]     (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  3169.043] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  3169.043]     Entry deleted from font path.
[  3169.043]     (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  3169.043] (**) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/misc/
[  3169.043] (**) ModulePath set to "/usr/lib64/xorg/modules"
[  3169.043] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  3169.043] (WW) Disabling Mouse0
[  3169.043] (WW) Disabling Keyboard0
[  3169.043] (II) Loader magic: 0x80bc00
[  3169.043] (II) Module ABI versions:
[  3169.043]     X.Org ANSI C Emulation: 0.4
[  3169.043]     X.Org Video Driver: 13.1
[  3169.043]     X.Org XInput driver : 18.0
[  3169.043]     X.Org Server Extension : 7.0
[  3169.043] (II) config/udev: Adding drm device (/dev/dri/card1)
[  3169.043] (II) config/udev: Adding drm device (/dev/dri/card0)
[  3169.044] (--) PCI:*(0:0:2:0) 8086:0166:1043:2103 rev 9, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64
[  3169.044] (--) PCI: (0:1:0:0) 10de:0fd1:1043:2103 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[  3169.044] (II) Open ACPI successful (/var/run/acpid.socket)
[  3169.044] Initializing built-in extension Generic Event Extension
[  3169.045] Initializing built-in extension SHAPE
[  3169.045] Initializing built-in extension MIT-SHM
[  3169.045] Initializing built-in extension XInputExtension
[  3169.045] Initializing built-in extension XTEST
[  3169.045] Initializing built-in extension BIG-REQUESTS
[  3169.045] Initializing built-in extension SYNC
[  3169.045] Initializing built-in extension XKEYBOARD
[  3169.045] Initializing built-in extension XC-MISC
[  3169.045] Initializing built-in extension XINERAMA
[  3169.045] Initializing built-in extension XFIXES
[  3169.045] Initializing built-in extension RENDER
[  3169.045] Initializing built-in extension RANDR
[  3169.046] Initializing built-in extension COMPOSITE
[  3169.046] Initializing built-in extension DAMAGE
[  3169.046] Initializing built-in extension MIT-SCREEN-SAVER
[  3169.046] Initializing built-in extension DOUBLE-BUFFER
[  3169.046] Initializing built-in extension RECORD
[  3169.046] Initializing built-in extension DPMS
[  3169.046] Initializing built-in extension X-Resource
[  3169.046] Initializing built-in extension XVideo
[  3169.046] Initializing built-in extension XVideo-MotionCompensation
[  3169.046] Initializing built-in extension XFree86-VidModeExtension
[  3169.049] Initializing built-in extension XFree86-DGA
[  3169.051] Initializing built-in extension XFree86-DRI
[  3169.053] Initializing built-in extension DRI2
[  3169.053] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[  3169.053] (II) LoadModule: "glx"
[  3169.053] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[  3169.060] (II) Module glx: vendor="NVIDIA Corporation"
[  3169.060]     compiled for 4.0.2, module version = 1.0.0
[  3169.060]     Module class: X.Org Server Extension
[  3169.060] (II) NVIDIA GLX Module  331.17  Thu Oct 17 09:30:48 PDT 2013
[  3169.063] Loading extension GLX
[  3169.063] (II) LoadModule: "nvidia"
[  3169.063] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[  3169.063] (II) Module nvidia: vendor="NVIDIA Corporation"
[  3169.063]     compiled for 4.0.2, module version = 1.0.0
[  3169.063]     Module class: X.Org Video Driver
[  3169.063] (II) NVIDIA dlloader X Driver  331.17  Thu Oct 17 09:11:05 PDT 2013
[  3169.063] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  3169.063] (--) using VT number 7

[  3169.067] (II) Loading sub module "fb"
[  3169.067] (II) LoadModule: "fb"
[  3169.067] (II) Loading /usr/lib64/xorg/modules/libfb.so
[  3169.068] (II) Module fb: vendor="X.Org Foundation"
[  3169.068]     compiled for 1.13.4, module version = 1.0.0
[  3169.068]     ABI class: X.Org ANSI C Emulation, version 0.4
[  3169.068] (WW) Unresolved symbol: fbGetGCPrivateKey
[  3169.068] (II) Loading sub module "wfb"
[  3169.068] (II) LoadModule: "wfb"
[  3169.068] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[  3169.068] (II) Module wfb: vendor="X.Org Foundation"
[  3169.068]     compiled for 1.13.4, module version = 1.0.0
[  3169.068]     ABI class: X.Org ANSI C Emulation, version 0.4
[  3169.068] (II) Loading sub module "ramdac"
[  3169.068] (II) LoadModule: "ramdac"
[  3169.068] (II) Module "ramdac" already built-in
[  3169.069] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[  3169.069] (==) NVIDIA(0): RGB weight 888
[  3169.069] (==) NVIDIA(0): Default visual is TrueColor
[  3169.069] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[  3169.069] (**) NVIDIA(0): Enabling 2D acceleration
[  3169.192] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
[  3169.193] (II) NVIDIA(0): NVIDIA GPU GeForce GT 650M (GK107) at PCI:1:0:0 (GPU-0)
[  3169.193] (--) NVIDIA(0): Memory: 2097152 kBytes
[  3169.193] (--) NVIDIA(0): VideoBIOS: 80.07.1a.00.28
[  3169.193] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[  3169.195] (--) NVIDIA(0): Valid display device(s) on GeForce GT 650M at PCI:1:0:0
[  3169.195] (--) NVIDIA(0):     DFP-0
[  3169.195] (--) NVIDIA(0): DFP-0: Internal Single Link TMDS
[  3169.195] (--) NVIDIA(0): DFP-0: 165.0 MHz maximum pixel clock
[  3169.195] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0.
[  3169.195] (EE) NVIDIA(0):     Set AllowEmptyInitialConfiguration if you want the server
[  3169.195] (EE) NVIDIA(0):     to start anyway
[  3169.211] (EE) NVIDIA(0): Failing initialization of X screen 0
[  3169.211] (II) UnloadModule: "nvidia"
[  3169.211] (II) UnloadSubModule: "wfb"
[  3169.211] (II) UnloadSubModule: "fb"
[  3169.211] (EE) Screen(s) found, but none have a usable configuration.
[  3169.211]
Fatal server error:
[  3169.211] no screens found
[  3169.211] (EE)
Please consult the The X.Org Foundation support
     at http://wiki.x.org
 for help.
[  3169.211] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  3169.211] (EE)
[  3169.221] Server terminated with error (1). Closing log file.


oldbay писал(а):
27.10.2013 15:45
Вы так в gentoo делаете?

в Calculate linux полностью совместим с gentoo.
Спасибо сказали:
binom
Сообщения: 177
ОС: Slackware 13

Re: Xorg + Nvidia

Сообщение binom »

еще греется ноут. Это вообще нормально?

Код: Выделить всё

calculate binom # sensors
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +57.0°C  (high = +87.0°C, crit = +105.0°C)
Core 0:         +55.0°C  (high = +87.0°C, crit = +105.0°C)
Core 1:         +56.0°C  (high = +87.0°C, crit = +105.0°C)

asus-isa-0000
Adapter: ISA adapter
temp1:        +56.0°C
Спасибо сказали:
Kopilov
Сообщения: 949
ОС: [K]Ubuntu, Debian

Re: Xorg + Nvidia

Сообщение Kopilov »

NVIDIA-Linux-x86_64-331.17.run -- как я понимаю, какой-то файл с сайта Nvidia. А родной пакет nvidia-drivers ставить не пробовали?
А при указании VIDEO_CARDS="nvidia" в файле /etc/portage/make.conf он и всё сопутствующее ставится автоматически при обновлении по USE-флагам.

Спасибо сказали:
oldbay
Сообщения: 283
ОС: gentoo, cenos

Re: Xorg + Nvidia

Сообщение oldbay »

Kopilov писал(а):
27.10.2013 17:26
А при указании VIDEO_CARDS="nvidia" в файле /etc/portage/make.conf он и всё сопутствующее ставится автоматически при обновлении по USE-флагам.

+ Лучше убрать сборку nouveau при конфигурировании ядра, либо запретить загрузку данного модуля.
Спасибо сказали:
Ответить