NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD 9.99.108 unable to start modular X



With NetBSD 9.2 I was able to start modular X server, but it had 2
problems

- hdmi output wasn't working
- touchpad wasn't working

With -current hdmi output is working, but X isn't starting. I am attaching
Xorg.0.log and dmesg | grep drm

Also, when the laptop boots, the display mode switching sometimes makes it
blank while sometimes it switches the mode properly.

Adding 'gop 1' explicitly to boot.cfg doesn't guarantee it will stick to
that mode.

Please advise.

-- 
Mayuresh
[     1.035802] i915drmkms0 at pci0 dev 2 function 0: Intel UHD Graphics 605 (rev. 0x06)
[     6.934608] [drm] couldn't get memory information
[     6.951690] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[     6.951690] [drm] Driver supports precise vblank timestamp query.
[     6.951690] i915drmkms0: interrupting at msi3 vec 0 (i915drmkms0)
[     6.964610] i915drmkms0: notice: Failed to load DMC firmware i915/glk_dmc_ver1_04.bin. Disabling runtime power management.
[     6.974610] i915drmkms0: notice: RC6 and powersaving disabled by BIOS
[     6.999557] [drm] Initialized i915 1.6.0 20200114 for i915drmkms0 on minor 0
[     7.054613] intelfb0 at i915drmkms0
[     7.054613] [drm] DRM_I915_DEBUG enabled
[     7.054613] [drm] DRM_I915_DEBUG_GEM enabled
[   257.814840] Asynchronous wait on fence i915drmkms0:X[17637]:2 timed out (hint:0xffffffff8075ce30)
[   267.814848] Asynchronous wait on fence i915drmkms0:X[17637]:2 timed out (hint:0xffffffff8075ce30)
...
[   774.498] 
X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
[   774.498] Current Operating System: NetBSD asus2n 9.99.108 NetBSD 9.99.108 (GENERIC) #0: Fri Dec  9 17:02:14 UTC 2022  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
[   774.498]  
[   774.498] Current version of pixman: 0.42.2
[   774.498] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   774.498] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   774.498] (==) Log file: "/usr/pkg/var/log/Xorg.0.log", Time: Mon Dec 12 01:40:08 2022
[   774.499] (II) Loader magic: 0xb422bc40
[   774.499] (II) Module ABI versions:
[   774.499] 	X.Org ANSI C Emulation: 0.4
[   774.499] 	X.Org Video Driver: 25.2
[   774.499] 	X.Org XInput driver : 24.4
[   774.499] 	X.Org Server Extension : 10.0
[   774.503] (--) PCI:*(0@0:2:0) 8086:3184:1043:1232 rev 6, Mem @ 0xa0000000/16777216, 0x90000000/268435456, I/O @ 0x0000f000/64
[   774.503] (==) Using default built-in configuration (48 lines)
[   774.503] (==) --- Start of built-in configuration ---
[   774.503] 	Section "Device"
[   774.503] 		Identifier	"Builtin Default intel Device 0"
[   774.503] 		Driver	"intel"
[   774.503] 	EndSection
[   774.503] 	Section "Screen"
[   774.503] 		Identifier	"Builtin Default intel Screen 0"
[   774.503] 		Device	"Builtin Default intel Device 0"
[   774.503] 	EndSection
[   774.503] 	Section "Device"
[   774.503] 		Identifier	"Builtin Default fbdev Device 0"
[   774.503] 		Driver	"fbdev"
[   774.503] 	EndSection
[   774.503] 	Section "Screen"
[   774.504] 		Identifier	"Builtin Default fbdev Screen 0"
[   774.504] 		Device	"Builtin Default fbdev Device 0"
[   774.504] 	EndSection
[   774.504] 	Section "Device"
[   774.504] 		Identifier	"Builtin Default modesetting Device 0"
[   774.504] 		Driver	"modesetting"
[   774.504] 	EndSection
[   774.504] 	Section "Screen"
[   774.504] 		Identifier	"Builtin Default modesetting Screen 0"
[   774.504] 		Device	"Builtin Default modesetting Device 0"
[   774.504] 	EndSection
[   774.504] 	Section "Device"
[   774.504] 		Identifier	"Builtin Default vesa Device 0"
[   774.504] 		Driver	"vesa"
[   774.504] 	EndSection
[   774.504] 	Section "Screen"
[   774.504] 		Identifier	"Builtin Default vesa Screen 0"
[   774.504] 		Device	"Builtin Default vesa Device 0"
[   774.504] 	EndSection
[   774.504] 	Section "Device"
[   774.504] 		Identifier	"Builtin Default wsfb Device 0"
[   774.504] 		Driver	"wsfb"
[   774.504] 	EndSection
[   774.504] 	Section "Screen"
[   774.504] 		Identifier	"Builtin Default wsfb Screen 0"
[   774.504] 		Device	"Builtin Default wsfb Device 0"
[   774.504] 	EndSection
[   774.504] 	Section "ServerLayout"
[   774.504] 		Identifier	"Builtin Default Layout"
[   774.504] 		Screen	"Builtin Default intel Screen 0"
[   774.504] 		Screen	"Builtin Default fbdev Screen 0"
[   774.504] 		Screen	"Builtin Default modesetting Screen 0"
[   774.504] 		Screen	"Builtin Default vesa Screen 0"
[   774.504] 		Screen	"Builtin Default wsfb Screen 0"
[   774.504] 	EndSection
[   774.504] (==) --- End of built-in configuration ---
[   774.504] (==) ServerLayout "Builtin Default Layout"
[   774.504] (**) |-->Screen "Builtin Default intel Screen 0" (0)
[   774.504] (**) |   |-->Monitor "<default monitor>"
[   774.504] (**) |   |-->Device "Builtin Default intel Device 0"
[   774.504] (==) No monitor specified for screen "Builtin Default intel Screen 0".
	Using a default monitor configuration.
[   774.504] (**) |-->Screen "Builtin Default fbdev Screen 0" (1)
[   774.504] (**) |   |-->Monitor "<default monitor>"
[   774.505] (**) |   |-->Device "Builtin Default fbdev Device 0"
[   774.505] (==) No monitor specified for screen "Builtin Default fbdev Screen 0".
	Using a default monitor configuration.
[   774.505] (**) |-->Screen "Builtin Default modesetting Screen 0" (2)
[   774.505] (**) |   |-->Monitor "<default monitor>"
[   774.505] (**) |   |-->Device "Builtin Default modesetting Device 0"
[   774.505] (==) No monitor specified for screen "Builtin Default modesetting Screen 0".
	Using a default monitor configuration.
[   774.505] (**) |-->Screen "Builtin Default vesa Screen 0" (3)
[   774.505] (**) |   |-->Monitor "<default monitor>"
[   774.505] (**) |   |-->Device "Builtin Default vesa Device 0"
[   774.505] (==) No monitor specified for screen "Builtin Default vesa Screen 0".
	Using a default monitor configuration.
[   774.505] (**) |-->Screen "Builtin Default wsfb Screen 0" (4)
[   774.505] (**) |   |-->Monitor "<default monitor>"
[   774.506] (**) |   |-->Device "Builtin Default wsfb Device 0"
[   774.506] (==) No monitor specified for screen "Builtin Default wsfb Screen 0".
	Using a default monitor configuration.
[   774.506] (==) Not automatically adding devices
[   774.506] (==) Not automatically enabling devices
[   774.506] (==) Not automatically adding GPU devices
[   774.506] (==) Automatically binding GPU devices
[   774.506] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   774.506] (WW) The directory "/usr/pkg/share/fonts/X11/misc" does not exist.
[   774.506] 	Entry deleted from font path.
[   774.506] (WW) The directory "/usr/pkg/share/fonts/X11/TTF" does not exist.
[   774.506] 	Entry deleted from font path.
[   774.506] (WW) The directory "/usr/pkg/share/fonts/X11/OTF" does not exist.
[   774.506] 	Entry deleted from font path.
[   774.506] (WW) The directory "/usr/pkg/share/fonts/X11/Type1" does not exist.
[   774.506] 	Entry deleted from font path.
[   774.506] (WW) The directory "/usr/pkg/share/fonts/X11/100dpi" does not exist.
[   774.506] 	Entry deleted from font path.
[   774.506] (WW) The directory "/usr/pkg/share/fonts/X11/75dpi" does not exist.
[   774.506] 	Entry deleted from font path.
[   774.506] (WW) The directory "/usr/pkg/share/fonts/X11/cyrillic" does not exist.
[   774.506] 	Entry deleted from font path.
[   774.506] (WW) The directory "/usr/pkg/lib/X11/fonts/misc" does not exist.
[   774.506] 	Entry deleted from font path.
[   774.506] (WW) The directory "/usr/pkg/lib/X11/fonts/TTF" does not exist.
[   774.506] 	Entry deleted from font path.
[   774.506] (WW) The directory "/usr/pkg/lib/X11/fonts/OTF" does not exist.
[   774.506] 	Entry deleted from font path.
[   774.506] (WW) The directory "/usr/pkg/lib/X11/fonts/Type1" does not exist.
[   774.506] 	Entry deleted from font path.
[   774.506] (WW) The directory "/usr/pkg/lib/X11/fonts/100dpi" does not exist.
[   774.506] 	Entry deleted from font path.
[   774.506] (WW) The directory "/usr/pkg/lib/X11/fonts/75dpi" does not exist.
[   774.506] 	Entry deleted from font path.
[   774.506] (WW) The directory "/usr/pkg/lib/X11/fonts/cyrillic" does not exist.
[   774.506] 	Entry deleted from font path.
[   774.506] (==) FontPath set to:
	
[   774.506] (==) ModulePath set to "/usr/pkg/lib/xorg/modules"
[   774.506] (==) |-->Input Device "<default pointer>"
[   774.506] (==) |-->Input Device "<default keyboard>"
[   774.506] (==) The core pointer device wasn't specified explicitly in the layout.
	Using the default mouse configuration.
[   774.506] (==) The core keyboard device wasn't specified explicitly in the layout.
	Using the default keyboard configuration.
[   774.506] (II) LoadModule: "glx"
[   774.507] (II) Loading /usr/pkg/lib/xorg/modules/extensions/libglx.so
[   774.587] (II) Module glx: vendor="X.Org Foundation"
[   774.587] 	compiled for 1.21.1.4, module version = 1.0.0
[   774.587] 	ABI class: X.Org Server Extension, version 10.0
[   774.587] (II) LoadModule: "intel"
[   774.588] (II) Loading /usr/pkg/lib/xorg/modules/drivers/intel_drv.so
[   774.588] (II) Module intel: vendor="X.Org Foundation"
[   774.588] 	compiled for 1.21.1.4, module version = 2.99.917
[   774.588] 	Module class: X.Org Video Driver
[   774.588] 	ABI class: X.Org Video Driver, version 25.2
[   774.588] (II) LoadModule: "fbdev"
[   774.589] (WW) Warning, couldn't open module fbdev
[   774.589] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   774.589] (II) LoadModule: "modesetting"
[   774.589] (II) Loading /usr/pkg/lib/xorg/modules/drivers/modesetting_drv.so
[   774.589] (II) Module modesetting: vendor="X.Org Foundation"
[   774.589] 	compiled for 1.21.1.4, module version = 1.21.1
[   774.589] 	Module class: X.Org Video Driver
[   774.589] 	ABI class: X.Org Video Driver, version 25.2
[   774.589] (II) LoadModule: "vesa"
[   774.590] (II) Loading /usr/pkg/lib/xorg/modules/drivers/vesa_drv.so
[   774.590] (II) Module vesa: vendor="X.Org Foundation"
[   774.590] 	compiled for 1.21.1.4, module version = 2.6.0
[   774.590] 	Module class: X.Org Video Driver
[   774.590] 	ABI class: X.Org Video Driver, version 25.2
[   774.590] (II) LoadModule: "wsfb"
[   774.590] (II) Loading /usr/pkg/lib/xorg/modules/drivers/wsfb_drv.so
[   774.590] (II) Module wsfb: vendor="X.Org Foundation"
[   774.590] 	compiled for 1.21.1.4, module version = 0.4.0
[   774.590] 	ABI class: X.Org Video Driver, version 25.2
[   774.590] (II) LoadModule: "mouse"
[   774.591] (II) Loading /usr/pkg/lib/xorg/modules/input/mouse_drv.so
[   774.591] (II) Module mouse: vendor="X.Org Foundation"
[   774.591] 	compiled for 1.21.1.4, module version = 1.9.4
[   774.591] 	Module class: X.Org XInput Driver
[   774.591] 	ABI class: X.Org XInput driver, version 24.4
[   774.591] (II) LoadModule: "kbd"
[   774.591] (II) Loading /usr/pkg/lib/xorg/modules/input/kbd_drv.so
[   774.591] (II) Module kbd: vendor="X.Org Foundation"
[   774.592] 	compiled for 1.21.1.4, module version = 2.0.0
[   774.592] 	Module class: X.Org XInput Driver
[   774.592] 	ABI class: X.Org XInput driver, version 24.4
[   774.592] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[   774.592] (II) intel: Driver for Intel(R) HD Graphics
[   774.592] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[   774.592] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[   774.592] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   774.592] (II) VESA: driver for VESA chipsets: vesa
[   774.592] (II) wsfb: driver for wsdisplay framebuffer: wsfb
[   774.592] (--) Using wscons driver on /dev/ttyE4 in pcvt compatibility mode (version 3.32)
[   774.612] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20200114
[   774.613] (WW) Falling back to old probe method for modesetting
[   774.613] (WW) Falling back to old probe method for wsfb
[   774.613] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   774.613] (--) intel(0): gen9 engineering sample
[   774.613] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2; using a maximum of 2 threads
[   774.613] (II) intel(0): Creating default Display subsection in Screen section
	"Builtin Default intel Screen 0" for depth/fbbpp 24/32
[   774.613] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[   774.613] (==) intel(0): RGB weight 888
[   774.613] (==) intel(0): Default visual is TrueColor
[   774.615] (II) intel(0): Output eDP1 has no monitor section
[   774.615] (II) intel(0): Enabled output eDP1
[   774.615] (II) intel(0): Output HDMI1 has no monitor section
[   774.615] (II) intel(0): Enabled output HDMI1
[   774.615] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[   774.615] (II) intel(0): Output VIRTUAL1 has no monitor section
[   774.615] (II) intel(0): Enabled output VIRTUAL1
[   774.615] (--) intel(0): Output eDP1 using initial mode 1366x768 on pipe 0
[   774.615] (--) intel(0): Output HDMI1 using initial mode 1920x1080 on pipe 1
[   774.615] (==) intel(0): TearFree enabled
[   774.615] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[   774.615] (==) intel(0): DPI set to (96, 96)
[   774.615] (II) Loading sub module "dri3"
[   774.615] (II) LoadModule: "dri3"
[   774.615] (II) Module "dri3" already built-in
[   774.615] (II) Loading sub module "dri2"
[   774.615] (II) LoadModule: "dri2"
[   774.615] (II) Module "dri2" already built-in
[   774.615] (II) Loading sub module "present"
[   774.615] (II) LoadModule: "present"
[   774.615] (II) Module "present" already built-in
[   774.615] (II) UnloadModule: "modesetting"
[   774.615] (II) Unloading modesetting
[   774.615] (II) UnloadModule: "vesa"
[   774.615] (II) Unloading vesa
[   774.615] (II) UnloadModule: "wsfb"
[   774.615] (II) Unloading wsfb
[   774.616] (II) intel(0): SNA initialized with Geminilake (gen9) backend
[   774.616] (==) intel(0): Backing store enabled
[   774.616] (==) intel(0): Silken mouse enabled
[   774.616] (II) intel(0): HW Cursor enabled
[   774.616] (==) intel(0): DPMS enabled
[   774.616] (II) intel(0): [DRI2] Setup complete
[   774.616] (II) intel(0): [DRI2]   DRI driver: i965
[   774.616] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[   774.616] (II) intel(0): direct rendering: DRI2 enabled
[   774.616] (II) intel(0): hardware support for Present enabled
[   774.616] (II) Initializing extension Generic Event Extension
[   774.616] (II) Initializing extension SHAPE
[   774.616] (II) Initializing extension MIT-SHM
[   774.616] (II) Initializing extension XInputExtension
[   774.617] (II) Initializing extension XTEST
[   774.617] (II) Initializing extension BIG-REQUESTS
[   774.617] (II) Initializing extension SYNC
[   774.617] (II) Initializing extension XKEYBOARD
[   774.617] (II) Initializing extension XC-MISC
[   774.617] (II) Initializing extension XFIXES
[   774.617] (II) Initializing extension RENDER
[   774.617] (II) Initializing extension RANDR
[   774.617] (II) Initializing extension COMPOSITE
[   774.617] (II) Initializing extension DAMAGE
[   774.617] (II) Initializing extension MIT-SCREEN-SAVER
[   774.617] (II) Initializing extension DOUBLE-BUFFER
[   774.617] (II) Initializing extension RECORD
[   774.617] (II) Initializing extension DPMS
[   774.617] (II) Initializing extension Present
[   774.617] (II) Initializing extension DRI3
[   774.617] (II) Initializing extension X-Resource
[   774.617] (II) Initializing extension XVideo
[   774.617] (II) Initializing extension XVideo-MotionCompensation
[   774.617] (II) Initializing extension GLX
[   774.628] (II) AIGLX: Loaded and initialized i965
[   774.628] (II) GLX: Initialized DRI2 GL provider for screen 0
[   774.628] (II) Initializing extension XFree86-VidModeExtension
[   774.628] (II) Initializing extension XFree86-DGA
[   774.628] (II) Initializing extension XFree86-DRI
[   774.628] (II) Initializing extension DRI2
[   774.640] (II) intel(0): switch to mode 1366x768@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[   774.643] (II) intel(0): switch to mode 1920x1080@60.0 on HDMI1 using pipe 1, position (0, 0), rotation normal, reflection none
[   774.646] (II) intel(0): Setting screen physical size to 508 x 285
[   774.709] (II) Using input driver 'mouse' for '<default pointer>'
[   774.709] (**) Option "CorePointer" "on"
[   774.709] (**) <default pointer>: always reports core events
[   774.709] (WW) <default pointer>: No Device specified, looking for one...
[   774.712] (II) <default pointer>: found Device "/dev/wsmouse"
[   774.715] (--) <default pointer>: Device: "/dev/wsmouse"
[   774.715] (==) <default pointer>: Protocol: "WSMouse"
[   774.715] (**) <default pointer>: always reports core events
[   774.715] (**) Option "Device" "/dev/wsmouse"
[   774.720] (==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
[   774.720] (**) <default pointer>: ZAxisMapping: buttons 4 and 5
[   774.720] (**) <default pointer>: Buttons: 9
[   774.720] (II) XINPUT: Adding extended input device "<default pointer>" (type: MOUSE, id 6)
[   774.720] (**) <default pointer>: (accel) keeping acceleration scheme 1
[   774.720] (**) <default pointer>: (accel) acceleration profile 0
[   774.720] (**) <default pointer>: (accel) acceleration factor: 2.000
[   774.720] (**) <default pointer>: (accel) acceleration threshold: 4
[   774.723] (II) Using input driver 'kbd' for '<default keyboard>'
[   774.723] (**) Option "CoreKeyboard" "on"
[   774.723] (**) <default keyboard>: always reports core events
[   774.723] (**) <default keyboard>: always reports core events
[   774.723] (**) Option "Protocol" "standard"
[   774.723] (**) Option "XkbRules" "base"
[   774.723] (**) Option "XkbModel" "pc105"
[   774.723] (**) Option "XkbLayout" "us"
[   774.723] (II) XINPUT: Adding extended input device "<default keyboard>" (type: KEYBOARD, id 7)


Home | Main Index | Thread Index | Old Index