Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm an old user of Linux, but have been using Windows instead for a while. Now back to Linux, I have a strange problem.
On Fedora 27, I installed NVidia driver version 390.48. As a matter of course, I disabled nouveau. And I wanted to use cuda/opencl, so I installed Cuda toolkit also.
Now I am using X Window, but I noticed my graphics was very slow. Strange thing is glxinfo says dri is enabled:
Code:
$ glxinfo
name of display: :1
display: :1 screen: 0
direct rendering: Yes
...
However xdriinfo says dri is not enabled:
Code:
$ xdriinfo
Screen 0: not direct rendering capable.
I think xdriinfo is correct, but I wonder how I can enable dri. BTW nvidia modules are loaded properly (nvidia_uvm, nvidia_drm, nvidia_modeset and nvidia are loaded), and cuda application is working.
Any help would be appreciated.
best regards,
-Tetsuji Rai
Last edited by maverick6664; 04-03-2018 at 09:01 AM.
did you use the NVIDIA.run ?
or did you use the Kmod-nvidia.rpm from one of the fedora repos ?
Thank you for your reply, John,
I followed these instructions, but still in vain. To tell the truth, when I posted the first question, I forgot to install vdpau libraries, so I installed it and tried. The frame rate became better with glxgear, but xdriinfo still says "Screen 0: not direct rendering capable."
What's wrong with it? I did it through 2.10 of that page.
Older days, there's only one module, nvidia.ko, and installing it and enabling dri in xorg.conf, everything was fine. Now in xorg.conf, there's no 'Section "Modules"' in xorg.conf. Is it correct?
best regards,
-Tetsuji Rai
EDIT: oops. I am using UEFI and forgot to sign nvidia kernel module.
EDIT2: I found I had not enabled secure boot, so signing modules weren't necessary. Then, what's wrong?
Last edited by maverick6664; 04-03-2018 at 04:16 PM.
so you installed the *.run driver from the nvidia website
this driver replaces some of MESA GL and replaces a few header files
also i am betting you did not use the .run option "--dkms" to auto rebuild the kernel mod upon changes
so you installed the *.run driver from the nvidia website
this driver replaces some of MESA GL and replaces a few header files
also i am betting you did not use the .run option "--dkms" to auto rebuild the kernel mod upon changes
Thank you, John, but I usually use generic kernel, so dkms doesn't work well. So I don't use dkms. But I need to refresh mesa gl header files.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.