sasha
Member
Posts: 9
Likes: 1
|
Post by sasha on Nov 3, 2020 12:04:26 GMT
Hi there, thanks for the new version! Could you help me with some simple question? I cannot find the way to activate Nvidia-390 driver. The console shows, that this driver is installed, but the system uses Nouveau. And Arandr has a single available resolution - 640x480. Is there anything like "Driver manager", where the necessary driver could be selected? My system has a single video card. Thanks in advance
|
|
|
Post by fidoedidoe on Nov 3, 2020 12:41:49 GMT
Hi there, thanks for the new version! Could you help me with some simple question? I cannot find the way to activate Nvidia-390 driver. The console shows, that this driver is installed, but the system uses Nouveau. And Arandr has a single available resolution - 640x480. Is there anything like "Driver manager", where the necessary driver could be selected? My system has a single video card. Thanks in advance I'd suggest first installing the Nvidia Drivers PPA (see wiki for details) which should update the Nvidia-390 driver to latest stable. I'll assume your graphics hardware is locked to that version (if not the wiki link given earlier will outline how to verify which driver your hardware is supported by and how to install). If Nouveau is still being selected I'd suggest disabling it via a kernel parameter. sudo vi /etc/default/grub
Change the line GRUB_CMDLINE_LINUX_DEFAULT="..." appending " nouveau.modeset=0", ie: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nouveau.modeset=0" Save the changes
sudo update-grub sudo reboot FYI - if you have issues booting after that, bring up the grub menu - quickly press and hold the Shift key, which will bring up the GNU GRUB menu. (If you see the Bodhi logo, you've missed the point where you can enter the GRUB menu.). Then edit the bootline (you'll see the edit you made above) remove to boot normally. Once back in Bodhi revert change made above by following same method in reverse.
|
|
sasha
Member
Posts: 9
Likes: 1
|
Post by sasha on Nov 3, 2020 13:22:51 GMT
fidoedidoe, thanks for the suggestions,
I added Nvidia Drivers PPA, and it didn't change the situation: "nvidia-driver-390 is already the newest version (390.138-0ubuntu0.20.04.1)"
This driver is recommended for my card, as I could see in other Ubuntu systems.
Editing grub with "nouveau.modeset=0" made the situation better. The system still uses nouveau, but Arandr gives more available resolutions, including 1024x768. This is much better than 640x480, and now I can at least start using the system. But the Nvidia drivers stil do not work...
|
|
|
Post by fidoedidoe on Nov 3, 2020 13:34:12 GMT
fidoedidoe, thanks for the suggestions,
Editing grub with "nouveau.modeset=0" made the situation better. The system still uses nouveau, but Arandr gives more available resolutions, including 1024x768. This is much better than 640x480, and now I can at least start using the system. But the Nvidia drivers stil do not work...
okay, that's a little odd as that command should blocklist Nouveau from the kernel. I'll double check the kernel command is still appropriate with Bodhi/Ubuntu20.04. In the meantime can you post your card model & series (I'll check there are no driver nuances associated to it). EDIT: Try following the steps given here to "blocklist" the nouveau driver. after reboot if it still uses Nouveau ahead of nvidia can you confirm by (answering question above) and also posting the the output from the command below (just post the information relevant to your graphics card - ignore the other details. I'm interested in seeing what kernel driver is being used): lspci -v
|
|
sasha
Member
Posts: 9
Likes: 1
|
Post by sasha on Nov 3, 2020 14:06:20 GMT
fidoedidoe, I "blocklisted" the nouveau driver following the link you've given, the result is the same.
Here is the full output of lspci -v
01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 440] (rev a1) (prog-if 00 [VGA controller]) Flags: bus master, fast devsel, latency 0, IRQ 10, NUMA node 0 Memory at fd000000 (32-bit, non-prefetchable) [size=16M] Memory at f0000000 (64-bit, prefetchable) [size=128M] Memory at f8000000 (64-bit, prefetchable) [size=32M] I/O ports at d800 [size=128] Expansion ROM at 000c0000 [disabled] [size=128K] Capabilities: <access denied> Kernel modules: nvidiafb, nouveau
|
|
|
Post by fidoedidoe on Nov 3, 2020 14:31:44 GMT
fidoedidoe, I "blocklisted" the nouveau driver following the link you've given, the result is the same. Here is the full output of lspci -v Nvidia's website states driver version 390.138 is the latest stable for the GeForce 400 Series GT 440 card. So no problems there. I'm at a slight loss? Can I ask, is this was a "clean" BL 6.0 install or did you upgrade from BL 5.1? Additionally, can you run this command (to see if nvidia has been blocklisted) and post output. grep -irE "nvidia|nouveau" /etc/modprobe.d/* Finally - can you run these commands too (1st output of dmesg looking for errors, 2nd "probe" hardware) and post results. grep -iE "nvidia|nouveau" /var/log/dmesg modprobe nvidia
|
|
sasha
Member
Posts: 9
Likes: 1
|
Post by sasha on Nov 3, 2020 14:42:26 GMT
Nvidia's website states driver version 390.138 is the latest stable for the GeForce 400 Series GT 440 card. So no problems there. I'm at a slight loss? Can I ask, is this was a "clean" BL 6.0 install or did you upgrade from BL 5.1? Yes, the installation was clean on a formatted partition, but I use /home directory on a separate partition from old system (not Bodhi, it was Lubuntu). Additionally, can you run this command (to see if nvidia has been blocklisted) and post output. grep -irE "nvidia|nouveau" /etc/modprobe.d/* The result: /etc/modprobe.d/blacklist-framebuffer.conf:blacklist nvidiafb /etc/modprobe.d/blacklist-nvidia-nouveau.conf:blacklist nouveau /etc/modprobe.d/blacklist-nvidia-nouveau.conf:options nouveau modeset=0 Finally - can you run these commands too (1st output of dmesg looking for errors, 2nd "probe" hardware) and post results. grep -iE "nvidia|nouveau" /var/log/dmesg modprobe nvidia First command: [ 13.764186] kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1/input7 [ 13.764255] kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1/input8 [ 13.764306] kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1/input9 [ 13.764359] kernel: input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1/input10 [ 15.916849] kernel: audit: type=1400 audit(1604411902.098:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=551 comm="apparmor_parser" [ 15.916854] kernel: audit: type=1400 audit(1604411902.098:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=551 comm="apparmor_parser"
Second command: modprobe: FATAL: Module nvidia not found in directory /lib/modules/5.4.0-51-generic
|
|
|
Post by fidoedidoe on Nov 3, 2020 15:01:39 GMT
Second command: modprobe: FATAL: Module nvidia not found in directory /lib/modules/5.4.0-51-generic okay - this is good info, it looks to me like the driver didn't install correctly (or perhaps installed against an older kernel during install). There a few approaches, try to rebuild the driver for the kernel ls /var/lib/initramfs-tools | sudo xargs -n1 /usr/lib/dkms/dkms_autoinstaller start sudo reboot if the above command (1st one fails) or if it works but after a reboot there's no change , then completely remove the driver and reinstall sudo apt purge nvidia-390 sudo apt install nvidia-390 sudo reboot
|
|
sasha
Member
Posts: 9
Likes: 1
|
Post by sasha on Nov 3, 2020 15:11:10 GMT
There a few approaches, try to rebuild the driver for the kernel ls /var/lib/initramfs-tools | sudo xargs -n1 /usr/lib/dkms/dkms_autoinstaller start sudo reboot if the above command (1st one fails) or if it works but after a reboot there's no change , then completely remove the driver and reinstall sudo apt purge nvidia-390 sudo apt install nvidia-390 sudo reboot Thanks, the first way didn't work, it gave this mistake: Error! Your kernel headers for kernel 5.4.0-51-generic cannot be found. Please install the linux-headers-5.4.0-51-generic package, or use the --kernelsourcedir option to tell DKMS where it's located
Now trying the second way and soon will tell the result.
|
|
sasha
Member
Posts: 9
Likes: 1
|
Post by sasha on Nov 3, 2020 15:18:24 GMT
Trying to purge and then install nvidia driver didn't help. And I noticed, that both commands - purge and install - finished too quickly, just in several seconds.
|
|
|
Post by fidoedidoe on Nov 3, 2020 15:35:01 GMT
Trying to purge and then install nvidia driver didn't help. And I noticed, that both commands - purge and install - finished too quickly, just in several seconds. okay - we're getting in the weeds a little. Based on your previous output I'd run the following: sudo apt update sudo apt-get install --reinstall linux-image-5.4.0-51-generic sudo apt-get install --reinstall linux-headers-5.4.0-51-generic sudo apt-get install --reinstall nvidia-390 sudo apt dist-upgrade sudo reboot
|
|
sasha
Member
Posts: 9
Likes: 1
|
Post by sasha on Nov 3, 2020 16:11:06 GMT
Unfortunately, the situation haven't changed. And reinstalling of nvidia driver was very quick again. P.S. Trying updated variant.
|
|
|
Post by fidoedidoe on Nov 3, 2020 16:28:58 GMT
Unfortunately, the situation haven't changed. And reinstalling of nvidia driver was very quick again. okay - i made some changes to the command list to run (in previous post), there are now 6 commands to run. can you run them all again, and reboot (sorry to be a pain). once restarted - can you run the "modprobe nvidia" command again (as requested earlier) and post output. If all this fails, Then I'd be tempted to say (as it's a pretty new BL 6.0 install) would be to wipe the BL 6.0 install partition and re do the installation. When installation is complete. on first boot drop to terminal window (in low graphics 640x480 mode) and run: sudo apt update sudo apt dist-upgrade sudo reboot #This step is important sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf" sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf" sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt install nvidia-390 sudo reboot #This step is important modprobe nvidia apologies for such an arduous journey - hopefully it will get resolved
|
|
sasha
Member
Posts: 9
Likes: 1
|
Post by sasha on Nov 3, 2020 16:40:53 GMT
fidoedidoe, the version with 5 commands was successfull! I mean this one: sudo apt update sudo apt-get install --reinstall linux-image-5.4.0-51-generic sudo apt-get install --reinstall linux-headers-5.4.0-51-generic sudo apt-get install --reinstall nvidia-390 sudo apt dist-upgrade sudo reboot Now everything is fine, Nvidia driver is in use, and it immediately set the right screen resolution. Thanks for the help! Bodhi linux is the best! And if I can give some output which might be useful to make changes in the release according to this situation with 390 driver - I'm here.
|
|
|
Post by fidoedidoe on Nov 3, 2020 16:42:14 GMT
fidoedidoe, the version with 5 commands was successfull! I mean this one: sudo apt update sudo apt-get install --reinstall linux-image-5.4.0-51-generic sudo apt-get install --reinstall linux-headers-5.4.0-51-generic sudo apt-get install --reinstall nvidia-390 sudo apt dist-upgrade sudo reboot Now everything is fine, Nvidia driver is in use, and it immediately set the right screen resolution. Thanks for the help! Bodhi linux is the best! And if I can give some output which might be useful to make changes in the release according to this situation with 390 driver - I'm here. Glad it's all sorted - well done!!
|
|