nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Anybody can launch X in 8bpp? (http://www.nvnews.net/vbulletin/showthread.php?t=100748)

hkhuh 10-21-07 04:47 PM

Anybody can launch X in 8bpp?
I run Fedora7 and nvidia diriver 100.14.19.
And my video card is Quadro FX 560.
I cannot launch X in 8bpp with nVidia Display Setting(GUI program from nvidia driver).
Anybody can launch X in 8bpp? Please, show me your xorg.conf.
Thank you in advance.

Gray Huh

Thunderbird 10-22-07 01:05 AM

Re: Anybody can lunch X in 8bpp?
Why do you need 8bpp? The drivers still support it but it is not hardware accelerated anymore.

hkhuh 10-22-07 01:15 AM

Re: Anybody can lunch X in 8bpp?
Please, refer to http://www.nvnews.net/vbulletin/showthread.php?t=100612 .

My app can be launched only in 8bpp. But, CIOverlay cannot heal my situation.
So, I tried to launch X in 8bpp to use my app.
Unfortunately, I could not launch X in 8bpp.
Now, I cannot use my app any more.

Thunderbird 10-22-07 02:42 AM

Re: Anybody can lunch X in 8bpp?
Have you thought about using Xnest or Xephyr? It are nested Xservers which you can launch when you are in X. I think both support 8 bit.

AaronP 10-22-07 03:05 AM

Re: Anybody can lunch X in 8bpp?
Try changing the default depth with "nvidia-xconfig --depth 8".

hkhuh 10-22-07 06:16 PM

Re: Anybody can lunch X in 8bpp?
2 Attachment(s)
Dear Aron,
I tried "nvidia-xconfig --depth 8" and I couldn't launch X.
Attached "nvidia-bug-report.8bit.log" is the report when I tried 8bpp X.

Dear Thunderbird,
I tried to launch Xnest like "Xnest :1 -ac -depth 8".
But it couldn't launch X window, and report below,
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 78 (X_CreateColormap)
Serial number of failed request: 135
Current serial number in output stream: 136
And, attached "nvidia-bug-report.24bit.log" is the report when I tried Xnest in 24bpp X.

It is very hard to use 8bpp application, nowadays......

hkhuh 10-22-07 06:42 PM

Re: Anybody can lunch X in 8bpp?
1 Attachment(s)
For your information, I attach the result of xdpyinfo in 24bpp X.

AaronP 10-22-07 10:51 PM

Re: Anybody can launch X in 8bpp?
According to your bug report, the X server is running fine. What exactly is the problem you're seeing?

Oh, and Thunderbird, core X rendering at 8-bit is hardware accelerated. Where'd you get the idea that it wasn't?

hkhuh 10-22-07 11:02 PM

Re: Anybody can launch X in 8bpp?
Dear AaronP,

Yes, I saw my bug report in 8bpp.
It looks nice, but X windows did not show in my monitor.
Small window said me "failed to launch X, I will try in 2 minutes."

Please, talk to me about overlay. 8bpp X window is second solution. Best solution is X window that supports 8bpp overlay. Though my bug reports(in 24bpp) said overlay enabled, Xnest cannot start with above error.

Thank you for your reply, AaronP. And I will wait your advice.

AaronP 10-23-07 02:42 AM

Re: Anybody can launch X in 8bpp?
I'm assuming from your other thread that your application is segfaulting. You should work with the vendor of the application to determine why it's crashing.

hkhuh 10-23-07 02:58 AM

Re: Anybody can launch X in 8bpp?
That program runs well in 8bpp, and crushes in 24bpp with segfault.
And, that application has no concern in this thread to prevent misunderstanding.

I exampled other program, 'Xnest'. Xnest can support 8bpp sub X window if main X window support 8bpp pseudo color. Am I right?

Why did Xnest get dead with error, that was posted in #6?
Do my box support 8bit overlay? If support, how I can launch any apps that runs in 8bpp?

Thank you for your advice, in advance.

AaronP 10-23-07 03:05 PM

Re: Anybody can launch X in 8bpp?
The PseudoColor visuals are slightly different between depth 8 and the color index overlay. The former has 16 bits per colormap entry while the latter only have 15. I suspect the different colormap format is confusing Xnest and your application.

If you have the xv application or the xscreensaver package, you can run one of those applications with the "-visual PseudoColor" argument to see if your overlay is working. xwininfo will tell you the depth of a given window.

All times are GMT -5. The time now is 02:38 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.