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

Joined: 17 Jun 2019 Posts: 6
|
Posted: Mon Jun 17, 2019 4:56 pm Post subject: Trying to get the nvidia-drivers package working. |
|
|
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 |
|
 |
xtasquee n00b

Joined: 17 Jun 2019 Posts: 5
|
Posted: Mon Jun 17, 2019 11:30 pm Post subject: |
|
|
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 |
|
 |
LorbamRithikud n00b

Joined: 17 Jun 2019 Posts: 6
|
Posted: Mon Jun 17, 2019 11:49 pm Post subject: RE blacklist noveau |
|
|
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 |
|
 |
Hu Moderator

Joined: 06 Mar 2007 Posts: 16461
|
Posted: Tue Jun 18, 2019 1:05 am Post subject: |
|
|
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 |
|
 |
LorbamRithikud n00b

Joined: 17 Jun 2019 Posts: 6
|
Posted: Tue Jun 18, 2019 1:33 am Post subject: Thanks. |
|
|
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 |
|
 |
LorbamRithikud n00b

Joined: 17 Jun 2019 Posts: 6
|
Posted: Tue Jun 18, 2019 2:46 am Post subject: Hey |
|
|
It appears to be a module, and its unloaded. any other ideas thanks. |
|
Back to top |
|
 |
fedeliallalinea Bodhisattva


Joined: 08 Mar 2003 Posts: 25111 Location: here
|
Posted: Tue Jun 18, 2019 5:18 am Post subject: |
|
|
Can help this (latest post)? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
bbgermany Veteran


Joined: 21 Feb 2005 Posts: 1799 Location: Oranienburg/Germany
|
Posted: Tue Jun 18, 2019 7:22 am Post subject: |
|
|
Hi,
try to install with "-compat" USE-flag
greets, bb _________________ 1st: i5-7400, 16GB, 2TB
2nd: i5-4570, 16GB, 620GB
3rd: i5-4570, 32GB, 14.5TB
4th: i5-3210M, 8GB, 512GB
5th: i5-3210M, 8GB, 120GB |
|
Back to top |
|
 |
LorbamRithikud n00b

Joined: 17 Jun 2019 Posts: 6
|
Posted: Tue Jun 18, 2019 8:12 am Post subject: |
|
|
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 |
|
 |
bbgermany Veteran


Joined: 21 Feb 2005 Posts: 1799 Location: Oranienburg/Germany
|
Posted: Tue Jun 18, 2019 8:57 am Post subject: |
|
|
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-7400, 16GB, 2TB
2nd: i5-4570, 16GB, 620GB
3rd: i5-4570, 32GB, 14.5TB
4th: i5-3210M, 8GB, 512GB
5th: i5-3210M, 8GB, 120GB |
|
Back to top |
|
 |
LorbamRithikud n00b

Joined: 17 Jun 2019 Posts: 6
|
Posted: Tue Jun 18, 2019 3:30 pm Post subject: Thanks |
|
|
Thanks again, I did search but apparently not well enough. I'll try harder next time. |
|
Back to top |
|
 |
|