View previous topic :: View next topic |
Author |
Message |
Kuggeo n00b
Joined: 02 Aug 2021 Posts: 1
|
Posted: Mon Aug 02, 2021 3:34 pm Post subject: glxinfo cannot open display (nvidia-drivers) |
|
|
I've followed the guide on the wiki about nvidia-drivers, I've installed them with emerge, then changed my kernel options.
But I cannot figure out why I cannot use my graphic card (1050TI) (glxinfo error below).
I've recompiled the kernel & packages, initramfs and grub. I don't know how to solve this.
When using "echo nvidia > /etc/modules-load.d/video.conf" openRC show "failed to load nvidia" on boot,
with no informations.
Using nouveau drivers (on a previous installation) worked.
No useful information on google, I already tried many things.
COMMANDS:
uname -a : Linux kugge 5.10.52-gentoo #4 SMP Mon Aug 2 16:48:27 CEST 2021 x86_64 AMD Ryzen 9 3900X 12-Core Processor AuthenticAMD GNU/Linux
glxinfo : "Error: unable to open display"
modprobe -v nvidia : insmod /lib/modules/5.10.52-gentoo/video/nvidia.ko NVreg_PreserveVideoMemoryAllocations=0 NVreg_TemporaryFilePath=/var/tmp NVreg_DeviceFileGID=27 NVreg_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_ModifyDeviceFiles=1
lsmod : http://ix.io/3uNR
emerge --info : http://ix.io/3uNS
dmesg | grep -i nvidia : http://ix.io/3uNT
lspci -v : http://ix.io/3uNU
FILES:
.config kernel file : http://ix.io/3uNl
make.conf file : http://ix.io/3uNP
BTW I got exactly the same issue as https://forums.gentoo.org/viewtopic-t-1137696.html |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Mon Aug 02, 2021 3:50 pm Post subject: |
|
|
I don't fully understand the issue.
It seems that you're still on a TTY console. Right?
If that's true, it's perfectly fine that glxinfo doesn't work. It works only in an X11 environment.
So what's the real problem? Do you want to start X and "startx" fails? If that's the case: please post the Xorg log file.
Furthermore, your profile is "default/linux/amd64/17.1/no-multilib". Why didn't you choose a desktop profile? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54248 Location: 56N 3W
|
Posted: Mon Aug 02, 2021 4:04 pm Post subject: |
|
|
Kuggeo,
Welcome to Gentoo.
If you installed using the no-multilib tarball, your no-multilib profile is correct.
There are no desktop profiles for no-multilib.
Your Code: | dmesg | grep -i nvidia : http://ix.io/3uNT | strips out all the error messages.
We need whole logs, so that we can see what should be there is there and spot things that are missing that should be there.
Your lspci is correct.
Code: | 0a:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1) (prog-if 00 [VGA controller])
Subsystem: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti]
Kernel driver in use: nvidia
Kernel modules: nvidia_drm, nvidia |
How are you starting your desktop?
glxinfo requires to have access to the Xorg display, so needs to be run from your desktop.
Your USE flags Code: | USE="X acl amd64 bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 libglvnd libtirpc ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" | look very light for a desktop.
Choose the desktop profile that is closest to what you would like but do not install anything.
Run so you can see the USE flags it sets.
Copy them to your make.conf as thats a good starting point for a desktop install.
Revert the profile to /no-multilib
Code: | emerge -uDNav @world | to make your new use flags take effect. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|
|
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
|
|