Gentoo Archives: gentoo-user

From: Valmor de Almeida <val.gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] get fences failed: -1 and [drm:i915_getparam] *ERROR*
Date: Fri, 29 May 2009 03:23:53
Message-Id: 4A1F552E.3030605@gmail.com
In Reply to: Re: [gentoo-user] get fences failed: -1 and [drm:i915_getparam] *ERROR* by AJ Spagnoletti
1 AJ Spagnoletti wrote:
2 >> -> glxgears
3 >> get fences failed: -1
4 >> param: 6, val: 0
5 >>
6 >> 300 frames in 5.0 seconds = 59.565 FPS
7 >> 298 frames in 5.0 seconds = 59.524 FPS
8 >> 299 frames in 5.0 seconds = 59.737 FPS
9 >> 300 frames in 5.0 seconds = 59.884 FPS
10 >>
11 >>
12 >
13 > I have run into this same problem following an xorg-server upgrade,
14 > The problem started with the upgrade to xorg-server-1.5.x, using intel
15 > graphics driver version 2.7.1 and mesa version 7.4.2, my thread ran
16 > dead and as of writing this email I still have yet to find a solution
17 > to the problem. To the best of my knowledge there are known issues
18 > with new versions of the intel video drivers, however I cannot
19 > personally confirm this nor do I know of any plans or time line for
20 > the fixes to be made.
21 >
22 > AJ
23 >
24 >
25 Same here the upgrade to xorg-server-1.5.x introduced lots of surprises.
26 There were too many changes for me: upgrade of gcc to 4.3.2, and
27 configuration of hal (a difficult thing to do on a laptop at the
28 moment). What really slowed me down was that for some unknown reason my
29 windowmaker was completely messed up and took me almost a day to get it
30 fixed.
31
32 Back to the glxgears problem. This is critical for me since my ooimpress
33 presentations have embedded animated gifs and they play really really
34 slow under slideshow after the xorg upgrade. A random run of glxgears
35 gave me this clue (go figure; I must have ran glxgears a hundred times
36 before I saw this message)
37
38 -> glxgears
39 get fences failed: -1
40 param: 6, val: 0
41 298 frames in 5.0 seconds = 59.518 FPS
42 297 frames in 5.0 seconds = 59.293 FPS
43 297 frames in 5.0 seconds = 59.281 FPS
44 do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly.
45 Try adjusting the vblank_mode configuration parameter.
46
47
48 Googling vblank_mode on the web I came across this web site
49
50
51 http://en.gentoo-wiki.com/wiki/Intel_GMA
52
53 which is pertinent to my hardware and kernel/drivers. Therefore if I do
54
55
56 -> vblank_mode=0 glxgears
57 ATTENTION: default value of option vblank_mode overridden by environment.
58 get fences failed: -1
59 param: 6, val: 0
60 4418 frames in 5.0 seconds = 883.510 FPS
61 4490 frames in 5.0 seconds = 897.871 FPS
62 4491 frames in 5.0 seconds = 898.054 FPS
63 4481 frames in 5.0 seconds = 896.043 FPS
64 4382 frames in 5.0 seconds = 876.251 FPS
65
66 I get much better performance as I used to have before the xorg upgrade.
67 This is where I am now trying to gather information on how to deal with
68 dri and vblank_mode settings.
69
70 Hope this helps.
71
72 --
73 Valmor

Replies

Subject Author
Re: [gentoo-user] get fences failed: -1 and [drm:i915_getparam] *ERROR* AJ Spagnoletti <rubiks120@×××××.com>