View previous topic :: View next topic |
Author |
Message |
Jillboy n00b
Joined: 26 Dec 2016 Posts: 8
|
Posted: Mon Dec 26, 2016 1:34 pm Post subject: Can't start X using the NVIDIA driver. |
|
|
Hello. This is the fourth consecutive time I've reinstalled Gentoo (I probably shouldn't be doing that). Now I've gotten to the point that I can boot the system and do just about anything (including posting to the forums from the Lynx text browser), except for actually starting X Windows.
On a previous install I managed to be able to launch X and do just fine, but I was using the Nouveau driver. So I decided to use the NVIDIA proprietary driver instead to make the most of my GPU, but when I tried to start X again, it just went completely black and stayed that way, forcing me to press the power button to shut down the system. I figured I had messed up somewhere trying to remove the Nouveau driver, so I reinstalled everything again, I even tried to learn how to manually configure the kernel in order to follow the NVIDIA wiki page step by step, and, a few kernel panics later, here I am on a woking install. But still no X Windows.
It stays black just like before, except for a few distorted white characters on the bottom, which led me to believe that I was back on the terminal, and sure enough entering "sudo reboot" worked. But still, there are no error messages, it just stays black and I have no idea what could be the problem, except that it might have to do with the NVIDIA drivers as I said above.
Any help would be appreciated. Thanks. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54220 Location: 56N 3W
|
Posted: Mon Dec 26, 2016 2:35 pm Post subject: |
|
|
Jillboy,
Welcome to Gentoo.
Please post your lspci output, so we can see your hardware and your /var/log/Xorg.0.log file.
The /var/log/Xorg.0.log file will tell what Xorg did when it started.
Its too big for a post. Please put it on a pastebin site and post a link.
wgetpaste is your friend. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Jillboy n00b
Joined: 26 Dec 2016 Posts: 8
|
Posted: Mon Dec 26, 2016 3:15 pm Post subject: |
|
|
Thank you Neddy, I was kind of lost because I didn't know which logs would be helpful.
Here is my lspci:
Code: | 00:00.0 RAM memory: NVIDIA Corporation MCP61 Host Bridge (rev a1)
00:01.0 ISA bridge: NVIDIA Corporation MCP61 LPC Bridge (rev a2)
00:01.1 SMBus: NVIDIA Corporation MCP61 SMBus (rev a2)
00:01.2 RAM memory: NVIDIA Corporation MCP61 Memory Controller (rev a2)
00:02.0 USB controller: NVIDIA Corporation MCP61 USB 1.1 Controller (rev a3)
00:02.1 USB controller: NVIDIA Corporation MCP61 USB 2.0 Controller (rev a3)
00:04.0 PCI bridge: NVIDIA Corporation MCP61 PCI bridge (rev a1)
00:05.0 Audio device: NVIDIA Corporation MCP61 High Definition Audio (rev a2)
00:06.0 IDE interface: NVIDIA Corporation MCP61 IDE (rev a2)
00:07.0 Bridge: NVIDIA Corporation MCP61 Ethernet (rev a2)
00:08.0 IDE interface: NVIDIA Corporation MCP61 SATA Controller (rev a2)
00:08.1 IDE interface: NVIDIA Corporation MCP61 SATA Controller (rev a2)
00:09.0 PCI bridge: NVIDIA Corporation MCP61 PCI Express bridge (rev a2)
00:0b.0 PCI bridge: NVIDIA Corporation MCP61 PCI Express bridge (rev a2)
00:0c.0 PCI bridge: NVIDIA Corporation MCP61 PCI Express bridge (rev a2)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Link Control
02:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 630] (rev a1)
02:00.1 Audio device: NVIDIA Corporation GF108 High Definition Audio Controller (rev a1) |
And here is the /var/log/Xorg.0.log file: https://paste.pound-python.org/show/w2MTCGuR7E2FnRZnXN1G/ |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54220 Location: 56N 3W
|
Posted: Mon Dec 26, 2016 3:31 pm Post subject: |
|
|
Jillboy,
It was going well until ...
Code: | [ 43.264] (II) NVIDIA: Using 12288.00 MB of virtual memory for indirect memory
[ 43.264] (II) NVIDIA: access.
[ 46.266] (EE) NVIDIA(GPU-0): Failed to initialize DMA. |
That's probably something missing in your kernel.
Please pastebin your kernel .config file.
Does the nvidia kernel module load?
Try Are there any errors on the command line or at the end of dmesg? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Jillboy n00b
Joined: 26 Dec 2016 Posts: 8
|
Posted: Mon Dec 26, 2016 4:15 pm Post subject: |
|
|
Here is my kernel config: https://paste.pound-python.org/show/0myzAannGsa1eLhGB03A/
Typing that as a normal user says modprobe: command not found, but as sudo, prints nothing at all to the terminal! (And by extension, no errors.) No errors on dmesg either. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Jillboy n00b
Joined: 26 Dec 2016 Posts: 8
|
Posted: Mon Dec 26, 2016 4:31 pm Post subject: |
|
|
Jaglover,
Sorry, I'm a bit of a beginner. How do I find out how many RAM modules I have (and if they're the same)? It's embarassing but up until this point I did not even know what a RAM module is. Is that how mamy RAM "sticks" I have? If so that would be a single 8 GB stick. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54220 Location: 56N 3W
|
Posted: Mon Dec 26, 2016 7:00 pm Post subject: |
|
|
Jillboy,
That's the right answer for modprobe. It confirms that the nvidia kernel module loads without errors.
So that's one thing that we have learned that its not.
To learn a little more about you hardware, run . Like all things Gentoo, you won't have it installed until you install it, or something else depends on it.
To tell the world Code: | dmidecode | wgetpaste | and give us the link. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Jillboy n00b
Joined: 26 Dec 2016 Posts: 8
|
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54220 Location: 56N 3W
|
Posted: Mon Dec 26, 2016 9:37 pm Post subject: |
|
|
Jaglover,
Yep, it may be picky about the order in which DIMMs are fitted.
Jillboy,
Also check your BIOS. It may have a DRAM option for 'Ganged mode'
Ganged mode is only useful when DIMMs are fitted in pairs.
Maybe the nVidia driver hates ganged mode being on with only one DIMM fitted. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Jillboy n00b
Joined: 26 Dec 2016 Posts: 8
|
Posted: Tue Dec 27, 2016 1:59 pm Post subject: |
|
|
Jag, sorry about the delay, I messed up while trying to switch the RAM module from one bank to the other and thought I had killed my system. Thankfully it's working fine now (quite an experience!) and my RAM module is on the second bank, but alas, I'm still having the same problem and can't start X. (Xorg log still says "Failed to initialize DMA.")
Neddy, I iterated through every option in my BIOS but I couldn't anything that concerned ganged or unganged mode. |
|
Back to top |
|
|
Jillboy n00b
Joined: 26 Dec 2016 Posts: 8
|
Posted: Tue Dec 27, 2016 2:58 pm Post subject: |
|
|
Jag, enabled these options, recompiled, installed, reconfigured GRUB, rebooted and done.
But the problem persists, and Xorg log spits out the same error.
Here is my new kernel config just in case: https://paste.pound-python.org/show/D2vy3UuZX5PcX1MnM1pE/ |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54220 Location: 56N 3W
|
Posted: Tue Dec 27, 2016 3:39 pm Post subject: |
|
|
Jillboy,
I suspect that its a hardware or nVidia drivers thing. You can't fix the driver.
The data bus from the CPU to RAM is 128 bits wide. It works at its best when it can drive two RAM modules at a time.
Each module provides 64 data bits. Some hardware can do two accesses to the same RAM module to satisfy the 128 bit expectations.
The nvidia driver may not even check for a single RAM module as its so uncommon.
I bet it works if you fit another identical RAM module in the other slot. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Jillboy n00b
Joined: 26 Dec 2016 Posts: 8
|
Posted: Tue Dec 27, 2016 4:04 pm Post subject: |
|
|
How weird, I though a single RAM module was a common thing especially for future proofing (i.e. if you ever need more RAM just buy another module and plug it in on the empty slot). That is one mistake I'm not going to commit now when I build my own box.
I wish I could test plugging another but I'm saving money to upgrade other parts and RAM isn't really a priority, so my guess is this ends here and I'm going to stick to the Nouveau drivers. Anyway, thank you very much for the support Neddy and Jag. |
|
Back to top |
|
|
|