LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-02-2019, 01:12 PM   #1
Andy Alt
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware64-stable, Debian64 stable, LFS 7.1
Posts: 458

Rep: Reputation: 122Reputation: 122
After installing GTX 1050, reboots when loading initial ramdisk


I installed a GEForce GTX 1050 and now my computer reboots a few seconds after the "Loading Initial Ramdisk" message.

My PC specs

Power supply DX-520WPS (520W)

I'm on Debian Buster/Sid, but this also happens when booting to Slackware-current (post 14-2), and FC 23.

A few months ago, when I was on Debian Stretch, I bought a previously owned GeForce GTX 750TI and had a similar problem. Those reboots seemed more random though. Sometimes I could boot to my desktop but then I'd reboot a minute later. I thought it was a bad card and returned it.

I've installed the drivers using the nvidia-driver (390.87) package from the Debian repo.

I tried flashing my BIOS last night with rev 0502 of CG5275.

Via /etc/default/grub, for my kernel line, I've added things like "nomodeset", "gfxpayload=text", "video=vesaff", "enable_mtrr_cleanup", and "mtrr_spare_reg_nr=2". So far, no effect.

While searching for solutions, I found results that indicated a grub bug may be the problem. I tried booting with lilo.. same result.

To my initrd image, I tried adding these modules:

Quote:
nvidia
nvidia-current
nvidia-current-modeset
nvidia-current-drm
nvidia-current-uvm
I've replaced my CMOS battery.

I have PEG/IGD set in my BIOS.

Sometimes my computer reboots only once before proceeding to finish. Today it was 6 times.

Once I tried booting to Windows, and that worked. But only tried once so will need to do more "booting experiments" to see if there are any differences.

Last edited by Andy Alt; 02-02-2019 at 01:27 PM. Reason: add nvidia driver ver
 
Old 02-03-2019, 12:34 AM   #2
Andy Alt
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware64-stable, Debian64 stable, LFS 7.1
Posts: 458

Original Poster
Rep: Reputation: 122Reputation: 122
I realized this wasn't too clear in my first post, but after a reboot (or more), my PC does succeed to boot to my desktop, and then runs fine. The new card works great!

Some new info: One successful boot to Windows 10, and then one resulted in a reboot at the splash screen.

I removed the "quiet" command from my grub configuration. I've attached a screenshot that shows what appears in the console immediately before reboot.

After all the different things I've tried and the results I've observed, pretty sure now that this is just some incompatibility between the GPU and my motherboard, BIOS, or something funky with the PCIe slot. I got the computer used 3 years ago and have no idea if any GFX card *ever* worked in it (other than IGD).
Attached Thumbnails
Click image for larger version

Name:	pre_reboot_Screenshot_2019-02-03_00-24-11.jpg
Views:	8
Size:	170.9 KB
ID:	29688  
 
Old 02-03-2019, 01:59 AM   #3
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 1,195

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
That power supply might have a marginal component or two in it. I would swap with another to see if it makes a difference, after opening it up to see if it has any obviously leaking or swollen capacitors. All their tops must be flat. Also note the brand names that you can make out. Check out the pix on badcaps.net if you have any question about what you see inside. They have lists of cap manufacturers that are reliable, and those that are not. If the names are on the bad list, the PS probably is your problem eventually even if not now.

You probably have have no need for all the power the DX claims to provide. Most PCs can run on 300W or less, if that's what the PS can really provide reliably.

If you haven't run memtest86 for several hours or more, that's the next thing to try. Overnight should be enough, but sometimes it takes even longer to find that single bad bit or chip that works fine most of the time.
 
1 members found this post helpful.
Old 02-04-2019, 02:20 PM   #4
Andy Alt
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware64-stable, Debian64 stable, LFS 7.1
Posts: 458

Original Poster
Rep: Reputation: 122Reputation: 122
@mmazda, thanks. I don't have an extra power supply to try swapping. I just ordered a new computer.
 
Old 02-04-2019, 02:39 PM   #5
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 1,195

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Quote:
Originally Posted by Andy Alt View Post
I don't have an extra power supply to try swapping. I just ordered a new computer.
Most PC power supplies, including yours, are generic and easily swapped, and sold if not a solution to the problem and money or space consumed by a spare is an issue.
 
Old 02-05-2019, 03:03 PM   #6
Andy Alt
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware64-stable, Debian64 stable, LFS 7.1
Posts: 458

Original Poster
Rep: Reputation: 122Reputation: 122
oh, I just meant that instead of buying and trying a new (or used) power supply, I'd rather just upgrade my desktop (esp since it's a decade old). I ordered a previously owned desktop with an i5 6th gen chip. I'll try the card in that and let ya know.
 
Old 02-05-2019, 06:26 PM   #7
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 1,195

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
If you don't want to keep the old one, maybe my nephew can pick it up and bring it here. He spends several months a year somewhere around Minneapolis. I never had a socket 1156 generation, (or anything Asus branded) and could use it as a troubleshooting tool.
 
Old 02-09-2019, 02:28 AM   #8
Andy Alt
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware64-stable, Debian64 stable, LFS 7.1
Posts: 458

Original Poster
Rep: Reputation: 122Reputation: 122
Quote:
Originally Posted by mrmazda View Post
If you don't want to keep the old one, maybe my nephew can pick it up and bring it here. He spends several months a year somewhere around Minneapolis. I never had a socket 1156 generation, (or anything Asus branded) and could use it as a troubleshooting tool.
I'll keep that in mind and PM you if I decide to get rid of it. Right now I'm leaning on keeping it for a while, but that may change. It can still compile stuff at a decent speed, and I may use it as a "primary-secondary"
 
Old 02-20-2019, 11:53 PM   #9
Andy Alt
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware64-stable, Debian64 stable, LFS 7.1
Posts: 458

Original Poster
Rep: Reputation: 122Reputation: 122
I got my new computer a week ago and put the geforce card into it. The first time I powered it up, it rebooted. I suspect that was from the BIOS auto-updating, because it hasn't rebooted since.

I let my old PC sit for a week, and yesterday did a fresh install of Debian stable, spent about an hour setting up syncthing for the first time and then powered it off after a few hours.

Today 4 reboots within an hour, and keep in mind that's using the Integrated VGA port that never did that before.

So based on what mrmazda suggested, I suspect all those reboots (from after I put the geforce card in) caused some problems with my power supply, or if it was marginal, sped up the process of making it "bad".

I'll check the caps as mrmazda suggested and probably replace the PS, and then report back here.
 
Old 02-24-2019, 04:41 AM   #10
Andy Alt
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware64-stable, Debian64 stable, LFS 7.1
Posts: 458

Original Poster
Rep: Reputation: 122Reputation: 122
The innards of my power supply:
Attached Thumbnails
Click image for larger version

Name:	IMG_20190222_025129.jpg
Views:	20
Size:	270.3 KB
ID:	29911   Click image for larger version

Name:	IMG_20190222_031203.jpg
Views:	15
Size:	211.8 KB
ID:	29912   Click image for larger version

Name:	IMG_20190222_031229.jpg
Views:	13
Size:	232.7 KB
ID:	29913  
 
Old 02-24-2019, 03:54 PM   #11
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 1,195

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Far too much accumulated crud to tell if any caps are obviously bad. It might be OK simply by cleaning with compressed air outdoors wearing a dust mask and coveralls. Worst PC PS innards I've ever seen. Yuck!

The rest of that PC almost certainly needs cleaning too if you didn't already when you installed the GTX 1050.
 
1 members found this post helpful.
Old 02-25-2019, 05:18 PM   #12
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 5,810

Rep: Reputation: 3537Reputation: 3537Reputation: 3537Reputation: 3537Reputation: 3537Reputation: 3537Reputation: 3537Reputation: 3537Reputation: 3537Reputation: 3537Reputation: 3537
Quote:
Originally Posted by mrmazda View Post
Worst PC PS innards I've ever seen. Yuck!
Really? That's the worst you've seen? This is pretty tame from some of the systems I've worked on. The heatsink only has a bit of build up on it, it isn't completely covered.

My guess is that it is just older hardware that is starting to go out. Plus it's unlikely a heat problem would occur that quickly after bootup. Even misplaced heatsinks on CPUs will allow systems to boot up and function for a bit of time before there's too much heat.
 
1 members found this post helpful.
Old 02-27-2019, 06:01 AM   #13
Andy Alt
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware64-stable, Debian64 stable, LFS 7.1
Posts: 458

Original Poster
Rep: Reputation: 122Reputation: 122
The rest of the PC actually looks pretty good.

I already threw out that power supply. Next time I'll just try cleaning it with compressed air. That would have been better in hindsight.

So... now with the new power supply in (same make and model), noticed only a couple reboots. After 20 or 30 minutes it freezes if the video output isn't active. What I mean by that is that it's hooked up to a kvm switch on "port" 2. My main (new) pc is on port 1. If I turn on the PC on that's on port 2, it's fine for about 30 minutes, then it freezes.

I did some testing and changed some settings. One thing that worked 100% is adding "acpi=off" to the kernel command line.

Another thing that worked, before turning off acpi, was periodically switching back to video on port 2.

The freeze thing actually happened with the first PS, I just forgot to mention it. So.. seems the reason I was able to do a fresh install of Debian and syncthing (as mentioned above) was because the video was active the whole time.

Now no reboots the last couple days (but they *did* happen after the new PS was put in), just the freezes which have reproduced consistently. So basically this new problem is unrelated to my OP.

I could mark this thread as solved because my new PC doesn't reboot with the new GPU in it. Don't really know what caused the original problem still but could probably determine for sure if the PS were the issue if I put it in the old PC now that it has a new power supply.

EDIT: Looking more closely, I do see some build-up over the CPU heat-sink.
Attached Thumbnails
Click image for larger version

Name:	inside_PC_IMG_20190222_024359.jpg
Views:	7
Size:	276.2 KB
ID:	29964   Click image for larger version

Name:	inside_PC_IMG_20190222_024625.jpg
Views:	7
Size:	260.2 KB
ID:	29965  

Last edited by Andy Alt; 02-27-2019 at 06:04 AM.
 
Old 02-27-2019, 06:56 AM   #14
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 1,195

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Quote:
Originally Posted by Andy Alt View Post
Looking more closely, I do see some build-up over the CPU heat-sink.
To me it looks like a lot more than just "some".
 
1 members found this post helpful.
Old 02-27-2019, 08:10 AM   #15
Andy Alt
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware64-stable, Debian64 stable, LFS 7.1
Posts: 458

Original Poster
Rep: Reputation: 122Reputation: 122
This is all what I've done in chronological order, leaving acpi enabled:

Btw, when I mentioned "freeze" above and below, I mean that I couldn't ping or ssh in, and pressing the power button didn't shut the computer down (unless held for 5 seconds), and when I switch back to port 2, the display is blank and I can't reactivate it by pressing CTRL, or switch to a terminal with ctrl-alt-f1

Plugged into port 2 of the kvm, port 1 being the active port...

1. Booted to Slackware-current

result: reboot after ~20 minutes, then freeze after ~20 minutes

2. Cleaned cpu heat sink and fan. (see attached pic below)

3. Plugged in 4 pin connection to motherboard that I apparently had forgotten about (see attached pic below)

4. Booted to Debian stable

Result: freeze after ~20 minutes.
Attached Thumbnails
Click image for larger version

Name:	IMG_20190227_073500.jpg
Views:	4
Size:	277.4 KB
ID:	29966   Click image for larger version

Name:	IMG_20190227_073905.jpg
Views:	4
Size:	282.6 KB
ID:	29967  

Last edited by Andy Alt; 02-27-2019 at 08:32 AM.
 
  


Reply

Tags
nvidia geforce


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Mint No Sound through HDMI, NVIDIA GTX 1050 ConfusedLinuxUser9 Linux - Hardware 21 09-01-2018 07:53 AM
Small computer vision server (use of NVIDIA GTX 1050 Ti in debian) Swoncen Linux - Server 1 02-22-2017 01:23 AM
[SOLVED] boot sometimes process gets stuck after loading initial ramdisk joe_2000 Linux - Software 15 07-31-2014 01:17 PM
[SOLVED] Stuck at "loading initial ramdisk" ukernel Linux - Newbie 8 01-08-2012 03:58 AM
Loading initial ramdisk... igsen Debian 1 08-05-2011 05:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration