http://bugs.freedesktop.org/show_bug.cgi?id=10132





------- Comment #4 from [EMAIL PROTECTED]  2007-02-28 17:00 PST -------
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.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to