Announcement

Collapse
No announcement yet.

Screen resolution problem.

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Screen resolution problem.

    Hi guys and glad for joining you.
    Happy Holiday Season for all!!!


    I just installed Kubuntu and I have problem with my screen detection.
    I have a Samsung Screenmaster 943SN. Unfortunately, googling for this particular model, revealing that needs tweaking in order to work in Linux (othrwise, I'm fully stasfied from it).

    As usual, TFT screens working properly, only at default resolution. Unlike CRTs (where you can choose the mode you prefer), other modes are garbages.
    For my screen, the default mode is 1360X768.

    My display card is Nvidia Geforce 6150se Nforce 430 (a very common model, which was coming onboard at the time which I bougth my pc).

    I installed Kubuntu and Nvidia driver (current + updates).
    It couldn't see properly my screen, because it show it as CRT-0 (while it isn't CRT).
    The Nvidia control panel allowing me to choose from various modes, with the default one (1360X768) the maximum available.
    While the other modes working properly, when choosing the 1360X768, can't see correctly my screen and the K start menu is at the far left, out of the screen and out of my reach of course.
    Unfortunately, the other modes (who working properly), are pretty inconvenient.

    Is there anything I can do?


    Here are, some infos of my system:
    Latest stable version Kubuntu x64, fully updated.
    Desktop, AMD, No GPU, 1,75GB RAM, 1 HD 1 TB, with some partitions, 1 DVD RAM.


    xorg.conf:
    Code:
    # nvidia-settings: X configuration file generated by nvidia-settings
    # nvidia-settings:  version 304.51  (buildd@komainu)  Fri Oct 12 12:53:49 UTC 2012
    
    
    Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
        Option         "Xinerama" "0"
    EndSection
    
    Section "Files"
    EndSection
    
    Section "InputDevice"
    
        # generated from default
        Identifier     "Mouse0"
        Driver         "mouse"
        Option         "Protocol" "auto"
        Option         "Device" "/dev/psaux"
        Option         "Emulate3Buttons" "no"
        Option         "ZAxisMapping" "4 5"
    EndSection
    
    Section "InputDevice"
    
        # generated from default
        Identifier     "Keyboard0"
        Driver         "kbd"
    EndSection
    
    Section "Monitor"
    
        # HorizSync source: builtin, VertRefresh source: builtin
        Identifier     "Monitor0"
        VendorName     "Unknown"
        ModelName      "CRT-0"
        HorizSync       28.0 - 55.0
        VertRefresh     43.0 - 72.0
        Option         "DPMS"
    EndSection
    
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GeForce 6150SE nForce 430"
    EndSection
    
    Section "Screen"
    
    # Removed Option "metamodes" "nvidia-auto-select +0+0; 1152x864_60 +0+0"
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        DefaultDepth    24
        Option         "Stereo" "0"
        Option         "nvidiaXineramaInfoOrder" "CRT-0"
        Option         "metamodes" "1152x864_60 +0+0; nvidia-auto-select +0+0"
        SubSection     "Display"
            Depth       24
        EndSubSection
    EndSection
    xrandr:
    Code:
    Screen 0: minimum 8 x 8, current 1152 x 864, maximum 4096 x 4096
    VGA-0 connected 1152x864+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
       1024x768       60.0 +
       1360x768       60.0     59.8  
       1152x864       60.0* 
       800x600        72.2     60.3     56.2  
       680x384       119.9    119.6  
       640x480        59.9  
       576x432       120.1  
       512x384       120.0  
       400x300       144.4    120.6    112.7  
       320x240       120.1
    Last edited by Achaean; Dec 26, 2012, 02:51 AM. Reason: Additional info added.
    Kubuntu 13.10 saucy 3.11.0-12-generic 64bit (el_GR.UTF-8, kde-plasma), Windows 7
    AMD Athlon 64 X2 Dual Core Processor 5600+ ‖ RAM 1750 MiB ‖ ALiveNF6P-VSTA
    nVidia C61 [GeForce 6150SE nForce 430] [10de:03d0] {nvidia}
    eth0: nVidia MCP61 Ethernet [10de:03ef] (rev a2)

    #2
    Try changing

    Option "metamodes" "1152x864_60 +0+0; nvidia-auto-select +0+0"

    to

    Option "metamodes" "1360x768_60 +0+0; nvidia-auto-select +0+0"


    Then create a modeline for 1360x768 @ 60hz using "cvt" like this in a terminal: cvt 1360 768 60

    Put the results into the monitor section like this:

    Modeline "1360x768_60" <CUT AND PASTE FROM cvt OUTPUT>


    If you get the same results as before you might have to build your own modeline manually. You might also try using 59.8 htz instead of 60

    Please Read Me

    Comment


      #3
      Correct!!!
      Success!!!


      After a lot of trial and error, this online modeline calculator (I found it at Wikipedia): http://www.arachnoid.com/modelines/, gave me the correct values!

      xorg.conf:
      Code:
      # nvidia-settings: X configuration file generated by nvidia-settings
      # nvidia-settings:  version 304.51  (buildd@komainu)  Fri Oct 12 12:53:49 UTC 2012
      
      
      Section "ServerLayout"
          Identifier     "Layout0"
          Screen      0  "Screen0" 0 0
          InputDevice    "Keyboard0" "CoreKeyboard"
          InputDevice    "Mouse0" "CorePointer"
          Option         "Xinerama" "0"
      EndSection
      
      Section "Files"
      EndSection
      
      Section "InputDevice"
      
          # generated from default
          Identifier     "Mouse0"
          Driver         "mouse"
          Option         "Protocol" "auto"
          Option         "Device" "/dev/psaux"
          Option         "Emulate3Buttons" "no"
          Option         "ZAxisMapping" "4 5"
      EndSection
      
      Section "InputDevice"
      
          # generated from default
          Identifier     "Keyboard0"
          Driver         "kbd"
      EndSection
      
      Section "Monitor"
      
          # HorizSync source: builtin, VertRefresh source: builtin
          Identifier     "Monitor0"
          VendorName     "Unknown"
          ModelName      "CRT-0"
          HorizSync       28.0 - 55.0
          VertRefresh     43.0 - 72.0
          ModeLine       "1360x768_60.00" 84.72 1360 1424 1568 1776 768 769 772 795 -hsync +vsync
          Option         "DPMS"
      EndSection
      
      Section "Device"
          Identifier     "Device0"
          Driver         "nvidia"
          VendorName     "NVIDIA Corporation"
          BoardName      "GeForce 6150SE nForce 430"
      EndSection
      
      Section "Screen"
      
      # Removed Option "metamodes" "nvidia-auto-select +0+0; 1152x864_60 +0+0"
      # Removed Option "metamodes" "1360x768_59 +0+0; nvidia-auto-select +0+0"
      # Removed Option "metamodes" "1360x768_59 +0+0; nvidia-auto-select +0+0"
      # Removed Option "metamodes" "1152x864_60 +0+0; nvidia-auto-select +0+0"
          Identifier     "Screen0"
          Device         "Device0"
          Monitor        "Monitor0"
          DefaultDepth    24
          Option         "Stereo" "0"
          Option         "nvidiaXineramaInfoOrder" "CRT-0"
          Option         "metamodes" "1360x768_60.00 +0+0; nvidia-auto-select +0+0"
          SubSection     "Display"
              Depth       24
          EndSubSection
      EndSection
      xrandr:
      Code:
      Screen 0: minimum 8 x 8, current 1360 x 768, maximum 4096 x 4096
      VGA-0 connected 1360x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
         1024x768       60.0 +
         1360x768       60.0*    60.0     59.8  
         1152x864       60.0  
         800x600        72.2     60.3     56.2  
         680x384       119.9    119.6  
         640x480        59.9  
         576x432       120.1  
         512x384       120.0  
         400x300       144.4    120.6    112.7  
         320x240       120.1
      Seems like downgrading a bit the refresh rate to 59.8, solved the problem.
      If I put the rate back to 60 (from nvidia control panel), it scrables the screen output again.

      PS1: I'll mark this thread SOLVED. If somenthing else is still misiing, please tell me.
      PS2: Just a sidequestion, just out of curiousity. Where Krandr is? It isn't installed and I couldn't found it on repositories.
      Xrandr, is working just fine of course.
      Last edited by Achaean; Dec 27, 2012, 02:04 AM. Reason: Updated infos.
      Kubuntu 13.10 saucy 3.11.0-12-generic 64bit (el_GR.UTF-8, kde-plasma), Windows 7
      AMD Athlon 64 X2 Dual Core Processor 5600+ ‖ RAM 1750 MiB ‖ ALiveNF6P-VSTA
      nVidia C61 [GeForce 6150SE nForce 430] [10de:03d0] {nvidia}
      eth0: nVidia MCP61 Ethernet [10de:03ef] (rev a2)

      Comment


        #4
        The only thing left would be to set it so it defaults to the correct refresh rate. Assuming the modeline is correct for 59.8, you can force the monitor frequencies with these lines in the monitor section:

        Option "UseEDIDFreqs" "false"
        HorizSync 31-101
        VertRefresh 59.8


        This should fix it at 59.8. If this doesn't work, you might try putting the xrandr command that gets you set correctly in /etc/X11/Xsetup. If I'm not mistaken, LightDM (the new default desktop manager) does not load this file by default like KDM did. If you need to use this method, let me know and I'll walk you through it - not too tough to do but I'm not at by Kubuntu box at the moment and I don't want to post it from memory.

        As far as Krandr I have no idea!

        Please Read Me

        Comment


          #5
          Originally posted by oshunluvr View Post
          The only thing left would be to set it so it defaults to the correct refresh rate. Assuming the modeline is correct for 59.8, you can force the monitor frequencies with these lines in the monitor section:

          Option "UseEDIDFreqs" "false"
          HorizSync 31-101
          VertRefresh 59.8
          OK!

          I added them to xorg.conf.
          xorg.conf:
          Code:
          # nvidia-settings: X configuration file generated by nvidia-settings
          # nvidia-settings:  version 304.51  (buildd@komainu)  Fri Oct 12 12:53:49 UTC 2012
          
          
          Section "ServerLayout"
              Identifier     "Layout0"
              Screen      0  "Screen0" 0 0
              InputDevice    "Keyboard0" "CoreKeyboard"
              InputDevice    "Mouse0" "CorePointer"
              Option         "Xinerama" "0"
          EndSection
          
          Section "Files"
          EndSection
          
          Section "InputDevice"
          
              # generated from default
              Identifier     "Mouse0"
              Driver         "mouse"
              Option         "Protocol" "auto"
              Option         "Device" "/dev/psaux"
              Option         "Emulate3Buttons" "no"
              Option         "ZAxisMapping" "4 5"
          EndSection
          
          Section "InputDevice"
          
              # generated from default
              Identifier     "Keyboard0"
              Driver         "kbd"
          EndSection
          
          Section "Monitor"
          
              # HorizSync source: builtin, VertRefresh source: builtin
              Identifier     "Monitor0"
              VendorName     "Unknown"
              ModelName      "CRT-0"
              Option "UseEDIDFreqs" "false"
              HorizSync       31 - 101
              VertRefresh     59.8
              ModeLine       "1360x768_60.00" 84.72 1360 1424 1568 1776 768 769 772 795 -hsync +vsync
              Option         "DPMS"
          EndSection
          
          Section "Device"
              Identifier     "Device0"
              Driver         "nvidia"
              VendorName     "NVIDIA Corporation"
              BoardName      "GeForce 6150SE nForce 430"
          EndSection
          
          Section "Screen"
          
          # Removed Option "metamodes" "1152x864_60 +0+0; nvidia-auto-select +0+0"
              Identifier     "Screen0"
              Device         "Device0"
              Monitor        "Monitor0"
              DefaultDepth    24
              Option         "Stereo" "0"
              Option         "nvidiaXineramaInfoOrder" "CRT-0"
              Option         "metamodes" "1360x768_60.00 +0+0; nvidia-auto-select +0+0"
              SubSection     "Display"
                  Depth       24
              EndSubSection
          EndSection
          xrandr:
          Code:
          Screen 0: minimum 8 x 8, current 1360 x 768, maximum 4096 x 4096
          VGA-0 connected 1360x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
             1024x768      120.1 +   60.0  
             2048x1536      60.0  
             1920x1440      60.0  
             1920x1200      60.0  
             1920x1080      59.9  
             1856x1392      60.0  
             1792x1344      60.0  
             1680x1050      60.0     59.9  
             1600x1200      60.0  
             1600x1024      60.2  
             1440x900       59.9  
             1400x1050      60.0  
             1360x768       60.0*    60.0     59.8  
             1280x1024      60.0  
             1280x960       60.0  
             1152x864       60.0  
             960x720       120.0  
             960x600       120.0  
             960x540       120.0  
             928x696       120.1  
             896x672       120.0  
             840x525       120.0    119.8  
             800x600       120.0     60.3  
             800x512       120.3  
             720x450       119.8  
             680x384       119.9    119.6  
             640x512       120.0  
             640x480       120.0     59.9  
             576x432       120.1  
             512x384       120.0  
             400x300       120.6  
             320x240       120.1
          Anything else needs to be done?
          (I can't figure out, if additional steps are necessary).
          Kubuntu 13.10 saucy 3.11.0-12-generic 64bit (el_GR.UTF-8, kde-plasma), Windows 7
          AMD Athlon 64 X2 Dual Core Processor 5600+ ‖ RAM 1750 MiB ‖ ALiveNF6P-VSTA
          nVidia C61 [GeForce 6150SE nForce 430] [10de:03d0] {nvidia}
          eth0: nVidia MCP61 Ethernet [10de:03ef] (rev a2)

          Comment


            #6
            I think your modeline is off a bit:

            Code:
            # 1360x768 @ 59.80 Hz (GTF) hsync: 47.54 kHz; pclk: 84.43 MHz
              Modeline "1360x768_59.80"  84.43  1360 1424 1568 1776  768 769 772 795  -HSync +Vsync

            Please Read Me

            Comment


              #7
              Originally posted by Achaean View Post
              PS2: Just a sidequestion, just out of curiousity. Where Krandr is? It isn't installed and I couldn't found it on repositories.
              krandrtray executable is in package 'kde-workspace-bin' (should be installed by default)

              Comment


                #8
                Originally posted by oshunluvr View Post
                I think your modeline is off a bit:
                Can I do something, to fix it?

                Originally posted by kubicle View Post
                krandrtray executable is in package 'kde-workspace-bin' (should be installed by default)
                THANKS!
                Indeed, krandtray is at menus!
                Also there are krandrtray.desktop (at usr/share/applications/kde4) and kde-workspace-bin:kde4__krandrtray.desktop (at usr/share/app-instal/desktop).
                There's also the main app (not the tray one) randr.desktop (at usr/share/kde4/services).
                Last edited by Achaean; Dec 29, 2012, 05:48 AM.
                Kubuntu 13.10 saucy 3.11.0-12-generic 64bit (el_GR.UTF-8, kde-plasma), Windows 7
                AMD Athlon 64 X2 Dual Core Processor 5600+ ‖ RAM 1750 MiB ‖ ALiveNF6P-VSTA
                nVidia C61 [GeForce 6150SE nForce 430] [10de:03d0] {nvidia}
                eth0: nVidia MCP61 Ethernet [10de:03ef] (rev a2)

                Comment


                  #9
                  Just edit the one in your xorg.conf. The example I posted is 1360x768@59.8hz

                  Also edit the "Option Mode" line to match the name of the mode line.

                  Please Read Me

                  Comment


                    #10
                    Oh, you are right!
                    I got a bit confused with all these numbers!

                    OK. Done!

                    Here's the new xorg.conf:
                    Code:
                    # nvidia-settings: X configuration file generated by nvidia-settings
                    # nvidia-settings:  version 304.51  (buildd@komainu)  Fri Oct 12 12:53:49 UTC 2012
                    
                    
                    Section "ServerLayout"
                        Identifier     "Layout0"
                        Screen      0  "Screen0" 0 0
                        InputDevice    "Keyboard0" "CoreKeyboard"
                        InputDevice    "Mouse0" "CorePointer"
                        Option         "Xinerama" "0"
                    EndSection
                    
                    Section "Files"
                    EndSection
                    
                    Section "InputDevice"
                    
                        # generated from default
                        Identifier     "Mouse0"
                        Driver         "mouse"
                        Option         "Protocol" "auto"
                        Option         "Device" "/dev/psaux"
                        Option         "Emulate3Buttons" "no"
                        Option         "ZAxisMapping" "4 5"
                    EndSection
                    
                    Section "InputDevice"
                    
                        # generated from default
                        Identifier     "Keyboard0"
                        Driver         "kbd"
                    EndSection
                    
                    Section "Monitor"
                    
                        # HorizSync source: builtin, VertRefresh source: builtin
                        Identifier     "Monitor0"
                        VendorName     "Unknown"
                        ModelName      "CRT-0"
                        Option "UseEDIDFreqs" "false"
                        HorizSync       31 - 101
                        VertRefresh     59.8
                        ModeLine       "1360x768_59.80" 84.43 1360 1424 1568 1776 768 769 772 795 -hsync +vsync
                        Option         "DPMS"
                    EndSection
                    
                    Section "Device"
                        Identifier     "Device0"
                        Driver         "nvidia"
                        VendorName     "NVIDIA Corporation"
                        BoardName      "GeForce 6150SE nForce 430"
                    EndSection
                    
                    Section "Screen"
                    
                    # Removed Option "metamodes" "1152x864_60 +0+0; nvidia-auto-select +0+0"
                        Identifier     "Screen0"
                        Device         "Device0"
                        Monitor        "Monitor0"
                        DefaultDepth    24
                        Option         "Stereo" "0"
                        Option         "nvidiaXineramaInfoOrder" "CRT-0"
                        Option         "metamodes" "1360x768_59.80 +0+0; nvidia-auto-select +0+0"
                        SubSection     "Display"
                            Depth       24
                        EndSubSection
                    EndSection
                    I think it's OK now.
                    Kubuntu 13.10 saucy 3.11.0-12-generic 64bit (el_GR.UTF-8, kde-plasma), Windows 7
                    AMD Athlon 64 X2 Dual Core Processor 5600+ ‖ RAM 1750 MiB ‖ ALiveNF6P-VSTA
                    nVidia C61 [GeForce 6150SE nForce 430] [10de:03d0] {nvidia}
                    eth0: nVidia MCP61 Ethernet [10de:03ef] (rev a2)

                    Comment


                      #11
                      Again, THANKS A MILLION and
                      HAPPY NEW YEAR for everyone!!!
                      Kubuntu 13.10 saucy 3.11.0-12-generic 64bit (el_GR.UTF-8, kde-plasma), Windows 7
                      AMD Athlon 64 X2 Dual Core Processor 5600+ ‖ RAM 1750 MiB ‖ ALiveNF6P-VSTA
                      nVidia C61 [GeForce 6150SE nForce 430] [10de:03d0] {nvidia}
                      eth0: nVidia MCP61 Ethernet [10de:03ef] (rev a2)

                      Comment


                        #12
                        Glad you got it worked out and Happy New Year to you too.

                        Please Read Me

                        Comment

                        Working...
                        X