Screen resolution distorted. xrandr outputs fail message

Hi!

My screen has suddenly after a reboot wrong resolution. The screen brand is Dell U2212HM 21.5" 1920x1080. But currently it seems to be using only 1280x1024 so there is a black frame along the sides and the image is distorted.

I’m using OpenSUSE 13.1:

smedbos@linux-wkck:~> lsb_release -a
LSB Version:    n/a
Distributor ID: openSUSE project
Description:    openSUSE 13.1 (Bottle) (x86_64)
Release:        13.1
Codename:       Bottle


~>lspci | grep "VGA"
01:00.0 VGA compatible controller: NVIDIA Corporation GT215 [GeForce GT 320] (rev a2)

I tried to use xrandr with this guide: https://superuser.com/questions/311378/how-to-get-a-higher-resolution-on-ubuntu-11-04-using-an-intel-chipset. But it gives an error message and does not seem to work.

smedbos@linux-wkck:~> xrandr -q
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 primary 1280x1024+0+0 0mm x 0mm
   1280x1024      77.0* 
  
smedbos@linux-wkck:~> cvt 1920 1080
# 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




smedbos@linux-wkck:~> xrandr --newmode clever_name 173.00  1920 2048 2248 2576  1080 1083 1088 1120
xrandr: Failed to get size of gamma for output default

It’s been added, it seems:

smedbos@linux-wkck:~> 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 primary 1280x1024+0+0 0mm x 0mm
   1280x1024      77.0* 
  clever_name (0xc5)  173.0MHz
        h: width  1920 start 2048 end 2248 total 2576 skew    0 clock   67.2KHz
        v: height 1080 start 1083 end 1088 total 1120           clock   60.0Hz

I’m unsure about the name of my output here. The example says VGA1 but my xrandr above had output called “default”.

smedbos@linux-wkck:~> xrandr --addmode default clever_name
xrandr: Failed to get size of gamma for output default
smedbos@linux-wkck:~> xrandr --output default --mode clever_name

The final step fails:

smedbos@linux-wkck:~> xrandr --output default --mode clever_name
xrandr: Failed to get size of gamma for output default
xrandr: Configure crtc 0 failed

Now when I go to “Configure Desktop -> Display and Monitor” I can choose “clever_name” but the resolution is still the same (I click the green arrows, then “clever_name” and “apply”, nothing happens).

What video/driver if NVIDIA uninstall and reinstall

Thank you! I think I have both NVIDIA and Novueau drivers installed so I’m not sure (it was more than a year ago I installed new video drivers). These packages are installed:

# zypper search --installed-only | grep -i nvidia
i | libdrm_nouveau2                            | Userspace interface for Kernel DRM services for NVIDIA chips                                                         | package
i | nvidia-computeG03                          | NVIDIA driver for computing with GPGPU                                                                               | package
i | nvidia-gfxG03-kmp-default                  | NVIDIA graphics driver kernel module for GeForce 8xxx and newer GPUs                                                 | package
i | nvidia-gfxG03-kmp-desktop                  | NVIDIA graphics driver kernel module for GeForce 8xxx and newer GPUs                                                 | package
i | nvidia-glG03                               | NVIDIA GL libraries for OpenGL acceleration                                                                          | package
i | nvidia-uvm-gfxG03-kmp-default              | NVIDIA Unified Memory kernel module                                                                                  | package
i | nvidia-uvm-gfxG03-kmp-desktop              | NVIDIA Unified Memory kernel module                                                                                  | package
i | openSUSE-2014-424                          | systemd-mini: set ACL on nvidia-uvm                                                                                  | patch  
i | x11-video-nvidiaG03                        | NVIDIA graphics driver for GeForce 8xxx and newer GPUs                                                               | package
i | xf86-video-nv                              | NVIDIA video driver for the Xorg X server                                                                            | package
i | xorg-x11-driver-video-nouveau              | Accelerated Open Source driver for nVidia cards                                                                      | package

To reinstall I should use “zypper rm <packagename>” then “zypper in <packagename>”, right? But which one should I remove and install again?

Only packages with NIVIDIA in the name and GO3.

remove first then install again

Thank you, the screen is ok again :slight_smile: