GeForce GTX 745 driver issues after update

Issues related to hardware problems
nobodyfamous
Posts: 7
Joined: 2019/02/07 11:45:34

GeForce GTX 745 driver issues after update

Post by nobodyfamous » 2019/02/07 14:08:44

I am coming from extended use on Debian [based] distros (Debian, Ubuntu, linux mint, Lubuntu etc.) This is a first on the RHEL/yum side of things.

I have spent 2 1/2 days on this, and it's getting old..... please help me.

The setup;

Brand new install of CentOS 7.6 from DVD ISO on thumb drive. Install works perfect, everything works! (network, sound, displays [all 3] and all)
As soon as I run `yum update` and it runs through 1300+ updates and then won't re boot. I can get the "alt + F2" bash/console but no GNOME GUI

I susspect the graphics card, but attempting to do NVIDIA driver installs of all kinds fail. On fresh installs I tried both this way and this way

The install via NVIDIA-Linux-x86_64-*.run fails with an error that "your kernal headers for ... can not be found at /lib/modules/3.10.0...../ [build|source]

The elrepo way did "nothing". A bunch of stuff installs, and I can reboot, but `lshw` indicates that nouveau is still in use.

To be honest, the nouveau drivers are working just fine. But why not after the yum update????

here is my lshw output

Code: Select all

$ sudo lshw -c display
  *-display                 
       description: VGA compatible controller
       product: GM107 [GeForce GTX 745]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a2
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nouveau latency=0
       resources: irq:134 memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:df000000-df07ffff
  *-display
       description: Display controller
       product: HD Graphics 630
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 04
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm bus_master cap_list
       configuration: driver=i915 latency=0
       resources: irq:135 memory:dd000000-ddffffff memory:b0000000-bfffffff ioport:f000(size=64)
The NVIDIA card is the one in use. Any ideas?

nobodyfamous
Posts: 7
Joined: 2019/02/07 11:45:34

Re: GeForce GTX 745 driver issues after update

Post by nobodyfamous » 2019/02/08 18:27:09

Maybe the question is simply, How do I keep using the nouveau driver?

chemal
Posts: 776
Joined: 2013/12/08 19:44:49

Re: GeForce GTX 745 driver issues after update

Post by chemal » 2019/02/08 20:10:21

See the release notes. There are some problems with the 7.6 nouveau driver. So far RH hasn't fixed this.

Scientific Linux has unofficial xorg builds that fix at least the bug they reported to RH. Might be worth a try. Should be the xorg packages with sl7 in their name here: http://ftp.lip6.fr/pub/linux/distributi ... /fastbugs/

But first you should clean up your system from what the nvidia installer (run file) has done to it.

nobodyfamous
Posts: 7
Joined: 2019/02/07 11:45:34

Re: GeForce GTX 745 driver issues after update

Post by nobodyfamous » 2019/02/08 21:33:49

hmmm, I'll look into that.

I decided to take another stab at this. This time I followed step 2 here and made sure I had JUST the kernel updated and working. It is, and I have rebooted successfully a number of times.

Then I followed this from after the "download driver" part to nearly the end.

For the final driver install via run file, I pressed 'e' on the grub boot and appended "nomodeset 3" and booted to the command.

The driver installed successfully!!!! but it still boots to a black screen. Hitting ALT+F2 and running "lshw" indicates it is still using/loading nouveau

It would be better to use the NVIDIA driver, so how to I get it to use that now? There seems to be 2-3 or more ways to "blacklist" nouveau.

chemal
Posts: 776
Joined: 2013/12/08 19:44:49

Re: GeForce GTX 745 driver issues after update

Post by chemal » 2019/02/08 22:26:18

Using nvidia's run file (what you have done) is unsupported here. Use elrepo's rpm packaged version of the nvidia driver instead. It takes care of everything, you just install and then reboot.

It requires that you undo the damage the run file caused first. Consider reinstalling 7.6 if you don't know how to do that.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: GeForce GTX 745 driver issues after update

Post by TrevorH » 2019/02/08 23:56:40

The .run file takes a -uninstall (or -- maybe)
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

nobodyfamous
Posts: 7
Joined: 2019/02/07 11:45:34

Re: GeForce GTX 745 driver issues after update

Post by nobodyfamous » 2019/02/09 14:18:24

okay, to be on the safe side, I will just do a fresh install..... again.... rather than try the uninstall. I am starting fresh anyway.

I will have to wait till Monday when I am back at work. Is there a good tutorial or write up to follow?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: GeForce GTX 745 driver issues after update

Post by TrevorH » 2019/02/09 14:29:39

No. The whole point of using ELRepo is that you do not need gcc, make or any other development packages. Nor do you need dkms. So skip all of your instructions down to "Then, add the elrepo stuff" and start with that. Also , yum-plugin-fastestmirror is included in all CentOS installs and cannot be removed (though it can be disabled).
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

nobodyfamous
Posts: 7
Joined: 2019/02/07 11:45:34

Re: GeForce GTX 745 driver issues after update

Post by nobodyfamous » 2019/02/09 15:59:27

oop's, I must have deleted all that as you posted. I was reading the elrepo page and gathered I didn't need most of it.

So update.....

Code: Select all

sudo yum update kernel
reeboot
Then, add elrepo stuff

Code: Select all

rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh https://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
and then

Code: Select all

sudo yum install nvidia-detect.x86_64
sudo yum install $(nvidia-detect)
and then I think I also need to finish with

Code: Select all

yum install kmod-nvidia
yum install nvidia-x11-drv
do I need epel-release?

Thanks for the help so far. Just to be sure, can I do this all while booted into desktop (running x) or do I have to do any part having booted "nomodeset" and/or into "3"?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: GeForce GTX 745 driver issues after update

Post by TrevorH » 2019/02/09 17:03:33

sudo yum install $(nvidia-detect)
$(nvidia-detect) runs nvidia-detect which prints out the package name you need and as it's part of the yum install line, it installs it for you. That will pull in nvidia-x11-drv as a prereq so that's all you need to do. The ELRepo packages handle blacklisting the module and adjusting the kernel command line for you.

You will need to uninstall the nvidia .run copy of the drivers before you use ELRepo's copy. As part of that uninstall you may need to reboot to get rid of the loaded nvidia binary.

I don't think ELRepo requires EPEL but since it's useful (it allows access to another 10,000 packages), you might want it installed anyway.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply