Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

8 bit pseudcolor and 24 bit support in linux

Status
Not open for further replies.

spweda

Full Member level 3
Joined
Jun 28, 2001
Messages
184
Helped
7
Reputation
14
Reaction score
2
Trophy points
1,298
Activity points
1,261
24 + 8 bit overlay video card

Hi,

If it possible to support 8 bit pseudcolor and 24 bit true color simultaneously in linux? Since some EDA only supports 8 bit display, one way to solve this problem is to start another Xserver in 8 bit mode, but I would like to search for a better solution.

Thanx
 

Nobody

Full Member level 3
Joined
Oct 4, 2001
Messages
165
Helped
9
Reputation
16
Reaction score
7
Trophy points
1,298
Location
Formosa
Activity points
1,593
i have the same problem . even worse is that some windows manager flash the color around the focus xwindow's outline frame . that make me feel un-comfotable .
 

lovanca

Newbie level 6
Joined
Dec 20, 2002
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
28
I don't think it would be possible to have two X servers running at the same time on a single Linux machine. Maybe if you really want to do that, you can try running several Linux machines at the same time using UML but I do not know anything about that.

Maybe a more pragmatic question is : do someone knows a window manager or a theme of a window manager, which does not flash even if you are running a Xserver in 8bit mode ?
I would be very interested by the answer...

Lovanca.
 

tlihu

Full Member level 6
Joined
Jan 2, 2002
Messages
336
Helped
18
Reputation
40
Reaction score
13
Trophy points
1,298
Activity points
2,258
As far as I know, this problem can be addressed in two ways:

Hardware - There are few cards do support visual overlay under certain conditions. Please check xfree86.org for details.

Software - Using VNC. When starting VNC server on the LINUX, add option -cc 3. And then you can use VNC Viewer on the same LINUX machine to run the very apps. The penalty, of course, is degradation in overall performance.

Good luck!
 

kittykat77

Newbie level 6
Joined
Mar 27, 2002
Messages
11
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
80
lovanca said:
I don't think it would be possible to have two X servers running at the same time on a single Linux machine. Maybe if you really want to do that, you can try running several Linux machines at the same time using UML but I do not know anything about that.

Lovanca.
Yes, it is possible to run several X servers on a single Linux machine. You'll have to log in several times :

My setup :

First at the console prompt :
startx -- -bpp 32
The above will start the X server in truecolor mode

Then if you really need application at 8-bit mode, type
ctrl-alt-F2
The above will get you to another login console which you will login and type
startx -- -bpp 8 :1
The above will open another X-session at the :1

You can change between sessions by typing "ctrl-alt-F7" (truecolor) and "ctrl-alt-F8" (8-bit mode)

Of course your XF86Config file must be configured to run 8 and 32 bit. Mine has
8,16 and 32

Hope this helps...
 

spweda

Full Member level 3
Joined
Jun 28, 2001
Messages
184
Helped
7
Reputation
14
Reaction score
2
Trophy points
1,298
Activity points
1,261
Yes. It is possible to open two X servers in Linux environment. I used the Red Hat Linux 7.2.

If your video card support overlay mode, you could add Option "Overlay" in the
X86 configuration file. However, this kind video card costs at least $350 .
 

ttspice

Member level 3
Joined
Dec 24, 2001
Messages
64
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
Republic of Taiwan
Activity points
555
Somebody told me some gfx card supports psuedo color in linux,
it should work...
 

ByteEnable

Junior Member level 2
Joined
Apr 27, 2001
Messages
23
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
102
I also would like to have 8bit apps on my 16,24bit desktop. I have not tried this but Nvidia has this to say:

Option "OverlayDefaultVisual" "boolean "
When overlays are used and this option is enabled (the above statement is set to on ), this option sets the default visual to an overlay visual thereby putting the root window in the overlay. Note: This option is not recommended for RGB overlays.
Default: Option "OverlayDefaultVisual" "off" .

http://download.nvidia.com/XFree86_40/1.0-4191/NVLinuxNotes4191.pdf

Byte
 

spweda

Full Member level 3
Joined
Jun 28, 2001
Messages
184
Helped
7
Reputation
14
Reaction score
2
Trophy points
1,298
Activity points
1,261
I have a Nvdia video card in my HP 8565. Although I could put the option overlay on, it still did not display 8/24 bits simultaneously. You need a high end video card to have the overlay on.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top