You are not logged in.

#1 2011-07-02 09:27:35

clovenhoof
Member
From: Bulgaria
Registered: 2010-09-16
Posts: 82

Xorg.conf nVidia ION resolution

Sorry for my English.
I have this board: ASUS AT5IONT-I, Atom D525, ION2, PCI-E 4X, 2xDDR3 SODIMM, Gbit LAN,E-sata, USB3.0, DVI, HDMI, Fanless, Heatpipe, Mini-ITX.
And, trying to make HTPC.
I install Arch with openbox, but the problem is with video resolution.
I use my 32PFL9606H Philips TV 32''.

I set proper 1920x1080 resolution is xorg.conf but "xdpyinfo | grep dimensions" reports: "dimensions:    1280x800 pixels (338x211 millimeters)"

here is my xorg.conf:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 275.09.07  (buildmeister@swio-display-x86-rhel47-03.nvidia.com)  Wed Jun  8 16:05:05 PDT 2011

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 275.09.07  (buildmeister@swio-display-x86-rhel47-03.nvidia.com)  Wed Jun  8 16:05:17 PDT 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"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Philips FTV"
    HorizSync       50.0 - 60.0
    VertRefresh     50.0
    Option         "ExactModeTimingsDVI" "true"
    Option         "UseEDID" "false"
    Option         "DPMS"
    Option         "ModeDebug" "true"
    ModeLine       "1920x1080@50p"       148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "ION"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    SubSection     "Display"
        Modes      "1920x1080@50p"
        Depth       24
    EndSubSection
EndSection

PS: I deleted /var/log/Xorg.0.log file, but after reboot it is not recreated. Why? And remember that it said something like:
"[   185.106] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[   185.106] (==) NVIDIA(0):     will be used as the requested mode.
"
although I was set mode to 1920x1080

Last edited by clovenhoof (2011-07-02 09:30:37)

Offline

#2 2011-07-26 20:42:39

jackdroido
Member
From: Italy
Registered: 2011-07-26
Posts: 8

Re: Xorg.conf nVidia ION resolution

Hi !

Please don't use xorg.conf, edit the files inside /etc/X11/xorg.conf.d/ instead.

I also have an ION board and have working HDMI connection with audio at 1920x1080 using the below configuration. Remove your xorg.conf and then edit these files:

  • /etc/X11/xorg.conf.d/10-monitor.conf

    Section "Monitor"
        Identifier    "Monitor0"
        Option "ExactModeTimingsDVI" "True"
        HorizSync 14-70
        VertRefresh 48-62
        Modeline "1920x1080-TV" 148.35 1920 2008 2152 2300 1080 1084 1089 1125
        Option         "DPMS"
    EndSection
    
    Section "Screen"
        Identifier "Default Screen"
        Monitor "Monitor0"
        Device "Default nvidia Device"
    
        SubSection "Display"
            Depth 24
            Modes "1920x1080-TV"
        EndSubSection
    EndSection
  • /etc/X11/xorg.conf.d/20-nvidia.conf

    Section "Device"
            Identifier "Default nvidia Device"
            Driver "nvidia"
            Option "NoLogo" "True"
            Option "ModeValidation" "NoEdidModes"
            Option "UseEdidDpi"     "False"
            Option "DPI"            "100 x 100"
    EndSection

Please note that the above Modeline works on my TV (a 22'' low cost brand one) but I cannot guarantee it will work on yours.

Try that first, then if it doesn't work, try to generate one using the cvt command, and replace the Modeline:

cvt 1920 1080

it should output something like this:

# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

If this method doesn't work either, try the method explained here (which is the one I've first used to find the right Modeline). Its tricky method, and requires a bit of work and lot of patience ... just don't give up smile

Finally, a little bonus smile . To have working HDMI sound, I have to put these lines in /etc/asound.conf:

  • /etc/asound.conf

    pcm.!default {
           type hw
           card 0
           device 3
    }

Again, you may need to change the device index in your case. You can list alsa devices using aplay -l command:

**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: VT1708S Analog [VT1708S Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
card 0: NVidia [HDA NVidia], device 1: VT1708S Digital [VT1708S Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

Offline

Board footer

Powered by FluxBB