Summary: | dri doesn't work on second head (r128) | ||
---|---|---|---|
Product: | Mesa | Reporter: | Peter Cordes <peter> |
Component: | Drivers/DRI/r128 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
xorg.conf.multihead.glx
xorg.0.log.gz |
Description
Peter Cordes
2007-02-28 16:32:43 UTC
Created attachment 8916 [details]
xorg.conf.multihead.glx
Created attachment 8917 [details]
xorg.0.log.gz
I forgot to mention that driconf is broken (on either screen, since it calls glxinfo, which tries to do both screens). peter@tesla:~$ glxinfo ... (normal output for screen 0) glxinfo: ../common/xmlconfig.c:991: driQueryOptioni: Assertion `cache->info[i].name != ((void *)0)' failed. Aborted dri on the i965 head works, but always produces this error message while starting: $ glxgears Error: nConfigOptions (3) does not match the actual number of options in __driConfigOptions (4). Hmm, this ~/.drirc doesn't help. <driconf> <device screen="1" driver="r128"> <application name="Default"> <option name="no_rast" value="false" /> <option name="vblank_mode" value="1" /> <option name="texture_depth" value="0" /> </application> </device> <device screen="0" driver="i965"> <application name="Default"> <option name="force_s3tc_enable" value="true" /> <option name="fthrottle_mode" value="2" /> <option name="vblank_mode" value="1" /> <option name="allow_large_textures" value="1" /> </application> </device> </driconf> (I assume those screen number refer to X11 screens, not displays or something). with gdb: run ...aborts fr 4 l shows that name is "texture_depth", which is defined in that drirc. With debug env vars, glxgears prints: libGL error: Warning in /home/peter/.drirc line 4, column 12: undefined option: no_rast. libGL error: Warning in /home/peter/.drirc line 6, column 12: undefined option: texture_depth. ok, so there's something bogus about the options list. (gdb) p rmesa->optionCache $16 = {info = 0x513f10, values = 0x5554f0, tableSize = 3} (gdb) p (driOptionInfo [3])*(rmesa->optionCache->info) $15 = {{name = 0x0, type = DRI_BOOL, ranges = 0x0, nRanges = 0}, { name = 0x511cd0 "force_s3tc_enable", type = DRI_BOOL, ranges = 0x0, nRanges = 0}, { name = 0x511d10 "allow_large_textures", type = DRI_ENUM, ranges = 0x511d50, nRanges = 1}} These options were set in the i965 section, not r128. No wonder the r128 DRI driver is having problems. Fixed in Git master and mesa_7_0_branch. Mass version move, cvs -> git |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.