Setting the screen size after Leap 15.0

I’ve been running Leap 15.0 for far too many years and am in the middle of upgrading (see separate thread for why I’ve been paused). But my screen size has been reset, which makes it difficult to work at my terminal. So I installed the backed-up X11 files that I had been using under Leap 15.0. However, using these caused my X system to crash.

So what’s wrong with them? What do I need to change?

xorg.conf

Section "Monitor"
  Identifier "Monitor0"
  HorizSync 45.0 - 100.0
  VertRefresh 50.0 - 80.0
  Modeline "1680x1050" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
 EndSection

Section "Device"
  Identifier "Device0"
  Driver "nvidia"
EndSection

Section "Screen"
  Identifier "Screen0"
  Device "Device0"
  DefaultDepth 24
  Monitor "Monitor0"
  Option  "metamodes" "1680x1050"
  SubSection "Display"
    Depth 24
    Viewport    0 0
  EndSubSection
EndSection 

50-device.conf

Section "Device"
  Identifier     "Device0"
  Driver         "nvidia"
  VendorName     "NVIDIA Corporation"
  BoardName      "GeForce  GTX 555"
  Option "EDID" "False"
EndSection 


50-monitor.conf

Section "Monitor"
  Identifier "Monitor0"
  HorizSync 45.0 - 100.0
  VertRefresh 50.0 - 80.0
  Modeline "1680x1050" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
EndSection

50-screen.conf

Section "Screen"
  Identifier "Screen0"
  Device "Device0"
  DefaultDepth 24
  Monitor "Monitor0"
  Option  "metamodes" "1680x1050"
  SubSection "Display"
    Depth 24
    Viewport    0 0
  EndSubSection
EndSection 


(For the record, “1680x1050” is the actual size of my monitor. xdpyinfo gives the size as “1024x768”.)

First, ensure nomodeset is not present when you run cat /proc/cmdline. If it is, it needs to be removed from /etc/default/grub if present there, and from /boot/grub2/grub.cfg, followed by rebooting. Next, try removing those /etc/X11/xorg.conf.d/50*conf files and /etc/X11/xorg.conf. I forget whether they don’t exist by default on 15.3, or do exist, but are nothing but comments. If that’s not enough to solve, it’s probably because you used NVidia’s proprietary drivers in 15.0. They need to be purged, and if found necessary or desired by 15.3, installed afresh, after ensuring 15.3 can run competently without them.

Hard to tell.
No mention if you are using the nvidia driver or nouveau.
I always use the nvidia .run driver and never recall using the /etc/modprob.d for screen and monitor.

Why not try removing the xorg.conf,
50- monitor.conf and 50-screen.conf
and reinstall the nvidia driver and see what happens next.

In tumbleweed, I don’t even have the xorg.conf.

Did you install nVidia drivers for new openSUSE version after update?

Thanks for all the replies. I’m staring a new thread, since I now have LEAP 15.3 installed and I’d like the title to reflect that.