[Mesa3d-dev] [Bug 24365] [7.6] glxinfo: main/context.c:640: check_context_limits: Assertion failed
http://bugs.freedesktop.org/show_bug.cgi?id=24365 --- Comment #5 from Brian Paul brian.e.p...@gmail.com 2009-10-08 07:37:18 PST --- Can you build Mesa 7.6 in debug mode and re-run? -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
[Mesa3d-dev] [Bug 24365] [7.6] glxinfo: main/context.c:640: check_context_limits: Assertion failed
http://bugs.freedesktop.org/show_bug.cgi?id=24365 --- Comment #6 from Nicolai Hähnle nhaeh...@gmail.com 2009-10-08 10:15:27 PST --- Actually, r300_context.c does the following: ctx-Const.MaxTextureImageUnits = driQueryOptioni(r300-radeon.optionCache, texture_image_units); ctx-Const.MaxTextureCoordUnits = driQueryOptioni(r300-radeon.optionCache, texture_coord_units); ctx-Const.MaxTextureUnits = MIN2(ctx-Const.MaxTextureImageUnits, ctx-Const.MaxTextureCoordUnits); ... so I can see how the assertion could fail depending on the driconf settings. However, both options are set to default to 8 in radeon_screen.c, so this is still very odd. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
[Mesa3d-dev] [Bug 24365] [7.6] glxinfo: main/context.c:640: check_context_limits: Assertion failed
http://bugs.freedesktop.org/show_bug.cgi?id=24365 --- Comment #1 from Brian Paul brian.e.p...@gmail.com 2009-10-07 07:24:21 PST --- Hopefully one of the Radeon developers can reproduce this. If the user could use gdb to get the values for ctx-Const.MaxTextureCoordUnits and ctx-Const.MaxTextureImageUnits that might be helpful. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
[Mesa3d-dev] [Bug 24365] [7.6] glxinfo: main/context.c:640: check_context_limits: Assertion failed
http://bugs.freedesktop.org/show_bug.cgi?id=24365 --- Comment #2 from Nicolai Hähnle nhaeh...@gmail.com 2009-10-07 12:33:07 PST --- Brian, I cannot reproduce this here (and I really doubt it can happen unless you mess with your driconf settings - maybe the original reporter should check those), but is this assertion even correct? I agree with the assertions that MaxTextureUnits = MaxTextureImageUnits MaxTextureUnits = MaxTextureCoordUnits because a fixed function texture unit requires both the set of coordinates and the image. But I was under the impression that the whole point of the new MaxTextureImageUnits and MaxTextureCoordUnits was to decouple the two concepts which are no longer necessarily related in a programmable setting. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
[Mesa3d-dev] [Bug 24365] [7.6] glxinfo: main/context.c:640: check_context_limits: Assertion failed
http://bugs.freedesktop.org/show_bug.cgi?id=24365 --- Comment #3 from Brian Paul brian.e.p...@gmail.com 2009-10-07 13:23:38 PST --- In the fixed-function paths we use ctx-Const.MaxTextureCoordUnits all over the place. For fixed-function we have to have a texture image unit for each coord unit. I guess we could replace most occurances of ctx-Const.MaxTextureCoordUnits with ctx-Const.MaxTextureUnits (and remove the assertion) but that'd be a bit of work. Looking at the radeon code which sets these limits: ctx-Const.MaxTextureUnits = driQueryOptioni (rmesa-radeon.optionCache, texture_units); ctx-Const.MaxTextureImageUnits = ctx-Const.MaxTextureUnits; ctx-Const.MaxTextureCoordUnits = ctx-Const.MaxTextureUnits; I don't see how the assertion would be failing. Can you try setting texture_units in your driconf and see what happens? BTW, shouldn't the driconf value be clamped to some limit? -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
[Mesa3d-dev] [Bug 24365] [7.6] glxinfo: main/context.c:640: check_context_limits: Assertion failed
http://bugs.freedesktop.org/show_bug.cgi?id=24365 Samium Gromoff _deepf...@feelingofgreen.ru changed: What|Removed |Added CC||_deepf...@feelingofgreen.ru Platform|Other |All --- Comment #4 from Samium Gromoff _deepf...@feelingofgreen.ru 2009-10-07 17:37:09 PST --- Good day, I'm the original reporter. I don't have ~/.drirc, nor /etc/drirc. I didn't install driconf before I saw it mentioned here. An additional detail lost in fight: setting LIBGL_ALWAYS_INDIRECT to 1 makes things work. Not sure it it's relevant, though. Here goes, anyway (in short: no useful data, perhaps): deepf...@betelheise:~$ LD_LIBRARY_PATH=/usr/lib/debug/usr/lib/ gdb glxinfo GNU gdb (GDB) 6.8.50.20090628-cvs-debian Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type show copying and show warranty for details. This GDB was configured as x86_64-linux-gnu. For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... (no debugging symbols found) (gdb) run Starting program: /usr/bin/glxinfo (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] name of display: :0.0 glxinfo: main/context.c:640: check_context_limits: Assertion `ctx-Const.MaxTextureCoordUnits = ctx-Const.MaxTextureImageUnits' failed. Program received signal SIGABRT, Aborted. 0x775bed25 in raise () from /lib/libc.so.6 (gdb) bt #0 0x775bed25 in raise () from /lib/libc.so.6 #1 0x775c1de1 in abort () from /lib/libc.so.6 #2 0x775b7f99 in __assert_fail () from /lib/libc.so.6 #3 0x76b3c11b in check_context_limits (newCtx=0x61e350, drawBuffer=0x97b2d0, readBuffer=0x97b2d0) at main/context.c:640 #4 _mesa_make_current (newCtx=0x61e350, drawBuffer=0x97b2d0, readBuffer=0x97b2d0) at main/context.c:1419 #5 0x76b1a79a in radeonMakeCurrent (driContextPriv=value optimized out, driDrawPriv=0x97b230, driReadPriv=0x97b230) at radeon_common_context.c:769 #6 0x76af77ca in driBindContext (pcp=0x613c70, pdp=0x97b230, prp=0x97b230) at ../common/dri_util.c:206 #7 0x77b87deb in MakeContextCurrent (dpy=0x606010, draw=23068676, read=23068676, gc=0x611590) at glxcurrent.c:378 #8 0x0040256f in ?? () #9 0x00402d8e in ?? () #10 0x775ab5c6 in __libc_start_main () from /lib/libc.so.6 #11 0x00401369 in ?? () #12 0x7fffe158 in ?? () #13 0x001c in ?? () #14 0x0001 in ?? () #15 0x7fffe4b0 in ?? () #16 0x in ?? () (gdb) f 3 #3 0x76b3c11b in check_context_limits (newCtx=0x61e350, drawBuffer=0x97b2d0, readBuffer=0x97b2d0) at main/context.c:640 640 main/context.c: No such file or directory. in main/context.c (gdb) print ctx-Const.MaxTextureCoordUnits Cannot access memory at address 0x74c (gdb) print ctx-Const.MaxTextureImageUnits Cannot access memory at address 0x750 -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev