Есть комп с интегрённой картой nvidia GeForce 7025. На компе ubuntu 14.04 x64. Эта карта работает на дровах nvidia-304, но на видео тормозит.
В биосе есть переклюк onboard/pci-e. Была куплена и воткнута карта pci-e nvidia 7600, переклюк установлен в pci-e. Грузим систему, как-только нужно показать рабочий стол, так сразу вижу чёрный экран. Зайти в консоль также нельзя - чёрный экран.
лог
[ 9.428]
X.Org X Server 1.15.1
Release Date: 2014-04-13
[ 9.428] X Protocol Version 11, Revision 0
[ 9.428] Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
[ 9.428] Current Operating System: Linux home 3.13.0-55-generic #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 x86_64
[ 9.428] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.13.0-55-generic root=UUID=1ffd9c2e-2690-498c-97da-b3b12bb33c1b ro nomodeset quiet splash
[ 9.428] Build Date: 12 February 2015 02:49:29PM
[ 9.428] xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support)
[ 9.428] Current version of pixman: 0.30.2
[ 9.428] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 9.428] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 9.428] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jun 21 23:59:52 2015
[ 9.428] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 9.428] (==) No Layout section. Using the first Screen section.
[ 9.428] (==) No screen section available. Using defaults.
[ 9.428] (**) |-->Screen "Default Screen Section" (0)
[ 9.428] (**) | |-->Monitor "<default monitor>"
[ 9.428] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 9.428] (==) Automatically adding devices
[ 9.429] (==) Automatically enabling devices
[ 9.429] (==) Automatically adding GPU devices
[ 9.429] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 9.429] Entry deleted from font path.
[ 9.429] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 9.429] Entry deleted from font path.
[ 9.429] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 9.429] Entry deleted from font path.
[ 9.429] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 9.429] Entry deleted from font path.
[ 9.429] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 9.429] Entry deleted from font path.
[ 9.429] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 9.429] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[ 9.429] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 9.429] (II) Loader magic: 0x7f89501a0d40
[ 9.429] (II) Module ABI versions:
[ 9.429] X.Org ANSI C Emulation: 0.4
[ 9.429] X.Org Video Driver: 15.0
[ 9.429] X.Org XInput driver : 20.0
[ 9.429] X.Org Server Extension : 8.0
[ 9.429] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 9.432] (--) PCI:*(0:2:0:0) 10de:0392:1458:341a rev 161, Mem @ 0xfb000000/16777216, 0xe0000000/268435456, 0xfa000000/16777216, I/O @ 0x0000ec00/128, BIOS @ 0x????????/131072
[ 9.432] Initializing built-in extension Generic Event Extension
[ 9.432] Initializing built-in extension SHAPE
[ 9.432] Initializing built-in extension MIT-SHM
[ 9.432] Initializing built-in extension XInputExtension
[ 9.432] Initializing built-in extension XTEST
[ 9.432] Initializing built-in extension BIG-REQUESTS
[ 9.432] Initializing built-in extension SYNC
[ 9.432] Initializing built-in extension XKEYBOARD
[ 9.432] Initializing built-in extension XC-MISC
[ 9.432] Initializing built-in extension SECURITY
[ 9.432] Initializing built-in extension XINERAMA
[ 9.432] Initializing built-in extension XFIXES
[ 9.432] Initializing built-in extension RENDER
[ 9.432] Initializing built-in extension RANDR
[ 9.432] Initializing built-in extension COMPOSITE
[ 9.432] Initializing built-in extension DAMAGE
[ 9.432] Initializing built-in extension MIT-SCREEN-SAVER
[ 9.432] Initializing built-in extension DOUBLE-BUFFER
[ 9.432] Initializing built-in extension RECORD
[ 9.432] Initializing built-in extension DPMS
[ 9.432] Initializing built-in extension Present
[ 9.432] Initializing built-in extension DRI3
[ 9.432] Initializing built-in extension X-Resource
[ 9.432] Initializing built-in extension XVideo
[ 9.432] Initializing built-in extension XVideo-MotionCompensation
[ 9.432] Initializing built-in extension SELinux
[ 9.432] Initializing built-in extension XFree86-VidModeExtension
[ 9.432] Initializing built-in extension XFree86-DGA
[ 9.432] Initializing built-in extension XFree86-DRI
[ 9.432] Initializing built-in extension DRI2
[ 9.432] (WW) "glamoregl" will not be loaded unless you've specified it to be loaded elsewhere.
[ 9.432] (II) "glx" will be loaded by default.
[ 9.432] (WW) "xmir" is not to be loaded by default. Skipping.
[ 9.432] (II) LoadModule: "glx"
[ 9.433] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so
[ 9.451] (II) Module glx: vendor="NVIDIA Corporation"
[ 9.451] compiled for 4.0.2, module version = 1.0.0
[ 9.451] Module class: X.Org Server Extension
[ 9.451] (II) NVIDIA GLX Module 304.125 Mon Dec 1 20:22:48 PST 2014
[ 9.451] Loading extension GLX
[ 9.451] (==) Matched nvidia as autoconfigured driver 0
[ 9.451] (==) Matched nouveau as autoconfigured driver 1
[ 9.451] (==) Matched nvidia as autoconfigured driver 2
[ 9.451] (==) Matched nouveau as autoconfigured driver 3
[ 9.451] (==) Matched modesetting as autoconfigured driver 4
[ 9.451] (==) Matched fbdev as autoconfigured driver 5
[ 9.451] (==) Matched vesa as autoconfigured driver 6
[ 9.451] (==) Assigned the driver to the xf86ConfigLayout
[ 9.451] (II) LoadModule: "nvidia"
[ 9.451] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
[ 9.452] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 9.452] compiled for 4.0.2, module version = 1.0.0
[ 9.452] Module class: X.Org Video Driver
[ 9.452] (II) LoadModule: "nouveau"
[ 9.452] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[ 9.452] (II) Module nouveau: vendor="X.Org Foundation"
[ 9.452] compiled for 1.15.1, module version = 1.0.11
[ 9.452] Module class: X.Org Video Driver
[ 9.452] ABI class: X.Org Video Driver, version 15.0
[ 9.452] (II) LoadModule: "modesetting"
[ 9.452] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 9.452] (II) Module modesetting: vendor="X.Org Foundation"
[ 9.452] compiled for 1.15.0, module version = 0.8.1
[ 9.452] Module class: X.Org Video Driver
[ 9.452] ABI class: X.Org Video Driver, version 15.0
[ 9.452] (II) LoadModule: "fbdev"
[ 9.453] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 9.453] (II) Module fbdev: vendor="X.Org Foundation"
[ 9.453] compiled for 1.15.0, module version = 0.4.4
[ 9.453] Module class: X.Org Video Driver
[ 9.453] ABI class: X.Org Video Driver, version 15.0
[ 9.453] (II) LoadModule: "vesa"
[ 9.453] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 9.453] (II) Module vesa: vendor="X.Org Foundation"
[ 9.453] compiled for 1.15.0, module version = 2.3.3
[ 9.453] Module class: X.Org Video Driver
[ 9.453] ABI class: X.Org Video Driver, version 15.0
[ 9.453] (II) NVIDIA dlloader X Driver 304.125 Mon Dec 1 20:00:30 PST 2014
[ 9.453] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 9.453] (II) NOUVEAU driver
[ 9.453] (II) NOUVEAU driver for NVIDIA chipset families :
[ 9.453] RIVA TNT (NV04)
[ 9.453] RIVA TNT2 (NV05)
[ 9.453] GeForce 256 (NV10)
[ 9.453] GeForce 2 (NV11, NV15)
[ 9.453] GeForce 4MX (NV17, NV18)
[ 9.453] GeForce 3 (NV20)
[ 9.453] GeForce 4Ti (NV25, NV28)
[ 9.453] GeForce FX (NV3x)
[ 9.453] GeForce 6 (NV4x)
[ 9.453] GeForce 7 (G7x)
[ 9.453] GeForce 8 (G8x)
[ 9.453] GeForce GTX 200 (NVA0)
[ 9.453] GeForce GTX 400 (NVC0)
[ 9.453] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 9.453] (II) FBDEV: driver for framebuffer: fbdev
[ 9.453] (II) VESA: driver for VESA chipsets: vesa
[ 9.453] (++) using VT number 7
[ 9.455] (II) Loading sub module "fb"
[ 9.455] (II) LoadModule: "fb"
[ 9.455] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 9.455] (II) Module fb: vendor="X.Org Foundation"
[ 9.455] compiled for 1.15.1, module version = 1.0.0
[ 9.455] ABI class: X.Org ANSI C Emulation, version 0.4
[ 9.455] (II) Loading sub module "wfb"
[ 9.455] (II) LoadModule: "wfb"
[ 9.455] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 9.455] (II) Module wfb: vendor="X.Org Foundation"
[ 9.455] compiled for 1.15.1, module version = 1.0.0
[ 9.455] ABI class: X.Org ANSI C Emulation, version 0.4
[ 9.455] (II) Loading sub module "ramdac"
[ 9.455] (II) LoadModule: "ramdac"
[ 9.455] (II) Module "ramdac" already built-in
[ 9.455] (WW) Falling back to old probe method for modesetting
[ 9.455] (WW) Falling back to old probe method for fbdev
[ 9.455] (II) Loading sub module "fbdevhw"
[ 9.455] (II) LoadModule: "fbdevhw"
[ 9.456] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 9.456] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 9.456] compiled for 1.15.1, module version = 0.0.2
[ 9.456] ABI class: X.Org Video Driver, version 15.0
[ 9.456] (EE) open /dev/fb0: No such file or directory
[ 9.456] (WW) Falling back to old probe method for vesa
[ 9.456] (II) NVIDIA(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 9.456] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 9.456] (==) NVIDIA(0): RGB weight 888
[ 9.456] (==) NVIDIA(0): Default visual is TrueColor
[ 9.456] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 9.456] (**) NVIDIA(0): Enabling 2D acceleration
[ 9.796] (II) NVIDIA(GPU-0): Display (LG Electronics 23EA53 (CRT-0)) does not support
[ 9.796] (II) NVIDIA(GPU-0): NVIDIA 3D Vision stereo.
[ 9.798] (II) NVIDIA(0): NVIDIA GPU GeForce 7600 GS (G73) at PCI:2:0:0 (GPU-0)
[ 9.798] (--) NVIDIA(0): Memory: 262144 kBytes
[ 9.798] (--) NVIDIA(0): VideoBIOS: 05.73.22.50.02
[ 9.798] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 9.798] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
[ 9.798] (--) NVIDIA(0): Valid display device(s) on GeForce 7600 GS at PCI:2:0:0
[ 9.798] (--) NVIDIA(0): LG Electronics 23EA53 (CRT-0) (connected)
[ 9.798] (--) NVIDIA(0): CRT-1
[ 9.798] (--) NVIDIA(0): TV-0
[ 9.798] (--) NVIDIA(0): DFP-0
[ 9.798] (--) NVIDIA(0): LG Electronics 23EA53 (CRT-0): 400.0 MHz maximum pixel clock
[ 9.798] (--) NVIDIA(0): CRT-1: 400.0 MHz maximum pixel clock
[ 9.798] (--) NVIDIA(0): TV-0: 400.0 MHz maximum pixel clock
[ 9.798] (--) NVIDIA(0): TV encoder: Unknown
[ 9.798] (--) NVIDIA(0): DFP-0: 330.0 MHz maximum pixel clock
[ 9.798] (--) NVIDIA(0): DFP-0: Internal Single Link TMDS
[ 9.798] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[ 9.798] (**) NVIDIA(0): device LG Electronics 23EA53 (CRT-0) (Using EDID
[ 9.798] (**) NVIDIA(0): frequencies has been enabled on all display devices.)
[ 9.798] (==) NVIDIA(0):
[ 9.798] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[ 9.798] (==) NVIDIA(0): will be used as the requested mode.
[ 9.798] (==) NVIDIA(0):
[ 9.798] (II) NVIDIA(0): Validated MetaModes:
[ 9.798] (II) NVIDIA(0): "CRT-0:nvidia-auto-select"
[ 9.798] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[ 9.800] (--) NVIDIA(0): DPI set to (95, 94); computed from "UseEdidDpi" X config
[ 9.800] (--) NVIDIA(0): option
[ 9.800] (II) UnloadModule: "nouveau"
[ 9.800] (II) Unloading nouveau
[ 9.800] (II) UnloadModule: "modesetting"
[ 9.800] (II) Unloading modesetting
[ 9.800] (II) UnloadModule: "fbdev"
[ 9.800] (II) Unloading fbdev
[ 9.800] (II) UnloadSubModule: "fbdevhw"
[ 9.800] (II) Unloading fbdevhw
[ 9.800] (II) UnloadModule: "vesa"
[ 9.800] (II) Unloading vesa
[ 9.800] (--) Depth 24 pixmap format is 32 bpp
[ 9.807] (II) NVIDIA(0): Setting mode "CRT-0:nvidia-auto-select"
[ 9.943] (EE)
[ 9.943] (EE) Backtrace:
[ 9.943] (EE) 0: /usr/bin/X (xorg_backtrace+0x48) [0x7f894ff1c848]
[ 9.943] (EE) 1: /usr/bin/X (0x7f894fd73000+0x1ad539) [0x7f894ff20539]
[ 9.943] (EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f894ee6f000+0x10340) [0x7f894ee7f340]
[ 9.943] (EE) 3: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7f8947e65000+0x64aa43) [0x7f89484afa43]
[ 9.943] (EE) 4: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7f8947e65000+0xeee25) [0x7f8947f53e25]
[ 9.943] (EE) 5: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7f8947e65000+0xef510) [0x7f8947f54510]
[ 9.943] (EE) 6: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7f8947e65000+0xa011b) [0x7f8947f0511b]
[ 9.943] (EE) 7: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7f8947e65000+0x121c6b) [0x7f8947f86c6b]
[ 9.944] (EE) 8: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7f8947e65000+0xd93fe) [0x7f8947f3e3fe]
[ 9.944] (EE) 9: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7f8947e65000+0xddb32) [0x7f8947f42b32]
[ 9.944] (EE) 10: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so (0x7f8947e65000+0x6197c8) [0x7f894847e7c8]
[ 9.944] (EE) 11: /usr/bin/X (AddScreen+0x71) [0x7f894fdc9191]
[ 9.944] (EE) 12: /usr/bin/X (InitOutput+0x3c8) [0x7f894fe0a378]
[ 9.944] (EE) 13: /usr/bin/X (0x7f894fd73000+0x59bab) [0x7f894fdccbab]
[ 9.944] (EE) 14: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7f894d8aeec5]
[ 9.944] (EE) 15: /usr/bin/X (0x7f894fd73000+0x451ee) [0x7f894fdb81ee]
[ 9.944] (EE)
[ 9.944] (EE) Segmentation fault at address 0x3d8
[ 9.944] (EE)
Fatal server error:
[ 9.944] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 9.944] (EE)
[ 9.944] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 9.944] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 9.944] (EE)
[ 9.948] (EE) Server terminated with error (1). Closing log file.
Переключаюсь на интегрённую карту. Всё работает. Сношу дрова nvidia, ставлю nouveau. Переключаюсь на pci-e. Всё работает, но разрешение 1280x1024. А нужно минимум 1600x900.
xrandr
xrandr --verbose
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1280 x 1024, current 1280 x 1024, maximum 1280 x 1024
default connected primary 1280x1024+0+0 (0x17d) normal (normal) 0mm x 0mm
Identifier: 0x17c
Timestamp: 11770
Subpixel: unknown
Clones:
CRTC: 0
CRTCs: 0
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
1280x1024 (0x17d) 100.9MHz *current
h: width 1280 start 0 end 0 total 1280 skew 0 clock 78.8KHz
v: height 1024 start 0 end 0 total 1024 clock 77.0Hz
Добавить разрешение не получилось.
Modeline "1600x900_60.00" 119.00 1600 1696 1864 2128 900 901 904 932 -HSync +Vsync
xrandr --addmode default 1600x900_60.00
xrandr --output default --mode 1600x900_60.00
xrandr: Failed to get size of gamma for output default
xrandr: Configure crtc 0 failed
Ставлю дрова nvidia-304-updates. Ребут. И всё работает. Минуты 3. Потом снова вижу чёрный экран. Снова ребут - чёрный экран. С тем же логом как выше.
Итог При переключении на интегрённую видяху всё работает всегда. На pci-e на nvidia дровах получаю чёрный экран, а на свободных недостаточное разрешение.
Что нужно Нужно как-то запустить систему на карте pci-e. Хоть на дровах nvidia, хоть на свободных, но с нормальным разрешением.
PS Разница в логах. Загрука с интегрированой карты
[ 8.084] (II) NVIDIA(0): Validated MetaModes:
[ 8.084] (II) NVIDIA(0): "CRT-0:nvidia-auto-select"
[ 8.084] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[ 8.085] (--) NVIDIA(0): DPI set to (95, 94); computed from "UseEdidDpi" X config
[ 8.085] (--) NVIDIA(0): option
[ 8.085] (II) UnloadModule: "fbdev"
[ 8.085] (II) Unloading fbdev
[ 8.085] (II) UnloadSubModule: "fbdevhw"
[ 8.085] (II) Unloading fbdevhw
[ 8.085] (II) UnloadModule: "vesa"
[ 8.085] (II) Unloading vesa
[ 8.085] (--) Depth 24 pixmap format is 32 bpp
загрузка с pci-e
[ 9.798] (II) NVIDIA(0): Validated MetaModes:
[ 9.798] (II) NVIDIA(0): "CRT-0:nvidia-auto-select"
[ 9.798] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[ 9.800] (--) NVIDIA(0): DPI set to (95, 94); computed from "UseEdidDpi" X config
[ 9.800] (--) NVIDIA(0): option
[ 9.800] (II) UnloadModule: "nouveau"
[ 9.800] (II) Unloading nouveau
[ 9.800] (II) UnloadModule: "modesetting"
[ 9.800] (II) Unloading modesetting
[ 9.800] (II) UnloadModule: "fbdev"
[ 9.800] (II) Unloading fbdev
[ 9.800] (II) UnloadSubModule: "fbdevhw"
[ 9.800] (II) Unloading fbdevhw
[ 9.800] (II) UnloadModule: "vesa"
[ 9.800] (II) Unloading vesa
[ 9.800] (--) Depth 24 pixmap format is 32 bpp
[ 9.807] (II) NVIDIA(0): Setting mode "CRT-0:nvidia-auto-select"
[ 9.943] (EE)
[ 9.943] (EE) Backtrace:
т.е. при загрузке с pci-e почему-то выгружаются nouveau и modesetting