LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-19-2009, 01:13 PM   #1
jorgemarmo
LQ Newbie
 
Registered: Sep 2009
Posts: 17

Rep: Reputation: 0
DVI monitor on NvidiaGeForce4 -- custom modeline


manual setting of xorg.config
hey guys, I need some help here, I get a Samsung P2070 LCD monitor and when I plug it on the DVI of my GeFroce4 MX420 (running jackalope), it shrink, it's continiously blinking.... On WinXP I had to set a "custom timing" to CVT-RB to make it work... now on the linux nvidia control panel that option is not there, so I check a lot of forums and I beleive to understand that I have to manually set this on the xorg.conf file, anyone can help me?

these are my monitor espec
General
Model Name
SyncMaster P2070, P2070G
LCD Panel
Size
20 inch (49 cm)
Display area
422.8 mm (H) x 249.08 mm (V)
Pixel Pitch
0.2768 mm (H) x 0.2768 mm (V)
Synchronization
Horizontal
30 ~ 81 kHz
Vertical
56 ~ 60 Hz
Display Color
16.7 M
Resolution
Optimum resolution
1600x900@60Hz
Maximum resolution
1600x900@60Hz

Input Signal, Terminated
DVI(Digital Visual Interface)- I
0.7 Vp-p ±5 %
Separate H/V sync, Composite, SOG
TTL level (V high ≥ 2.0 V, V low ≤ 0.8 V)
Maximum Pixel Clock
108MHz (Analog,Digital)
Power Supply
AC 100 - 240 V~ (+/- 10 %), 50/60 Hz ± 3 Hz
Signal Cable
29pin DVI-A to D-sub cable, Detachable
24pin DVI-D to DVI-D cable, Detachable(Sold separately)
Dimensions (W x H x D) / Weight (Simple Stand)
500 x 325 x 47 mm ( 19.7 x 12.8 x 1.9 inch) (Without Stand)
500 x 382 x 190 mm (19.7 x 15.0 x 7.5 inch) (With Stand) / 3.3 kg (7.3 Ibs)
Environmental considerations
Operating
Temperature : 50˚F ~ 104˚F (10˚C ~ 40˚C)
Humidity : 10 % ~ 80 %, non-condensing
Storage
Temperature : -4˚F ~ 113˚F (-20˚C ~ 45˚C)
Humidity : 5 % ~ 95 %, non-condensing
Plug and Play Capability
This monitor can be installed on any Plug & Play compatible system. The interaction of the monitor and the computer systems will provide the best operating conditions and monitor settings. In most cases, the monitor installation will proceed automatically, unless the user wishes to select alternate settings.
Dot Acceptable
TFT-LCD panels manufactured by using advanced semiconductor technology with precision of 1ppm (one millionth) above are used for this product. But the pixels of RED, GREEN, BLUE and WHITE color appear to be bright sometimes or some black pixels may be seen. This is not from bad quality and you can use it without any problems.
For example, the number of TFT-LCD sub pixels contained in this product are 4,320,000.
//
Display Mode
VESA, 1600 X 900
Horizontal Frequency (kHz)
60.000
Vertical Frequency (Hz)
60.000
Pixel Clock (MHz)
108.000
Sync Polarity (H/V)
+/+



This is my xorg.conf file
######
Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
Option "AddARGBGLXVisuals" "True"
EndSection

Section "Module"
Load "glx"
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
Option "NoLogo" "True"
EndSection
#####

Thanks.-
 
Old 09-20-2009, 11:52 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,260

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
I'll have a go, in a lazy sort of way .
http://www.mythtv.org/wiki/Modeline_...#VESA_ModePool
0. Dot Clock In mhz. This tells it how fast to go, and, as a consequence, what your refresh rate is. Simple multiplication gets you close.

The other numbers in a modeline mean (First horizontal)
1. Right hand side visible
2. Right hand side invisible
3. Left side invisible
4. Left side visible. This is the highest number, and there your pixels roll over to zero, and you start again.
(Than vertical)
5. Bottom Visible
6. Bottom Invisible
7. Top Invisible
8. Top Visible.

Vesa doesn't _do_ 1600x900, so a vesa driver cannot select that mode. Get a different driver. Stay away from interlaced modes unless you need them - many things don't handle them. The gap between 2. & 3. above is your flyback time; Likewise vertically, 6. & 7. is your vertical flyback. If you get these wrong, the picture will be off centre.

Try something like (at your own risk, because my hardware won't touch that speed)

# Business Kid's half baked Modeline 1600x900 @ 100Hz
ModeLine "1600x1200" 202.50 1600 1664 1856 2160 900 901 904 940 +HSync +VSync

Your sum to crosscheck is as follows: With the dotclock at 202.5 Mhz, you get 202,500,000 dots written in one second. So a screenful (2160x940) is 2,030,400, and you get 99.73 of them in a second. X rounds numbers a little just for spite to make your sums always be wrong.
 
Old 09-20-2009, 12:08 PM   #3
jorgemarmo
LQ Newbie
 
Registered: Sep 2009
Posts: 17

Original Poster
Rep: Reputation: 0
thanks, but I already have a modeline I would like ti try, is the one I get from Windows (where the monitor plugged via DVI works)... the problem is that I had modify the xorg.conf several times gettin no success, so now my question is how to try a modeline... I'm on jaunty, nvidia drivers...
http://www.linuxquestions.org/questi...jaunty-756505/
 
Old 09-20-2009, 03:59 PM   #4
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 581

Rep: Reputation: 38
Another way, might be to use a program to extract the EDID from the monitor, like read-edid, saving the raw values to a file, and then "feed" that file into your xorg-cong like this:
Code:
Section "Device"
    Identifier  "** NVIDIA (generic)                   [nv]"
    Driver      "nvidia"
    #VideoRam    262144
    # Insert Clocks lines here if appropriate
    Option "CustomEDID" "DFP-0:/etc/X11/edid.raw"
EndSection
Cheers.
 
Old 09-20-2009, 11:54 PM   #5
jorgemarmo
LQ Newbie
 
Registered: Sep 2009
Posts: 17

Original Poster
Rep: Reputation: 0
I try get-edid, but it doesn't works....
 
Old 09-22-2009, 10:08 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,260

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
I have decode-edid.pl on one box here. It wants an eprom . . .
 
Old 09-26-2009, 03:26 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,260

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
I had an interesting experiance here since we last wrote. I replaced my 1280x1024 monitor with a 1440x900 one. I measured the screen and put in the new Screen size, removed the old modes, and put in 1440x900 and 1200x750 into xorg.conf as modes, and tried it.

X booted. It said to itself (in Xorg.0.log)
1440x900 - that's clearly ridiculous; delete that for starters!
1200x750 - no such thing; delete that also.

Hmmm, we have no validated modes, better cobble up something.

(II) NVIDIA(0): Virtual screen size determined to be 1440 x 900
(--) NVIDIA(0): DPI set to (87, 87); computed from "UseEdidDpi" X config
(--) NVIDIA(0): option

It then rolled up a 1440x900 mode and went away happy. It has now saved that off, and accepts 1440x900 as a mode :-). In short, I am suggesting the UseEdidDpi in with all the other graphics options and _no_ modeline.
If X is going to read your edid, why bother yourself?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
1080i Custom Modeline Problems yamaz Fedora 2 09-07-2008 06:46 PM
SAX2 - How to add a custom modeline? mr_r SUSE / openSUSE 2 07-13-2006 07:03 AM
ModeLine settings for a Princeton PTFBVT-17 Monitor conn-fused Linux - Hardware 3 06-27-2006 04:35 AM
Extract Monitor Modeline Xerop Fedora 1 06-07-2006 11:55 AM
Custom modeline mrsolo Linux - Laptop and Netbook 2 08-16-2003 01:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration