I’ve just upgraded to LEAP 15.3, having previously been on LEAP 15.0 for too long.
I had my screen size set correctly under 15.0 but now everything displayed is too large. “1680x1050” is the actual size of my monitor but xdpyinfo gives the size as “1024x768”.
I’m using an NVidia card.
How do I set the internal representation of my screen size to its actual size?
Assuming that you have got the package x11-video-nvidiaG04 (or higher) you should have got “nvidia-settings”. Just type it into KDE starter, it should be presented just after entering “nv…”.
Sorry, I’m not always familiar with the correct terms. Not sure if that’s the correct name. I’d just call it the “start menu” it’s what you get when hitting the “meta” key or as it used to be “alt+F1”.
I looked at system settings in which there is an option to configure the monitor, but it only displays an option of 800x600. I need to configure my screen at 1680x1050.
If you use only the software that comes from openSUSE standard repos, it should “just work”, depending on the age of your card. If it’s too new, support in FOSS drivers may not have arrived yet. “Just work” in this case means support and employ your display’s native resolution with no effort on your part.
One fly in the above ointment is that sometimes this support is absent in the installation system. This is commonly worked around by a command line parameter “nomodeset”. When employed for installation, it is usually inherited by the installed system, and must be removed from the bootloader (Grub2’s /boot/grub2/grub.cfg and /etc/default/grub) for the FOSS drivers to be employed.
The other fly in the ointment is if NVidia’s proprietary drivers were ever installed prior to the upgrade. For successful upgrades to occur, it is highly recommended to remove all non-standard repos before beginning the upgrade process. This includes NVidia drivers. When these drivers are left in place during upgrade, their configuration files are left behind to interfere with FOSS driver automagic. If NVidia’s drivers are to be again installed, their installation program should reconfigure their use to whatever extent necessary, but possibly may not eliminate any left behind.
So the questions become:
Which model Nvidia do you have?]Did you use NVidia’s proprietary drivers in the past?]Did you remove them prior to upgrading?]Is your model supported by any currently available NVidia drivers for 15.3?]Do you wish to emply NVidia’s proprietary drivers?
inxi -Gxx
will report your model and its device ID needed to ensure selection of appropriate way forward.
I saw and read the old thread after posting here previously. (EE) open /dev/dri/card0: No such file or directory, a serious problem, shows up in the susepasted log. The driver that actually loaded as a result is the FBDEV driver, good mainly for crudely accessing a GUI in a low resolution mode, making configuration repairs, and using package management. The log also suggests you have used the proprietary NVidia driver in the past, thus to use it in 15.3 it needs to either be purged and installed anew, or upgraded, if that’s supported for the installed version of your GPU.
I notice it says " driver: nouveau FAILED". Does this mean, as arvidjaar suggested, that I need to delete and reinstall the driver? If so, what’s the procedure these days?
I’ve got the graphical interface back by removing the xorg.conf that was created as a result of me running, I think, nvidia-xconfig, as requested when I tried using the nvidia-settings from the KDE menu.
It’s not matching the uploaded log, which says both nouveau and nvidia display drivers failed, but the fbdev did load. Likely this is a result of the ancient broken inxi provided by the Leap repos. Before using inxi again, please upgrade it:
sudo inxi -U
A required kernel device driver did fail to load, resulting in the N/A. “driver: nouveau” go together, and “FAILED: nvidia” go togther, indicating X wanted to use them. Due to the kernel device driver failure neither could be used. The kernel can only use one GPU driver per GPU, in your case either nouveau, or the one provided by an NVidia driver package.
If you want to use the FOSS drivers, nouveau for kernel module (provided with kernel package), and modesetting (not separately provided) or nouveau (from package xf86-video-nouveau) for display driver, then all traces of NVidia’s proprietary drivers must be purged. Look for blacklisted nouveau in /etc/modprobe.d/. If you find it, remove it. If any NVidia rpms remain installed, they need to be removed, and any other changes required according to the instructions provided to install them. If there are files remaining in /etc/X11/xorg.conf.d/ that the NVidia installer put there, remove them.
If you wish to use NVidia’s drivers, follow the installation/upgrade instructions provided with them.
First, you still have broken nVidia driver installation
52.515] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
52.515] (EE) NVIDIA: system's kernel log for additional error messages and
52.515] (EE) NVIDIA: consult the NVIDIA README for details.
And nouveau is blacklisted by previous nVidia driver installation
52.639] (EE) [drm] Failed to open DRM device for pci:0000:03:00.0: -19
52.639] (EE) open /dev/dri/card0: No such file or directory
52.639] (WW) Falling back to old probe method for modesetting
52.639] (EE) open /dev/dri/card0: No such file or directory
I would completely remove nVidia drivers, reboot and then reinstall nVidia drivers again.
I’d love to use the drivers supplied by the openSUSE upgrade, as recommended. Previously it was recommended that I manually install nVidia drivers, but I thought I’d lost them ages ago.
I looked for blacklisting of nouveau in /etc/microprobe.d/ but could find a trace of it, but arvidjaar tells me it’s blacklisted. So where should I look to remove it?
I’ve not downloaded nVidia rpms in years, though it has been upgraded automagically from time to time. I doubt whether there’s an uninstalled rpm lying around, but advice on how to check would help.
How would I distinguish files in /etc/X11/xorg.conf.d/ that nVidia put there from others?
And finally, how do I force an install of the nVidia driver from the repository?
Apologies for the typo and thanks for the detailed advice. I looked in /etc/modprobe.d, not microprobe. The grep found the blacklisting. I’ll remove it.
Here’s the output from the rpm search. How do I find the folders?