Problem with nVidia

Questions about software.
User avatar
jsvenancio
Posts: 196
Joined: 16 Dec 2013 17:59
Location: Portugal
Contact:

Problem with nVidia

Postby jsvenancio » 11 Aug 2014 11:22

Good day.

Recently formatted the PC, to install the nVidia drive with the help of this tutorial, http://forums.solydxk.com/viewtopic.php?f=9&t=2908, I encountered a problem. After installing the nVidia following steps 3 and 4 and 6 of the tutorial mentioned above, when I restart my PC I get a black screen and can not login.

Information from my Software:

Code: Select all

$ inxi -Gxx
Graphics:  Card: NVIDIA G86M [GeForce 8400M GS]
           bus-ID: 01:00.0 chip-ID: 10de:0427
           Display Server: X.Org 1.15.1 drivers: nouveau (unloaded: fbdev,vesa)
           Resolution: 1280x800@60.0hz
           GLX Renderer: Gallium 0.4 on NV86
           GLX Version: 3.0 Mesa 10.1.4 Direct Rendering: Yes
$ 
Already had installed the nVidia before using this method and it worked this time, but now I'm having trouble doing the same installation. Can you help?
SolydX - 64bts - Debian

Sorry for my bad English, I speak Portuguese and use the Google translator.

User avatar
ScottQuier
Posts: 1781
Joined: 18 Jul 2013 15:55
Location: Newport News, VA

Re: Problem with nVidia

Postby ScottQuier » 11 Aug 2014 20:41

First ... what happens if you do a <Ctrl><Alt><F2> to get to a consol, log in, and run the command

Code: Select all

startx
If life is good, you'll have started your DE.

However, all that aside, you didn't get the driver installed.

If you can get to any kind of a consol, can you produce the output from

Code: Select all

tail 20 /var/log/history.log
Scott
Quoting zerozero, "The usage of PPA's in debian-based
systems is risky at best and entails serious compatibility
problems; usually it's the best way to destroy an install"

User avatar
jsvenancio
Posts: 196
Joined: 16 Dec 2013 17:59
Location: Portugal
Contact:

Re: Problem with nVidia

Postby jsvenancio » 11 Aug 2014 21:22

ScottQuier wrote:First ... what happens if you do a <Ctrl><Alt><F2> to get to a consol, log in, and run the command

Code: Select all

startx
*****************************************************
Good evening.
To enter the console, use <Ctrl> <Alt> <F1>.
I returned to format the PC, since usually I go but still have the nVidia driver.
*****************************************************
ScottQuier wrote:If life is good, you'll have started your DE.

However, all that aside, you didn't get the driver installed.

If you can get to any kind of a consol, can you produce the output from

Code: Select all

tail 20 /var/log/history.log
The result is this:

Code: Select all

$ 20 tail /var/log/history.log 
tail: can not open '20' for reading: No such file or directory 
tail: can not open '/var/log/history.log' for reading: No such file or directory 
$
SolydX - 64bts - Debian

Sorry for my bad English, I speak Portuguese and use the Google translator.

User avatar
ScottQuier
Posts: 1781
Joined: 18 Jul 2013 15:55
Location: Newport News, VA

Re: Problem with nVidia

Postby ScottQuier » 11 Aug 2014 22:41

jsvenancio wrote: *****************************************************
Good evening.
To enter the console, use <Ctrl> <Alt> <F1>.
I returned to format the PC, since usually I go but still have the nVidia driver.
*****************************************************
Any key F1 through F6 will get you a console in SolydXK. I just happen to roll with F2 most times.

But, I'm not understanding you. Did you do a system re-install since your first posting in this thread? Is the problem taken care of?

Like I said, I'm not understanding.

I had a mis-type. :oops: :oops: That last command should have been

Code: Select all

tail -n 40 /var/log/apt/history.log
Oh, and I increased the amount of output - just for grins. :)

A couple of other thoughts:

What was/is the output from running the nvidia-detect command?
Scott
Quoting zerozero, "The usage of PPA's in debian-based
systems is risky at best and entails serious compatibility
problems; usually it's the best way to destroy an install"

User avatar
jsvenancio
Posts: 196
Joined: 16 Dec 2013 17:59
Location: Portugal
Contact:

Re: Problem with nVidia

Postby jsvenancio » 12 Aug 2014 10:07

ScottQuier wrote:But, I'm not understanding you. Did you do a system re-install since your first posting in this thread? Is the problem taken care of?
***************************************
Yes, I installed the system again.
Still not returned to try to install the nVidia, the problem may recur.
***************************************
ScottQuier wrote:

Code: Select all

tail -n 40 /var/log/apt/history.log
***************************************
Result of the above command:

Code: Select all

$ tail -n 40 /var/log/apt/history.log
$
***************************************
ScottQuier wrote:What was/is the output from running the nvidia-detect command?
***************************************
Result of the above command:

Code: Select all

$ nvidia-detect
Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation G86M [GeForce 8400M GS] [10de:0427] (rev a1)
Your card is supported by the default drivers and legacy driver series 304 and legacy driver series 173.14.
It is recommended to install the
    nvidia-driver
package.
$ 
***************************************
SolydX - 64bts - Debian

Sorry for my bad English, I speak Portuguese and use the Google translator.

User avatar
ScottQuier
Posts: 1781
Joined: 18 Jul 2013 15:55
Location: Newport News, VA

Re: Problem with nVidia

Postby ScottQuier » 12 Aug 2014 20:00

jsvenancio wrote: ***************************************
Yes, I installed the system again.
Still not returned to try to install the nVidia, the problem may recur.
***************************************
It is almost always a good thing to not "fix what ain't broke". If your system does everything you need it to do with out installing the Nvidia driver, then don't install it.
jsvenancio wrote: ***************************************
Result of the above command:

Code: Select all

$ nvidia-detect
Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation G86M [GeForce 8400M GS] [10de:0427] (rev a1)
Your card is supported by the default drivers and legacy driver series 304 and legacy driver series 173.14.
It is recommended to install the
    nvidia-driver
package.
$ 
***************************************
This is the telling part .... When I was running a legacy video card, using nvidia-driver broke the install. I had to use the 304 driver. Eventually, even that older driver did not support the video card; and I had two of them, one almost new and neither one of them worked.

If you need the Nvidia driver, I would be tempted to use the 304, understanding that you might need to roll it back and try a different one.
Scott
Quoting zerozero, "The usage of PPA's in debian-based
systems is risky at best and entails serious compatibility
problems; usually it's the best way to destroy an install"

User avatar
jsvenancio
Posts: 196
Joined: 16 Dec 2013 17:59
Location: Portugal
Contact:

Re: Problem with nVidia

Postby jsvenancio » 12 Aug 2014 20:15

ScottQuier wrote:This is the telling part .... When I was running a legacy video card, using nvidia-driver broke the install. I had to use the 304 driver. Eventually, even that older driver did not support the video card; and I had two of them, one almost new and neither one of them worked.

If you need the Nvidia driver, I would be tempted to use the 304, understanding that you might need to roll it back and try a different one.
How do I install the 304?
SolydX - 64bts - Debian

Sorry for my bad English, I speak Portuguese and use the Google translator.

User avatar
ScottQuier
Posts: 1781
Joined: 18 Jul 2013 15:55
Location: Newport News, VA

Re: Problem with nVidia

Postby ScottQuier » 12 Aug 2014 20:42

Re-read step 6 of the tutorial.
Scott
Quoting zerozero, "The usage of PPA's in debian-based
systems is risky at best and entails serious compatibility
problems; usually it's the best way to destroy an install"

User avatar
jsvenancio
Posts: 196
Joined: 16 Dec 2013 17:59
Location: Portugal
Contact:

Re: Problem with nVidia

Postby jsvenancio » 13 Aug 2014 22:25

ScottQuier wrote:Re-read step 6 of the tutorial.
Good evening.

By following the 6th step Tutorial received two errors.

The command:

Code: Select all

$ sudo apt-get install nvidia-legacy-304xx-driver nvidia-xconfig
Response;

Code: Select all

Loaded the nouveau kernel module on conflict 

The free nouveau kernel module is currently loaded and in conflict with the module's non-free nvidia kernel. 

The easiest way to fix this is to restart the machine after the installation has finished.
The command:

Code: Select all

$ sudo nvidia-xconfig
Response;

Code: Select all

$ sudo nvidia-xconfig 

Using X configuration file: "/etc/X11/xorg.conf".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'

$
Note; Not yet restarted the PC after attempting this installation, it is likely that after restarting the PC has to enter "ctrl + alt + F1".

Some more information:

Code: Select all

$ tail -n 40 /var/log/apt/history.log

Start-Date: 2014-08-12  12:05:47
Install: flashplugin-nonfree:i386 (3.5)
End-Date: 2014-08-12  12:06:10

Start-Date: 2014-08-12  21:16:42
Remove: flashplugin-nonfree:i386 (3.5)
End-Date: 2014-08-12  21:16:48

Start-Date: 2014-08-12  21:17:51
Remove: chromium-l10n:i386 (35.0.1916.153-2), chromium:i386 (35.0.1916.153-2)
End-Date: 2014-08-12  21:18:01

Start-Date: 2014-08-13  19:41:03
Commandline: apt-get --assume-yes -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold --force-yes dist-upgrade
Upgrade: solydxk-flashplugin-11:i386 (11.2.202.394, 11.2.202.400), google-chrome-stable:i386 (34.0.1847.137-1, 36.0.1985.143-1)
End-Date: 2014-08-13  19:41:31

Start-Date: 2014-08-13  22:54:22
Commandline: apt-get install nvidia-legacy-304xx-driver nvidia-xconfig
Install: glx-alternative-nvidia:i386 (0.4.1, automatic), nvidia-kernel-common:i386 (20131102+1, automatic), nvidia-settings-legacy-304xx:i386 (304.116-1, automatic), nvidia-legacy-173xx-kernel-dkms:i386 (173.14.39-2, automatic), libgl1-nvidia-legacy-173xx-glx:i386 (173.14.39-2, automatic), nvidia-settings-legacy-173xx:i386 (173.14.39-1, automatic), nvidia-alternative-legacy-173xx:i386 (173.14.39-2, automatic), nvidia-legacy-304xx-kernel-dkms:i386 (304.121-1, automatic), nvidia-legacy-173xx-driver:i386 (173.14.39-2, automatic), nvidia-xconfig:i386 (331.67-1), nvidia-legacy-304xx-alternative:i386 (304.121-1, automatic), xserver-xorg-video-nvidia-legacy-304xx:i386 (304.121-1, automatic), nvidia-legacy-304xx-driver:i386 (304.121-1), nvidia-support:i386 (20131102+1, automatic), xserver-xorg-video-nvidia-legacy-173xx:i386 (173.14.39-2, automatic), pkg-config:i386 (0.28-1, automatic), libgl1-nvidia-legacy-304xx-glx:i386 (304.121-1, automatic)
End-Date: 2014-08-13  23:01:11
$

Code: Select all

# startx


X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-4-amd64 i686 Debian
Current Operating System: Linux 0p71mu5 3.14-1-686-pae #1 SMP Debian 3.14.12-1 (2014-07-11) i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.14-1-686-pae root=UUID=beb3f469-a8dc-4a93-8155-765e4d24f6f9 ro quiet splash
Build Date: 15 April 2014  07:46:36PM
xorg-server 2:1.15.1-1 (http://www.debian.org/support) 
Current version of pixman: 0.32.4
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Wed Aug 13 23:23:22 2014
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
setversion 1.4 failed: Permission denied
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
modprobe: ERROR: could not insert 'nvidia_legacy_304xx': No such device
(EE) 
Fatal server error:
(EE) no screens found(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
0p71mu5 pr07071p3 #
SolydX - 64bts - Debian

Sorry for my bad English, I speak Portuguese and use the Google translator.

User avatar
ScottQuier
Posts: 1781
Joined: 18 Jul 2013 15:55
Location: Newport News, VA

Re: Problem with nVidia

Postby ScottQuier » 13 Aug 2014 22:41

That last part not withstanding, it looks like the install went well. The real test will be to reboot the computer.

I don't understand why you went to terminal (Ctrl-Alt-Fx) and then started X from there. A reboot of the computer will cause the Nvidia driver to be started and after that, if all goes well, X will start automagically.
Scott
Quoting zerozero, "The usage of PPA's in debian-based
systems is risky at best and entails serious compatibility
problems; usually it's the best way to destroy an install"

User avatar
jsvenancio
Posts: 196
Joined: 16 Dec 2013 17:59
Location: Portugal
Contact:

Re: Problem with nVidia

Postby jsvenancio » 14 Aug 2014 12:29

ScottQuier wrote:That last part not withstanding, it looks like the install went well. The real test will be to reboot the computer.

I don't understand why you went to terminal (Ctrl-Alt-Fx) and then started X from there. A reboot of the computer will cause the Nvidia driver to be started and after that, if all goes well, X will start automagically.
Good afternoon.
As I thought, now to start the PC can not get to the Login screen.
I got in mode {ctrl + alt + F1} and used the following command:

Code: Select all

$ Sudo nvidia-xconfig
But the result was this:

Code: Select all

$ Sudo nvidia-xconfig

Using X configuration file: "/etc/X11/xorg.conf".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'

$
How can I solve this problem?

Note: I'm in SolydX Live.
SolydX - 64bts - Debian

Sorry for my bad English, I speak Portuguese and use the Google translator.

User avatar
ScottQuier
Posts: 1781
Joined: 18 Jul 2013 15:55
Location: Newport News, VA

Re: Problem with nVidia

Postby ScottQuier » 14 Aug 2014 15:10

That's not a problem. That's expected behavior. It re-wrote the xorg.conf file.

If life is playing fair you should be able to reboot and be joyous. If a reboot does not allow you to get to the DE, then there's something strange going on that is beyond my skills to correct.
Scott
Quoting zerozero, "The usage of PPA's in debian-based
systems is risky at best and entails serious compatibility
problems; usually it's the best way to destroy an install"

User avatar
jsvenancio
Posts: 196
Joined: 16 Dec 2013 17:59
Location: Portugal
Contact:

Re: Problem with nVidia

Postby jsvenancio » 14 Aug 2014 15:46

ScottQuier wrote:That's not a problem. That's expected behavior. It re-wrote the xorg.conf file.

If life is playing fair you should be able to reboot and be joyous. If a reboot does not allow you to get to the DE, then there's something strange going on that is beyond my skills to correct.
As I say above, to start the PC can not get the screen to login.
To resolve I have to remove the drive from nVidia?

EDIT:
I went into [ctrl + alt + F1] and tried to run the following commands:

Code: Select all

# rm /etc/X11/xorg.conf
# rm /etc/modprobe.d/nvidia*
# rm /etc/modprobe.d/blacklist-nouveau.conf
# apt-get purge nvidia*
# reboot
But the third said not possible and find the file.
After that I am able to Jegar the login screen, but when I log back to the login screen.

Is there a way to get back to log correctly?
SolydX - 64bts - Debian

Sorry for my bad English, I speak Portuguese and use the Google translator.

User avatar
zerozero
Posts: 5373
Joined: 10 Feb 2013 23:37
Location: West Midlands, England
Contact:

Re: Problem with nVidia

Postby zerozero » 14 Aug 2014 17:24

when you installed the system did you left plymouth installed (it's enabled as default in the installer)?

from my experience with proprietary drivers (fgrlx, not with nvidia), you can't have plymouth enabled when you want to install proprietary drivers.
bliss of ignorance

User avatar
jsvenancio
Posts: 196
Joined: 16 Dec 2013 17:59
Location: Portugal
Contact:

Re: Problem with nVidia

Postby jsvenancio » 14 Aug 2014 17:31

zerozero wrote:when you installed the system did you left plymouth installed (it's enabled as default in the installer)?

from my experience with proprietary drivers (fgrlx, not with nvidia), you can't have plymouth enabled when you want to install proprietary drivers.
Was probably activated, how do I disable the?
SolydX - 64bts - Debian

Sorry for my bad English, I speak Portuguese and use the Google translator.

User avatar
ScottQuier
Posts: 1781
Joined: 18 Jul 2013 15:55
Location: Newport News, VA

Re: Problem with nVidia

Postby ScottQuier » 14 Aug 2014 20:06

The easiest way I've found that works for me is

Code: Select all

sudo apt-get remove --purge plymouth*
sudo reboot
Since someone else here posted that, I've done that to all my installs and have had zero negative effects - at least none that I've noticed. Obviously, this completely removes it from the system.

Another way is to edit /etc/default/grub and change the line that reads

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
to

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet"
then run

Code: Select all

sudo update-grub
sudo reboot
Scott
Quoting zerozero, "The usage of PPA's in debian-based
systems is risky at best and entails serious compatibility
problems; usually it's the best way to destroy an install"

User avatar
jsvenancio
Posts: 196
Joined: 16 Dec 2013 17:59
Location: Portugal
Contact:

Re: Problem with nVidia

Postby jsvenancio » 14 Aug 2014 21:24

ScottQuier wrote:Another way is to edit /etc/default/grub and change the line that reads

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
to

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet"
then run

Code: Select all

sudo update-grub
sudo reboot
Used the method described in the quote.

After using this command:

Code: Select all

$ sudo apt-get install nvidia-legacy-304xx-driver nvidia-xconfig
I get to this part:

Code: Select all

DKMS: install completed.
A instalar nvidia-settings-legacy-173xx (173.14.39-1) ...
A instalar nvidia-settings-legacy-304xx (304.116-1) ...
A instalar libgl1-nvidia-legacy-173xx-glx:i386 (173.14.39-2) ...
A instalar libgl1-nvidia-legacy-304xx-glx:i386 (304.121-1) ...
A instalar xserver-xorg-video-nvidia-legacy-173xx (173.14.39-2) ...
A instalar nvidia-legacy-173xx-kernel-dkms (173.14.39-2) ...
Loading new nvidia-legacy-173xx-173.14.39 DKMS files...
First Installation: checking all kernels...
Building only for 3.14-1-686-pae
Building initial module for 3.14-1-686-pae
Done.

nvidia-legacy-173xx:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.14-1-686-pae/updates/dkms/

depmod....

DKMS: install completed.
A instalar nvidia-legacy-173xx-driver (173.14.39-2) ...
A instalar xserver-xorg-video-nvidia-legacy-304xx (304.121-1) ...
A instalar nvidia-legacy-304xx-driver (304.121-1) ...
Processing triggers for libc-bin (2.19-3) ...
Processing triggers for initramfs-tools (0.115) ...
update-initramfs: Generating /boot/initrd.img-3.14-1-686-pae
Processing triggers for menu (2.1.47) ...
$
Where to get this error:

Code: Select all

Loaded the nouveau kernel module conflicts.
The free nouveau kernel module is currently loaded and in conflict with the module's non-free nvidia kernel.
The easiest way to fix this is to restart the machine after the installation has finished.
Apparently the problem is related to the nouveau kernel.
When you restart the PC back to black screen, and I can not login.
SolydX - 64bts - Debian

Sorry for my bad English, I speak Portuguese and use the Google translator.

User avatar
ScottQuier
Posts: 1781
Joined: 18 Jul 2013 15:55
Location: Newport News, VA

Re: Problem with nVidia

Postby ScottQuier » 15 Aug 2014 01:45

Did you actually read the message?

Again, that last is not an error. It's letting you know that the file was updated after it was first backed up.
Scott
Quoting zerozero, "The usage of PPA's in debian-based
systems is risky at best and entails serious compatibility
problems; usually it's the best way to destroy an install"

User avatar
Snap
Posts: 1244
Joined: 25 Aug 2013 20:01
Location: Spain

Re: Problem with nVidia

Postby Snap » 15 Aug 2014 06:55

Maybe this works for you. I haven't troubles with either the Nouveau drivers or installing the 304 driver until the kernel 3.13 came around. Since then the Nouveau with newer kernels don't work right with my aged FX1500 card. In fact it works all wrong and installing the now mandatory Nvidia 304 drivers is a real mess. No way to install them with smxi either. But I manged to find a workaround that worked a few times in Solyd and Makulu. Both Debian testing based distros.

After a fresh install and before doing anything else i launch synaptic (yes, synaptic worked better than a terminal) Search for nvidia 304 and install it. Better go for the nvidia-legacy-304xx-driver. It's a metapackage that will pull most of the needed packages. Yes, most because you'll need one more once installed.

Once synaptic finishes, reboot and probably you'll get a wrong resolution. Launch Nvidia X Server Settings. It will complain because it's not properly configured and a package is missing. If I remember well, it's nvidia-settings or something like that, but, it will tell you what to type into a terminal. Do it. Install that missing package, run it and reboot. It always worked for me in my last Debian testing based distros installs. It's a dirty method but it's the only way I've found succeeding to deal with outdated and recently unsupported cards by the Nouveau drivers.

I know I (we) have to buy a new GPU, but...

Hope this helps.
This likely means that your installation is broken. -Mr Pixbuf.

Image

User avatar
jsvenancio
Posts: 196
Joined: 16 Dec 2013 17:59
Location: Portugal
Contact:

Re: Problem with nVidia

Postby jsvenancio » 21 Apr 2018 17:06

Good afternoon.

I tried again to solve this problem, but when giving command (startx) I returned with the original installation. After restarting I came across that soon after entering the login password it returns to the login screen.

I can not log in, any suggestions?
ScottQuier wrote:
11 Aug 2014 20:41
First ... what happens if you do a <Ctrl><Alt><F2> to get to a consol, log in, and run the command

Code: Select all

startx
SolydX - 64bts - Debian

Sorry for my bad English, I speak Portuguese and use the Google translator.


Return to “Software”

Who is online

Users browsing this forum: No registered users and 2 guests