Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jun 2012 14:20:59 -0700
From:      Kevin Oberman <kob6558@gmail.com>
To:        freebsd-x11@freebsd.org
Subject:   GPU_KMS still not working for me since merge
Message-ID:  <CAN6yY1vqYyqV9r-nFJFgdsdJ=amGfVniNGCritb3tfp2y81wYg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I am still missing something needed to get the KMS support for my
Sandybridge to work.It has been working fine until the KMS code was
merged into RELENG-9.

I updated my sources and built a new kernel this morning. I already
had WITH_KMS=YES and WITH_NEW_XORG=YES in my make.conf from building
prior to the patch.  I can confirm that i915kms.ko is built and in
/boot/kernel/

When I tried starting X, the screen never left vty mode. The keyboard
would no longer work, but I could do a clean shutdown via a network
connection. I examined the log and things went awry at:
[   330.411] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
[   330.411] drmOpenDevice: node name is /dev/dri/card0
[   330.411] Failed to change owner or group for file /dev/dri! 2: No
such file or directory
[   330.411] Failed to change owner or group for file /dev/dri/card0!
2: No such file or directory
[   330.411] drmOpenDevice: open result is -1, (No such file or directory)
[   330.411] Failed to change owner or group for file /dev/dri/card0!
2: No such file or directory
[   330.411] drmOpenDevice: open result is -1, (No such file or directory)
[   330.411] drmOpenDevice: Open failed
[   330.411] drmOpenByBusid: drmOpenMinor returns -2
where my old log showed:
[   300.134] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
[   300.134] drmOpenDevice: node name is /dev/dri/card0
[   300.134] drmOpenDevice: open result is 10, (OK)
[   300.134] drmOpenByBusid: drmOpenMinor returns 10
[   300.134] drmOpenByBusid: Interface 1.4 failed, trying 1.1
[   300.134] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
[   300.134] (II) intel(0): Creating default Display subsection in
Screen section
	"Builtin Default intel Screen 0" for depth/fbbpp 24/32
[   300.134] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[   300.134] (==) intel(0): RGB weight 888
[   300.134] (==) intel(0): Default visual is TrueColor
[   300.135] (II) intel(0): Integrated Graphics Chipset: Intel(R)
Sandybridge Mobile (GT2+)
[   300.135] (--) intel(0): Chipset: "Sandybridge Mobile (GT2+)"

What am I missing?

Thanks!
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6558@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1vqYyqV9r-nFJFgdsdJ=amGfVniNGCritb3tfp2y81wYg>