Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trying to get the nvidia-drivers package working.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
LorbamRithikud
n00b
n00b


Joined: 17 Jun 2019
Posts: 6

PostPosted: Mon Jun 17, 2019 4:56 pm    Post subject: Trying to get the nvidia-drivers package working. Reply with quote

Hi. I hope this is the right section. I havent used gentoo in years and I just installed it without a hitch. I am getting this if i run eselect opengl set 1 (nvidia)

Code:

[  2090.935] (II) GLX: Another vendor is already registered for screen 0
[  2090.935] (II) Initializing extension XFree86-VidModeExtension
[  2090.935] (II) Initializing extension XFree86-DGA
[  2090.935] (II) Initializing extension XFree86-DRI
[  2090.935] (II) Initializing extension DRI2
[  2090.935] (II) Initializing extension NV-GLX
[  2090.935] (II) Initializing extension NV-CONTROL
[  2090.935] (II) Initializing extension XINERAMA
[  2090.936] (EE)
[  2090.936] (EE) Backtrace:
[  2090.936] (EE) 0: /usr/libexec/Xorg (xorg_backtrace+0x4d) [0x562c7cfd11fd]
[  2090.936] (EE) 1: /usr/libexec/Xorg (0x562c7ce28000+0x1ace99) [0x562c7cfd4e99]
[  2090.936] (EE) 2: /lib64/libpthread.so.0 (0x7fc37a9b3000+0x14910) [0x7fc37a9c7910]
[  2090.936] (EE) 3: /lib64/libc.so.6 (memcpy+0x1f) [0x7fc37a88d60f]
[  2090.936] (EE) 4: /usr/lib64/libnvidia-glcore.so.430.14 (0x7fc3783a1000+0x118a299) [0x7fc37952b299]
[  2090.936] (EE) 5: /usr/lib64/libnvidia-glcore.so.430.14 (0x7fc3783a1000+0x118a3fd) [0x7fc37952b3fd]
[  2090.936] (EE) 6: /usr/lib64/libnvidia-glcore.so.430.14 (0x7fc3783a1000+0xe73a48) [0x7fc379214a48]
[  2090.936] (EE) 7: /usr/lib64/xorg/modules/extensions/libglxserver_nvidia.so (0x7fc376ac9000+0x8c2d32) [0x7fc37738bd32]
[  2090.936] (EE)
[  2090.936] (EE) Segmentation fault at address 0x7fc377485000
[  2090.936] (EE)
Fatal server error:
[  2090.936] (EE) Caught signal 11 (Segmentation fault). Server aborting
[  2090.936] (EE)
[  2090.936] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[  2090.936] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  2090.936] (EE)
[  2091.057] (EE) Server terminated with error (1). Closing log file.



And I cannot get in X.

I think its because of this above [ 2090.935] (II) GLX: Another vendor is already registered for screen 0 and then it segfaults. What does this mean? The steps I have taken are using genkernel all, and then installing (emerging) nvidia-drivers. if i run eselect opengl set 2 (x11) I can get in x fine, albeit with no direct rendering at all. Did I miss a step somewhere? I followed the pages on gentoo about nvidia. I also ran Xorg -configure and copied the xorg.conf file it created to xorg.conf.d/ and tried messing with and without it. Please assist, and thank you.

*UPDATE

Further investigation shows me this.

Code:

[   17.208513] nouveau 0000:01:00.0: unknown chipset (166000a1)
[   17.208516] nouveau: probe of 0000:01:00.0 failed with error -12
[   17.257056] Adding 12582908k swap on /dev/sde7.  Priority:-2 extents:1 across:12582908k
[   17.360703] EXT4-fs (sde3): mounted filesystem with ordered data mode. Opts: (null)
[   17.793703] EXT4-fs (sde4): mounted filesystem with ordered data mode. Opts: (null)
[   18.096770] nvidia: loading out-of-tree module taints kernel.
[   18.096789] nvidia: module license 'NVIDIA' taints kernel.
[   18.096790] Disabling lock debugging due to kernel taint
[   18.101398] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[   18.108508] nvidia-nvlink: Nvlink Core is being initialized, major device number 240
[   18.108877] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[   18.150629] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  430.14  Wed May  8 01:10:53 UTC 2019
[   18.231966] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  430.14  Tue May  7 19:58:01 CDT 2019
[   18.247475] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[   18.247478] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0
[   18.312092] EXT4-fs (sde6): mounted filesystem with ordered data mode. Opts: (null)
[   18.723666] EXT4-fs (sde9): mounted filesystem with ordered data mode. Opts: (null)
[   18.752796] EXT4-fs (sde5): mounted filesystem with ordered data mode. Opts: (null)
[   18.869022] systemd-journald[3449]: Received request to flush runtime journal from PID 1
[   19.656567] e1000e: eno1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
[   19.656605] IPv6: ADDRCONF(NETDEV_CHANGE): eno1: link becomes ready
mike@gentoo ~ $


is unknown chipset because my card is too new? Its an RTX 2060 I blacklisted nouveau and I still get the same results. Not sure what to do now.
Back to top
View user's profile Send private message
xtasquee
n00b
n00b


Joined: 17 Jun 2019
Posts: 5

PostPosted: Mon Jun 17, 2019 11:30 pm    Post subject: Reply with quote

you might try to either disable nouveau in the kernel, or blacklist the module and see if it helps.

Code:
# echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
Back to top
View user's profile Send private message
LorbamRithikud
n00b
n00b


Joined: 17 Jun 2019
Posts: 6

PostPosted: Mon Jun 17, 2019 11:49 pm    Post subject: RE blacklist noveau Reply with quote

Hello my friend thanks for the help, but I mentioned in my last sentence I already have it blacklisted. Its one of the things I have been trying since my post you may have not seen that part because i added it in later when I edited the post as I have been trying different stuff out. But thank you.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14921

PostPosted: Tue Jun 18, 2019 1:05 am    Post subject: Reply with quote

You blacklisted it, but did you actually verify that this prevented it from starting? If it is a module, did you unload it? If it is built in, blacklisting its module has no effect because it is not a module.
Back to top
View user's profile Send private message
LorbamRithikud
n00b
n00b


Joined: 17 Jun 2019
Posts: 6

PostPosted: Tue Jun 18, 2019 1:33 am    Post subject: Thanks. Reply with quote

Hi. Thanks for your help. I dont see it listed in lsmod and lsmod | grep nou gives no results. I used genkernel all and its quite a list. I am actually in the process of getting a custom kernel going and i was certain to remove it completely.
Back to top
View user's profile Send private message
LorbamRithikud
n00b
n00b


Joined: 17 Jun 2019
Posts: 6

PostPosted: Tue Jun 18, 2019 2:46 am    Post subject: Hey Reply with quote

It appears to be a module, and its unloaded. any other ideas thanks.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 23455
Location: here

PostPosted: Tue Jun 18, 2019 5:18 am    Post subject: Reply with quote

Can help this (latest post)?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1797
Location: Oranienburg/Germany

PostPosted: Tue Jun 18, 2019 7:22 am    Post subject: Reply with quote

Hi,

try to install with "-compat" USE-flag ;-)

greets, bb
_________________
1st: i5-4570, 16GB, 1.75TB
2nd: i5-4570, 16GB, 620GB
3rd: i5-4570, 16GB, 10,5TB
4th: Asus N61VN, 8GB, 240GB
5th: C2D T7200, 2GB, 16GB USB + NFS
Back to top
View user's profile Send private message
LorbamRithikud
n00b
n00b


Joined: 17 Jun 2019
Posts: 6

PostPosted: Tue Jun 18, 2019 8:12 am    Post subject: Reply with quote

bbgermany wrote:
Hi,

try to install with "-compat" USE-flag ;-)

greets, bb


Jesus. I don't know how you oneshotted my post and fixed it in a 6 single word post but have a beer on me. Thank you all for your help but this solved my problem. I am in X now with nvidia rendering. Let it be a lesson to people incluiding myself to not just stick a use flag in blindly without actually knowing whether you need it or not. Less is more.. Thank you all.
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1797
Location: Oranienburg/Germany

PostPosted: Tue Jun 18, 2019 8:57 am    Post subject: Reply with quote

I had the same issue and IIRC there was a post in the install forum, where there was the same issue with this solution ;-)

greets, bb

edit: https://forums.gentoo.org/viewtopic-t-1096978-highlight-segfault.html (last post)
_________________
1st: i5-4570, 16GB, 1.75TB
2nd: i5-4570, 16GB, 620GB
3rd: i5-4570, 16GB, 10,5TB
4th: Asus N61VN, 8GB, 240GB
5th: C2D T7200, 2GB, 16GB USB + NFS
Back to top
View user's profile Send private message
LorbamRithikud
n00b
n00b


Joined: 17 Jun 2019
Posts: 6

PostPosted: Tue Jun 18, 2019 3:30 pm    Post subject: Thanks Reply with quote

Thanks again, I did search but apparently not well enough. I'll try harder next time.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum