Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
i915 + Direct rendering + xorg 7.1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
gothis
n00b
n00b


Joined: 04 Nov 2005
Posts: 5

PostPosted: Sat Jun 10, 2006 7:49 pm    Post subject: i915 + Direct rendering + xorg 7.1 Reply with quote

I had direct rendering working in xorg 7.0, recently updated to 7.1 and it broke.
I reinstalled mesa, and drm, but I get very funky results. There are no errors in dmesg or Xorg.0.log and the driver seems to actually load until you try to use it:

gothic@azure /var/log $ glxinfo | grep direct
libGL error: drmMap of framebuffer failed (Invalid argument)
libGL error: reverting to (slow) indirect rendering
direct rendering: No

When I run glxgears and hit ctrl-c X poofs and crashes.

Video card is an onboard Intel 915g.
kernel is 2.6.16-gentoo-r7.
mesa version 6.5-r3.
drm version 20051223.

Code:

gothic@azure $ dmesg | grep agpgart
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel 915G Chipset.
agpgart: Detected 7932K stolen memory.
agpgart: AGP aperture is 256M @ 0xd0000000


Code:

gothic@azure /var/log $ cat Xorg.0.log | grep EE
Current Operating System: Linux azure 2.6.16-gentoo-r7 #12 SMP PREEMPT Sat Jun 10 14:41:21 EDT 2006 i686
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER


gothic@azure /var/log $ cat Xorg.0.log | grep drm
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/lib/xorg/modules/linux/libdrm.so
(II) Module drm: vendor="X.Org Foundation"
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) I810(0): [drm] DRM interface version 1.2
(II) I810(0): [drm] created "i915" driver at busid "pci:0000:00:02.0"
(II) I810(0): [drm] added 8192 byte SAREA at 0xe00e7000
(II) I810(0): [drm] mapped SAREA 0xe00e7000 to 0xb7b0a000
(II) I810(0): [drm] framebuffer handle = 0xd0020000
(II) I810(0): [drm] added 1 reserved context for kernel
(II) I810(0): [drm] Registers = 0xff580000
(II) I810(0): [drm] ring buffer = 0xd0000000
(II) I810(0): [drm] init sarea width,height = 1280 x 1024 (pitch 2048)
(II) I810(0): [drm] Mapping front buffer
(II) I810(0): [drm] Front Buffer = 0xd0020000
(II) I810(0): [drm] Back Buffer = 0xdf000000
(II) I810(0): [drm] Depth Buffer = 0xde800000
(II) I810(0): [drm] textures = 0xdc440000
(II) I810(0): [drm] Initialized kernel agp heap manager, 37486592
(II) I810(0): [drm] dma control initialized, using IRQ 17
(II) I810(0): [drm] installed DRM signal handler
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: drmOpenMinor returns 9
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) I810(0): [drm] init sarea width,height = 1024 x 768 (pitch 2048)
(II) I810(0): [drm] Mapping front buffer
(II) I810(0): [drm] Front Buffer = 0xd0020000
(II) I810(0): [drm] Back Buffer = 0xdf000000
(II) I810(0): [drm] Depth Buffer = 0xde800000
(II) I810(0): [drm] textures = 0xdc040000
(II) I810(0): [drm] Initialized kernel agp heap manager, 41680896


Code:

gothic@azure /var/log $ cat Xorg.0.log | grep direct
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
        Indirect CPU to Screen color expansion
(II) I810(0): direct rendering: Enabled



From the above you can tell that direct rendering is actually enabled until you try to use it and some kind of bug happends and it gets disabled.
Back to top
View user's profile Send private message
gothis
n00b
n00b


Joined: 04 Nov 2005
Posts: 5

PostPosted: Sat Jun 10, 2006 8:18 pm    Post subject: Reply with quote

I just reverted to 7.0 again but it's still broken. something that got installed when updating to 7.1 messed everything up.
Joy. now i'm without drm again.

I found this bugreport, maybe it's related:
https://bugs.freedesktop.org/show_bug.cgi?id=5901


supposedly fixed in CVS, but gentoo doesn't have CVS ebuild for xorg/mesa/drm
looks like i'm screwed.
Back to top
View user's profile Send private message
gothis
n00b
n00b


Joined: 04 Nov 2005
Posts: 5

PostPosted: Sat Jun 10, 2006 9:06 pm    Post subject: Reply with quote

ok, fixed the issue by manually deleting /usr/lib/libGL*
and then re-emerging mesa, xorg 7.0 and drm

I'll wait for 7.2 to come out before I update again ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum