LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 04-03-2018, 09:00 AM   #1
maverick6664
LQ Newbie
 
Registered: Apr 2018
Location: Tokyo Japan
Posts: 8

Rep: Reputation: Disabled
NVidia driver doesn't provide dri on Fedora 27


Hi,

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.
 
Old 04-03-2018, 10:20 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
how exactly did you install the nvidia driver ?

did you use the NVIDIA.run ?
or did you use the Kmod-nvidia.rpm from one of the fedora repos ?
 
Old 04-03-2018, 03:49 PM   #3
maverick6664
LQ Newbie
 
Registered: Apr 2018
Location: Tokyo Japan
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
how exactly did you install the nvidia driver ?

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.
 
Old 04-03-2018, 08:29 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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

have a look at
https://rpmfusion.org/Howto/NVIDIA?h...out_this_Howto

uninstall the .run
Code:
su -

cd /to/the/location/of/the/driver
*.run --uninstall
see the options in the .run
Code:
su -
cd /to/the/location/of/the/driver

*.run --help 
------- and ------
*.run -A
 
1 members found this post helpful.
Old 04-03-2018, 10:27 PM   #5
maverick6664
LQ Newbie
 
Registered: Apr 2018
Location: Tokyo Japan
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
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.

Thank you.

-Tetsuji Rai
 
Old 04-04-2018, 12:23 AM   #6
ShaTer
LQ Newbie
 
Registered: Apr 2018
Location: World
Distribution: Fedora, Gentoo, Redcore, Calculate, Arch, Debian, antiX, MX, Ubuntu, GhostBSD, OpenBSD
Posts: 5

Rep: Reputation: 0
Quote:
Originally Posted by maverick6664 View Post
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.

Thank you.

-Tetsuji Rai
Hello,
maverick6664,

I hope this will helping you out https://negativo17.org/nvidia-driver/

Best regards, ShaTer.
 
Old 04-04-2018, 12:28 AM   #7
maverick6664
LQ Newbie
 
Registered: Apr 2018
Location: Tokyo Japan
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ShaTer View Post
Hello,
maverick6664,

I hope this will helping you out https://negativo17.org/nvidia-driver/

Best regards, ShaTer.
Thank you, I'm trying it.
 
Old 04-04-2018, 12:43 AM   #8
ShaTer
LQ Newbie
 
Registered: Apr 2018
Location: World
Distribution: Fedora, Gentoo, Redcore, Calculate, Arch, Debian, antiX, MX, Ubuntu, GhostBSD, OpenBSD
Posts: 5

Rep: Reputation: 0
Quote:
Originally Posted by maverick6664 View Post
Thank you, I'm trying it.
You're very much welcome.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dri doesn't work with radeon driver i92guboj Linux - Desktop 4 06-18-2009 04:10 AM
xorg doesn't want to use the nvidia driver eantoranz Ubuntu 1 10-21-2005 02:42 PM
Nvidia driver doesn't work very well Trkdz Slackware 1 05-25-2005 09:35 PM
Fedora doesn't start after installing Nvidia driver Hungry ghost Fedora 3 02-11-2005 10:50 AM
cedega,glx,dri,nvidia driver craigconrad Linux - Games 2 01-05-2005 03:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration