NVIDIA Proprietary Drive install lost resolution

Success. Suspending secureboot got me back to grub. It only opens in terminal no graphic. I can login as user or root.

Per your suggestion, I will install nvidia drivers from *.run file and execute other commands as below unless you see a problem:

as root:

./NVIDIA-Linux-x86_64-460.27.04.run -aq
systemctl set-default graphical.target
systemctl reboot

Turning off secureboot in asus bios is not straightforward. You delete PK key to disable secureboot and you need to backup the keys onto a usb for restore prior to the deletion. .
That took a learning time. I had to renable secureboot to get back onto windows so I could open browser to send this message. Now I need to disable secureboot again
to get back into opensuse.

I will wait a while to hear if you concur with above command list before I go back to opensuse.

tom

Hi
Yes, just run through those three commands and leave secure boot disabled for the moment to get to openSUSE and see if resolution returns to normal, we can work on the secure boot later…

See this about secure boot, but just read and digest first: SDB:NVIDIA drivers - openSUSE Wiki

thanks for response,

I will run through those commands to see where I end up.

I read your referenced article before and that is why I was suspicious about things when I didnt get the “add mok” dialogue.

I had both windows and opensuse running with secureboot for years so it should be possible to get back to that.

tom

I ran through commands. NVIDIA loader said installation was successful. No security issues

Upon reboot into grub, I got the totally black blank screen. You can type characters into screen but nothing happens.

I rebooted into grub and went to options window and tried with previous kernal and it booted to graphics but back at same low resolution.

lp 152.57-default give black screen
lp 152.54-default gives graphics back at low resolution

I get into browser in opensuse now

Any suggestions.

Hi
Old nvidia files present, or a config down in /etc/X11 perhaps, is the nouveau blacklisted? Not booting with nomodeset in the grub command lines? As root user run mkinitrd and reboot into newer kernel.

Old nvidia files present – nvidia loader looked for conflicts and went ahead. Software manager has no NCIDIA drivers showing as loaded.

config down in /etc/X11 perhaps – I dont know what the means

is the nouveau blacklisted? – mesa-dri-nouveau is tabooed in software management

Not booting with nomodeset – I did not enter nomodset in grub scripts but I will make sure. I believe this goes away next boot if it was used.

As root user run mkinitrd and reboot into newer kernel – will do

Report back in a few minutes

After commands, boot to default kernel gave high resolution screens. All looks to be working. HWINFO says nvidia drivers.

Now, how do I get secureboot working w/o corrupting opensuse so I can have choice of windows or opensuse.

Thanks for sticking with me.

Hi
Not any of the nouveau packages, but should be a file down in /etc/modprobe.d


fgrep "blacklist nouveau" /etc/modprobe.d/*

/etc/modprobe.d/50-nvidia.conf:blacklist nouveau

cat /etc/modprobe.d/50-nvidia.conf

# generated by nvidia-installer
blacklist nouveau
options nouveau modeset=0
# Added for power management.
options nvidia "NVreg_DynamicPowerManagement=0x02"

So,

Step 1. Go back into YaST Bootloader and enable secure boot and save.

Step2. Reboot into your BIOS and enable secure boot, save and reboot into openSUSE

I did the above steps restarting secureboot in yast and also bios but now opensuse boots into same low resolution mode as before.
windows boots fine and is in high resolution.

Do you think that mkinitrd command as root would help as it seemed to before?

If worse comes to worse, I can live with high res opensuse and no windows. I really dont care about secureboot if i need to turn that off. But I would like it back as before.

Forgot to add command listings you gave me.

tom@DesktopPC:~> fgrep “blacklist nouveau” /etc/modprobe.d/*
/etc/modprobe.d/nvidia.conf:blacklist nouveau

tom@DesktopPC:~> cat /etc/modprobe.d/50-nvidia.conf
cat: /etc/modprobe.d/50-nvidia.conf: No such file or directory

tom@DesktopPC:~>

Hi
Have a read in Chapter 4 about signing the module(s): Chapter 4. Installing the NVIDIA Driver

There is a file named:

/etc/modprobe.d/50-nvidia-default.conf.rpmsave.

This was created 12/31 which is when the failed attempts were being run, not today when I finally got nvidia*.run to completion.

Maybe this should be deleted.

I looked at nvidia driver doc. I have no idea of how to get key or install it. the nvidia installer ran to completion.

If I remove secureboot in yast and also in bios do you think opensuse will boot in high res as before?

Hi
So what does this file contain?

If it has blacklist nouveau in it, then it needs to be renamed as /etc/modprobe.d/50-nvidia-default.conf and run mkinitrd again and reboot.

Hi
Not yet, see my other post and do this first.

I disabled secureboot in yast. I disabled secureboot in bios. Opensuse works in high res with nvidia drivers through grub loading. Windows loads fine through grub. Windows seems to run even though secureboot is still enabled in the OS.

As far as I can tell both are running fine. Only downside is no secureboot but I’ll take my chances and move on.

I thank you for your ongoing efforts. I can’t find the star to check – ref to your signature clause.

Not supposed to be personal in a forum but:

I am 80 and retired in an assisted living facility. We’ve been locked up in our room for about 8 months. If I didn’t have my computer I’d be in a mental institution.
In my early days I worked as a young engineer on the apollo program. Have done 60 years of computing mostly in unix and linux. Still messing with exoplanet data analysis and computational fluid dynamics. I’m in a bunch of computer groups.

This is what keeps me going. You’ve helped me alot.

Sincerely, tom kosvic

Hi
Good news indeed, enjoy :slight_smile: I know a few people in the LHC/Rocket/NASA/Arecibo world from my foray into openSUSE/SUSE/Microfocus :wink:

Got to look for that gravitational wobble… if there are any packages your lacking, sing out as I’m sure we can get something packaged up :wink:

I didnt see your messages as I was responding.
Text of file in /etc/modeprob.d is:

options nvidia NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=484 NVreg_DeviceFileMode=0660
install nvidia PATH=$PATH:/bin:/usr/bin; if /sbin/modprobe --ignore-install nvidia; then   if /sbin/modprobe nvidia_uvm; then     if  ! -c /dev/nvidia-uvm ]; then       mknod -m 660 /dev/nvidia-uvm c $(cat /proc/devices | while read major device; do if  "$device" == "nvidia-uvm" ]; then echo $major; break; fi ; done) 0;        chown :video /dev/nvidia-uvm;     fi;     if  ! -c /dev/nvidia-uvm-tools ]; then       mknod -m 660 /dev/nvidia-uvm-tools c $(cat /proc/devices | while read major device; do if  "$device" == "nvidia-uvm" ]; then echo $major; break; fi ; done) 1;       chown :video /dev/nvidia-uvm-tools;     fi;   fi;   if  ! -c /dev/nvidiactl ]; then     mknod -m 660 /dev/nvidiactl c 195 255;     chown :video /dev/nvidiactl;   fi;   devid=-1;   for dev in $(ls -d /sys/bus/pci/devices/*); do      vendorid=$(cat $dev/vendor);     if  "$vendorid" == "0x10de" ]; then       class=$(cat $dev/class);       classid=${class%%00};       if  "$classid" == "0x0300" -o "$classid" == "0x0302" ]; then          devid=$((devid+1));         if  ! -c /dev/nvidia${devid} ]; then            mknod -m 660 /dev/nvidia${devid} c 195 ${devid};            chown :video /dev/nvidia${devid};         fi;       fi;     fi;   done;   /sbin/modprobe nvidia_drm;   if  ! -c /dev/nvidia-modeset ]; then     mknod -m 660 /dev/nvidia-modeset c 195 254;     chown :video /dev/nvidia-modeset;   fi; fi 

Dont see any blacklist in there.

I think I wont mess with it unless you think it is necessary. I am happy with where things are. Some graphics programs were complaining about grapghics drivers. Maybe that’s fixed.

thanks again.

News says chile wants to rebuild aracebo again. Hope I can see that.

I’d like to see BOINC distributed computing hyped more amongst opensuse people who have lots of cpu muscle. I ran covid research on 9 processors for six months for University of Washington who are developing another vaccine and said the data was useful. Right now I am running Milkyway project asteriod orbit determinations in the background.

tom

Hi
That’s a remnant from the rpm install and can be deleted.

Sure there is not another file in that directory with it in?

Can you post the output from;


/sbin/lspci -nnk | egrep -A3 "VGA|Display|3D"