⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 neomagic.html

📁 学习linux的工具书
💻 HTML
字号:
<HTML>

<HEAD>

   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">

   <META NAME="GENERATOR" CONTENT="Mozilla/4.04 [en] (X11; I; Linux 2.1.91 i586) [Netscape]">

  <TITLE>Neomagic X Server for Linux on Laptops</TITLE>

</HEAD>

<BODY>



<CENTER><H1>X Server for Linux on Laptops<BR>

with the NeoMagic MagicGraph 128 Family Chipsets</H1></CENTER>



<P><B>4/26/98 Update:</B> new executable and source supporting 1024 wide virtual screen

widths.  Also added link to my XF86Config file.



<P><B>5/11/98 Update:</B> changed executable to be a tar file since some browsers attempt to DOS-ify the executable (thanks to Wolfgang Mueller wm@bgr.de for pointing this out).  Added info for using 1024x768 mode.



<P><B>5/26/98 Update:</B> added a tar.gz version of the config file, after enough people complained about their browsers mangling the file.  Another conspiracy from Microsoft?



<P><B>7/8/98 Update:</B> Received word of an official beta server (no source code though!).  See info at <A HREF="http://www.ps.uci.edu/~tomba/inspiron/redhat-neomagic.txt">http://www.ps.uci.edu/~tomba/inspiron/redhat-neomagic.txt</A>.



<P>

<HR WIDTH="100%">

My machine, on which this server was developed, is a Compaq Presario 1220 with a HPA 800x600 screen, a NeoMagic 128ZV+ chipset, and 1M of video RAM.  A great

machine, if only it had a real built-in modem instead of a stupid winmodem.



<P>Here is a list of other machines reported to have successfully

run this server (links are included from kind people who have supplied their

own info on getting the server to work on their particular machines):

<UL>

<LI>Acer Extensa 367T with NeoMagic 128ZV+ under Linux (800x600)</LI>

<LI>Acer Nuovo 970 with NeoMagic 128V under Linux (800x600)</LI>

<LI>Comex with NeoMagic 128XD under Linux</LI>

<LI>Compaq Presario 1210 with NeoMagic NM2093 under Linux</LI>

<LI>Compaq Presario 1611 with NeoMagic 128XD under Linux</LI>

<LI>Compaq Presario 1620 with NeoMagic 128XD under Linux</LI>

<LI>Compaq Presario 1681 with NeoMagic 128XD under Linux</LI>

<LI>CTX Cybernote with NeoMagic 128XD under Linux</LI>

<LI>CTX EzBook 700 with NeoMagic 128ZV under Linux</LI>

<LI>CTX EzBook 774 MTFK under Linux</LI>

<LI>Dell Inspiron 3000 with NeoMagic 128XD under Linux (at 1024x768)</LI>

<LI>Dell Inspiron 3200 with NeoMagic 128XD/ZV under Linux (at 1024x768)</LI>

<LI>Dell Latitude CP under Linux and NetBSD 1.3.1</LI>

<LI><A HREF="http://www.phoneboy.com/pig/howto/neomagic-x.html">

    Dell Latitude CP M233XT</A> with NeoMagic NM2160 under Linux</LI>

<LI>Dell Latitude LM P166MMX with NeoMagic NM2093 under Linux</LI>

<LI>Dell Latitude XPi CD P150ST (and P166ST) with NeoMagic 128V under Linux</LI>

<LI>Digital HiNote VP567 with NeoMagic 128ZV under Linux</LI>

<LI><A HREF="http://www.2sic.ch/hoshy/hinote.htm">Digital HiNote VP710</A> with NeoMagic 128ZV under Linux (at 1024x768)</LI>

<LI>Digital HiNote VP725 with NeoMagic 2160 under OpenBSD 2.3 (at 1024x768)</LI>

<LI>Digital HiNote VP735 with NeoMagic 2160 under Linux (at 1024x768)</LI>

<LI>Everex Stepnote SC under Linux</LI>

<LI>Fujitsu FMV-BIBLO NC III13 with NeoMagic 128ZV+ under Linux and FreeBSD-2.2.5R</LI>

<LI>Fujitsu FMV-BIBLO NC13D with NeoMagic 128ZV+ under Linux</LI>

<LI>Fujitsu FMV-513NP6/W with NeoMagic 128ZV under FreeBSD-2.2.5R</LI>

<LI><A HREF="http://www.geocities.com/CapeCanaveral/Lab/5832/fujitsu.html">Fujitsu Lifebook 420D</A> with NeoMagic 128V (NM2093) under Linux</LI>

<LI>Fujitsu Lifebook 635Tx with NeoMagic 128ZV under Linux</LI>

<LI>Gateway Solo 2300 with NeoMagic 128XD under Linux</LI>

<LI>Higrade AS6200 with NeoMagic 128XD under Linux</LI>

<LI>HP OmniBook800 166MMX with NeoMagic 128ZV under Linux</LI>

<LI>HP OmniBook800CS with NeoMagic 128ZV under Linux (use smaller or no virtual screen)</LI>

<LI>HyperData MediaGo 800 under Linux</LI>

<LI>IBM ThinkPad 380D under Linux (also successfully drives external monitor)</LI>

<LI>IBM ThinkPad 380D under Solaris 2.6 x86 (with mods to xf68site.def)</LI>

<LI>IBM ThinkPad 380ED with NeoMagic 128ZV under Linux and Solaris x86</LI>

<LI>IBM ThinkPad 380XD under Linux</LI>

<LI>IBM ThinkPad 535X with NeoMagic 128XD under Linux, FreeBSD-2.2.6R, and GNU/Linux</LI>

<LI>IBM ThinkPad 560X with NeoMagic 128XD under Linux and FreeBSD-2.2.5R</LI>

<LI>IBM ThinkPad 600 with NeoMagic 128XD under Linux</LI>

<LI>LEO Designnote 5200CDT with NeoMagic 128ZV under Linux</LI>

<LI>Medion Laptop under Linux</LI>

<LI>Micron TransPort VIx with NeoMagic 128ZV under Linux</LI>

<LI>Micron TransPort Treks under Linux</LI>

<LI>Micro Transport Xke under Linux (at 1024x768)</LI>

<LI>Mitsubishi (Melco) AMiTY CN model 2 with NeoMagic 128ZV+ under Linux</LI>

<LI>NEC PC-AL13C (98 Aile NX) with NeoMagic 128XD under FreeBSD-2.2.5R</LI>

<LI>NEC PC-AL20C (98 Aile NX) with NeoMagic 128XD under FreeBSD-2.2.6R</LI>

<LI>NEC 2730MT with NeoMagic 128XD under Linux</LI>

<LI>NEC 2760MT under Linux</LI>

<LI>NEC 5080X with NeoMagic 128XD under Linux (at 1024x768)</LI>

<LI>NEC 6060MX with NeoMagic 128XD under Linux</LI>

<LI>Panasonic CF25 Mark3 Ruggedised  under Linux (newer models)</LI>

<LI>Panasonic Let's Note (AL-N2T515J5) with NeoMagic NM2093 under Linux</LI>

<LI>Panasonic Let's Note (AL-N2T516J5) with NeoMagic NM2160 under Linux</LI>

<LI>Panasonic Let's Note (AL-N2T520J5) with NeoMagic NM2160 under Linux and FreeBSD-2.2.5R</LI>

<LI>Panasonic Let's Note Mini (AL-N4T515J5) with NeoMagic 128ZV under Linux, FreeBSD-2.2.6R, and NetBSD-1.3E</LI>

<LI>Sharp Mebius PC-PJ1 with NeoMagic 128ZV+ under FreeBSD-2.2.6R</LI>

<LI>Siemens-Nixdorf SCENIC Mobile 510 with NeoMagic 128XD under Linux</LI>

<LI>Sony PCG-505EX with NeoMagic 128ZV+ under Linux, FreeBSD-2.2.5R, and NetBSD-1.3</LI>

<LI>Sony PCG 705C under Linux</LI>

<LI>Sony PCG 717C with NeoMagic 128XD under Linux</LI>

<LI>Sony VAIO PCG-705 under Linux</LI>

<LI>SOTEC Winbook Slim 133MT with NeoMagic 128ZV under Linux</LI>

<LI>TI Extensa 660 CD and CDT under Linux and FreeBSD</LI>

<LI>TI Travelmate 6160 under Linux</LI>

<LI>Toshiba Libretto 100CT with NeoMagic NM2160 under Linux and FreeBSD-2.2.6R (and 2.2.5R)</LI>

<LI>WinBook LM with NeoMagic NM2070 under Linux (must use "vga=770" option at boot)</LI>

</UL>

Let me know if it works with any other machines not on this list.

<BR>

<HR WIDTH="100%">



<P>For all those who are frustrated by NeoMagic (who is the only graphics

chip manufacturer I know refusing to release specifications on their chips),

here is an <U>unaccelerated</U> X server with support for 8 bpp and 16

bpp at a resolution of 800x600 (note: this server has also been reported to work at 1024x768 with 8 bpp - see the bottom of the page for more info).&nbsp; This implementation is based on the

<A HREF="http://www.xfree86.org/3.3.2/ftp.html">XFree86 3.3.2</A> <A HREF="ftp://ftp.XFree86.org/pub/XFree86/3.3.2/binaries/Linux-ix86/X332lkit.tgz">link kit</A>.



<P>Here is the <A HREF="Neomagic-1.1.tar.gz">site configuration file, imake

file, driver file and bank switching routines</A>.&nbsp; Note that the

server runs in linear mode unless directed not to with the "nolinear" option.&nbsp;

To compile the, take the stock XFree86 3.3.2 link kit source tree, chmod

lib/Server/xf86site.def to be writeable, and untar these files from the

lib/Server directory.&nbsp; Type "./mkmf", and then "make".&nbsp; You can

then make the XF86_SVGA server file in this directory suid root and install

it into your X tree (i.e. /usr/X11R6/bin/XF86_SVGA).&nbsp; Here is a <A HREF="XF86_SVGA.tar.gz">compiled

server</A> if you don't want to bother with making it yourself.  Note that the

image is tarred and gzipped - hopefully the tar will keep various browsers from trying to DOS-ify the executable after it is gunzipped.



You'll need to gunzip it (my browser removed the gz extension without gunzipping the file), untar it, put it in /usr/X11/bin, chown it to root, and chmod it to be suid root.  Make a backup of your old server just in case ;-).  Remember to point any links needed by your particular X implementation to the new server (e.g. my Slackware distribution has one in /var/X11R6/bin/X).



<P>Here is the previous version of the <A HREF="XF86_SVGA-1.0.gz">executable</A> and <A HREF="Neomagic-1.0.tar.gz">source</A> in case I messed something up.



<P>In your /etc/XF86Config, you need something like the following:

<BR>&nbsp;

<UL><TT>Section "Device"</TT>

<BR><TT>&nbsp;&nbsp;&nbsp; Identifier&nbsp; "NeoMagic"</TT>

<BR><TT>&nbsp;&nbsp;&nbsp; Chipset&nbsp;&nbsp;&nbsp; "neomagic"</TT>



<P><TT>&nbsp;&nbsp;&nbsp; VideoRam&nbsp;&nbsp;&nbsp; 1024</TT>



<P><TT>&nbsp;&nbsp;&nbsp; Clocks&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 25.2 28.3

40.0</TT>

<BR><TT>EndSection</TT></UL>

Make sure there is also a mode line like:

<BR>&nbsp;

<UL><TT># 800x600 @ 60 Hz, 37.8 kHz hsync</TT>

<BR><TT>Modeline "800x600"&nbsp;&nbsp;&nbsp;&nbsp; 40&nbsp;&nbsp;&nbsp;&nbsp;

800&nbsp; 856&nbsp; 1040 1056&nbsp;&nbsp; 600&nbsp; 600&nbsp; 626&nbsp;

628 +hsync +vsync</TT></UL>



<P>Also make sure you have a screen section similar to:

<BR>&nbsp;

<UL><TT>Section "Screen"</TT>

<BR><TT>&nbsp;&nbsp;&nbsp; Driver&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "svga"</TT>

<BR><TT>&nbsp;&nbsp;&nbsp; Device&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "NeoMagic"</TT>

<BR><TT>&nbsp;&nbsp;&nbsp; Monitor&nbsp;&nbsp;&nbsp;&nbsp; "LCD"</TT>

<BR><TT>&nbsp;&nbsp;&nbsp; Subsection "Display"</TT>

<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Depth&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

8</TT>

<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Modes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

"800x600"</TT>

<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ViewPort&nbsp;&nbsp;&nbsp;

0 0</TT>

<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Virtual&nbsp;&nbsp;&nbsp;&nbsp;

1024 855</TT>

<BR><TT>&nbsp;&nbsp;&nbsp; EndSubsection</TT>

<BR><TT>&nbsp;&nbsp;&nbsp; Subsection "Display"</TT>

<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Depth&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

16</TT>

<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Modes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

"800x600"</TT>

<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ViewPort&nbsp;&nbsp;&nbsp;

0 0</TT>

<BR><TT>&nbsp;&nbsp;&nbsp; EndSubsection</TT>

<BR><TT>EndSection</TT></UL>

<BR>

Here is my <A HREF="XF86Config.gz">config file</A> (here it is in <A HREF="XF86Config.tar.gz">tar.gz</A> form

in case your browser mangles the first one).  Note that the

image is gzipped, and some browsers automatically decompress the file when

you download it.



<P>The 8 bpp mode supports a virtual screen up to 1024x885, allowing you to

take advantage of the 1024 width speedups.



<P>For the uninitiated, start up your X server using "startx -- -bpp 16"

to get to the 16 bpp mode.



<P><B>New info on getting the server to work in 1024x768 mode</B> (albeit at 8 bpp): add "65" to the "Clocks" line in the XF86Config file, and uncomment the 1024x768 with a "Clock" of 65 (thanks to dwelch@phoneboy.com).  Here is a link to

his <A HREF="http://www.phoneboy.com/pig/howto/neomagic-x.html">XF86Config</A> file and other hints.



<P>I haven't tried this with an external monitor, only the LCD.&nbsp; I'm

not sure what will happen, so use it at your own risk.



<P>Suggestions, comments, fixes, etc. are welcome at <A href="mailto:js@mnsinc.com">js@mnsinc.com (Jeff Shorey)</A>.



<P>No warrantees are implied, use at your own risk, yadda yadda yadda.

<BR>&nbsp;

<BR>BTW NeoMagic should wake up and smell the coffee.&nbsp; They are losing&nbsp;

business by using the Gestapo approach to tech support (maybe they should call themselves NeoNazi ;-) ) - there are probably

thousands of Linux users who intentionally did not buy a laptop with their

chipset because it is not supported.&nbsp; Just ask Diamond, who had a

similar attitude until a few years ago.  FYI as soon as Diamond saw the light,

I purchased their card.

<BR>&nbsp;

<BR>

<CENTER>

This page last updated 7/8/98.

<BR><BR>

At least this many people were annoyed that NeoMagic<BR>did not publish their specifications since 04/23/98<BR><IMG SRC="/cgi-bin/Count.cgi?df=neomagic.dat" align=absmiddle>

</CENTER>



</BODY>

</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -