CINXE.COM

LKML: Jesper Juhl: Re: Yet more display troubles with 2.6.15-rc5-mm2

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>LKML: Jesper Juhl: Re: Yet more display troubles with 2.6.15-rc5-mm2</title><link href="/css/message.css" rel="stylesheet" type="text/css" /><link href="/css/wrap.css" rel="alternate stylesheet" type="text/css" title="wrap" /><link href="/css/nowrap.css" rel="stylesheet" type="text/css" title="nowrap" /><link href="/favicon.ico" rel="shortcut icon" /><script src="/js/simple-calendar.js" type="text/javascript"></script><script src="/js/styleswitcher.js" type="text/javascript"></script><link rel="alternate" type="application/rss+xml" title="lkml.org : last 100 messages" href="/rss.php" /><link rel="alternate" type="application/rss+xml" title="lkml.org : last messages by Jesper Juhl" href="/groupie.php?aid=841" /><!--Matomo--><script> var _paq = window._paq = window._paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ _paq.push(["setDoNotTrack", true]); _paq.push(["disableCookies"]); _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="//m.lkml.org/"; _paq.push(['setTrackerUrl', u+'matomo.php']); _paq.push(['setSiteId', '1']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); })(); </script><!--End Matomo Code--></head><body onload="es.jasper.simpleCalendar.init();" itemscope="itemscope" itemtype="http://schema.org/BlogPosting"><table border="0" cellpadding="0" cellspacing="0"><tr><td width="180" align="center"><a href="/"><img style="border:0;width:135px;height:32px" src="/images/toprowlk.gif" alt="lkml.org" /></a></td><td width="32">聽</td><td class="nb"><div><a class="nb" href="/lkml"> [lkml]</a> 聽 <a class="nb" href="/lkml/2005"> [2005]</a> 聽 <a class="nb" href="/lkml/2005/12"> [Dec]</a> 聽 <a class="nb" href="/lkml/2005/12/12"> [12]</a> 聽 <a class="nb" href="/lkml/last100"> [last100]</a> 聽 <a href="/rss.php"><img src="/images/rss-or.gif" border="0" alt="RSS Feed" /></a></div><div>Views: <a href="#" class="nowrap" onclick="setActiveStyleSheet('wrap');return false;">[wrap]</a><a href="#" class="wrap" onclick="setActiveStyleSheet('nowrap');return false;">[no wrap]</a> 聽 <a class="nb" href="/lkml/mheaders/2005/12/12/155" onclick="this.href='/lkml/headers'+'/2005/12/12/155';">[headers]</a>聽 <a href="/lkml/bounce/2005/12/12/155">[forward]</a>聽 </div></td><td width="32">聽</td></tr><tr><td valign="top"><div class="es-jasper-simpleCalendar" baseurl="/lkml/"></div><div class="threadlist">Messages in this thread</div><ul class="threadlist"><li class="root"><a href="/lkml/2005/12/11/125">First message in thread</a></li><li><a href="/lkml/2005/12/11/125">Jesper Juhl</a><ul><li><a href="/lkml/2005/12/11/155">"Antonino A. Daplas"</a><ul><li class="origin"><a href="/lkml/2005/12/12/274">Jesper Juhl</a><ul><li><a href="/lkml/2005/12/12/274">"Antonino A. Daplas"</a><ul><li><a href="/lkml/2005/12/13/332">Jesper Juhl</a></li></ul></li><li><a href="/lkml/2005/12/13/103">"Antonino A. Daplas"</a><ul><li><a href="/lkml/2005/12/13/334">Jesper Juhl</a></li></ul></li></ul></li></ul></li></ul></li></ul></td><td width="32" rowspan="2" class="c" valign="top"><img src="/images/icornerl.gif" width="32" height="32" alt="/" /></td><td class="c" rowspan="2" valign="top" style="padding-top: 1em"><table><tr><td><table><tr><td class="lp">Date</td><td class="rp" itemprop="datePublished">Mon, 12 Dec 2005 19:31:23 +0100</td></tr><tr><td class="lp">From</td><td class="rp" itemprop="author">Jesper Juhl &lt;&gt;</td></tr><tr><td class="lp">Subject</td><td class="rp" itemprop="name">Re: Yet more display troubles with 2.6.15-rc5-mm2</td></tr></table></td><td></td></tr></table><pre itemprop="articleBody">On 12/12/05, Antonino A. Daplas &lt;adaplas&#64;gmail.com&gt; wrote:<br />&gt; Jesper Juhl wrote:<br />&gt; &gt; In addition to the problem I reported earlier about 2.6.15-rc5-mm2<br />&gt; &gt; hanging at boot with vga=791 I've just discovered another problem.<br />&gt; &gt;<br />&gt; &gt; If I boot with vga=normal (which is aparently all that works), then I<br />&gt; &gt; can boot up to a nice lain text login and run startx, but if I then<br />&gt; &gt; switch away from X back to a text console with ctrl+alt+f6 or if I<br />&gt; &gt; shut down X, then I'm presented with a completely garbled text mode<br />&gt; &gt; screen - flashing coloured blocks all over, random bits of text at<br />&gt; &gt; random locations etc.<br />&gt; &gt;<br />&gt; &gt; Also, when starting X, just before the cursor appears I normally just<br />&gt; &gt; have a black screen. With this kernel I first get a short blink of a<br />&gt; &gt; garbled graphics mode screeen with either what looks like just random<br />&gt; &gt; pixels or sometimes with something that looks like a mangled snapshot<br />&gt; &gt; of my text mode console, or if I kill X with ctrl+alt+backspace and<br />&gt; &gt; then start it again (the garbled text mode console does work, although<br />&gt; &gt; I'm glad I know how to touch type ;) then I sometimes get what looks<br />&gt; &gt; like a snapshot of my previous X session with random pixels on top.<br />&gt; &gt; The garbled graphical screen stays for just a blink of an eye, then<br />&gt; &gt; it's replaced with the normal black screen and the mouse cursor.<br />&gt; &gt;<br />&gt; &gt; 2.6.15-rc5-git1 works perfectly without these issues.<br />&gt;<br />&gt; I cannot reproduce your problem...<br />&gt;<br /><br />It's completely reproducable here when booting the kernel with vga=normal<br />and then starting X with the attached xorg.conf using this grahics card :<br /><br /># lspci -vvx<br />...<br />01:05.0 VGA compatible controller: Matrox Graphics, Inc. MGA Parhelia<br />AGP (rev 03) (prog-if 00 [VGA])<br /> Subsystem: Matrox Graphics, Inc. Parhelia 128Mb<br /> Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-<br />ParErr- Stepping- SERR- FastB2B-<br /> Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium<br />&gt;TAbort- &lt;TAbort- &lt;MAbort- &gt;SERR- &lt;PERR-<br /> Latency: 64 (4000ns min, 8000ns max), cache line size 08<br /> Interrupt: pin A routed to IRQ 4<br /> Region 0: Memory at e8000000 (32-bit, prefetchable) [size=128M]<br /> Region 1: Memory at e5000000 (32-bit, non-prefetchable) [size=8K]<br /> Expansion ROM at e7fe0000 [disabled] [size=128K]<br /> Capabilities: [dc] Power Management version 2<br /> Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA<br />PME(D0-,D1-,D2-,D3hot-,D3cold-)<br /> Status: D0 PME-Enable- DSel=0 DScale=0 PME-<br /> Capabilities: [f0] AGP version 2.0<br /> Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64-<br />HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4<br /> Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit-<br />FW- Rate=&lt;none&gt;<br />00: 2b 10 27 05 07 00 b0 02 03 00 00 03 08 40 00 00<br />10: 08 00 00 e8 00 00 00 e5 00 00 00 00 00 00 00 00<br />20: 00 00 00 00 00 00 00 00 00 00 00 00 2b 10 40 08<br />30: 00 00 fe e7 dc 00 00 00 00 00 00 00 04 01 10 20<br /><br />note that if I use a fb console everything is fine, only when booting<br />initially with vga=normal is there a problem.<br /><br /><br />&gt; If set, can you comment out Load "dri" and/or Load "glx" from your<br />&gt; X config?<br />&gt;<br />Both were set. Commenting out both didn't change a thing.<br /><br /><br />&gt; Can you try another X driver, ie, vesa?<br />&gt;<br />I'm already using the vesa driver. It seems to be the only Open Source<br />driver that'll work with this card, so i don't have any other to try.<br /><br />&gt; Also, these 2 patches are present in mm but not in Linus' tree. Can<br />&gt; you check which of these are the culprit, if any?<br />&gt;<br />&gt; <a href="http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.15-rc2/2.6.15-rc2-mm1/broken-out/vgacon-fix-doublescan-mode.patch">http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.15-rc2/2.6.15-rc2-mm1/broken-out/vgacon-fix-doublescan-mode.patch</a><br />&gt; <a href="http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.15-rc2/2.6.15-rc2-mm1/broken-out/vgacon-workaround-for-resize-bug-in-some-chipsets.patch">http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.15-rc2/2.6.15-rc2-mm1/broken-out/vgacon-workaround-for-resize-bug-in-some-chipsets.patch</a><br />&gt;<br /><br />Since this is 2.6.15-rc5-mm2 I grabbed these two instead:<br /><a href="http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.15-rc5/2.6.15-rc5-mm2/broken-out/vgacon-fix-doublescan-mode.patch">http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.15-rc5/2.6.15-rc5-mm2/broken-out/vgacon-fix-doublescan-mode.patch</a><br /><a href="http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.15-rc5/2.6.15-rc5-mm2/broken-out/vgacon-workaround-for-resize-bug-in-some-chipsets.patch">http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.15-rc5/2.6.15-rc5-mm2/broken-out/vgacon-workaround-for-resize-bug-in-some-chipsets.patch</a><br /><br />Reverting both patches didn't fix the problem. Starting X then<br />switching back to a text mode console still results in a completely<br />messed up text console. X is fine, I can switch back to it no problem,<br />but text consoles go bye-bye...<br /><br />Would there be any point in trying a kernel with just one of the<br />patches reverted?<br /><br /><br />--<br />Jesper Juhl &lt;jesper.juhl&#64;gmail.com&gt;<br />Don't top-post <a href="http://www.catb.org/~esr/jargon/html/T/top-post.html">http://www.catb.org/~esr/jargon/html/T/top-post.html</a><br />Plain text mails only, please <a href="http://www.expita.com/nomime.html">http://www.expita.com/nomime.html</a><br />[unhandled content-type:application/octet-stream]</pre></td><td width="32" rowspan="2" class="c" valign="top"><img src="/images/icornerr.gif" width="32" height="32" alt="\" /></td></tr><tr><td align="right" valign="bottom"> 聽 </td></tr><tr><td align="right" valign="bottom">聽</td><td class="c" valign="bottom" style="padding-bottom: 0px"><img src="/images/bcornerl.gif" width="32" height="32" alt="\" /></td><td class="c">聽</td><td class="c" valign="bottom" style="padding-bottom: 0px"><img src="/images/bcornerr.gif" width="32" height="32" alt="/" /></td></tr><tr><td align="right" valign="top" colspan="2"> 聽 </td><td class="lm">Last update: 2005-12-12 19:33 聽聽 [from the cache]<br />漏2003-2020 <a href="http://blog.jasper.es/"><span itemprop="editor">Jasper Spaans</span></a>|hosted at <a href="https://www.digitalocean.com/?refcode=9a8e99d24cf9">Digital Ocean</a> and my Meterkast|<a href="http://blog.jasper.es/categories.html#lkml-ref">Read the blog</a></td><td>聽</td></tr></table><script language="javascript" src="/js/styleswitcher.js" type="text/javascript"></script></body></html>

Pages: 1 2 3 4 5 6 7 8 9 10