MINIX3.1.2的X-windows啟動問題處理

來源:互聯網
上載者:User
分析原因:
> The problem you're experiencing is caused by the fact that Minix
> currently doesn't have a Virtual Memory system. As a result, X-Windows
> must rely on REAL memory to operate. ...
> You can mess with the chmem command to see if you can set the X binary
> to a reasonable memory size, ...
> In fact, the amount of memory X needs depends upon the amount of
> memory on your video card. So another possible route to success with X
> is to downgrade your video card -- replace it with one with less
> on-board memory -- and then X will need less memory. Of course, you'll
> lose higher resolution video modes.
> I can't guarantee it will work, but it's something to try. I recommend
> setting your only available modes to 640x480x[24 | 16 | 8] until you've
> verified that this works. At that resolution, you can happily tell X
> Windows that you only have "1024" kilobytes of memory. To be on the
> safe side, though, you might want to set it to "4096" kilobytes. Don't
> forget to 'chmem' the xorg binary to a much smaller value like 20 megs!

方法:
Well I've been playing a little bit with assorted chmem settings between
  xdm, xinit, and Xorg. I have an ATI RAGE II card in that machine and
from what I saw in the log for the auto-probe, it appears to have a 2048
KB video ram.

I've knocked Xorg to about 12 MB memory size and it starts to a point
(no out of memory anyways); now I have video resolution setting / sync
errors I think. I have to use 1024x768, because its an older flat panel
screen and anything less is too fuzzy to look at.

I'll keep juggling and see what I can figure out. So far though, using
xdm, startx, or xinit doesn't work yet, but starting Xorg on its own with:

        Xorg -verbose 3 -logverbose 3

at least tells me more that I knew before. If I can get X (Xorg) to
start, then the rest should fall into place I hope.
--------------------------------------------------------------------------------------------------
The problem you're experiencing is caused by the fact that Minix
currently doesn't have a Virtual Memory system. As a result, X-Windows
must rely on REAL memory to operate. Normally, you'd just be able to
'chmem +100000000 /usr/X11R6/bin/Xorg'  //設定虛擬記憶體處理
to fix the problem, but you
don't have 100 megs to use for the data segment. And since the system
can't swap to disk, you run out of memory.

You can mess with the chmem command to see if you can set the X binary
to a reasonable memory size, but otherwise you're probably going to
have to wait until Minix3 grows up just a little. 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.