| View previous topic :: View next topic |
| Author |
Message |
jwenzel n00b

Joined: 04 Mar 2012 Posts: 22
|
Posted: Mon Mar 05, 2012 3:10 am Post subject: [SOLVED] Can't get my nvidia card working |
|
|
I am trying to install gentoo and everything is going smoothly untill I try to start the Xserver. It gives me an error stating my card has failed to initialize. Another thing is it insists on trying to load the dri and dri2 modules dispute not being told to and not existing commenting them out does no good.
This is the xorg log http://paste.pocoo.org/show/561093/
My xorg.conf can be located here http://paste.pocoo.org/show/561095/
And if needed my current kernel config
Http://paste.pocoo.org/show/561071/
Links fixed
Last edited by jwenzel on Mon Mar 05, 2012 6:35 pm; edited 4 times in total |
|
| Back to top |
|
 |
cach0rr0 Moderator


Joined: 13 Nov 2008 Posts: 4117 Location: Houston, Republic of Texas
|
Posted: Mon Mar 05, 2012 3:34 am Post subject: |
|
|
your links appear to be broken
the first goes to some python output
the second an invalid domain (and the paste ID is invalid)
the third is also an invalid domain (s/poco/pocoo/) with the same paste ID issue
..though that *is* the helpful info, so if you can get us the right links we should be able to get you sorted _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Last edited by cach0rr0 on Mon Mar 05, 2012 3:34 am; edited 1 time in total |
|
| Back to top |
|
 |
Chiitoo l33t


Joined: 28 Feb 2010 Posts: 616 Location: Finland
|
Posted: Mon Mar 05, 2012 3:34 am Post subject: |
|
|
Welcome, jwenzel!
Firstly, it is safe to ignore those messages about dri and dri2; nVidia doesn't use them and they just like to hang around (sorry, I can't remember the real explanation to it for the time being).
Secondly have you tried without a xorg.conf at all?
If it fails, try with a xorg.conf having only this in it:
| Code: | Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection |
I cannot see your xorg.conf, or the log, as the links seem to be broken?
The 1 of the 3 pages that is found, certainly isn't a Xorg.0.log!
Might be a connection issue from where I am, I guess.
(Looking closer, there appear to be typos?)
Just some quick thoughts~ _________________ Kind Regards,
The Noob Unlimited
~sore wa sore kore wa kore~ |
|
| Back to top |
|
 |
jwenzel n00b

Joined: 04 Mar 2012 Posts: 22
|
Posted: Mon Mar 05, 2012 3:40 am Post subject: |
|
|
| Chiitoo wrote: | Welcome, jwenzel!
Firstly, it is safe to ignore those messages about dri and dri2; nVidia doesn't use them and they just like to hang around (sorry, I can't remember the real explanation to it for the time being).
Secondly have you tried without a xorg.conf at all?
If it fails, try with a xorg.conf having only this in it:
| Code: | Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection |
I cannot see your xorg.conf, or the log, as the links seem to be broken?
The 1 of the 3 pages that is found, certainly isn't a Xorg.0.log!
Might be a connection issue from where I am, I guess.
(Looking closer, there appear to be typos?)
Just some quick thoughts~ |
I've tried all of that without sucess also it fails to load the nvidia driver without the xorg.conf and also tries to load the non existing open source nvidia and radon driver
Last edited by jwenzel on Mon Mar 05, 2012 3:47 am; edited 1 time in total |
|
| Back to top |
|
 |
jwenzel n00b

Joined: 04 Mar 2012 Posts: 22
|
Posted: Mon Mar 05, 2012 3:45 am Post subject: |
|
|
| cach0rr0 wrote: | your links appear to be broken
the first goes to some python output
the second an invalid domain (and the paste ID is invalid)
the third is also an invalid domain (s/poco/pocoo/) with the same paste ID issue
..though that *is* the helpful info, so if you can get us the right links we should be able to get you sorted |
Sorry bout that links are fixed |
|
| Back to top |
|
 |
Chiitoo l33t


Joined: 28 Feb 2010 Posts: 616 Location: Finland
|
Posted: Mon Mar 05, 2012 4:04 am Post subject: |
|
|
Does dmesg show anything fun?
I see you have CONFIG_STAGING=y and this to my understanding can, and will collide with nvidia-drivers.
However I don't remember if it's enough to have just that part set, as I see you don't have anything specific from the section selected... _________________ Kind Regards,
The Noob Unlimited
~sore wa sore kore wa kore~ |
|
| Back to top |
|
 |
jwenzel n00b

Joined: 04 Mar 2012 Posts: 22
|
Posted: Mon Mar 05, 2012 4:12 am Post subject: |
|
|
| Chiitoo wrote: | Does dmesg show anything fun?
I see you have CONFIG_STAGING=y and this to my understanding can, and will collide with nvidia-drivers.
However I don't remember if it's enough to have just that part set, as I see you don't have anything specific from the section selected... |
As soon as my kernel finishes compiling I'll see if I got that option disabled happen to know what that will show up as in menu config by chance? Doing dmesg | grp nvidia locates the card should it be reported as pic when it's really pic express? |
|
| Back to top |
|
 |
Chiitoo l33t


Joined: 28 Feb 2010 Posts: 616 Location: Finland
|
Posted: Mon Mar 05, 2012 4:22 am Post subject: |
|
|
It's at Device Drivers, on the lower parts of the list.
While in menuconfig, you can search for anything by using the / key, and will show any hits as per query and their location.
I don't know about that PCI-question, not sure what it tells for me.
If you issue dmesg just after startx fails, I think it should should something more there (not sure if grep nvidia would show everything). _________________ Kind Regards,
The Noob Unlimited
~sore wa sore kore wa kore~ |
|
| Back to top |
|
 |
cach0rr0 Moderator


Joined: 13 Nov 2008 Posts: 4117 Location: Houston, Republic of Texas
|
Posted: Mon Mar 05, 2012 4:22 am Post subject: |
|
|
FWIW, i see a few things you do/dont have enabled that you might want to change
here is the graphics bit from one of my working kernel configs with an nvidia card
| Code: |
#
# Graphics support
#
CONFIG_AGP=y
# CONFIG_AGP_AMD64 is not set
# CONFIG_AGP_INTEL is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_VIA is not set
CONFIG_VGA_ARB=y
CONFIG_VGA_ARB_MAX_GPUS=2
# CONFIG_VGA_SWITCHEROO is not set
CONFIG_DRM=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_VGASTATE is not set
|
notice i have only CONFIG_AGP enabled, but none of the sub-options beneath
as well I have CONFIG_DRM enabled, but none of the options beneath that either.
first thing that comes to mind _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
| Back to top |
|
 |
jwenzel n00b

Joined: 04 Mar 2012 Posts: 22
|
Posted: Mon Mar 05, 2012 4:28 am Post subject: |
|
|
| Chiitoo wrote: | It's at Device Drivers, on the lower parts of the list.
While in menuconfig, you can search for anything by using the / key, and will show any hits as per query and their location.
I don't know about that PCI-question, not sure what it tells for me.
If you issue dmesg just after startx fails, I think it should should something more there (not sure if grep nvidia would show everything). |
Thanks for the tip I'll definitely keep that in mind in the future |
|
| Back to top |
|
 |
Chiitoo l33t


Joined: 28 Feb 2010 Posts: 616 Location: Finland
|
Posted: Mon Mar 05, 2012 4:33 am Post subject: |
|
|
cach0rr0,
As a side question (haven't really found the answer I'm looking for anywhere), does that really affect anything when not actually using an AGP-card?
When I read that, I remembered I did a test quite some time ago, disabling that option, assuming something would not work but on the contrary, I didn't notice anything not working.
I have a nVidia-based GTX275 card via PCI-e.
Like so:
| Code: | #
# Graphics support
#
# CONFIG_AGP is not set
# CONFIG_VGA_ARB is not set
# CONFIG_VGA_SWITCHEROO is not set
# CONFIG_DRM is not set
# CONFIG_STUB_POULSBO is not set
# CONFIG_VGASTATE is not set
CONFIG_VIDEO_OUTPUT_CONTROL=y
CONFIG_FB=y
# CONFIG_FIRMWARE_EDID is not set
# CONFIG_FB_DDC is not set
CONFIG_FB_BOOT_VESA_SUPPORT=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
# CONFIG_FB_SYS_FILLRECT is not set
# CONFIG_FB_SYS_COPYAREA is not set
# CONFIG_FB_SYS_IMAGEBLIT is not set
# CONFIG_FB_FOREIGN_ENDIAN is not set
# CONFIG_FB_SYS_FOPS is not set
# CONFIG_FB_WMT_GE_ROPS is not set
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
# CONFIG_FB_MODE_HELPERS is not set
# CONFIG_FB_TILEBLITTING is not set |
As I mentioned, I was basically testing things out and sort of forgot about it later, so I wouldn't be surprised if this section seems a bit weird. ^^;
I don't intend to hi-jack the thread, but since that AGP-setting came up, I thought I'd take the chance to ask (and it's basically related)!
Edit:
I guess this does sort of answer my thoughts, silly me:
| Gentoo Linux nVidia Guide wrote: | | Also, if you have an AGP graphics card, you can optionally enable agpgart support to your kernel, either compiled in or as a module. If you do not use the in-kernel agpgart, then the drivers will use their own agpgart implementation, called NvAGP. On certain systems, this performs better than the in-kernel agpgart, and on others, it performs worse. You will need to evaluate this on your own system to get the best performance. If you are unsure what to do, use the in-kernel agpgart |
_________________ Kind Regards,
The Noob Unlimited
~sore wa sore kore wa kore~
Last edited by Chiitoo on Mon Mar 05, 2012 5:30 am; edited 1 time in total |
|
| Back to top |
|
 |
jwenzel n00b

Joined: 04 Mar 2012 Posts: 22
|
Posted: Mon Mar 05, 2012 4:33 am Post subject: |
|
|
| I've set everything as suggested and hopefully things will improve |
|
| Back to top |
|
 |
jwenzel n00b

Joined: 04 Mar 2012 Posts: 22
|
|
| Back to top |
|
 |
jwenzel n00b

Joined: 04 Mar 2012 Posts: 22
|
Posted: Mon Mar 05, 2012 5:40 am Post subject: |
|
|
This is really stumping me I had graphics working just fine a few days ago but decided to redo everything after not being able to mount my CDROM which I might know the reason why  |
|
| Back to top |
|
 |
lduser n00b

Joined: 06 Jan 2012 Posts: 22
|
Posted: Mon Mar 05, 2012 6:32 am Post subject: |
|
|
2 jwenzel:
I have working `.config' (gentoo-sources-3.2.1-r2) for notebook ASUS N73SV
And my nvidia card is working fine with optimus...
I can give you it, if you need it of course... |
|
| Back to top |
|
 |
jwenzel n00b

Joined: 04 Mar 2012 Posts: 22
|
Posted: Mon Mar 05, 2012 6:36 am Post subject: |
|
|
| Sure just post a link to it |
|
| Back to top |
|
 |
jwenzel n00b

Joined: 04 Mar 2012 Posts: 22
|
Posted: Mon Mar 05, 2012 7:19 am Post subject: |
|
|
Hmmm just noticed that the module license is tainting the kernel. Dmesg also states that a pic int A is disabled
Link to output of dmesg | Grep nvidia
http://paste.pocoo.org/show/561145/
Also shouldn't this be reported as PCI express? |
|
| Back to top |
|
 |
lduser n00b

Joined: 06 Jan 2012 Posts: 22
|
Posted: Mon Mar 05, 2012 7:57 am Post subject: |
|
|
| jwenzel wrote: | | Sure just post a link to it |
config for gentoo-sources-3.2.1-r2 (ASUS N73SV): http://paste.pocoo.org/show/561151/
and you need change it (HIBERNATION to swap):
CONFIG_PM_STD_PARTITION="/dev/sdb2"
and needs change the mount options for NTFS, FAT
and remove cyrilic encodings from NLS section |
|
| Back to top |
|
 |
Gusar Advocate

Joined: 09 Apr 2005 Posts: 2557 Location: Slovenia
|
Posted: Mon Mar 05, 2012 9:28 am Post subject: |
|
|
| You don't need DRM in the kernel, but it doesn't hurt if it's there. As long as nouveau isn't there, which in your case it isn't. You should focus on X. Create the xorg.conf Chiitoo provided and start X. If it doesn't work, post /var/log/Xorg.0.log |
|
| Back to top |
|
 |
jwenzel n00b

Joined: 04 Mar 2012 Posts: 22
|
Posted: Mon Mar 05, 2012 5:44 pm Post subject: |
|
|
| Ok just reinstalled everything and used a .config that I backed up and still having same issue |
|
| Back to top |
|
 |
Gusar Advocate

Joined: 09 Apr 2005 Posts: 2557 Location: Slovenia
|
Posted: Mon Mar 05, 2012 5:57 pm Post subject: |
|
|
All logs (dmesg and /var/log/Xorg.0.log) same as before?
I now took a closer look - your dmesg clearly shows conflicts when trying to load the nvidia module. The kind you get when the module was compiled for a different version of the kernel you're currently running. Hmm, if you have /boot on a separate partition, did you do the common mistake of forgetting to mount it before copying the new kernel over? |
|
| Back to top |
|
 |
jwenzel n00b

Joined: 04 Mar 2012 Posts: 22
|
|
| Back to top |
|
 |
Gusar Advocate

Joined: 09 Apr 2005 Posts: 2557 Location: Slovenia
|
Posted: Mon Mar 05, 2012 6:09 pm Post subject: |
|
|
| Different errors this time, related to DMAR. Remove IOMMU support from the kernel and try again. I think it's possible to deactivate iommu without recompiling the kernel, but I'd have to check exactly how. But just to be completely sure, compile a new kernel without any IOMMU support. |
|
| Back to top |
|
 |
jwenzel n00b

Joined: 04 Mar 2012 Posts: 22
|
Posted: Mon Mar 05, 2012 6:31 pm Post subject: |
|
|
| Itl think I might be good now I still can't start x but this time it's complaining about missing items such as xclock and xterm will report after emerging these |
|
| Back to top |
|
 |
jwenzel n00b

Joined: 04 Mar 2012 Posts: 22
|
Posted: Mon Mar 05, 2012 6:34 pm Post subject: |
|
|
| Woohooo it worked thanks to everyone who helped me out with this |
|
| Back to top |
|
 |
|