Author Topic: [SOLVED] 0710beta3 Nvidia Green line  (Read 1632 times)

slampt

  • Veteran
  • ***
  • Posts: 102
    • View Profile
[SOLVED] 0710beta3 Nvidia Green line
« on: February 09, 2008, 02:52:20 am »
Hi Guys,

I have just installed Linuxmce 0710 Beta3 on my AMD64 system.  My MD has a NVIDIA GeForce 7300 GS and when the res is set to 1080p I get a Green Line on the left side of the screen.  It is even more noticeable when playing movies etc.

Any idea why this is?
Thanks
« Last Edit: February 27, 2008, 11:51:57 pm by slampt »

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: 0710beta3 Nvidia Green line
« Reply #1 on: February 09, 2008, 09:08:56 am »
Easy to fix. Edit your xorg.conf file and turn on UseEDID. This will fix it immediately on the next boot. If your monitor reports incorrect dimension then you will get tiny or massive fonts and will need to turn off UseEDIDDPI in the same file.

slampt

  • Veteran
  • ***
  • Posts: 102
    • View Profile
Re: 0710beta3 Nvidia Green line
« Reply #2 on: February 26, 2008, 12:01:50 pm »
Hey Colinjones,

Thanks for that it helped get rid of the green line but now the top and the bottom of the screen is cut off.
Any ideas? I tried running the wizard again but it just reset my config :~

Here is the screen part of my config

<SNIP>
Section "Screen"
        Identifier      "Screen0"
        Device          "Card0"
        Monitor         "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Modes           "1920x1080"
                Virtual         1920 1080
        EndSubSection
        Option "UseEDIDDPI" "False"
        Option "XvmcUsesTextures" "true"
        Option "renderAccel" "true"
        Option "NoDDCValue"
        Option "UseEDID" "True"
        Option "ExactModeTimingsDVI" "true"
        Option "NoLogo" "true"
        Option "NoBandWidthTest" "true"
        Option "ModeValidation" "NoDFPNativeResolutionCheck, NoEdidMaxPClkCheck, NoMaxPClkCheck, AllowInterlacedModes, AllowNon60HzDFPModes"
        Option "DynamicTwinView" "false"
        Option "AllowGLXWithComposite" "true"
        Option "AddARGBGLXVisuals" "true"
        Option  "TVStandard"    "1080p (16:9)"

</SNIP>

Cheers
Slampt.
« Last Edit: February 26, 2008, 12:44:56 pm by slampt »

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: 0710beta3 Nvidia Green line
« Reply #3 on: February 26, 2008, 01:40:53 pm »
Minor thing, but it think your TVStandard should be "HD1080p" - although this will probably not make any diff if you are using a DFP.

Once you enable EDID, the next step is to go through your /var/log/Xorg.conf with a fine tooth comb. This will log what happens as X interogates your monitor. You will be able to see what they talk about and agree on, if anything! From that you may be able to design a mode(line) that corrects the problem.

BTW - it maybe as simple as the aspect ratio/ screen size options on your TV. Especially if you have any "autoscan/adjust" options.

slampt

  • Veteran
  • ***
  • Posts: 102
    • View Profile
Re: 0710beta3 Nvidia Green line
« Reply #4 on: February 27, 2008, 12:56:51 am »
Cheers for that, I have gone through the xorg log and collected what I think is the relevant info,

<SNIP>
(II) NVIDIA(0):   Validating Mode "1920x1080":
(II) NVIDIA(0):     1920 x 1080 @ 50 Hz
(II) NVIDIA(0):     Mode Source: EDID
(II) NVIDIA(0):       Pixel Clock      : 148.500 MHz
(II) NVIDIA(0):       HRes, HSyncStart : 1920, 2448
(II) NVIDIA(0):       HSyncEnd, HTotal : 2492, 2640
(II) NVIDIA(0):       VRes, VSyncStart : 1080, 1084
(II) NVIDIA(0):       VSyncEnd, VTotal : 1089, 1125
(II) NVIDIA(0):       H/V Polarity     : +/+
(II) NVIDIA(0):     Mode is valid.


(II) NVIDIA(0):   Validating Mode "1920x1080":
(II) NVIDIA(0):     1920 x 1080 @ 60 Hz
(II) NVIDIA(0):     Mode Source: EDID
(II) NVIDIA(0):       Pixel Clock      : 148.350 MHz
(II) NVIDIA(0):       HRes, HSyncStart : 1920, 2008
(II) NVIDIA(0):       HSyncEnd, HTotal : 2052, 2200
(II) NVIDIA(0):       VRes, VSyncStart : 1080, 1084
(II) NVIDIA(0):       VSyncEnd, VTotal : 1089, 1125
(II) NVIDIA(0):       H/V Polarity     : +/+
(II) NVIDIA(0):     Mode is valid.

</SNIP>

I now need to research modelines and make one from one of the above?
Also which section should I put the modeline, under screen?

Regards
Slampt

slampt

  • Veteran
  • ***
  • Posts: 102
    • View Profile
Re: 0710beta3 Nvidia Green line
« Reply #5 on: February 27, 2008, 02:12:17 am »
Ok just an update,

1920x1080@50 - comes up as unsupported by my LCD (samsung LA40M81)
1920x1080@60 - does the same thing as the default modeline (Modeline        "1920x1080" 138.5 1920 1968 2000 2080 1080 1082 1087 1111)
Looking at it more closely I think it is only the bottom of the menu that is cut off.

Ok, setting my LCD to "just scan" and not specifically "16:9" appears to have helped. *fingers crossed*
Thanks Colin, for all your help :P

Slampt
« Last Edit: February 27, 2008, 02:16:23 am by slampt »

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: 0710beta3 Nvidia Green line
« Reply #6 on: February 27, 2008, 02:39:28 am »
1. Look in the modeline database on the wiki in mythtv.org - I found the exact modeline for my Samsung LA46M81BDX which is very similar. But had the overscan problem. Got no help at all from Samsung support until I threatened to retun it and ask for my money back!

2. The 50Hz mode says not supported with a standard modeline, but the one from the mythtv site works fine, but has the overscan/scaling issue I mentioned above. When Samsung finally started getting helpful, they got me to use the Just Scan option and that fixed it! Amazing, the only combination of modelines and TV settings I hadn't tried!

3. Problem is, the Just Scan option does not survive a core reboot if you are using HDMI/DVI connection. Bizarely it does survive turning the TV off and on again!

4. Yes the stuff you got out is the type of thing you should be looking for, but you'll note that it is a very long list and some are sections for modes it probes, others for modes it calculates from modelines, some from EDID, etc. You should read it all carefully to be sure not only which ones it validates, but also which one it SELECTS at the end!

5. The numbers you gave below relate directly to the modeline:

modeline "<name>" <pixel clock in MHz> <HRes> <HSyncStart> <HSyncEnd> <HTotal> <VRes> <VSyncStart> <VSyncEnd> <VTotal>

I think generally you can ignore the h/v polarity for standard modes. But you can explicitly state them and the end of the line, something like -vsync +hsync...

slampt

  • Veteran
  • ***
  • Posts: 102
    • View Profile
Re: 0710beta3 Nvidia Green line
« Reply #7 on: February 27, 2008, 05:35:12 am »
Hey Colin,

Cheers for the reply, I think I am gonna have to stick with the just scan, as I can't seem to get it to work any other way, though I am still having problems with 50Hz....

Also (this is OT) have you managed to control your samsung from the rs232 interface?

Cheers
Joe


colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: 0710beta3 Nvidia Green line
« Reply #8 on: February 27, 2008, 06:49:25 am »
No, the 232 is explicited stated in the literature for "Service Only" which means flash fireware upgrades and diagnostics. I don't necessarily believe this, however I haven't found anything anywhere that says how you could get around this. If you find anything, let me know...