LINUX.ORG.RU

Помогите настроить

 , ,


0

1

Накатил на машину свежий Debian 6.0.5 и собрал к нему ядро 3.4.5 с поддержкой nouveau. Так вот, сижу с 256 цветами на мониторе. Что делать и как исправить? Хотелось бы нормальной цветопередачи.

Ниже лог Xorg.0.log:


X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.0.0-1-amd64 x86_64 Debian
Current Operating System: Linux n1061 3.4.5 #1 SMP PREEMPT Sat Jul 21 19:00:48 MSK 2012 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-3.4.5 root=UUID=9c0347cb-2b2e-4fae-be75-62b179a248f8 ro quiet
Build Date: 29 October 2011  06:58:14PM
xorg-server 2:1.7.7-14 (Julien Cristau <jcristau@debian.org>) 
Current version of pixman: 0.16.4
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Jul 23 08:29:03 2012
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(==) No Layout section.  Using the first Screen section.
(==) No screen section available. Using defaults.
(**) |-->Screen "Default Screen Section" (0)
(**) |   |-->Monitor "<default monitor>"
(==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
	Entry deleted from font path.
(==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
	built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
(II) Loader magic: 0x7c8a40
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 6.0
	X.Org XInput driver : 7.0
	X.Org Server Extension : 2.0
(++) using VT number 7

(--) PCI: (0:0:1:3) 10de:0753:1043:82f2 nVidia Corporation MCP78S [GeForce 8200] Co-Processor rev 162, Mem @ 0xfae80000/524288
(--) PCI:*(0:2:0:0) 10de:0849:1043:82f2 nVidia Corporation C77 [GeForce 8200] rev 162, Mem @ 0xfb000000/16777216, 0xf0000000/134217728, 0xf8000000/33554432, I/O @ 0x0000ec00/128, BIOS @ 0x????????/131072
(II) Open ACPI successful (/var/run/acpid.socket)
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.13.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.1.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(==) Matched nouveau as autoconfigured driver 0
(==) Matched nv as autoconfigured driver 1
(==) Matched vesa as autoconfigured driver 2
(==) Matched fbdev as autoconfigured driver 3
(==) Assigned the driver to the xf86ConfigLayout
(II) LoadModule: "nouveau"
(II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
(II) Module nouveau: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 0.0.15
	Module class: X.Org Video Driver
	ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "nv"
(II) Loading /usr/lib/xorg/modules/drivers/nv_drv.so
(II) Module nv: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 2.1.17
	Module class: X.Org Video Driver
	ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "vesa"
(II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
(II) Module vesa: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 2.3.0
	Module class: X.Org Video Driver
	ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "fbdev"
(II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
(II) Module fbdev: vendor="X.Org Foundation"
	compiled for 1.7.6.901, module version = 0.4.2
	ABI class: X.Org Video Driver, version 6.0
(II) NOUVEAU driver Date:   Tue Mar 16 13:08:37 2010 +1000
(II) NOUVEAU driver for NVIDIA chipset families :
	RIVA TNT    (NV04)
	RIVA TNT2   (NV05)
	GeForce 256 (NV10)
	GeForce 2   (NV11, NV15)
	GeForce 4MX (NV17, NV18)
	GeForce 3   (NV20)
	GeForce 4Ti (NV25, NV28)
	GeForce FX  (NV3x)
	GeForce 6   (NV4x)
	GeForce 7   (G7x)
	GeForce 8   (G8x)
(II) NOUVEAU driver Date:   Tue Mar 16 13:08:37 2010 +1000
(II) NOUVEAU driver for NVIDIA chipset families :
	RIVA TNT    (NV04)
	RIVA TNT2   (NV05)
	GeForce 256 (NV10)
	GeForce 2   (NV11, NV15)
	GeForce 4MX (NV17, NV18)
	GeForce 3   (NV20)
	GeForce 4Ti (NV25, NV28)
	GeForce FX  (NV3x)
	GeForce 6   (NV4x)
	GeForce 7   (G7x)
	GeForce 8   (G8x)
(II) VESA: driver for VESA chipsets: vesa
(II) FBDEV: driver for framebuffer: fbdev
(II) Primary Device is: PCI 02@00:00:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID pci:0000:02:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci:0000:02:00.0
(EE) [drm] failed to open device
(EE) VESA: Kernel modesetting driver in use, refusing to load
(WW) Falling back to old probe method for vesa
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/lib/xorg/modules/linux/libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 0.0.2
	ABI class: X.Org Video Driver, version 6.0
(**) FBDEV(0): claimed PCI slot 2@0:0:0
(II) FBDEV(0): using default device
(II) FBDEV(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 8/8
(==) FBDEV(0): Depth 8, (==) framebuffer bpp 8
(==) FBDEV(0): Default visual is PseudoColor
(==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
(II) FBDEV(0): hardware: nouveaufb (video memory: 1280kB)
(II) FBDEV(0): checking modes against framebuffer device...
(II) FBDEV(0): checking modes against monitor...
(--) FBDEV(0): Virtual size is 1280x1024 (pitch 1280)
(**) FBDEV(0):  Built-in mode "current"
(==) FBDEV(0): DPI set to (96, 96)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(**) FBDEV(0): using shadow framebuffer
(II) Loading sub module "shadow"
(II) LoadModule: "shadow"
(II) Loading /usr/lib/xorg/modules/libshadow.so
(II) Module shadow: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.1.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(II) UnloadModule: "nv"
(II) Unloading /usr/lib/xorg/modules/drivers/nv_drv.so
(==) FBDEV(0): Backing store disabled
(==) FBDEV(0): DPMS enabled
(==) RandR enabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
SELinux: Disabled on system, not enabling in X server
(II) AIGLX: Screen 0 is not DRI2 capable
(II) AIGLX: Screen 0 is not DRI capable
(II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
(II) GLX: Initialized DRISWRAST GL provider for screen 0
(II) config/udev: Adding input device Microsoft Microsoft 3-Button Mouse with IntelliEye(TM) (/dev/input/event1)
(**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Applying InputClass "evdev pointer catchall"
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
	compiled for 1.7.6.901, module version = 2.3.2
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 7.0
(**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): always reports core events
(**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Device: "/dev/input/event1"
(II) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Found 3 mouse buttons
(II) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Found scroll wheel(s)
(II) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Found relative axes
(II) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Found x and y relative axes
(II) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Configuring as mouse
(**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): YAxisMapping: buttons 4 and 5
(**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)" (type: MOUSE)
(II) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): initialized for relative axes.
(II) config/udev: Adding input device Microsoft Microsoft 3-Button Mouse with IntelliEye(TM) (/dev/input/mouse0)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device HDA NVidia Line (/dev/input/event3)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device HDA NVidia Rear Mic (/dev/input/event4)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device HDA NVidia Line Out Side (/dev/input/event5)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device HDA NVidia Line Out CLFE (/dev/input/event6)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device HDA NVidia Line Out Surround (/dev/input/event7)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device HDA NVidia Line Out Front (/dev/input/event8)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
(**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
(**) AT Translated Set 2 keyboard: always reports core events
(**) AT Translated Set 2 keyboard: Device: "/dev/input/event0"
(II) AT Translated Set 2 keyboard: Found keys
(II) AT Translated Set 2 keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "us,ru"
(**) Option "xkb_variant" ","
(**) Option "xkb_options" "grp:alt_shift_toggle,grp_led:scroll"
(II) config/udev: Adding input device PC Speaker (/dev/input/event2)
(II) No input driver/identifier specified (ignoring)

Перемещено DoctorSinus из talks

Перемещено DoctorSinus из linux-install

(EE) [drm] failed to open device
(EE) VESA: Kernel modesetting driver in use, refusing to load

возможно опции ядра или его конфиг, или неправильный X driver. Подозреваю, что он должен быть не VESA.

XVilka ★★★★★ ()
Ответ на: комментарий от DarkAmateur

nomodeset

Nouveau не работает с этой опцией.

anonymous ()
Ответ на: комментарий от Behem0th

Грусть, конечно:

darkamateur@n1061:~$ dmesg | grep drm
[    4.179108] [drm] Initialized drm 1.1.0 20060810
darkamateur@n1061:~$ glxinfo | grep Open
OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.7.1
OpenGL shading language version string: 1.20
OpenGL extensions:

Xorg.0.log

DarkAmateur ★★★ ()
Ответ на: комментарий от DarkAmateur

(EE) [drm] failed to open device

С ядром что-то очень сильно нафигачено. Начните с ядра из бекпортов, как посоветовали выше.

AITap ★★★★★ ()
Ответ на: комментарий от DarkAmateur

Какой конфиг иксов?

Мне не нравится drmOpenDevice: node name is /dev/dri/card0 в логе.

Такое ощущение что у тебя модуль нуво в ядре не грузится.

https://wiki.archlinux.org/index.php/Nouveau#Loading

Не знаю где вики деба так что воспользуйся арчевской.

для начала сделай modprobe nouveau и покажи вывод dmesg.

Behem0th ★★★★★ ()
Ответ на: комментарий от ymuv

Часто тебя опускают, что так модеров боишься?

anonymous ()

Ичсх, никому не показалось странным вот это

Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
...
Loading /usr/lib/xorg/modules/drivers/nv_drv.so
...
Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
...
Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
Вангую, что нужно прописть драйвер в xorg.conf.

anonymous ()
Ответ на: комментарий от anonymous

А что тут странного, если nouveau не загружается по причине древности? Ядро ТС сконпелировал, а иксовый драйвер почему-то не обновил -_- А остальные дрова обламываются из-за ядерного модуля.

//recaptcha стала что-то совсем упоротая

anonymous ()

Спасибо за простыню в рсс

leave ★★★★★ ()
Ответ на: комментарий от Behem0th

Обновил иксы из бекпорта, поставил драйвер nouveau, всё работет. В логах ошибок почти нет (битый драйвер nv не в счёт). Всем спасибо.

DarkAmateur ★★★ ()
Ответ на: комментарий от DarkAmateur

Чтобы до конца убедиться кидай сюда dmesg | grep drm и glxinfo | grep Open

битый драйвер nv не в счёт

Проверь конфиг иксов.

Аноним был прав.

Behem0th ★★★★★ ()
Ответ на: комментарий от Behem0th

Конфига нет в принципе.

darkamateur@n1061:~$ dmesg | grep drm
[    4.722970] [drm] Initialized drm 1.1.0 20060810
[    4.811628] [drm] nouveau 0000:02:00.0: Detected an NV50 generation card (0x0aa480a2)
[    4.815921] [drm] nouveau 0000:02:00.0: Checking PRAMIN for VBIOS
[    4.860554] [drm] nouveau 0000:02:00.0: ... appears to be valid
[    4.860557] [drm] nouveau 0000:02:00.0: Using VBIOS from PRAMIN
[    4.860559] [drm] nouveau 0000:02:00.0: BIT BIOS found
[    4.860562] [drm] nouveau 0000:02:00.0: Bios version 62.77.35.00
[    4.860565] [drm] nouveau 0000:02:00.0: TMDS table version 2.0
[    4.860685] [drm] nouveau 0000:02:00.0: MXM: no VBIOS data, nothing to do
[    4.860688] [drm] nouveau 0000:02:00.0: DCB version 4.0
[    4.860691] [drm] nouveau 0000:02:00.0: DCB outp 00: 01000300 0000001e
[    4.860694] [drm] nouveau 0000:02:00.0: DCB outp 01: 01011332 00020010
[    4.860699] [drm] nouveau 0000:02:00.0: DCB conn 00: 00000100
[    4.860701] [drm] nouveau 0000:02:00.0: DCB conn 01: 00001261                                                                                                                    
[    4.860706] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 0 at offset 0xCB8E                                                                                              
[    4.945779] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 1 at offset 0xCDEA                                                                                              
[    4.945781] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 2 at offset 0xCDEC                                                                                              
[    4.945787] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 3 at offset 0xCEAD                                                                                              
[    4.945797] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table 4 at offset 0xCFFC                                                                                              
[    4.945799] [drm] nouveau 0000:02:00.0: Parsing VBIOS init table at offset 0xD061                                                                                                
[    4.965781] [drm] nouveau 0000:02:00.0: 0xD061: Condition still not met after 20ms, skipping following opcodes                                                                   
[    5.003112] [drm] nouveau 0000:02:00.0: Detected 32MiB VRAM (DDR1)                                                                                                               
[    5.003114] [drm] nouveau 0000:02:00.0: Stolen system memory at: 0x00de000000                                                                                                    
[    5.004219] [drm] nouveau 0000:02:00.0: 64 MiB GART (aperture)                                                                                                                   
[    5.024742] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).                                                                                                          
[    5.024744] [drm] No driver support for vblank timestamp query.                                                                                                                  
[    5.352173] [drm] nouveau 0000:02:00.0: 1 available performance level(s)                                                                                                         
[    5.352178] [drm] nouveau 0000:02:00.0: 0: core 500MHz shader 1200MHz voltage 1100mV fanspeed 100%                                                                               
[    5.352181] [drm] nouveau 0000:02:00.0: c:                                                                                                                                       
[    5.412494] [drm] nouveau 0000:02:00.0: allocated 1280x1024 fb: 0x2f0000, bo ffff880119842c00                                                                                    
[    5.436850] drm: registered panic notifier                                                                                                                                       
[    5.436854] [drm] Initialized nouveau 1.0.0 20120316 for 0000:02:00.0 on minor 0                                                                                                 
darkamateur@n1061:~$ dmesg | grep fb0
[    0.243757] pci 0000:02:00.0: reg 10: [mem 0xfb000000-0xfbffffff]                                                                                                                
[    5.412573] fbcon: nouveaufb (fb0) is primary device
[    5.436848] fb0: nouveaufb frame buffer device
darkamateur@n1061:~$ glxinfo | grep Open
OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.10.3
OpenGL shading language version string: 1.20
OpenGL extensions:


Разбираюсь с Software Rasterizer, но цвета радуют.
DarkAmateur ★★★ ()
Ответ на: комментарий от DarkAmateur

Разбираюсь с Software Rasterizer

Месу обычно бьют на несколько пакетов, ищи что то типа nouveau-dri(так в арче называется).

Behem0th ★★★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.