Mint 19 Cinnamon nvidia 1050ti Problem

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
uvlt
Level 1
Level 1
Posts: 48
Joined: Thu Dec 27, 2007 4:36 pm

Mint 19 Cinnamon nvidia 1050ti Problem

Post by uvlt » Sun Aug 12, 2018 3:20 am

Hallo!
I'm using a fresh install of LM19 Cinnamon x64 on my AMD FX-6350 system. I just installed a new Nvidia GTX 1050ti graphics card that runs ok with nuveau drivers or on my second boot system (dual boot with ubuntu studio/kde).

The problem i have is that is impossible for me to install any of the nvidia drivers (tried 375, 390, 396.. adding the graphics-drivers ppa). The driver seems to be installed correctly, but after the reboot the system stucks on a black screen and a blinking cursor. Tried with "nomodeset" option with no luck. :(
Is there any idea?

User avatar
catweazel
Level 16
Level 16
Posts: 6213
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Mint 19 Cinnamon nvidia 1050ti Problem

Post by catweazel » Sun Aug 12, 2018 4:40 am

uvlt wrote:
Sun Aug 12, 2018 3:20 am
Is there any idea?
You're going to have to try and drop to a terminal when you get the black screen, ALT-F2, I think. From there you need to purge the nVidia driver:

sudo apt remove --purge nvidia*

If you still have the nomodeset option, remove it.

You should then be able to boot into Mint. If not, you might have to consider a reinstall. Either way, post back and we'll try to sort out the nVidia driver.
Only a life lived for others is a life worthwhile - Albert Einstein

uvlt
Level 1
Level 1
Posts: 48
Joined: Thu Dec 27, 2007 4:36 pm

Re: Mint 19 Cinnamon nvidia 1050ti Problem

Post by uvlt » Sun Aug 12, 2018 5:32 am

Thanks for the answer, With ctrl-alt F1 i got already in command line where i just removed the nvidia drivers. So i use my card with nouveau now (nomodeset removed).
Glad to hear that there will be a driver soon...
Thanks!

User avatar
catweazel
Level 16
Level 16
Posts: 6213
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Mint 19 Cinnamon nvidia 1050ti Problem

Post by catweazel » Sun Aug 12, 2018 5:37 am

uvlt wrote:
Sun Aug 12, 2018 5:32 am
Thanks for the answer, With ctrl-alt F1 i got already in command line where i just removed the nvidia drivers. So i use my card with nouveau now (nomodeset removed).
Glad to hear that there will be a driver soon...
Thanks!
Now that you've done that, run the Mint Driver Manager and see if it will let you install the nVidia driver. You want version 390.
Only a life lived for others is a life worthwhile - Albert Einstein

uvlt
Level 1
Level 1
Posts: 48
Joined: Thu Dec 27, 2007 4:36 pm

Re: Mint 19 Cinnamon nvidia 1050ti Problem

Post by uvlt » Sun Aug 12, 2018 5:35 pm

I did it again (installed teh 390 driver)... No luck!
:cry:

uvlt
Level 1
Level 1
Posts: 48
Joined: Thu Dec 27, 2007 4:36 pm

Re: Mint 19 Cinnamon nvidia 1050ti Problem

Post by uvlt » Sun Aug 12, 2018 6:50 pm

Installing 396 driver, i can login but cinnamon runs in software rendering mode ...

User avatar
roblm
Level 9
Level 9
Posts: 2600
Joined: Sun Feb 24, 2013 2:41 pm

Re: Mint 19 Cinnamon nvidia 1050ti Problem

Post by roblm » Mon Aug 13, 2018 10:31 am

If you can get to the desktop, then use these commands in the Terminal and post the output: inxi -SMCGx and ls /etc/modprobe.d

Also post the Xorg.0.log file. Use this command to open the file: xed /var/log/Xorg.0.log

Press Ctrl+A to select the entire file contents. Right click on the screen and select “Copy”. Open the Mint Forum reply window and select </> at the top. Press Ctrl+V to paste the copied lines into a code display window.

If you have problems posting that long file, then it can be uploaded to pastebin. First install pastebinit with this command:
sudo apt install pastebinit
Then use this command to upload the file to pastebin: pastebinit /var/log/Xorg.0.log
Post the URL link that displays in the Terminal window.

uvlt
Level 1
Level 1
Posts: 48
Joined: Thu Dec 27, 2007 4:36 pm

Re: Mint 19 Cinnamon nvidia 1050ti Problem

Post by uvlt » Mon Aug 13, 2018 12:22 pm

inxi - SMCGx command gives:

Code: Select all

System:    Host: nick-desktop Kernel: 4.15.0-20-generic x86_64
           bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.6 (Gtk 3.22.30-1ubuntu1)
           Distro: Linux Mint 19 Tara
Machine:   Device: desktop Mobo: ASUSTeK model: M5A97 R2.0 v: Rev 1.xx serial: N/A
           BIOS: American Megatrends v: 2603 date: 06/26/2015
CPU:       6 core AMD FX-6350 Six-Core (-MCP-) 
           arch: Bulldozer rev.0 cache: 12288 KB
           
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 46958
           clock speeds: max: 3900 MHz 1: 2051 MHz 2: 1674 MHz 3: 3532 MHz
           4: 3734 MHz 5: 2931 MHz 6: 2762 MHz
Graphics:  Card: NVIDIA GP107 [GeForce GTX 1050 Ti] bus-ID: 01:00.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: vesa,nouveau (unloaded: modesetting,fbdev)
           Resolution: 1024x768@61.00hz
           OpenGL: renderer: llvmpipe (LLVM 6.0, 128 bits)
           version: 3.3 Mesa 18.0.5 Direct Render: Yes
ls /etc/modprobe.d gives:

Code: Select all

alsa-base.conf           blacklist-framebuffer.conf   dkms.conf
blacklist-ath_pci.conf   blacklist-modem.conf         iwlwifi.conf
blacklist.conf           blacklist-oss.conf
blacklist-firewire.conf  blacklist-rare-network.conf


Thanks a lot!

uvlt
Level 1
Level 1
Posts: 48
Joined: Thu Dec 27, 2007 4:36 pm

Re: Mint 19 Cinnamon nvidia 1050ti Problem

Post by uvlt » Mon Aug 13, 2018 12:25 pm

the xorg.0.log is here
https://pastebin.com/e3TJ85Zy

Thanks a lot!

User avatar
roblm
Level 9
Level 9
Posts: 2600
Joined: Sun Feb 24, 2013 2:41 pm

Re: Mint 19 Cinnamon nvidia 1050ti Problem

Post by roblm » Mon Aug 13, 2018 12:50 pm

After installing a Nvidia driver, there should be a file named nvidia-graphics-drivers.conf created that blacklists the nouveau driver. It’s missing. Use this command to create the file: sudo touch /etc/modprobe.d/nvidia-graphics-drivers.conf

Then use this command to open the file for editing: xed admin:///etc/modprobe.d/nvidia-graphics-drivers.conf

Add these lines:
blacklist nouveau
options nouveau modeset=0
blacklist nvidia-modeset


Use this command to update the initial ram disk: sudo update-initramfs -u

You also should not use the nomodeset parameter at startup on the kernel command line or remove it if it has been added to the grub file. Then use the command sudo update-grub

Reboot. Sometimes two are needed to reconfigure everything.

uvlt
Level 1
Level 1
Posts: 48
Joined: Thu Dec 27, 2007 4:36 pm

Re: Mint 19 Cinnamon nvidia 1050ti Problem

Post by uvlt » Mon Aug 13, 2018 3:09 pm

I did what you suggested, but no luck... Im still in software rendering mode, after two reboots. I'll try with 390 driver.

uvlt
Level 1
Level 1
Posts: 48
Joined: Thu Dec 27, 2007 4:36 pm

Re: Mint 19 Cinnamon nvidia 1050ti Problem

Post by uvlt » Mon Aug 13, 2018 3:36 pm

...and with 390.77 drivers, still sticking on a black screen with a blinking cursor

User avatar
roblm
Level 9
Level 9
Posts: 2600
Joined: Sun Feb 24, 2013 2:41 pm

Re: Mint 19 Cinnamon nvidia 1050ti Problem

Post by roblm » Mon Aug 13, 2018 3:45 pm

If your PC originally came with Windows 8 or 10, then check if there is a Secure Boot option enabled in the BIOS and disable it.

Remove the blacklist nvidia-modeset line in the nvidia-graphics-drivers.conf file but don’t remove the file. Then use the command sudo update-initramfs -u and reboot.

Some PCs using the Nvidia driver will need the nomodeset parameter enabled to boot, so try enabling it again.

After installing the Nvidia driver and rebooting, if you get a black screen, then try entering the virtual console tty1 by pressing Ctrl+Alt+F1. Login and use this command to add the Xorg.0.log file to a file named xorg.txt in your Home directory: cat /var/log/Xorg.0.log > xorg.txt
Post that file when you get to the desktop.

uvlt
Level 1
Level 1
Posts: 48
Joined: Thu Dec 27, 2007 4:36 pm

Re: Mint 19 Cinnamon nvidia 1050ti Problem

Post by uvlt » Mon Aug 13, 2018 5:36 pm

I can login but the software renering mode remains... I'm reverting to my old graphics card....

User avatar
roblm
Level 9
Level 9
Posts: 2600
Joined: Sun Feb 24, 2013 2:41 pm

Re: Mint 19 Cinnamon nvidia 1050ti Problem

Post by roblm » Mon Aug 13, 2018 7:30 pm

If you have not removed the Nvidia driver, then would you post the output of this command:
ls /lib/modules/`uname -r`/kernel/drivers/char/drm/

Another option is to install the nvidia-384 driver, but it will have to be downloaded from Nvidia’s website. I have that on my Mint 18.3 installation. It has given fewer problems for users than the nvidia-390. However, when I tried to install the same nvidia-384 package that Driver Manager used in Mint 18, for a Mint 19 installation, there were problems with dependencies and conflicts with some newer file versions on Mint 19 that would have to be resolved.

The nvidia-384 driver from Nvidia’s website installed with no problems. I then removed it and installed the nvidia-390 in Driver Manager without problems. If you want to try that method, then I can give you instructions.

uvlt
Level 1
Level 1
Posts: 48
Joined: Thu Dec 27, 2007 4:36 pm

Re: Mint 19 Cinnamon nvidia 1050ti Problem

Post by uvlt » Tue Aug 14, 2018 8:15 am

Thanks a lot for the interest...
For the time i just installed my old nvidia card because i need to do some work with my pc. It works fine with the 390 driver.
I'll try it again with the 1050 titanium card when i'll find some free time... Maybe then, it will be a newer driver too!

Thanks again and i 'll keep on touch!

Post Reply

Return to “Hardware Support”