Perhaps try a current kernel? I needed that to get netbsd-7 userland working.
pci0 at mainbus0 bus 0: configuration mode 1 pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok pchb0 at pci0 dev 0 function 0: vendor 8086 product 0104 (rev. 0x09) i915drmkms0 at pci0 dev 2 function 0: vendor 8086 product 0116 (rev. 0x09) drm: Memory usable by graphics device = 2048M drm: Supports vblank timestamp caching Rev 2 (21.10.2013). drm: Driver supports precise vblank timestamp query. i915drmkms0: interrupting at ioapic0 pin 16 (i915) drm: Wrong MCH_SSKPD value: 0x16040307 drm: This can cause pipe underruns and display issues. drm: Please upgrade your BIOS to fix this. intelfb0 at i915drmkms0 i915drmkms0: info: registered panic notifier intelfb0: framebuffer at 0xffff80008e29d000, size 1366x768, depth 32, stride 5504 wsdisplay0 at intelfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0 wsmux1: connecting to wsdisplay0 Just be wary of kern/49368: 8(?) pixel artifacts in X, eventual kernel crash; the workaround is to disable acceleration On 28 November 2014 at 05:27, Manuel Bouyer <[email protected]> wrote: > Hello, > I upgraded a laptop (with an intel 965GM) to netbsd-7 and can't get xorg to > work properly. > When I start xorg without config file, it uses the vesa driver and > can't use the display's native mode (1280x800); I guess because this is > not a standard VESA mode. > When I try to force the use of the Intel driver, it says "no screen > found" just as if the driver didn't find the card. > > Is there something missing in netbsd-7 for intel graphics ? > > Below are the relevant lines of the dmesg, and Xorg.log > > [...] > acpivga0 at acpi0 (VID): ACPI Display Adapter > acpiout0 at acpivga0 (TV, 0x0200): ACPI Display Output Device > acpiout1 at acpivga0 (CRT, 0x0100): ACPI Display Output Device > acpiout2 at acpivga0 (LCD, 0x0400): ACPI Display Output Device > acpiout3 at acpivga0 (DVI, 0x0300): ACPI Display Output Device > acpivga0: connected output devices: > acpivga0: 0x0100 (acpiout1): Ext. Monitor, head 0, bios detect > acpivga0: 0x0200 (acpiout0): TV, head 0, bios detect > acpivga0: 0x0400 (acpiout2): Unknown Output Device, head 0, bios detect > acpivga0: 0x0300 (acpiout3): Unknown Output Device, head 0, bios detect > acpivga1 at acpi0 (VID2): ACPI Display Adapter > acpivga1: failed to evaluate \_SB_.PCI0.VID2._DOD: AE_BAD_DATA > [...] > attimer1: attached to pcppi1 > pci0 at mainbus0 bus 0: configuration mode 1 > pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok > pchb0 at pci0 dev 0 function 0: vendor 0x8086 product 0x2a00 (rev. 0x0c) > agp0 at pchb0: i965-family chipset > agp0: detected 7676k stolen memory > agp0: aperture at 0xe0000000, size 0x20000000 > vga1 at pci0 dev 2 function 0: vendor 0x8086 product 0x2a02 (rev. 0x0c) > vga1: WARNING: ignoring 64-bit BAR @ 0x10 > vga1: WARNING: ignoring 64-bit BAR @ 0x18 > wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0 > wsmux1: connecting to wsdisplay0 > i915drm0 at vga1: Intel i965GM > i915drm0: AGP at 0xe0000000 256MB > i915drm0: Initialized i915 1.6.0 20080730 > vendor 0x8086 product 0x2a03 (miscellaneous display, revision 0x0c) at pci0 > dev 2 function 1 not configured > > > [ 1303.371] > X.Org X Server 1.10.6 > Release Date: 2011-07-08 > [ 1303.371] X Protocol Version 11, Revision 0 > [ 1303.371] Build Operating System: NetBSD/i386 - > [ 1303.371] Current Operating System: NetBSD samarcande.soc.lip6.fr 7.0_BETA > NetBSD 7.0_BETA (GENERIC.201411250930Z) i386 > [ 1303.371] Build Date: 01 August 2011 01:01:00AM > [ 1303.371] > [ 1303.371] Current version of pixman: 0.32.6 > [ 1303.372] Before reporting problems, check http://wiki.X.Org > to make sure that you have the latest version. > [ 1303.372] Markers: (--) probed, (**) from config file, (==) default > setting, > (++) from command line, (!!) notice, (II) informational, > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. > [ 1303.372] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Nov 28 11:20:22 > 2014 > [ 1303.372] (==) Using config file: "/etc/X11/xorg.conf" > [ 1303.372] (==) No Layout section. Using the first Screen section. > [ 1303.372] (**) |-->Screen "Screen0" (0) > [ 1303.372] (**) | |-->Monitor "<default monitor>" > [ 1303.372] (**) | |-->Device "Card0" > [ 1303.372] (==) No monitor specified for screen "Screen0". > Using a default monitor configuration. > [ 1303.372] (==) Not automatically adding devices > [ 1303.372] (==) Not automatically enabling devices > [ 1303.373] (==) FontPath set to: > /usr/X11R7/lib/X11/fonts/misc/, > /usr/X11R7/lib/X11/fonts/TTF/, > /usr/X11R7/lib/X11/fonts/Type1/, > /usr/X11R7/lib/X11/fonts/75dpi/, > /usr/X11R7/lib/X11/fonts/100dpi/ > [ 1303.373] (==) ModulePath set to "/usr/X11R7/lib/modules" > [ 1303.373] (==) |-->Input Device "Mouse0" > [ 1303.373] (==) |-->Input Device "Keyboard0" > [ 1303.373] (==) No Layout section. Using the first mouse device. > [ 1303.373] (==) No Layout section. Using the first keyboard device. > [ 1303.373] (II) Loader magic: 0x82706e0 > [ 1303.373] (II) Module ABI versions: > [ 1303.373] X.Org ANSI C Emulation: 0.4 > [ 1303.373] X.Org Video Driver: 10.0 > [ 1303.373] X.Org XInput driver : 12.2 > [ 1303.373] X.Org Server Extension : 5.0 > [ 1303.381] (--) PCI:*(0:0:2:0) 8086:2a02:1028:01f9 rev 12, Mem @ > 0xfea00000/1048576, 0xe0000000/268435456, I/O @ 0x0000eff8/8 > [ 1303.381] (--) PCI: (0:0:2:1) 8086:2a03:1028:01f9 rev 12, Mem @ > 0xfeb00000/1048576 > [ 1303.381] (II) LoadModule: "extmod" > [ 1303.382] (II) Loading /usr/X11R7/lib/modules/extensions/libextmod.so > [ 1303.383] (II) Module extmod: vendor="X.Org Foundation" > [ 1303.383] compiled for 1.10.6, module version = 1.0.0 > [ 1303.383] Module class: X.Org Server Extension > [ 1303.383] ABI class: X.Org Server Extension, version 5.0 > [ 1303.383] (II) Loading extension MIT-SCREEN-SAVER > [ 1303.383] (II) Loading extension XFree86-VidModeExtension > [ 1303.383] (II) Loading extension XFree86-DGA > [ 1303.383] (II) Loading extension DPMS > [ 1303.383] (II) Loading extension XVideo > [ 1303.383] (II) Loading extension XVideo-MotionCompensation > [ 1303.383] (II) Loading extension X-Resource > [ 1303.383] (II) LoadModule: "dbe" > [ 1303.384] (II) Loading /usr/X11R7/lib/modules/extensions/libdbe.so > [ 1303.384] (II) Module dbe: vendor="X.Org Foundation" > [ 1303.384] compiled for 1.10.6, module version = 1.0.0 > [ 1303.385] Module class: X.Org Server Extension > [ 1303.385] ABI class: X.Org Server Extension, version 5.0 > [ 1303.385] (II) Loading extension DOUBLE-BUFFER > [ 1303.385] (II) LoadModule: "glx" > [ 1303.386] (II) Loading /usr/X11R7/lib/modules/extensions/libglx.so > [ 1303.386] (II) Module glx: vendor="X.Org Foundation" > [ 1303.386] compiled for 1.10.6, module version = 1.0.0 > [ 1303.386] ABI class: X.Org Server Extension, version 5.0 > [ 1303.386] (==) AIGLX enabled > [ 1303.386] (II) Loading extension GLX > [ 1303.386] (II) LoadModule: "record" > [ 1303.388] (II) Loading /usr/X11R7/lib/modules/extensions/librecord.so > [ 1303.388] (II) Module record: vendor="X.Org Foundation" > [ 1303.388] compiled for 1.10.6, module version = 1.13.0 > [ 1303.388] Module class: X.Org Server Extension > [ 1303.388] ABI class: X.Org Server Extension, version 5.0 > [ 1303.388] (II) Loading extension RECORD > [ 1303.388] (II) LoadModule: "dri" > [ 1303.389] (II) Loading /usr/X11R7/lib/modules/extensions/libdri.so > [ 1303.389] (II) Module dri: vendor="X.Org Foundation" > [ 1303.389] compiled for 1.10.6, module version = 1.0.0 > [ 1303.389] ABI class: X.Org Server Extension, version 5.0 > [ 1303.389] (II) Loading extension XFree86-DRI > [ 1303.389] (II) LoadModule: "dri2" > [ 1303.390] (II) Loading /usr/X11R7/lib/modules/extensions/libdri2.so > [ 1303.391] (II) Module dri2: vendor="X.Org Foundation" > [ 1303.391] compiled for 1.10.6, module version = 1.2.0 > [ 1303.391] ABI class: X.Org Server Extension, version 5.0 > [ 1303.391] (II) Loading extension DRI2 > [ 1303.391] (II) LoadModule: "intel" > [ 1303.391] (II) Loading /usr/X11R7/lib/modules/drivers/intel_drv.so > [ 1303.392] (II) Module intel: vendor="X.Org Foundation" > [ 1303.392] compiled for 1.10.6, module version = 2.21.15 > [ 1303.392] Module class: X.Org Video Driver > [ 1303.392] ABI class: X.Org Video Driver, version 10.0 > [ 1303.392] (II) LoadModule: "mouse" > [ 1303.392] (II) Loading /usr/X11R7/lib/modules/drivers/mouse_drv.so > [ 1303.393] (II) Module mouse: vendor="X.Org Foundation" > [ 1303.393] compiled for 1.10.6, module version = 1.9.0 > [ 1303.393] Module class: X.Org XInput Driver > [ 1303.393] ABI class: X.Org XInput driver, version 12.2 > [ 1303.393] (II) LoadModule: "kbd" > [ 1303.393] (II) Loading /usr/X11R7/lib/modules/drivers/kbd_drv.so > [ 1303.394] (II) Module kbd: vendor="X.Org Foundation" > [ 1303.394] compiled for 1.10.6, module version = 1.8.0 > [ 1303.394] Module class: X.Org XInput Driver > [ 1303.394] ABI class: X.Org XInput driver, version 12.2 > [ 1303.394] (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, HD Graphics, > HD Graphics 2000, HD Graphics 3000, HD Graphics 2500, > HD Graphics 4000, HD Graphics P4000, HD Graphics 4600, > HD Graphics 5000, HD Graphics P4600/P4700, Iris(TM) Graphics 5100, > HD Graphics 4400, HD Graphics 4200, Iris(TM) Pro Graphics 5200 > [ 1303.394] (--) Using wscons driver on /dev/ttyE4 in pcvt compatibility > mode (version 3.32) > [ 1303.394] (--) using VT number 5 > > [ 1303.396] drmOpenDevice: node name is /dev/dri/card0 > [ 1303.396] drmOpenDevice: open result is 13, (OK) > [ 1303.396] drmOpenByBusid: Searching for BusID pci:0000:00:02.0 > [ 1303.396] drmOpenDevice: node name is /dev/dri/card0 > [ 1303.396] drmOpenDevice: open result is 13, (OK) > [ 1303.396] drmOpenByBusid: drmOpenMinor returns 13 > [ 1303.396] drmOpenByBusid: Interface 1.4 failed, trying 1.1 > [ 1303.396] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 > [ 1303.396] (EE) No devices detected. > [ 1303.397] > Fatal server error: > [ 1303.397] no screens found > [ 1303.397] > Please consult the The X.Org Foundation support > at http://wiki.X.Org > for help. > [ 1303.397] Please also check the log file at "/var/log/Xorg.0.log" for > additional information. > [ 1303.397] > > -- > Manuel Bouyer <[email protected]> > NetBSD: 26 ans d'experience feront toujours la difference > --
