xrandr: adiciona um novo modo

1

Eu gostaria de adicionar um novo modo com xrandr, mas eu tenho um problema, o xrandr não quer!

~$ gtf 1280 1024 60

  # 1280x1024 @ 60.00 Hz (GTF) hsync: 63.60 kHz; pclk: 108.88 MHz
  Modeline "1280x1024_60.00"  108.88  1280 1360 1496 1712  1024 1025 1028 1060  -HSync +Vsync

~$ xrandr --newmode "1280x1024_60.00"  108.88  1280 1360 1496 1712  1024 1025 1028 1060  -HSync +Vsync
xrandr: Failed to get size of gamma for output default

Eu li vários fóruns, mas de jeito nenhum.

Meu xorg.conf, talvez possa ajudar:

Section "Device"
            Identifier      "fbturbo"
            #Identifier      "Allwinner A10/A13 FBDEV"
            Driver          "fbturbo"
            Option          "AccelMethod" "G2D"
            Option          "ShadowFB" "on"
            Option          "HWCursor" "true"
            Option          "DRI2" "true"
            Option          "DRI2HWOverlay" "true"
            Option          "fbdev" "/dev/fb0"
            Option          "SwapbuffersWait" "true"
            Option          "AccelMethod" "G2D"
    EndSection

    Section "Device"
            Identifier      "FBDEV 0"
            Driver          "fbturbo"
            Option          "fbdev" "/dev/fb0"
            Option          "AccelMethod" "G2D"
            Option          "ShadowFB" "on"
            Option          "HWCursor" "true"
            Option          "DRI2" "true"
            Option          "DRI2HWOverlay" "true"
            Option          "fbdev" "/dev/fb0"
            Option          "SwapbuffersWait" "true"
            Option          "AccelMethod" "G2D"
    EndSection

    Section "Device"
            Identifier      "FBDEV 1"
            Driver          "fbturbo"
            Option          "fbdev" "/dev/fb1"
            Option          "AccelMethod" "G2D"
            Option          "ShadowFB" "on"
            Option          "HWCursor" "true"
            Option          "DRI2" "true"
            Option          "DRI2HWOverlay" "true"
            Option          "fbdev" "/dev/fb0"
            Option          "SwapbuffersWait" "true"
            Option          "AccelMethod" "G2D"
    EndSection

    Section "Screen"
            Identifier      "_VGA_"
            Device          "FBDEV 0"
            Monitor         "VGA"
            DefaultDepth    24
            SubSection "Display"
                    Depth           24                  
                    Modes           "1280x1024"
            EndSubSection
    EndSection

    Section "Screen"
            Identifier      "_HDMI_"
            Device          "FBDEV 1"
            Monitor         "HDMI"
            DefaultDepth    24
            SubSection "Display"
                    Depth           24
                    Modes           "1440x900"
            EndSubSection
    EndSection

    Section "Monitor"
            Identifier      "VGA"
            Gamma           1.3
            Option          "PreferredMode" "1280x1024_60.00"
            Option          "DPMS" "true"
    EndSection

    Section "Monitor"
            Identifier      "HDMI"
            Gamma           1.3
            Option          "PreferredMode" "1440x900_60.00"
            Option          "Leftof" "VGA"
            Option          "DPMS" "true"
    EndSection

    Section "ServerLayout"
            Identifier      "Xinerama"
            Screen          0 "_VGA_"
            Screen          1 "_HDMI_" Leftof "_VGA_"
            Option      "Xinerama" "true"
            Option          "Clone" "false"
    EndSection

    Section "Extensions"
            Option "RANDR" "Enable"
            Option         "Composite" "Enable"
    EndSection

e

~$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1280 x 1024, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 0mm x 0mm
   1280x1024      60.0*

Então, minha pergunta: Como definir a gama para saída padrão?

    
por Guillaume 09.02.2015 / 15:00

0 respostas

Tags