Re: Radeon RV250 Lockup
It took over an hour this time, but it locked up while running three different demos. > Looks good.. but dude diff -u plz > > I can't read context diffs to save my life... > > Dave. Done. drmbld/shared-core/radeon_state.c --- drm111605/shared-core/radeon_state.cFri Nov 11 20:25:43 2005 +++ drmbld/shared-core/radeon_state.c Wed Nov 23 22:15:17 2005 @@ -2388,7 +2388,7 @@ */ BEGIN_RING(2); - RADEON_WAIT_UNTIL_3D_IDLE(); + RADEON_WAIT_UNTIL_IDLE(); ADVANCE_RING(); @@ -2737,6 +2737,7 @@ drm_radeon_cmd_header_t header; int orig_nbox, orig_bufsz; char *kbuf = NULL; + RING_LOCALS; LOCK_TEST_WITH_RETURN(dev, filp); @@ -2791,6 +2792,11 @@ header.i = *(int *)cmdbuf.buf; cmdbuf.buf += sizeof(header); cmdbuf.bufsz -= sizeof(header); + + /* hack */ + BEGIN_RING(2); + RADEON_WAIT_UNTIL_IDLE(); + ADVANCE_RING(); switch (header.header.cmd_type) { case RADEON_CMD_PACKET: --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: Radeon RV250 Lockup
Looks good.. but dude diff -u plz I can't read context diffs to save my life... Dave. On Wed, 23 Nov 2005, vehemens wrote: > I appear to of eliminated my remaining lockups by also idling the 2D engine in > radeon_cp_indirect which is being called from the xserver. Here is my latest > patch. > > *** drm111605/shared-core/radeon_state.cFri Nov 11 20:25:43 2005 > --- drmbld/shared-core/radeon_state.c Wed Nov 23 22:15:17 2005 > *** > *** 2388,2394 > */ > BEGIN_RING(2); > > ! RADEON_WAIT_UNTIL_3D_IDLE(); > > ADVANCE_RING(); > > --- 2388,2394 > */ > BEGIN_RING(2); > > ! RADEON_WAIT_UNTIL_IDLE(); > > ADVANCE_RING(); > > *** > *** 2737,2742 > --- 2737,2743 > drm_radeon_cmd_header_t header; > int orig_nbox, orig_bufsz; > char *kbuf = NULL; > + RING_LOCALS; > > LOCK_TEST_WITH_RETURN(dev, filp); > > *** > *** 2791,2796 > --- 2792,2802 > header.i = *(int *)cmdbuf.buf; > cmdbuf.buf += sizeof(header); > cmdbuf.bufsz -= sizeof(header); > + > + /* hack */ > + BEGIN_RING(2); > + RADEON_WAIT_UNTIL_IDLE(); > + ADVANCE_RING(); > > switch (header.header.cmd_type) { > case RADEON_CMD_PACKET: > > > --- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > -- > ___ > Dri-devel mailing list > Dri-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dri-devel > -- David Airlie, Software Engineer http://www.skynet.ie/~airlied / airlied at skynet.ie Linux kernel - DRI, VAX / pam_smb / ILUG --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: Radeon RV250 Lockup
I appear to of eliminated my remaining lockups by also idling the 2D engine in radeon_cp_indirect which is being called from the xserver. Here is my latest patch. *** drm111605/shared-core/radeon_state.cFri Nov 11 20:25:43 2005 --- drmbld/shared-core/radeon_state.c Wed Nov 23 22:15:17 2005 *** *** 2388,2394 */ BEGIN_RING(2); ! RADEON_WAIT_UNTIL_3D_IDLE(); ADVANCE_RING(); --- 2388,2394 */ BEGIN_RING(2); ! RADEON_WAIT_UNTIL_IDLE(); ADVANCE_RING(); *** *** 2737,2742 --- 2737,2743 drm_radeon_cmd_header_t header; int orig_nbox, orig_bufsz; char *kbuf = NULL; + RING_LOCALS; LOCK_TEST_WITH_RETURN(dev, filp); *** *** 2791,2796 --- 2792,2802 header.i = *(int *)cmdbuf.buf; cmdbuf.buf += sizeof(header); cmdbuf.bufsz -= sizeof(header); + + /* hack */ + BEGIN_RING(2); + RADEON_WAIT_UNTIL_IDLE(); + ADVANCE_RING(); switch (header.header.cmd_type) { case RADEON_CMD_PACKET: --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 5142] New: flightgear flightsimulator unusable with r300 and some other radeon
Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://bugs.freedesktop.org/show_bug.cgi?id=5142 Summary: flightgear flightsimulator unusable with r300 and some other radeon Product: Mesa Version: CVS Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Drivers/DRI/r300 AssignedTo: dri-devel@lists.sourceforge.net ReportedBy: [EMAIL PROTECTED] Splash screen of the application (fgfs-0.9.9) works well, but the application itself crash, as that's an open source software this could help to debug ???) Tested with today CVS (and last week-end CVS): bash-2.05b$ export MESA_DEBUG=1 bash-2.05b$ fgfs Mesa: cpu vendor: Mesa: GenuineIntelMesa: Mesa: MMX cpu detected. Mesa: SSE cpu detected. Mesa: Not testing OS support for SSE, leaving enabled. Mesa warning: software DXTn compression/decompression available *WARN_ONCE* File r300_state.c function r300Enable line 457 TODO - double side stencil ! *** No ctx->FragmentProgram._Current!! opening file: /mnt/hdc7/games/flightgear-0.9.9/share/FlightGear/data/Navaids/carrier_nav.dat /mnt/hdc7/games/flightgear-0.9.9/share/FlightGear/data/Navaids/TACAN_freq.dat X Error of failed request: GLXUnsupportedPrivateRequest Major opcode of failed request: 142 (GLX) Minor opcode of failed request: 16 (X_GLXVendorPrivate) Serial number of failed request: 32 Current serial number in output stream: 33 Mesa warning: GL User Error: called without context: DeleteTexturesMesa warning: GL User Error: called without context: DeleteTexturesbash-2.05b$ I found some other reports about this problem with a workaround hack commented : http://www.opensubscriber.com/message/flightgear-devel@flightgear.org/2445638.html Hope this will help. -- Configure bugmail: https://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. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Radeon RV250 Lockup
I've managed to eliminate a number of lockups when running one or more copies of glxgears and other GL programs with the patch below. This suggests that the driver needs some type of command timing/processing rules to prevent lockup (NOPs?). I working on the other lockups, but debug seems to fix the problem which is another indicator that the remaining problems are due to timing. *** drm111605/shared-core/radeon_state.cFri Nov 11 20:25:43 2005 --- drmbld/shared-core/radeon_state.c Wed Nov 23 11:35:29 2005 *** *** 2737,2742 --- 2737,2743 drm_radeon_cmd_header_t header; int orig_nbox, orig_bufsz; char *kbuf = NULL; + RING_LOCALS; LOCK_TEST_WITH_RETURN(dev, filp); *** *** 2791,2796 --- 2792,2802 header.i = *(int *)cmdbuf.buf; cmdbuf.buf += sizeof(header); cmdbuf.bufsz -= sizeof(header); + + /* hack */ + BEGIN_RING(2); + RADEON_WAIT_UNTIL_IDLE(); + ADVANCE_RING(); switch (header.header.cmd_type) { case RADEON_CMD_PACKET: --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 3609] via drm module not always works with 2.6.12 kernel
Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://bugs.freedesktop.org/show_bug.cgi?id=3609 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2005-11-24 05:21 --- Should be fixed by now. -- Configure bugmail: https://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. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 2118] via: Invalid DMA header command.
Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://bugs.freedesktop.org/show_bug.cgi?id=2118 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2005-11-24 05:19 --- Fixed some time ago. -- Configure bugmail: https://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. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: Mach64 still not in kernel tree
On Mer, 2005-11-23 at 11:46 -0500, Adam Jackson wrote: > On Wednesday 23 November 2005 07:48, Michael Frank wrote: > > Testing 2.6.15-rc2 in-kernel DRM, why still no mach64 > > support which works fine for me from snapshots/cvs? > > Because it's still insecure. Michael - If you've got a Mach64 and you want it mainstream you need to add code which validates the command stream passed to the chip is valid. There is code like this in the VIA driver and the Mach64 needs something similar to verify you aren't doing things like DMAing patches into the kernel with the graphics card but only using commands that are "safe". --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: Mach64 still not in kernel tree
On Wednesday 23 November 2005 07:48, Michael Frank wrote: > Testing 2.6.15-rc2 in-kernel DRM, why still no mach64 > support which works fine for me from snapshots/cvs? Because it's still insecure. - ajax pgpRVEStYxIcP.pgp Description: PGP signature
[Bug 5135] ATI Radeon: Vertices & Edge Display Problems in Wings3D
Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://bugs.freedesktop.org/show_bug.cgi?id=5135 --- Additional Comments From [EMAIL PROTECTED] 2005-11-24 03:28 --- (In reply to comment #3) > The vertex issue is definitely a duplicate of > https://bugs.freedesktop.org/show_bug.cgi?id=702 > But I'm not sure I'll have the courage to try CVS snapshot. > I'll wait a few months. > > Thanks for the explanation. > you can grab nightly binary snapshots of cvs here: http://dri.freedesktop.org/wiki/Download#head-f3c794f007343b969bc570c5dd057212ece700be -- Configure bugmail: https://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. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 5135] ATI Radeon: Vertices & Edge Display Problems in Wings3D
Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://bugs.freedesktop.org/show_bug.cgi?id=5135 --- Additional Comments From [EMAIL PROTECTED] 2005-11-24 00:34 --- The vertex issue is definitely a duplicate of https://bugs.freedesktop.org/show_bug.cgi?id=702 But I'm not sure I'll have the courage to try CVS snapshot. I'll wait a few months. Thanks for the explanation. -- Configure bugmail: https://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. --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 5641] New: Xinerama blocks chipset and GLX fails on Asus M2400N/Centrino/855GM
http://bugzilla.kernel.org/show_bug.cgi?id=5641 Summary: Xinerama blocks chipset and GLX fails on Asus M2400N/Centrino/855GM Kernel Version: 2.6.14.2 Status: NEW Severity: high Owner: [EMAIL PROTECTED] Submitter: [EMAIL PROTECTED] Most recent kernel where this bug did not occur: 2.6.13.1 Distribution: Using Vanilla kernel, not stack. (ArchLinux) Hardware Environment: Asus M2400N, Centrino, Intel 855GM Software Environment: Linux/X.org/KDE Problem Description: GLX seems to be buggy. glxgears work flawlessly. glxinfo says direct rendering is on. However, OpenGL screensavers and apps either fail immediately, or produce a strange output, using only the upper part of the screen. Some of them segmentation faulted soon afterwards. Xinerama does not work any more. The double-headed layout cannot be used any more. An attempt to load X with double-headed layout results in blocking the chipset and the machine has to be rebooted to make X work again. Steps to reproduce: Launch X with KDE or Gnome and try some GL screensavers like Euphoria. Try startx with a double-headed layout or Xinerama turned on. --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 5135] ATI Radeon: Vertices & Edge Display Problems in Wings3D
Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://bugs.freedesktop.org/show_bug.cgi?id=5135 --- Additional Comments From [EMAIL PROTECTED] 2005-11-24 00:06 --- This looks like another case of an application requiring large point sizes (making this NOTABUG), however edge highlighting may be a different problem. See also https://bugs.freedesktop.org/show_bug.cgi?id=702. blender fixed this some time ago. Nevertheless, since you're using a r200-derived chip and not a r100-based one, try using mesa cvs / dri driver snapshot, the driver there supports large point sizes (the code in question was added recently and will not make it into xorg 6.9/7.0). Not sure if it would work, as far as I can tell wings3d uses a hint to set smooth points or not, I believe this gets ignored so hopefully it would work (the driver does not support large smooth point sizes). It works with the proprietary driver because this driver emulates large (smooth) point sizes by some means. This is completely optional driver behaviour and in no way necessary by the OGL spec. -- Configure bugmail: https://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. --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Mach64 still not in kernel tree
Testing 2.6.15-rc2 in-kernel DRM, why still no mach64 support which works fine for me from snapshots/cvs? Michael --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 5135] ATI Radeon: Vertices & Edge Display Problems in Wings3D
Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://bugs.freedesktop.org/show_bug.cgi?id=5135 --- Additional Comments From [EMAIL PROTECTED] 2005-11-23 21:04 --- Forgot the URL for the thread on Wings3D forums: http://p212.ezboard.com/fnendowingsmiraifrm1.showMessage?topicID=2607.topic -- Configure bugmail: https://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. --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
[Bug 5135] New: ATI Radeon: Vertices & Edge Display Problems in Wings3D
Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://bugs.freedesktop.org/show_bug.cgi?id=5135 Summary: ATI Radeon: Vertices & Edge Display Problems in Wings3D Product: DRI Version: XOrg CVS Platform: PC URL: http://p212.ezboard.com/fnendowingsmiraifrm1.showMessage ?topicID=2607.topic OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: libGL AssignedTo: dri-devel@lists.sourceforge.net ReportedBy: [EMAIL PROTECTED] In Wings3D (http://www.wings3d.com/), I have the following issues with OpenGL: - Vertices are not displayed at all (whatever the vertex size I set in preferences) - Edges are not highlighted properly when selected. My setup is the following: - ATI Radeon 9000 64MB - Fedora Core 4 kernel 2.6.14 - Xorg 6.8.x - Wings3D 0.98.32b The same version of Wings3D works without problem with the same software setup on a PC equipped with an Intel graphic chipset. People from Wings3D think the problem comes from the Linux OpenGL driver. Another Wings3D user reported the same problem with a Radeon 9200 and said the problem disappeared after he installed ATI's proprietary drivers. (See URL for the whole forum thread) -- Configure bugmail: https://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. --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click -- ___ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel