1 |
Duncan posted on Mon, 25 Apr 2011 03:34:38 +0000 as excerpted: |
2 |
|
3 |
> I'll do a followup with the netbook's glxinfo if I remember, but the |
4 |
> above should give you some pointers to investigate, meanwhile. |
5 |
|
6 |
OK, on the netbook... |
7 |
|
8 |
lspc reports Intel 945GME |
9 |
|
10 |
The xorg log (Xorg.0.log) first reports "Driver for Intel Integrated |
11 |
Graphics Chipsets: i810", THEN reports the Intel driver detecting chipset |
12 |
945GME (as lspci listed), BUT THEN the Intel driver DRI2 driver is |
13 |
reported as the i915. |
14 |
|
15 |
Talking about the xorg log... check it too. If you're running hardware |
16 |
OpenGL, it'll report something like this (FWIW, xorg-server 1.10.1): |
17 |
|
18 |
LoadModule: "dri" |
19 |
Loading /usr/lib/xorg/modules/extensions/libdri.so |
20 |
Module dri: vendor="X.Org Foundation" |
21 |
compiled for 1.10.1, module version = 1.0.0 |
22 |
ABI class: X.org Server Extension, version 5.0 |
23 |
Loading extension XFree86-DRI |
24 |
LoadModule: "dri2" |
25 |
Loading /usr/lib/xorg/modules/extensions/libdri2.so |
26 |
Module dri2: vendor="X.Org Foundation" |
27 |
compiled for 1.10.1, module version = 1.2.0 |
28 |
ABI class: X.Org Server Extension, version 5.0 |
29 |
Loading extension DRI2 |
30 |
|
31 |
Then later... |
32 |
|
33 |
drmOpenDevice: node name is /dev/dri/card0 |
34 |
|
35 |
... followed by open result 8, (OK), another open, drmOpenMinor, busID, |
36 |
etc. |
37 |
|
38 |
Then later |
39 |
|
40 |
intel(0): [DRI2] Setup complete |
41 |
intel(0): [DRI2] DRI driver: i915 |
42 |
|
43 |
later... |
44 |
|
45 |
intel(0): direct rendering: DRI2 Enabled |
46 |
|
47 |
later... |
48 |
|
49 |
GLX: Initialized DRI2 GL provider for screen 0 |
50 |
|
51 |
|
52 |
If instead it's saying DRI disabled, or doesn't mention it, you're |
53 |
software-fallback rendered, for sure, as it's straight from the log. |
54 |
|
55 |
FWIW, here's those lines as mentioned up-thread from the netbooks glxinfo: |
56 |
|
57 |
OpenGL vendor string: Tungsten Graphics, Inc |
58 |
OpenGL renderer string: Mesa DRI Intel(R) 945GME x86/MMX/SSE2 |
59 |
|
60 |
Kernel config: |
61 |
|
62 |
Here I do a custom config, building everything I need directly into the |
63 |
kernel, so I can disable module loading. It's easier that way as I don't |
64 |
have to ensure that the modules subdirs stay in sync with the kernel. |
65 |
|
66 |
For graphics, you'll want and/or I have: |
67 |
|
68 |
DRM/DRI (CONFIG_DRM) |
69 |
|
70 |
Intel 8xx/9xx/63x/64x/HD Graphics (CONFIG_DRM_I915) |
71 |
|
72 |
I have modesetting on by default (CONFIG_DRM_I915_KMS) |
73 |
|
74 |
Support for frame buffer devices (CONFIG_FB) |
75 |
|
76 |
Inside that option: |
77 |
|
78 |
Enable Video Mode Handling Helpers (CONFIG_FB_MODE_HELPERS) |
79 |
(may not be necessary but can help with EDID detection and doesn't hurt) |
80 |
|
81 |
Enable Tile Blitting Support (CONFIG_FB_TILEBLITTING) |
82 |
|
83 |
**DO**NOT** enable the Intel framebuffer device options here as they |
84 |
interfere with KMS. |
85 |
|
86 |
Back out under graphics again, go into Console display driver support: |
87 |
|
88 |
Framebuffer Console support (CONFIG_FRAMEBUFFER_CONSOLE) |
89 |
|
90 |
You want that for KMS. |
91 |
|
92 |
It's recommended to enable VGA text console (CONFIG_VGA_CONSOLE) as well, |
93 |
for a fallback in case the kms drivers fail for some reason, or if you |
94 |
wish to use UMS. (In the removable graphics card case, VGA text console |
95 |
is also a backup in case you switch to a different card, but as Intel |
96 |
graphics are normally integrated, it's not like that's a real option. But |
97 |
it's still worthwhile in case there's a problem with the KMS framebuffer |
98 |
or for trying UMS.) |
99 |
|
100 |
Back out at the main graphics menu again, I have VGA Arbitration off as |
101 |
it's only useful with multiple graphics cards, lowlevel video output |
102 |
switch controls is on to support the key that controls that on my netbook, |
103 |
and backlight and LCD device support is enabled, with both lowlevel LCD |
104 |
and backlight controls enabled inside, but no specific drivers, as that's |
105 |
what my hardware takes. |
106 |
|
107 |
More interesting is the /dev/agpgart (AGP Support) option, with the Intel |
108 |
chipset option checked inside it. My system's PCIE, so I'm not sure |
109 |
that's actually necessary, but it's enabled and X including OpenGL works. |
110 |
Maybe I'll experiment with it at some point, but that point isn't now. |
111 |
|
112 |
And if you do still have AGP, and the BIOS has the fastwrite option, make |
113 |
sure it's off. While it works on some systems, it's unsupported and the |
114 |
xorg folks consider it unsupportable, because it's so crazy-buggy on so |
115 |
many systems. Similarly, any fast-write options you might have in your |
116 |
xorg.conf. Ensure they're off. |
117 |
|
118 |
FWIW, on the netbook the only bit of xorg.conf config I have here is the |
119 |
synaptics touchpad config file located in /etc/X11/xorg.conf.d/ . The |
120 |
rest of the X config is entirely internal xorg defaults and auto- |
121 |
detection. (The main system is a bit more complex as it has dual |
122 |
monitors, and an xorg config that sets orientation, etc. But it too is |
123 |
way smaller than it used to be.) |
124 |
|
125 |
-- |
126 |
Duncan - List replies preferred. No HTML msgs. |
127 |
"Every nonfree program has a lord, a master -- |
128 |
and if you use the program, he is your master." Richard Stallman |