So here's my little story.
It begins when I emerge x.org, and try to configure it. Not knowing the technical stuff of my monitor (I have an hp Zv5000 labtop with GeForce4 440 Go 64M), and since ddcxinfo-knoppix was masked for amd64, I figured out, after some trial and error, those settings for /etc/X11/xorg.conf :
Code: Select all
......
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 30-64
VertRefresh 50-100
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "FlatPanel" # [<bool>]
#Option "FPDither" # [<bool>]
#Option "CrtcNumber" # <i>
#Option "FPScale" # [<bool>]
#Option "FPTweak" # <i>
Identifier "Card0"
Driver "nv"
VendorName "nVidia Corporation"
BoardName "NV17 [GeForce4 440 Go 64M]"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x800"
EndSubSection
EndSectionI emerged nvidia-kernel, nvidia-glx and nvidia-settings (since I'm on amd64).
Then I did everything as written in the nvidia/gentoo guide. I cheked my kernel options.
What I got, after comenting out the 'Load "dri"' line and setting the drivers to nvidia, was, no nvidia logo, and then a weird screen, with only 3 big white rectangles, that were some sort of remnants of twm consoles.
Before doing anything else, I took a look at X's log file under /var/...
Code: Select all
$ grep \(EE\) Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
$ grep \(WW\) Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/CID/" does not exist.
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(WW) NVIDIA(0): The user specified HorizSync "30.000-64.000" has been adjusted
(WW) NVIDIA(0): to "30.000-49.000" (the intersection with EDID-specified
(WW) NVIDIA(0): HorizSync "29.000-49.000")
(WW) NVIDIA(0): The user specified VertRefresh "50.000-100.000" has been
(WW) NVIDIA(0): adjusted to "50.000-60.000" (the intersection with
(WW) NVIDIA(0): EDID-specified VertRefresh "0.000-60.000"
(WW) NVIDIA(0): Not using mode "1152x768" (width 1152 is larger than
(WW) NVIDIA(0): EDID-specified maximum 1024)
(WW) NVIDIA(0): Not using mode "576x384":
(WW) NVIDIA(0): horizontal sync start (589) not a multiple of 8
It's weird because when I started X without nvidia driver, it did find the 1280x800 mode.
So, I thought it was the EDID stuff that was messing everything up. I aded a "Option "IgnoreEdid" "yes"" to the card's section, and after that, It got... a bit better : I got the NVIDIA logo, and TWM was "alright", except that my screen is split up in two at the 2/3 of it, by a white line, and below the line, the same screen starts again :
Code: Select all
______________
TWM
--------------
Same TWM again
______________
I thought that it was HorizSync/VertRrefresh related, but tweaking any of those, even a bit, leads to major blinking unstable screen disaster.
Hehe... I just noticed right now while reading the logs again that the problem must be linked somehow to that :
Code: Select all
.....
(II) NVIDIA(0): Not using mode "1280x800" (no mode of this name)
....
(**) NVIDIA(0): Validated modes for display device DFP-0:
(**) NVIDIA(0): Default mode "1280x1024": 108.0 MHz, 64.0 kHz, 60.0 Hz
(**) NVIDIA(0): Default mode "1280x960": 108.0 MHz, 60.0 kHz, 60.0 Hz
...So, how do I force X into 1280x800 mode (mode that works well under my other not free software OS) ?
_____
If someone wants to look at my conf files and logs, they are online, just PM me.




