<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Jordon,<br>
<br>
I used the avoid-idle.patch and had a result.....<br>
<br>
I'm getting ready to install MSR, and wanted to share this before I
added MSR.<br>
<br>
After applying the patch, then exiting X, my graphics still appeared to
be hung.<br>
<br>
Also, (I neglected to mention before) my monitor (CRT) says "Frequency
too high"<br>
<br>
I continued on my way by ssh back into the board. A few minutes later,
the VESA<br>
screen saver (I have that enabled on my OS build) kicked in, and VESA
reset the display.<br>
<br>
My console came back after the VESA screen saver displayed the image.<br>
<br>
Should I add a VESA reset into the driver when exiting?<br>
<br>
Don't know if that helps.<br>
<br>
I'm including my latest Xorg.0.log and my dmesg.<br>
<br>
I will now add the MSR.<br>
<br>
Larry<br>
<br>
PS: I'm mailing this using a Windows e-mail client. I'm not sure if
the file formating is looking OK for you guys. Please tell me the
files are wordwrapped, and unreadable.<br>
PSS: DOS CTRL/LF bit me on the avoid-idle.patch. I had to use
unix2dos to make the patch work, just an FYI for anybody else who uses
a windows e-mail client to receive their mail ! :)<br>
<br>
Jordan Crouse wrote:
<blockquote cite="mid20071220183542.GH4692@cosmic.amd.com" type="cite">
<pre wrap="">On 20/12/07 10:17 -0800, Larry Maloney wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Jordan,
So with the NoAccel True option placed inside the card section, my graphics
work. :)
</pre>
</blockquote>
<pre wrap=""><!---->
Our worst fears realized.
</pre>
<blockquote type="cite">
<pre wrap="">Everything isn't perfect though. (As I'm sure you suspect) If I try to
terminate the X server
the graphics are stalled (hung). I can still access the system via remote
shell.
</pre>
</blockquote>
<pre wrap=""><!---->
Ouch - I see why. Mia culpa. Try the attached patch.
</pre>
<blockquote type="cite">
<pre wrap="">Anyway, I now have a high res screen with many colors (don't know what
color depth I have)
</pre>
</blockquote>
<pre wrap=""><!---->
Looks like 8 bit according to the log.
</pre>
<blockquote type="cite">
<pre wrap="">I'm including my Xorg.0.log file.
It appears that the VESA drivers are loading. Is this correct? I guess
turning off the acceleration
enables the probing to work.
</pre>
</blockquote>
<pre wrap=""><!---->
You're not really loading a vesa driver here - you are loading VBE routines
for probing DDC, which obviously was successful. Your log shows the same
sort of VGA interaction that we would expect.
Avoiding acceleration doesn't really affect this one way or the other -
if VGA is detected, then we probe - graphics be damned. This is why
its different then what Martin-Eric is chasing.
</pre>
<blockquote type="cite">
<pre wrap="">I will go ahead and add in the debug code you have asked for.
</pre>
</blockquote>
<pre wrap=""><!---->
That would be good - I'm very worried that this is where the problem is -
but I'm not sure how to go about fixing it.
Jordan
</pre>
<pre wrap="">
<hr size="4" width="90%">
On shutdown, we loop waiting for the GPU, which isn't needed if
From: Jordan Crouse <a class="moz-txt-link-rfc2396E" href="mailto:jordan.crouse@amd.com"><jordan.crouse@amd.com></a>
we don't have accel enabled.
---
src/amd_lx_driver.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/amd_lx_driver.c b/src/amd_lx_driver.c
index 7efda1f..1687752 100644
--- a/src/amd_lx_driver.c
+++ b/src/amd_lx_driver.c
@@ -917,7 +917,8 @@ LXSwitchMode(int index, DisplayModePtr pMode, int flags)
int rotate;
/* Syn the engine and shutdown the DAC momentarily */
- gp_wait_until_idle();
+ if (!pGeode->NoAccel)
+        gp_wait_until_idle();
/* Set up the memory for the new mode */
rotate = LXGetRotation(pScrni->pScreen);
@@ -949,7 +950,8 @@ LXLeaveGraphics(ScrnInfoPtr pScrni)
GeodeRec *pGeode = GEODEPTR(pScrni);
VG_PANNING_COORDINATES panning;
- gp_wait_until_idle();
+ if (!pGeode->NoAccel)
+        gp_wait_until_idle();
lx_disable_dac_power(pScrni, DF_CRT_DISABLE);
@@ -1025,7 +1027,8 @@ LXEnterGraphics(ScreenPtr pScrn, ScrnInfoPtr pScrni)
pGeode->VGAActive = gu3_get_vga_active();
- gp_wait_until_idle();
+ if (!pGeode->NoAccel)
+        gp_wait_until_idle();
//lx_disable_dac_power(pScrni, DF_CRT_DISABLE);
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
==============================
Larry P. Maloney
CEO/CTO SoftNet Solutions
Phone: 650-669-1942
Web: <a class="moz-txt-link-abbreviated" href="http://www.softnetsolution.com">www.softnetsolution.com</a></pre>
</body>
</html>