home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x.i386unix
- Path: sparky!uunet!mcsun!news.funet.fi!news.lut.fi!junki
- From: junki@lut.fi (Juha Nurmela)
- Subject: Re: Accessing video memory bypassing Xserver
- Sender: news@lut.fi (Usenet News)
- Message-ID: <C19usA.Jvv@lut.fi>
- Date: Fri, 22 Jan 1993 20:12:09 GMT
- References: <none> <C10E8t.9s5@lut.fi> <epstein.727300746@trwacs> <1993Jan22.004818.1494@cbnewsj.cb.att.com>
- Nntp-Posting-Host: boa.cc.lut.fi
- Organization: Lappeenranta University of Technology, Lappeenranta, Finland
- Lines: 49
-
- In article <1993Jan22.004818.1494@cbnewsj.cb.att.com>, dwex@cbnewsj.cb.att.com (david.e.wexelblat) writes:
- |> In article <epstein.727300746@trwacs> epstein@trwacs.fp.trw.com (Jeremy Epstein) writes:
- |> > junki@lut.fi (Juha Nurmela) writes:
- |> >
- ...
- |> Jeremy is exactly right. SVGA only allows a 64k window to be available
- |> to the CPU at any given time (well, there are some odd exceptions, but we
- |> won't go into that :->).
- |>
- How could I be so silly. I was thinking that the video ram would be
- available like any other ram. Obviously this cannot be true. (Kicking myself).
- |> >
- |> > You could try to synchronize your server with the client via an
- |> > extension to know which bank is active, but I doubt that you'd be
- |> > able to get it to work correctly, since they'd still never stay
- |> > synchronized.
- |>
- Rethinking it, this doesn't sound so attractive any more. Would be very
- ineffective, at least. The server flips these banks FAST, correct ? :)
-
- |> Any particular reason that the MITSHM extension doesn't already do what
- |> you're after? If you're using an ET4000, I think you would be (very)
- |> hard pressed to find a faster way to do this than creating shared-memory
- |> pixmaps, and then XCopyArea'ing the whole pixmap to the screen. Unless
- |> you want to reimplement SpeedUp (which I don't recommend).
- |>
- This sounds good. I had scanned the manual pages for something like this
- before I posted my question, but they didn't mention MITSHM anywhere.
- Should have taken a look at /usr/include/X11/extensions/...
- Can't get away without recompiling the server, however. This extension
- might not exist in the XFree86 for 386BSD by default.
-
- |> >
- |> > I think your best bet is try a more sensible hardware architecture
- |> > than the IBM PC and VGA cards.
- |>
- |> Now, now, Jeremy. Not everyone has that option :->
- |>
- The PC is what it is. We are fortunate to have lots of GREAT software for it.
- The simple program I have sucks a picture from a card on the isa,
- pushes it through Xlib and sockets to the Xserver which shuffles the bytes
- back to the isa. The single rep insl for 131072 bytes from grabber card
- takes half of the time !
- Deep bow for Teuvo Lahti and the people at MIT and UCB,
- and for the XFree86-team and William Jolitz and all others for doing a good job.
- And to IBM too ! (hmmm...)
-
- --
- Juha Nurmela, expert historian.
-