Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 2291  / 3 Years ago, tue, october 26, 2021, 12:54:45

So I've installed want to use the latest NVIDIA driver (302.17) from the x-swats PPA repository which was easy enough



It gives me:




  • Better performance

  • Ability to rotate my secondary display,

  • Managing the gfx natively from the displays applet.



But, after installing it, i there are no resolution options available other than my native resolution so I cannot change the resolution in the display app or nvidia-settings.



Which is annoying when wanting to play games etc in other resolutions.



xrandr -q ,reports no other resolutions than the native one.
The driver also seems to have scaling disabled, so games for example, running at a lower resolution aren't scaled up Meaning I get a small centered window on my screen.



According to the documentation resolutions can be added in Xorg.conf, but I cant find any specifics on how to.


More From » nvidia

 Answers
3

I figured it out myself reading the xorg man pages for nvidia driver and the release notes for the new driver



Apparently it lacks support to detect what resolutions your card / monitor is capbable of because the support is being rewritten.



Adding the resolutions to your xorg.conf file manually allows games etc to swtich to the resolution they require.



to the screen section ( Section "Screen")
add the following line:



Option "metamodes" "DFP-0: nvidia-auto-select, DFP-1: nvidia-auto-select; nvidia-auto-select {ViewPortIn=1440x900}; nvidia-auto-select {ViewPortIn=1280x1024}; nvidia-auto-select {ViewPortIn=1280x960}; nvidia-auto-select {ViewPortIn=1280x800}"


If you don't have a xorg.conf file, you can use nvidia-settings to create one for you then append the line stated above to it.
to get support for the specified resolutions.



In my case DFP-0 is my primary display output.
You can verify the name of your display output with the command:



xrandr -q


from the terminal


[#36478] Wednesday, October 27, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
socelebrate

Total Points: 274
Total Questions: 123
Total Answers: 124

Location: Saint Helena
Member since Mon, Jan 16, 2023
1 Year ago
;