8 bit Xwindows inside a 16bit (or more) Xwindow?

8 bit Xwindows inside a 16bit (or more) Xwindow?

Post by Jim Smal » Mon, 13 Jan 1997 04:00:00



I have my  Xserver in 16 bit color mode.  I like seeing my jpegs that
way.  Unforuntately, I have a number of apps that complain and won't
function if the bpp is not 8.  These apps are applications running on
our other unix systems (commercial packages, the dealers won't support
anything but 8 bit).  I remember hearing something about a 'virtual X
server'  Something aboutrunning an X server inside of an X server.
Is there anyway Icould bring up a virtual 8 bit X server up inside of my
16 bit X server?

if so, how?  (where would I read to find info on such a thing?)

--
http://www.nethole.com  <-- it doesn't bite much, really (at least not
yet)
http://www.nethole.com/lockmeup.shtml  <--- locks up windows 95 machines

It's not how far you fall, but how high you bounce

 
 
 

8 bit Xwindows inside a 16bit (or more) Xwindow?

Post by Jurgen Exne » Tue, 14 Jan 1997 04:00:00




Quote:> I have my  Xserver in 16 bit color mode.  I like seeing my jpegs that
> way.  Unforuntately, I have a number of apps that complain and won't
> function if the bpp is not 8.  These apps are applications running on
> our other unix systems (commercial packages, the dealers won't support
> anything but 8 bit).  I remember hearing something about a 'virtual X
> server'  Something aboutrunning an X server inside of an X server.
> Is there anyway Icould bring up a virtual 8 bit X server up inside of my
> 16 bit X server?

> if so, how?  (where would I read to find info on such a thing?)

I remember that I read somthing about virtual servers in the documantation
of the latest XFree 3.2.
Maybe you will find some pointer to more information there

jue

--
The opinions expressed in this message are my own personal views
and do not reflect the official views of Microsoft Corporation

 
 
 

8 bit Xwindows inside a 16bit (or more) Xwindow?

Post by Jim Mansfie » Thu, 16 Jan 1997 04:00:00






>> I have my  Xserver in 16 bit color mode.  I like seeing my jpegs that
>> way.  Unforuntately, I have a number of apps that complain and won't
>> function if the bpp is not 8.  These apps are applications running on
>> our other unix systems (commercial packages, the dealers won't support
>> anything but 8 bit).  I remember hearing something about a 'virtual X
>> server'  Something aboutrunning an X server inside of an X server.
>> Is there anyway Icould bring up a virtual 8 bit X server up inside of my
>> 16 bit X server?

>> if so, how?  (where would I read to find info on such a thing?)

>I remember that I read somthing about virtual servers in the documantation
>of the latest XFree 3.2.
>Maybe you will find some pointer to more information there

Hi,

I was having a lot of trouble with this a while back. I wanted to be able to
run my X server in 16 bpp mode and still use 8 bpp X applications (IDL in
particular). I tried all sorts of things and wound up sending an email for
help to XFree86. They informed me that the limitation was not with the
X server (I had tried both XFree86 and MetroX) but with the PC hardware.

Some (all?) of the unix vendors have special additions to their video cards
to allow them to run both 16 bpp and 8 bpp simultaneously. If you run
'xdpyinfo' from inside one of your xterms, you will see all the possible
colour modes you are allowed. If you run at 8 bpp you will see lots
of different ones. If you run at 16 bpp (or 24 or 32) you will only see
a couple if you run under Linux. If you were to run the same test from
say an SGI or a Sun, you would see the 8 bpp visuals while running a
16 bpp Xserver.

So, the bottom line to your question, as much as I hated to hear it, is that
XFree86 will not and can not do what you want it to do. For that you need
to get a much more expensive computer like an SGI or a Sun :-(

Sorry,

-Jim

--

National Research Council of Canada    Phone:    (204) 984-5191
Institute for Biodiagnostics           Fax:      (204) 984-5472
http://www.ibd.nrc.ca/~mansfield/

 
 
 

8 bit Xwindows inside a 16bit (or more) Xwindow?

Post by Donald E. Hammon » Thu, 16 Jan 1997 04:00:00


On Sun, 12 Jan 1997 11:28:24 -0800,


> I have my  Xserver in 16 bit color mode.  I like seeing my jpegs that
> way.  Unforuntately, I have a number of apps that complain and won't
> function if the bpp is not 8.  These apps are applications running on
> our other unix systems (commercial packages, the dealers won't support
> anything but 8 bit).  I remember hearing something about a 'virtual X
> server'  Something aboutrunning an X server inside of an X server.
> Is there anyway Icould bring up a virtual 8 bit X server up inside of my
> 16 bit X server?

> if so, how?  (where would I read to find info on such a thing?)

I haven't tried it (yet) so I may be way off, but might Xnest do what you
want?  There has recently been a discussion about Xnest (however, not
regarding color depth) on the caldera-wabi mail list, and looking at the
man page it looks to this novice like it will support a different color
depth.

- Don


___________________________________________________________________________
Use of this message and/or email address for commercial purposes (including
unsolicited "junk" mailings) is STRICTLY PROHIBITED and  MAY BE A VIOLATION
OF FEDERAL LAW   [Telephone Consumer Protection Act of 1991, and Collateral
Code of Federal Regulations (47 CFR 64.1200)]

 
 
 

8 bit Xwindows inside a 16bit (or more) Xwindow?

Post by Chris Underhil » Fri, 17 Jan 1997 04:00:00


-----BEGIN PGP SIGNED MESSAGE-----

: I have my  Xserver in 16 bit color mode.  I like seeing my jpegs that
: way.  Unforuntately, I have a number of apps that complain and won't
: function if the bpp is not 8.  These apps are applications running on
: our other unix systems (commercial packages, the dealers won't support
: anything but 8 bit).  I remember hearing something about a 'virtual X
: server'  Something aboutrunning an X server inside of an X server.
: Is there anyway Icould bring up a virtual 8 bit X server up inside of my
: 16 bit X server?

: if so, how?  (where would I read to find info on such a thing?)

The problem is with the PC video hardware - SVGA cards, apart from a few
high-end ones, will only allow a single colour depth to be displayed at
any one time. The solution I use for this problem is to run two X servers,
one at 8bpp and the other at 16bpp. These I start using

startx -- -bpp 16

and

startx -- -bpp 8 :1

On my system, VT7 becomes the 16bit server and VT8 runs the 8bit server. I can
swap between them using CTRL-ALT-F7 and CTRL-ALT-F8. This is, of course, quite
a memory hog though and I wouldn't really recommend soing this unless you've
got at least 24MB of RAM.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i

iQCVAwUBMt4onWZVEN0KDxVBAQEeQwQAo8hmxqKNi6vuedrVqy0ebaFHWwheZ8aG
hWDR+8FB3LjTdOoctpp3DBc6S8d67qWiytGL3mSqlCR2zrFAcvjFaOs83PMerA5s
GUKuwNvfjo1Pewi7xCGDZFEneGcNgDsdmjTJqhQijbx1EHVt2+3eUfYAwwpuBHty
g/8Omfg1Ri4=
=+PRy
-----END PGP SIGNATURE-----