Results 1 to 10 of 14

Thread: nVidia update disabled desired resolution

Threaded View

  1. #1
    Join Date
    Apr 2008
    Beans
    11,707

    nVidia update disabled desired resolution

    Today there was a security update to 'nvidia-current' in Precise:

    nvidia-graphics-drivers-updates (304.88-0ubuntu0.0.1) precise-security; urgency=low

    * SECURITY UPDATE: ARGB Cursor Buffer Overflow in "NoScanout" Mode
    - CVE-2013-0131

    * New upstream release
    - Fixed CVE-2013-0131:
    NVIDIA UNIX GPU Driver ARGB Cursor Buffer Overflow in
    "NoScanout" Mode. This buffer overflow, which occurred
    when an X client installed a large ARGB cursor on an
    X server running in NoScanout mode, could cause a denial
    of service (e.g., an X server segmentation fault), or
    could be exploited to achieve arbitrary code execution.

    [ Alberto Milone ]
    * debian/dkms.conf{.in}:
    - Drop all the patches.
    * debian/substvars:
    - Add support for xorg-video-abi-14.

    -- Alberto Milone <alberto.milone@canonical.com> Thu, 04 Apr 2013 13:40:29 +0200
    But along with that they dropped other patches and in my case it removed my desired resolution of 1440x900. This is the xrandr with the old driver:

    Code:
    lance@lance-AMD-desktop:~$ xrandr
    xrandr: Failed to get size of gamma for output default
    Screen 0: minimum 320 x 240, current 1440 x 900, maximum 1680 x 1050
    default connected 1440x900+0+0 0mm x 0mm
       1680x1050      50.0     51.0     52.0     53.0     54.0  
       1600x1024      55.0  
       1440x900       56.0* 
       1400x1050      57.0     58.0     59.0     60.0     61.0  
       1360x768       62.0     63.0  
       1280x1024      64.0     65.0  
       1280x960       66.0  
       1152x864       67.0     68.0     69.0     70.0  
       1024x768       71.0     72.0     73.0  
       960x720        74.0  
       960x600        75.0  
       960x540        76.0  
       928x696        77.0  
       896x672        78.0  
       840x525        79.0     80.0     81.0     82.0  
       832x624        83.0  
       800x600        84.0     85.0     86.0     87.0     88.0     89.0     90.0     91.0  
       800x512        92.0  
       720x450        93.0  
       680x384        94.0     95.0  
       640x512        96.0     97.0  
       640x480        98.0     99.0    100.0    101.0    102.0    103.0  
       576x432       104.0    105.0    106.0    107.0  
       512x384       108.0    109.0    110.0  
       416x312       111.0  
       400x300       112.0    113.0    114.0    115.0  
       320x240       116.0    117.0    118.0
    And here's the xrandr with the new driver:

    Code:
    lance@lance-AMD-desktop:~$ xrandr
    Screen 0: minimum 8 x 8, current 1680 x 1050, maximum 4096 x 4096
    VGA-0 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 474mm x 297mm
       1680x1050      60.6*+   74.9  
       1600x1200      75.0     60.0  
       1400x1050      74.9     60.0  
       1280x1024      75.0     60.0  
       1280x960       60.0  
       1152x864       75.0  
       1024x768       75.0     70.1     60.0  
       800x600        75.0     72.2     60.3     56.2  
       640x480        75.0     72.8     59.9
    Any thoughts on how I can get the desired mode back in the updated driver?

    The xorg.conf has very little in it:

    Code:
    Section "Device"
    	Identifier	"Default Device"
    	Option	"NoLogo"	"True"
    EndSection
    A long time ago I used this same monitor with Intel graphics and I'd have to use this xorg.conf:

    Code:
    Section "ServerLayout"
    	Identifier     "X.org Configured"
    	Screen      0  "Screen0" 0 0
    	InputDevice    "Mouse0" "CorePointer"
    	InputDevice    "Keyboard0" "CoreKeyboard"
    EndSection
    
    Section "Files"
    	ModulePath   "/usr/lib/xorg/modules"
    	FontPath     "/usr/share/fonts/X11/misc"
    	FontPath     "/usr/share/fonts/X11/cyrillic"
    	FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
    	FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
    	FontPath     "/usr/share/fonts/X11/Type1"
    	FontPath     "/usr/share/fonts/X11/100dpi"
    	FontPath     "/usr/share/fonts/X11/75dpi"
    	FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    	FontPath     "built-ins"
    EndSection
    
    Section "Module"
    	Load  "dbe"
    	Load  "dri"
    	Load  "dri2"
    	Load  "extmod"
    	Load  "record"
    	Load  "glx"
    EndSection
    
    Section "InputDevice"
    	Identifier  "Keyboard0"
    	Driver      "kbd"
    EndSection
    
    Section "InputDevice"
    	Identifier  "Mouse0"
    	Driver      "mouse"
    	Option	    "Protocol" "auto"
    	Option	    "Device" "/dev/input/mice"
    	Option	    "ZAxisMapping" "4 5 6 7"
    EndSection
    
    Section "Monitor"
    	Identifier   "Monitor0"
    	VendorName   "Monitor Vendor"
    	ModelName    "Monitor Model"
            Modeline     "1440x900_60.00"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync
            Option       "PreferredMode" "1440x900_60.00"
    EndSection
    
    Section "Device"
            ### Available Driver options are:-
            ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
            ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
            ### [arg]: arg optional
            #Option     "NoAccel"            	# [<bool>]
            #Option     "SWcursor"           	# [<bool>]
            #Option     "ColorKey"           	# <i>
            #Option     "CacheLines"         	# <i>
            #Option     "Dac6Bit"            	# [<bool>]
            #Option     "DRI"                	# [<bool>]
            #Option     "NoDDC"              	# [<bool>]
            #Option     "ShowCache"          	# [<bool>]
            #Option     "XvMCSurfaces"       	# <i>
            #Option     "PageFlip"           	# [<bool>]
    	Identifier  "Card0"
    	Driver      "intel"
    	VendorName  "Intel Corporation"
    	BoardName   "82945G/GZ Integrated Graphics Controller"
    	BusID       "PCI:0:2:0"
    EndSection
    
    Section "Screen"
    	Identifier "Screen0"
    	Device     "Card0"
    	Monitor    "Monitor0"
    	SubSection "Display"
    		Viewport   0 0
    		Depth     1
                    Modes    "1440x900@60"
    	EndSubSection
    	SubSection "Display"
    		Viewport   0 0
    		Depth     4
                    Modes    "1440x900@60"
    	EndSubSection
    	SubSection "Display"
    		Viewport   0 0
    		Depth     8
                    Modes    "1440x900@60"
    	EndSubSection
    	SubSection "Display"
    		Viewport   0 0
    		Depth     15
                    Modes    "1440x900@60"
    	EndSubSection
    	SubSection "Display"
    		Viewport   0 0
    		Depth     16
                    Modes    "1440x900@60"
    	EndSubSection
    	SubSection "Display"
    		Viewport   0 0
    		Depth     24
                    Modes    "1440x900@60"
    	EndSubSection
    EndSection
    So I sort of think I could just add the "Monitor" and "Screen" sections of that to my xorg.conf like this but I'm not sure:

    Code:
    Section "Device"
    	Identifier	"Default Device"
    	Option	"NoLogo"	"True"
    EndSection
    
    Section "Monitor"
    	Identifier   "Monitor0"
    	VendorName   "Monitor Vendor"
    	ModelName    "Monitor Model"
            Modeline     "1440x900_60.00"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync
            Option       "PreferredMode" "1440x900_60.00"
    EndSection
    
    Section "Screen"
    	Identifier "Screen0"
    	Device     "Card0"
    	Monitor    "Monitor0"
    	SubSection "Display"
    		Viewport   0 0
    		Depth     1
                    Modes    "1440x900@60"
    	EndSubSection
    	SubSection "Display"
    		Viewport   0 0
    		Depth     4
                    Modes    "1440x900@60"
    	EndSubSection
    	SubSection "Display"
    		Viewport   0 0
    		Depth     8
                    Modes    "1440x900@60"
    	EndSubSection
    	SubSection "Display"
    		Viewport   0 0
    		Depth     15
                    Modes    "1440x900@60"
    	EndSubSection
    	SubSection "Display"
    		Viewport   0 0
    		Depth     16
                    Modes    "1440x900@60"
    	EndSubSection
    	SubSection "Display"
    		Viewport   0 0
    		Depth     24
                    Modes    "1440x900@60"
    	EndSubSection
    EndSection
    I've been lucky enough that I haven't had to mess with an xorg.conf in a very, very long time
    Last edited by kansasnoob; April 13th, 2013 at 07:17 PM. Reason: Marking SOLVED

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
  •