PDA

View Full Version : How to configure in DirectColor Mode


Mop
03-14-03, 04:30 AM
Hi,

I've install the new driver of NVIDIA, on a RedHat 8.0.

I want to set my XF86Config file in DirectColor mode (Not TrueColor).

Here my section screen :
Identifier "Screen1"
Device "NVIDIA driver"
Monitor "Monitor1"
DefaultDepth 24
subsection "Display"
Depth 24
Modes "1600x1200"
Visual "DirectColor"
endsubsection

But when I do this, the logo of NVIDIA is display, and next I see a blue screen and finally the system returns in text mode.

Could you help me ?

Thanks a lot

Philippe ;)

bwkaz
03-14-03, 08:09 AM
Well, I know this isn't going to help a lot, but the XF86Config man page says that "not all drivers support DirectColor". :(

Is there a specific reason you need DirectColor rather than TrueColor?

Mop
03-17-03, 02:56 AM
Thanks for your answer.

I've tested 3 graphics cards (ATi, Matrox and NVIDIA) and I cannot use them in directColor mode.
So I think, it's very hard to find the best card which works in directColor.

So I try another solution for my project.

> Is there a specific reason you need DirectColor rather than TrueColor?

The reason is that with DirectColor we can use the colorMap in write/read access, but in TrueColor mode, the colormap is read only.

;) bye

bwkaz
03-17-03, 07:48 AM
Ahh...

<next question> Why do you need to change the color map? True color modes (at 24-bit depth, anyway) can display any color anyway...

Unless you need to do palette effects, like color cycling? I'm not sure how to emulate that, other than writing over the pixels every time...

Mop
03-17-03, 08:12 AM
Hi,

I work on a project where normally, I had proposed to develop with OpenGL. But my boss, tries to reduce the time development and he want reuse a code of an old program running in pseudo-color.

So I try to find a solution (if it's possible), but I think it's too difficult and "stupid".


So Thanks bwkaz for your help...

Bye :p

bwkaz
03-17-03, 09:40 AM
Ahh, one of those things.

Well, good luck!