Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
32 bit clr w/Geforce 2 & xfree86?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
IvoryTiger
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jun 2002
Posts: 132

PostPosted: Thu Jun 27, 2002 5:10 am    Post subject: 32 bit clr w/Geforce 2 & xfree86? Reply with quote

Here is the Screen section of my /etc/X11/XF86Config. My quesiton is this: If I change the DefaultDepth to 32 from 24, I get 3 flashes as it tries each resolution and the drops back to the console.

Section "Screen"
Identifier "Screen 1"
Device "nVidia GeForce2 GTS Pro"
Monitor "ViewSonic A70"
DefaultDepth 24

Subsection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 32
Modes "1280x1024" "1152x864" "1024x768"
ViewPort 0 0
EndSubsection
EndSection

This is the error message in /var/log/kdm.log

XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 January 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.19-r1 i686 [ELF]
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Wed Jun 26 16:21:35 2002
(==) Using config file: "/etc/X11/XF86Config"
(EE) NVIDIA(0): Given color depth (32) is not supported
(EE) NVIDIA(0): *** Aborting ***
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org.

Any help would be much appreciated, as this works great in 8, 16, and 24 bit mode.
_________________
--
For those about to compile...we salute you!
Back to top
View user's profile Send private message
jackD
n00b
n00b


Joined: 23 Jun 2002
Posts: 17

PostPosted: Thu Jun 27, 2002 6:25 am    Post subject: Reply with quote

You're getting bits confused with depth. Here's a quote right out of Nvidia.

Quote:

DEPTH, BITS PER PIXEL, AND PITCH

While not directly a concern when programming modes, the bits used per
pixel is an issue when considering the maximum programmable resolution;
for this reason, it is worthwhile to address the confusion surrounding
the terms "depth" and "bits per pixel". Depth is how many bits of
data are stored per pixel. Supported depths are 8, 15, 16, and 24.
Most video hardware, however, stores pixel data in sizes of 8, 16, or
32 bits; this is the amount of memory allocated per pixel. When you
specify your depth, X selects the bits per pixel (bpp) size in which to
store the data. Below is a table of what bpp is used for each possible
depth:

depth bpp
===== =====
8 8
15 16
16 16
24 32

Lastly, the "pitch" is how many bytes in the linear frame buffer there are
between one pixel's data, and the data of the pixel immediately below.
You can think of this as the horizontal resolution multiplied by the
bytes per pixel (bits per pixel divided by 8). In practice, the pitch may
be more than this product because video hardware often has requirements
that the pitch be a multiple of some value.


Info found at http://download.nvidia.com/XFree86_40/1.0-2960/README.txt

Simply put a depth of 24 = 32 bits. That's the highest it goes.

Jack
Back to top
View user's profile Send private message
lain iwakura
Apprentice
Apprentice


Joined: 09 May 2002
Posts: 176
Location: sd, ca

PostPosted: Thu Jun 27, 2002 6:48 am    Post subject: Reply with quote

the above is correct. check the readme above. :P you do not need this section:

Code:

 Subsection "Display"
Depth 32
Modes "1280x1024" "1152x864" "1024x768"
ViewPort 0 0
EndSubsection



:P
_________________
[resident anime junkie] -- not just a linux freak.
Back to top
View user's profile Send private message
IvoryTiger
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jun 2002
Posts: 132

PostPosted: Thu Jun 27, 2002 4:43 pm    Post subject: Thank you very much Reply with quote

I figured it was something like this, but just wanted to be certain.
_________________
--
For those about to compile...we salute you!
Back to top
View user's profile Send private message
IvoryTiger
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jun 2002
Posts: 132

PostPosted: Thu Jun 27, 2002 4:44 pm    Post subject: Thank you very much Reply with quote

I figured as much, but wanted to be certain.
_________________
--
For those about to compile...we salute you!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum