NetBSD и X.org

FreeBSD и прочие в роли десктопа.
Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
nnnickkk
проходил мимо
Сообщения: 6
Зарегистрирован: 2010-04-02 10:06:10

NetBSD и X.org

Непрочитанное сообщение nnnickkk » 2010-04-02 11:33:56

Доброго времени суток.
Задался задачей перейти на ноутбуке на десктопную NetBSD

Ноутбук: FS AmiloPro v2040, Pentium-M 1.6 GHz, 512 MB, video Intel 915GM
OS: NetBSD 5.0.2

К установке и настройке системы вопросов нет. Все работает, за исключением...

X.org из pkgsrc
1. echo 'X11_TYPE=modular' > /etc/mk.conf
2. Установлены
/usr/pkgsrc/x11/modular-xorg-server
/usr/pkgsrc/meta-pkgs/modular-xorg-apps
/usr/pkgsrc/meta-pkgs/modular-xorg-fonts
/usr/pkgsrc/x11/xf86-input-keyboard
/usr/pkgsrc/x11/xf86-input-mouse
/usr/pkgsrc/x11/xf86-video-intel
3. X -configure

xorg.conf.new был правлен, перемещен в /etc/X11/

xorg.conf

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

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
#    Option "HandleSpecialKeys"  "Always"
    Option "DontZap"         "off"
    Option "AllowEmptyInput" "off"
    Option "AutoAddDevices"  "off"
    Option "RANDR"	"True"
EndSection


Section "Files"
	ModulePath   "/usr/pkg/lib/xorg/modules"
	FontPath     "/usr/pkg/lib/X11/fonts/misc/"
	FontPath     "/usr/pkg/lib/X11/fonts/TTF/"
	FontPath     "/usr/pkg/lib/X11/fonts/Type1/"
	FontPath     "/usr/pkg/lib/X11/fonts/100dpi/"
	FontPath     "/usr/pkg/lib/X11/fonts/75dpi/"
EndSection

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

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option      "XkbRules" "xorg"
	Option      "XkbModel" "pc105"
	Option      "XkbLayout" "us,ru"
	Option      "XkbOptions" "grp:ctrl_shift_toggle,grp:switch,grp_led:scroll,terminate:ctrl_alt_bksp"
EndSectioN

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

# LVDS monitor
Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
#	HorizSync    30-107
#   VertRefresh  48-120	
	Option "PreferredMode"  "1024x768"
#	ModeLine	 "1024x768"
EndSection

# VGA
Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	HorizSync    30-107
    VertRefresh  48-120	
	Option "Ignore"  "true"
#	ModeLine	 "1024x768"
EndSection


#Section "Monitor"
#Identifier   "Monitor0"
#VendorName   "Monitor Vendor"
#ModelName    "CTX PR705F series"
#HorizSync    30.0 - 85.0
#VertRefresh  50.0 - 160.0
#Option     "dpms"
#EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "CacheLines"         	# <i>
        #Option     "Dac6Bit"            	# [<bool>]
        Option     "DRI"	"true"                	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "XvMCSurfaces"       	# <i>
        #Option     "PageFlip"           	# [<bool>]
		Option	"MonitorLayout"	"LVDS,VGA"
	    Option	"AccelMethod"	"EXA"
		Option	"MigrationHeuristic"	"greedy"
		Option	"Monitor-LVDS"	"Monitor0"
		Option	"Monitor-VGA"	"Monitor1"

	Identifier  "Card0"
	Driver      "intel"
	VendorName  "Intel Corporation 915G Integrated Graphics Controller"
	BoardName   "Unknown Board"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth 24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes	"1024x768"
	EndSubSection
EndSection

Section "DRI"
	Mode	0666
EndSection
.xinitrc

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

#!bin/sh
exec /usr/pkg/bin/twm
chmod u+x .xinitrc

Действия
X -config xorg.conf.new =черный экран
X -config xorg.conf.new -retro=сеточка
startx =чёрный экран

На клавиатуру не реагирует ни при каком раскладе.
Мышь работает, как тачпад так и внешняя usb
Выход только перезагрузкой

Xorg.0.log

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


X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: NetBSD-5.0.2-i386 The NetBSD Foundation
Current Operating System: NetBSD BABE 5.0.2 NetBSD 5.0.2 (RUN) #2: Wed Mar 31 17:56:22 MSD 2010  root@BABE:/usr/src/sys/arch/i386/compile/RUN i386
Build Date: 30 March 2010  08:22:08PM
 
	Before reporting problems, check http://www.pkgsrc.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: Fri Apr  2 15:00:42 2010
(++) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) Option "DontZap" "off"
(**) Option "RandR" "True"
(**) Option "AllowEmptyInput" "off"
(**) Option "AutoAddDevices" "off"
(**) Not automatically adding devices
(==) Not automatically enabling devices
(WW) The directory "/usr/pkg/lib/X11/fonts/OTF" does not exist.
	Entry deleted from font path.
(**) FontPath set to:
	/usr/pkg/lib/X11/fonts/misc/,
	/usr/pkg/lib/X11/fonts/TTF/,
	/usr/pkg/lib/X11/fonts/Type1/,
	/usr/pkg/lib/X11/fonts/100dpi/,
	/usr/pkg/lib/X11/fonts/75dpi/,
	/usr/pkg/lib/X11/fonts/misc/,
	/usr/pkg/lib/X11/fonts/TTF/,
	/usr/pkg/lib/X11/fonts/Type1/,
	/usr/pkg/lib/X11/fonts/100dpi/,
	/usr/pkg/lib/X11/fonts/75dpi/
(**) ModulePath set to "/usr/pkg/lib/xorg/modules"
(II) Loader magic: 0x1fea0
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 5.0
	X.Org XInput driver : 4.0
	X.Org Server Extension : 2.0
(II) Loader running on netbsd
(--) Using wscons driver on /dev/ttyE4 in pcvt compatibility mode (version 3.32)
(--) using VT number 5

(--) PCI:*(0:0:2:0) 8086:2592:17c0:2071 rev 4, Mem @ 0xb0080000/524288, 0xc0000000/268435456, 0xb0040000/262144, I/O @ 0x00001800/8
(--) PCI: (0:0:2:1) 8086:2792:17c0:2071 rev 4, Mem @ 0x00000000/524288
(II) System resource ranges:
	[0] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[1] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[2] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[3] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[4] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
(II) LoadModule: "extmod"
(II) Loading /usr/pkg/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.6.5, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(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/pkg/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.6.5, 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/pkg/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"
	compiled for 1.6.5, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "dri"
(II) Loading /usr/pkg/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 1.6.5, 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/pkg/lib/xorg/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
	compiled for 1.6.5, module version = 1.1.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "intel"
(II) Loading /usr/pkg/lib/xorg/modules/drivers//intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
	compiled for 1.6.5, module version = 2.7.1
	Module class: X.Org Video Driver
	ABI class: X.Org Video Driver, version 5.0
(II) LoadModule: "mouse"
(II) Loading /usr/pkg/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
	compiled for 1.6.5, module version = 1.4.0
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 4.0
(II) LoadModule: "kbd"
(II) Loading /usr/pkg/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
	compiled for 1.6.5, module version = 1.3.2
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 4.0
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
	i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
	E7221 (i915), 915GM, 945G, 945GM, 945GME, IGD_GM, IGD_G, 965G, G35,
	965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	Mobile IntelВ® GM45 Express Chipset,
	Intel Integrated Graphics Device, G45/G43, Q45/Q43, G41
(II) Primary Device is: PCI 00@00:02:0
(II) resource ranges after xf86ClaimFixedResources() call:
	[0] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[1] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[2] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[3] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[4] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
(II) resource ranges after probing:
	[0] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[1] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[2] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[3] 0	0	0x000a0000 - 0x000affff (0x10000) MS[B]
	[4] 0	0	0x000b0000 - 0x000b7fff (0x8000) MS[B]
	[5] 0	0	0x000b8000 - 0x000bffff (0x8000) MS[B]
	[6] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[7] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[8] 0	0	0x000003b0 - 0x000003bb (0xc) IS[B]
	[9] 0	0	0x000003c0 - 0x000003df (0x20) IS[B]
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/pkg/lib/xorg/modules//libvgahw.so
(II) Module vgahw: vendor="X.Org Foundation"
	compiled for 1.6.5, module version = 0.1.0
	ABI class: X.Org Video Driver, version 5.0
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(**) intel(0): Depth 24, (--) framebuffer bpp 32
(==) intel(0): RGB weight 888
(==) intel(0): Default visual is TrueColor
(**) intel(0): Option "AccelMethod" "EXA"
(**) intel(0): Option "DRI" "true"
(II) intel(0): Integrated Graphics Chipset: Intel(R) 915GM
(--) intel(0): Chipset: "915GM"
(--) intel(0): Linear framebuffer at 0xC0000000
(--) intel(0): IO registers at addr 0xB0080000
(WW) intel(0): libpciaccess reported 0 rom size, guessing 64kB
(**) intel(0): Using EXA for acceleration
(II) intel(0): 2 display pipes available.
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Module "ddc" already built-in
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Module "i2c" already built-in
(II) intel(0): Output VGA using monitor section Monitor1
(**) intel(0): Option "Ignore" "true"
(II) intel(0): Output LVDS using monitor section Monitor0
(**) intel(0): Option "PreferredMode" "1024x768"
(II) intel(0): I2C bus "LVDSDDC_C" initialized.
(II) intel(0): Attempting to determine panel fixed mode.
(II) intel(0): I2C device "LVDSDDC_C:E-EDID segment register" registered at address 0x60.
(II) intel(0): I2C device "LVDSDDC_C:ddc2" registered at address 0xA0.
(II) intel(0): EDID vendor "CMO", prod id 5382
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
(II) intel(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
(II) intel(0): EDID vendor "CMO", prod id 5382
(II) intel(0): Output TV has no monitor section
(WW) intel(0): remove MTRR a0000 - b0000
(II) intel(0): Resizable framebuffer: not available (1 3)
(II) intel(0): EDID vendor "CMO", prod id 5382
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
(II) intel(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
(II) intel(0): EDID vendor "CMO", prod id 5382
(II) intel(0): Output LVDS connected
(II) intel(0): Output TV disconnected
(II) intel(0): Using user preference for initial modes
(II) intel(0): Output LVDS using initial mode 1024x768
(WW) intel(0): remove MTRR a0000 - b0000
(II) intel(0): detected 256 kB GTT.
(II) intel(0): detected 7932 kB stolen memory.
(==) intel(0): video overlay key set to 0x101fe
(==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
(**) intel(0): Display dimensions: (300, 230) mm
(**) intel(0): DPI set to (86, 113)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/pkg/lib/xorg/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
	compiled for 1.6.5, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "exa"
(II) LoadModule: "exa"
(II) Loading /usr/pkg/lib/xorg/modules//libexa.so
(II) Module exa: vendor="X.Org Foundation"
	compiled for 1.6.5, module version = 2.4.0
	ABI class: X.Org Video Driver, version 5.0
(II) intel(0): Comparing regs from server start up to After PreInit
(WW) intel(0): Register 0x61200 (PP_STATUS) changed from 0xc0000008 to 0xd0000009
(WW) intel(0): PP_STATUS before: on, ready, sequencing idle
(WW) intel(0): PP_STATUS after: on, ready, sequencing on
(WW) intel(0): Register 0x71024 (PIPEBSTAT) changed from 0x00000202 to 0x80000202
(WW) intel(0): PIPEBSTAT before: status: VSYNC_INT_STATUS VBLANK_INT_STATUS
(WW) intel(0): PIPEBSTAT after: status: FIFO_UNDERRUN VSYNC_INT_STATUS VBLANK_INT_STATUS
(WW) intel(0): Register 0x68000 (TV_CTL) changed from 0x30000000 to 0x000c0c00
(WW) intel(0): Register 0x68010 (TV_CSC_Y) changed from 0x00000000 to 0x0332012d
(WW) intel(0): Register 0x68014 (TV_CSC_Y2) changed from 0x00000000 to 0x07d30104
(WW) intel(0): Register 0x68018 (TV_CSC_U) changed from 0x00000000 to 0x0733052d
(WW) intel(0): Register 0x6801c (TV_CSC_U2) changed from 0x00000000 to 0x05c70200
(WW) intel(0): Register 0x68020 (TV_CSC_V) changed from 0x00000000 to 0x0340030c
(WW) intel(0): Register 0x68024 (TV_CSC_V2) changed from 0x00000000 to 0x06d00200
(WW) intel(0): Register 0x6802c (TV_CLR_LEVEL) changed from 0x00000000 to 0x010b00e1
(WW) intel(0): Register 0x68030 (TV_H_CTL_1) changed from 0x00000000 to 0x00400359
(WW) intel(0): Register 0x68034 (TV_H_CTL_2) changed from 0x00000000 to 0x80480022
(WW) intel(0): Register 0x68038 (TV_H_CTL_3) changed from 0x00000000 to 0x007c0344
(WW) intel(0): Register 0x6803c (TV_V_CTL_1) changed from 0x00000000 to 0x00f01415
(WW) intel(0): Register 0x68040 (TV_V_CTL_2) changed from 0x00000000 to 0x00060607
(WW) intel(0): Register 0x68044 (TV_V_CTL_3) changed from 0x00000000 to 0x80120001
(WW) intel(0): Register 0x68048 (TV_V_CTL_4) changed from 0x00000000 to 0x000900f0
(WW) intel(0): Register 0x6804c (TV_V_CTL_5) changed from 0x00000000 to 0x000a00f0
(WW) intel(0): Register 0x68050 (TV_V_CTL_6) changed from 0x00000000 to 0x000900f0
(WW) intel(0): Register 0x68054 (TV_V_CTL_7) changed from 0x00000000 to 0x000a00f0
(WW) intel(0): Register 0x68060 (TV_SC_CTL_1) changed from 0x00000000 to 0xc1710087
(WW) intel(0): Register 0x68064 (TV_SC_CTL_2) changed from 0x00000000 to 0x6b405140
(WW) intel(0): Register 0x68070 (TV_WIN_POS) changed from 0x00000000 to 0x00360024
(WW) intel(0): Register 0x68074 (TV_WIN_SIZE) changed from 0x00000000 to 0x02640198
(WW) intel(0): Register 0x68080 (TV_FILTER_CTL_1) changed from 0x00000000 to 0x800010bb
(WW) intel(0): Register 0x68084 (TV_FILTER_CTL_2) changed from 0x00000000 to 0x00028283
(WW) intel(0): Register 0x68088 (TV_FILTER_CTL_3) changed from 0x00000000 to 0x00014141
(WW) intel(0): Register 0x68100 (TV_H_LUMA_0) changed from 0x00000000 to 0xb1403000
(WW) intel(0): Register 0x681ec (TV_H_LUMA_59) changed from 0x00000000 to 0x0000b060
(WW) intel(0): Register 0x68200 (TV_H_CHROMA_0) changed from 0x00000000 to 0xb1403000
(WW) intel(0): Register 0x682ec (TV_H_CHROMA_59) changed from 0x00000000 to 0x0000b060
(II) Loading sub module "dri"
(II) LoadModule: "dri"
(II) Reloading /usr/pkg/lib/xorg/modules/extensions//libdri.so
(II) Loading sub module "dri2"
(II) LoadModule: "dri2"
(II) Reloading /usr/pkg/lib/xorg/modules/extensions//libdri2.so
(==) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
	[0] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[1] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[2] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[3] 0	0	0x000a0000 - 0x000affff (0x10000) MS[B](OprD)
	[4] 0	0	0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD)
	[5] 0	0	0x000b8000 - 0x000bffff (0x8000) MS[B](OprD)
	[6] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[7] -1	0	0x00000000 - 0x000000ff (0x100) IX[B]
	[8] 0	0	0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
	[9] 0	0	0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(II) intel(0): Kernel reported 112640 total, 0 used
(II) intel(0): I830CheckAvailableMemory: 450560 kB available
(WW) intel(0): DRI2 requires UXA
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: drmOpenMinor returns 10
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) [drm] DRM interface version 1.2
(II) [drm] DRM open master succeeded.
(II) intel(0): [drm] Using the DRM lock SAREA also for drawables.
(II) intel(0): [drm] framebuffer mapped by ddx driver
(II) intel(0): [drm] added 1 reserved context for kernel
(II) intel(0): X context handle = 0x1
(II) intel(0): [drm] installed DRM signal handler
(**) intel(0): Framebuffer compression enabled
(**) intel(0): Tiling enabled
(==) intel(0): VideoRam: 262144 KB
(II) intel(0): Attempting memory allocation with tiled buffers.
(II) intel(0): Tiled allocation successful.
(II) intel(0): [drm] Registers = 0xb0080000
(II) intel(0): [drm] ring buffer = 0xc0000000
(II) intel(0): [drm] mapped front buffer at 0xc1000000, handle = 0xc1000000
(II) intel(0): [drm] mapped back buffer at 0xc2000000, handle = 0xc2000000
(II) intel(0): [drm] mapped depth buffer at 0xc2400000, handle = 0xc2400000
(II) intel(0): [drm] mapped classic textures at 0xc2800000, handle = 0xc2800000
(II) intel(0): [drm] Initialized kernel agp heap manager, 33554432
(II) intel(0): [dri] visual configs initialized
(II) intel(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(WW) intel(0): remove MTRR a0000 - b0000
(**) intel(0): Option "MigrationHeuristic" "greedy"
(II) EXA(0): Offscreen pixmap area of 12582912 bytes
(II) EXA(0): Driver registered support for the following operations:
(II)         Solid
(II)         Copy
(II)         Composite (RENDER acceleration)
(==) intel(0): Backing store disabled
(==) intel(0): Silken mouse enabled
(II) intel(0): Initializing HW Cursor
(II) intel(0): [DRI] installation complete
(WW) intel(0): drmDropMaster failed: Unknown error: 4294967295
(II) intel(0): xf86BindGARTMemory: bind key 0 at 0x007bf000 (pgoffset 1983)
(II) intel(0): xf86BindGARTMemory: bind key 1 at 0x00e2b000 (pgoffset 3627)
(II) intel(0): xf86BindGARTMemory: bind key 2 at 0x01000000 (pgoffset 4096)
(II) intel(0): xf86BindGARTMemory: bind key 3 at 0x01400000 (pgoffset 5120)
(II) intel(0): xf86BindGARTMemory: bind key 4 at 0x02000000 (pgoffset 8192)
(II) intel(0): xf86BindGARTMemory: bind key 5 at 0x02400000 (pgoffset 9216)
(II) intel(0): xf86BindGARTMemory: bind key 6 at 0x02800000 (pgoffset 10240)
(II) intel(0): Fixed memory allocation layout:
(II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB)
(II) intel(0): 0x00020000-0x0061ffff: compressed frame buffer (6144 kB, 0x000000001f820000 physical
)
(II) intel(0): 0x00620000-0x00620fff: compressed ll buffer (4 kB, 0x000000001fe20000 physical
)
(II) intel(0): 0x00621000-0x0062afff: HW cursors (40 kB, 0x000000001fe21000 physical
)
(II) intel(0): 0x0062b000-0x00e2afff: fake bufmgr (8192 kB)
(II) intel(0): 0x007bf000:            end of stolen memory
(II) intel(0): 0x00e2b000-0x00e2bfff: overlay registers (4 kB, 0x0000000001d0e000 physical
)
(II) intel(0): 0x01000000-0x013fffff: front buffer (4096 kB) X tiled
(II) intel(0): 0x01400000-0x01ffffff: exa offscreen (12288 kB)
(II) intel(0): 0x02000000-0x023fffff: back buffer (4096 kB) X tiled
(II) intel(0): 0x02400000-0x027fffff: depth buffer (4096 kB) X tiled
(II) intel(0): 0x02800000-0x047fffff: classic textures (32768 kB)
(II) intel(0): 0x10000000:            end of aperture
(II) intel(0): using SSC reference clock of 100 MHz
(II) intel(0): Selecting standard 18 bit TMDS pixel format.
(II) intel(0): Output configuration:
(II) intel(0):   Pipe A is off
(II) intel(0):   Display plane A is now disabled and connected to pipe A.
(II) intel(0):   Pipe B is on
(II) intel(0):   Display plane B is now enabled and connected to pipe B.
(II) intel(0):   Output LVDS is connected to pipe B
(II) intel(0):   Output TV is connected to pipe none
(II) intel(0): [drm] dma control initialized, using IRQ 10
(II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(II) intel(0): DPMS enabled
(==) intel(0): Intel XvMC decoder disabled
(II) intel(0): Set up textured video
(II) intel(0): Set up overlay video
(II) intel(0): direct rendering: XF86DRI Enabled
(WW) intel(0): Option "MonitorLayout" is not used
(WW) intel(0): Option "PreferredMode" is not used
(--) RandR disabled
(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 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
(II) AIGLX: Screen 0 is not DRI2 capable
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 11, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 11, (OK)
drmOpenByBusid: drmOpenMinor returns 11
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) AIGLX: enabled GLX_SGI_make_current_read
(II) AIGLX: enabled GLX_MESA_copy_sub_buffer
(II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
(II) AIGLX: enabled GLX_texture_from_pixmap with driver support
(II) AIGLX: Loaded and initialized /usr/pkg/lib/dri/i915_dri.so
(II) GLX: Initialized DRI GL provider for screen 0
(II) intel(0): Setting screen physical size to 304 x 228
(**) Option "Protocol" "wsmouse"
(**) Mouse0: Protocol: wsmouse
(**) Option "CorePointer"
(**) Mouse0: always reports core events
(**) Option "Device" "/dev/wsmouse"
(==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5 6 7"
(**) Mouse0: ZAxisMapping: buttons 4, 5, 6 and 7
(**) Mouse0: Buttons: 11
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(**) Mouse0: (accel) keeping acceleration scheme 1
(**) Mouse0: (accel) filter chain progression: 2.00
(**) Mouse0: (accel) filter stage 0: 20.00 ms
(**) Mouse0: (accel) set acceleration profile 0
(**) Option "CoreKeyboard"
(**) Keyboard0: always reports core events
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard0: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Keyboard0: XkbModel: "pc105"
(**) Option "XkbLayout" "us,ru"
(**) Keyboard0: XkbLayout: "us,ru"
(**) Option "XkbOptions" "grp:ctrl_shift_toggle,grp:switch,grp_led:scroll,terminate:ctrl_alt_bksp"
(**) Keyboard0: XkbOptions: "grp:ctrl_shift_toggle,grp:switch,grp_led:scroll,terminate:ctrl_alt_bksp"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) 3rd Button detected: disabling emulate3Button
startx &>startx.log
startx.log

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

xauth:  creating new authority file /root/.serverauth.304


X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: NetBSD-5.0.2-i386 The NetBSD Foundation
Current Operating System: NetBSD BABE 5.0.2 NetBSD 5.0.2 (RUN) #2: Wed Mar 31 17:56:22 MSD 2010  root@BABE:/usr/src/sys/arch/i386/compile/RUN i386
Build Date: 30 March 2010  08:22:08PM
 
	Before reporting problems, check http://www.pkgsrc.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: Fri Apr  2 15:03:01 2010
(==) Using config file: "/etc/X11/xorg.conf"
Setting master 
Failed to initialize GEM.  Falling back to classic.
Спасибо.

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
BirdGovorun
лейтенант
Сообщения: 878
Зарегистрирован: 2009-10-20 20:27:13
Откуда: Харьков.

Re: NetBSD и X.org

Непрочитанное сообщение BirdGovorun » 2010-04-02 11:59:19

Зачем надо было править xorg.conf?
Можно удалить /etc/X1/xorg.conf
добавить в /etc/rc.conf

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

hald_enable="YES"
dbus_enable="YES"
Запустить

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

/usl/local/etc/rc.d/dbus start
/usl/local/etc/rc.d/hald start
и стартануть иксы, вот если не стартанут, вот тогда и править /etc/X1/xorg.conf

nnnickkk
проходил мимо
Сообщения: 6
Зарегистрирован: 2010-04-02 10:06:10

Re: NetBSD и X.org

Непрочитанное сообщение nnnickkk » 2010-04-02 12:56:35

Со "свежим" (после X -configure) конфигом аналогичный результат

hald & dbus тут не при чем.
Только что установил. Проверил. Результат тот же.

Кроме того насколько я знаю от HAL уже отказались и прикладывают усилия для удаления его из кода X.org
Если бы HAL & DBUS были необходимы, думаю до "сеточки" дело бы не дошло.

Вопрос остается открытым.

Аватара пользователя
BirdGovorun
лейтенант
Сообщения: 878
Зарегистрирован: 2009-10-20 20:27:13
Откуда: Харьков.

Re: NetBSD и X.org

Непрочитанное сообщение BirdGovorun » 2010-04-02 13:31:03

Не обратил внимание у тебя в :

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

Section "ServerFlags"
        Option       "AllowEmptyInput" "off"
есть и HAL в этом случае не обязателен.
Клава и мышь должны работать, случайно не USB?
Не вижу причин, чтобы Иксы не работали, сеточка появилась - видеокарта настроена.

nnnickkk
проходил мимо
Сообщения: 6
Зарегистрирован: 2010-04-02 10:06:10

Re: NetBSD и X.org

Непрочитанное сообщение nnnickkk » 2010-04-02 13:39:17

Клава встроенная, распознается как PS
Мышь через wsmoused - тачпад и usb

Вот и меня напрягает, что в логах все ок, а в результате только черный экран.

Аватара пользователя
BirdGovorun
лейтенант
Сообщения: 878
Зарегистрирован: 2009-10-20 20:27:13
Откуда: Харьков.

Re: NetBSD и X.org

Непрочитанное сообщение BirdGovorun » 2010-04-02 13:48:14

У тебя в конфиге 2 секции Мониторов, так можно?

nnnickkk
проходил мимо
Сообщения: 6
Зарегистрирован: 2010-04-02 10:06:10

Re: NetBSD и X.org

Непрочитанное сообщение nnnickkk » 2010-04-02 13:50:30

LVDS - собственно монитор ноута
VGA - внешний выход, он отключен

VGA и упоминания о нем можно убрать. Эффект всё тот же.
Первоначально он пытался цеплять только VGA, но сейчас только LVDS

Аватара пользователя
BirdGovorun
лейтенант
Сообщения: 878
Зарегистрирован: 2009-10-20 20:27:13
Откуда: Харьков.

Re: NetBSD и X.org

Непрочитанное сообщение BirdGovorun » 2010-04-02 14:01:26

Попробуй так:
запусти startx потом Сtrl+Alt+F2 должен на консоль выйти
и в консоле kldstat посмотреть какие модули загрузились
у меня вот какие подгружаются

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

 i915.ko
 drm.ko

nnnickkk
проходил мимо
Сообщения: 6
Зарегистрирован: 2010-04-02 10:06:10

Re: NetBSD и X.org

Непрочитанное сообщение nnnickkk » 2010-04-02 14:04:42

После запуска ( хоть startx, хоть X ) клавиатура не реагирует, поэтому переключиться в консоль не могу.
Но судя по логам все модули грузяться без проблем.

Аватара пользователя
BirdGovorun
лейтенант
Сообщения: 878
Зарегистрирован: 2009-10-20 20:27:13
Откуда: Харьков.

Re: NetBSD и X.org

Непрочитанное сообщение BirdGovorun » 2010-04-02 14:19:41

Клава в консоле работает, стартуешь Иксы и она отваливается.
Хрень какая-то.
Попробуй http://frenzy.org.ua/ и загрузиться с gui, если конечно Сидюк есть.
Мыслей больше нет!

Гость
проходил мимо

Re: NetBSD и X.org

Непрочитанное сообщение Гость » 2010-04-03 11:20:29

nnnickkk писал(а):После запуска ( хоть startx, хоть X ) клавиатура не реагирует, поэтому переключиться в консоль не могу.
Но судя по логам все модули грузяться без проблем.
Мне тоже так казалось :-D , после переключения в другое терминальное окно, с небольшой задержкой всё начинало работать.

nnnickkk
проходил мимо
Сообщения: 6
Зарегистрирован: 2010-04-02 10:06:10

Re: NetBSD и X.org

Непрочитанное сообщение nnnickkk » 2010-04-07 8:10:28

Задержка порядка нескольких минут. И без какого-то эффекта.

Mikola
ефрейтор
Сообщения: 57
Зарегистрирован: 2009-09-25 18:03:25

Re: NetBSD и X.org

Непрочитанное сообщение Mikola » 2010-04-12 11:56:53

Попробуйте сотрите .xinitrc и запустите иксы.
Если увидите три x-term окна значит иксы стартанули, там же и работу клавы мыши можно посмотреть, и проблема была либо в WM либо в команде его запуска.
"Если в мире нет цветовой дифференциации штанов то нет цели! А если нет цели..." - пацак Би.