Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: How to set my Nvidia GT 335m under ubuntu to 96 dpi (1366X768)

  1. #1
    Join Date
    Mar 2011
    Beans
    33

    How to set my Nvidia GT 335m under ubuntu to 96 dpi (1366X768)

    In my xorg.conf file, I have this configuration
    Code:
    Section "Monitor"      # HorizSync source: edid, VertRefresh source: edid  # 1366X768 96dpi         Identifier     "Monitor0"     VendorName     "Unknown"     ModelName      "AUO"     DisplaySize     361    203     HorizSync       30.0 - 75.0     VertRefresh     60.0     Option         "DPMS" #   DisplaySize 270 203 # 1024x768 96dpi #   DisplaySize 338 254 # 1280x960 96dpi #   DisplaySize 338 270 # 1280x1024 96dpi #   DisplaySize 370 277 # 1400x1050 96dpi #   DisplaySize 423 370 # 1600x1400 96dpi EndSection
    Hovewever, under nvidia control panel or running this command :
    Code:
    xdpyinfo | grep reso
    I get this as a result:
    Code:
    resolution:    111x114 dots per inch

  2. #2
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: How to set my Nvidia GT 335m under ubuntu to 96 dpi (1366X768)

    ..can you post your (whole) xorg.conf again in a way that it is readable?
    Best app ever: Easystroke

  3. #3
    Join Date
    Mar 2011
    Beans
    33

    Re: How to set my Nvidia GT 335m under ubuntu to 96 dpi (1366X768)

    Sorry for that, here is the xorg.conf

    Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    # 1366X768 96dpi
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "AUO"
    DisplaySize 361 203
    HorizSync 30.0 - 75.0
    VertRefresh 60.0
    Option "DPMS"
    # DisplaySize 270 203 # 1024x768 96dpi
    # DisplaySize 338 254 # 1280x960 96dpi
    # DisplaySize 338 270 # 1280x1024 96dpi
    # DisplaySize 370 277 # 1400x1050 96dpi
    # DisplaySize 423 370 # 1600x1400 96dpi
    EndSection

  4. #4
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: How to set my Nvidia GT 335m under ubuntu to 96 dpi (1366X768)

    Is this your whole xorg.conf or only the monitor section?
    Where is it from?Did you create it yourself?
    Did you install the nvidia driver?

    Please post output from:

    Code:
    lspci | grep VGA
    Last edited by realzippy; August 24th, 2011 at 05:31 PM.
    Best app ever: Easystroke

  5. #5
    Join Date
    Mar 2011
    Beans
    33

    Re: How to set my Nvidia GT 335m under ubuntu to 96 dpi (1366X768)

    Only the monitor, here's the whole. It comes from the nvidia-driver :

    # nvidia-settings: X configuration file generated by nvidia-settings
    # nvidia-settings: version 270.29 (buildd@roseapple) Fri Feb 25 14:43:24 UTC 2011


    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: edid, VertRefresh source: edid
    # 1366X768 96dpi
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "AUO"
    DisplaySize 361 203
    HorizSync 30.0 - 75.0
    VertRefresh 60.0
    Option "DPMS"
    # DisplaySize 270 203 # 1024x768 96dpi
    # DisplaySize 338 254 # 1280x960 96dpi
    # DisplaySize 338 270 # 1280x1024 96dpi
    # DisplaySize 370 277 # 1400x1050 96dpi
    # DisplaySize 423 370 # 1600x1400 96dpi
    EndSection

    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce GT 335M"
    EndSection

    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "TwinView" "0"
    Option "metamodes" "nvidia-auto-select +0+0"
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection

  6. #6
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: How to set my Nvidia GT 335m under ubuntu to 96 dpi (1366X768)

    Can you please create a new xorg.conf with

    Code:
    sudo nvidia-xconfig
    and post again?(think you have edited some stuff manually!?)
    Best app ever: Easystroke

  7. #7
    Join Date
    Mar 2011
    Beans
    33

    Re: How to set my Nvidia GT 335m under ubuntu to 96 dpi (1366X768)

    Here you go :
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig: version 270.41.06 (buildmeister@swio-display-x86-rhel47-07.nvidia.com) Mon Apr 18 15:15:12 PDT 2011

    # nvidia-settings: X configuration file generated by nvidia-settings
    # nvidia-settings: version 270.29 (buildd@roseapple) Fri Feb 25 14:43:24 UTC 2011

    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: edid, VertRefresh source: edid
    # 1366X768 96dpi
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "AUO"
    DisplaySize 361 203
    HorizSync 30.0 - 75.0
    VertRefresh 60.0
    Option "DPMS"
    # DisplaySize 270 203 # 1024x768 96dpi
    # DisplaySize 338 254 # 1280x960 96dpi
    # DisplaySize 338 270 # 1280x1024 96dpi
    # DisplaySize 370 277 # 1400x1050 96dpi
    # DisplaySize 423 370 # 1600x1400 96dpi
    EndSection

    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce GT 335M"
    EndSection

    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "TwinView" "0"
    Option "metamodes" "nvidia-auto-select +0+0"
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection

    Thanks for your time !

  8. #8
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: How to set my Nvidia GT 335m under ubuntu to 96 dpi (1366X768)

    Which laptop?
    or:
    Are you sure it has 1366x768 native resolution?
    Best app ever: Easystroke

  9. #9
    Join Date
    Mar 2011
    Beans
    33

    Re: How to set my Nvidia GT 335m under ubuntu to 96 dpi (1366X768)

    My laptop is an Asus N82J-N82JQ

    An yes, under windows the 1366X768 resolution is shown and also under ubuntu but the dpi is not set to 96 under ubuntu.

  10. #10
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: How to set my Nvidia GT 335m under ubuntu to 96 dpi (1366X768)

    Can you try this as xorg.conf:
    Code:
    gksudo gedit /etc/X11/xorg.conf
    Code:
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    Option "Xinerama" "0"
    EndSection
    
    Section "Files"
    EndSection
    
    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    EndSection
    
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "AUO"
    HorizSync 30.0 - 75.0
    VertRefresh 60.0
    Option "DPMS"
    Option "UseEdidDpi" "FALSE"   #added (admit I am not sure which section) 
    Option "DPI" "96 x 96"        #added   "
    Modeline "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync  #added
    EndSection
    
    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce GT 335M"
    Option "UseEdidDpi" "FALSE"   #added
    Option "DPI" "96 x 96"        #added
    Option        "ModeDebug"   "True"  #added,gives more info in Xorg.0.log
    EndSection
    
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "TwinView" "0"
    SubSection "Display"
    Depth 24
    Modes        "1368x768_60"
    EndSubSection
    EndSection
    Reboot or restart xserver
    Last edited by realzippy; September 4th, 2011 at 08:01 AM. Reason: typo found by Bicyclerboy
    Best app ever: Easystroke

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •