Eu encontrei uma solução neste
Abra o arquivo xorg.conf assim
sudo nano /etc/X11/xorg.conf
edite o dispositivo de seção como no link acima
Eu tenho o Ubuntu 14.04 e instalei o driver recomendado para a Nvidia, mas a resolução ainda é 1360x768, e eu preciso mudar para 1920x1080
aqui está o driver que eu instalei
ValoresdeXrandrabaixo
mohamed@mohamed-Work:~$xrandrScreen0:minimum8x8,current1360x768,maximum8192x8192DVI-I-0connectedprimary1360x768+0+0(normalleftinvertedrightxaxisyaxis)0mmx0mm1024x76860.0+1360x76860.0*59.81152x86460.0800x60072.260.356.2680x38460.059.8640x48059.9512x38460.0400x30072.2320x24060.1DVI-I-1disconnected(normalleftinvertedrightxaxisyaxis)DP-0disconnected(normalleftinvertedrightxaxisyaxis)DP-1disconnected(normalleftinvertedrightxaxisyaxis)DP-2disconnected(normalleftinvertedrightxaxisyaxis)DP-3disconnected(normalleftinvertedrightxaxisyaxis)
oquefizfoicriarumnovomodocomoeste
xrandr--newmode"1920x1080" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
adicionando novo modo como este
xrandr --addmode DVI-I-0 1920x1080_60.00
mas recebi um erro abaixo de
mohamed@mohamed-Work:~$ xrandr --addmode DVI-I-0 1920x1080_60.00
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 18 (RRAddOutputMode)
Serial number of failed request: 33
Current serial number in output stream: 34
e meu arquivo xorg.conf listado abaixo
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 331.20 (buildd@roseapple) Mon Feb 3 15:07:22 UTC 2014
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 30.0 - 83.0
VertRefresh 56.0 - 75.0
ModeLine "1920x1200_60.00" 193.25 1920 2056 2256 2592 1200 1203 1209 1245 -hsync +vsync
ModeLine "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
ModeLine "1360x768" 72.000 1360 1408 1440 1520 768 771 781 790 +hsync -vsync
ModeLine "1152x864" 81.620 1152 1216 1336 1520 864 865 868 895 -hsync +vsync
ModeLine "800x600" 50.000 800 856 976 1040 600 637 643 666 +hsync +vsync
ModeLine "680x384" 36.000 680 704 720 760 384 385 390 395 +hsync -vsync doublescan
ModeLine "640x480" 25.175 640 656 752 800 480 490 492 525 -hsync -vsync
ModeLine "512x384" 32.500 512 524 592 672 384 385 388 403 -hsync -vsync doublescan
ModeLine "400x300" 25.000 400 428 488 520 300 318 321 333 +hsync +vsync doublescan
ModeLine "320x240" 12.587 320 328 376 400 240 245 246 262 -hsync -vsync doublescan
ModeLine "nvidia-auto-select" 65.000 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro FX 1800"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "CRT-0"
Option "metamodes" "1920x1080"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
Option "ModeValidation" "AllowNonEdidModes, NoVirtualSizeCheck, NoMaxPClkCheck, NoWidthAlignmentCheck, NoExtendedGpuCapabilitiesCheck"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Eu encontrei uma solução neste
Abra o arquivo xorg.conf assim
sudo nano /etc/X11/xorg.conf
edite o dispositivo de seção como no link acima