LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 06-29-2013, 07:49 PM   #1
Darrell22
Member
 
Registered: Nov 2003
Posts: 83

Rep: Reputation: 15
Question Unable to load driver: nouveau_dri.so


Dear Experts,

I'm using Redhat 6.4.


uname -a
Linux black.testrac.com 2.6.32-358.11.1.el6.x86_64 #1 SMP Tue Jun 11 10:24:58 PDT 2013 x86_64 x86_64 x86_64 GNU/Linux

lsb_release
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarchrinting-4.0-amd64rinting-4.0-noarch


With the video card:
NVIDIA Quadro FX580


----

I've installed gephi, gephi-0.8.2-beta.tar.gz

Gephi starts, but with an error.


cd /gephi/gephi/bin

./gephi &

Loading native libraries
libGL error: failed to load driver: nouveau
libGL error: Try again with LIBGL_DEBUG=verbose for more details.


----


cd /gephi/gephi/bin

LIBGL_DEBUG=verbose ./gephi &


Loading native libraries
libGL: OpenDriver: trying /usr/lib64/dri/nouveau_dri.so
libGL error: dlopen /usr/lib64/dri/nouveau_dri.so failed (/usr/lib64/dri/nouveau_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: nouveau_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: nouveau
libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so
Current Version is 082



file /usr/lib64/dri/nouveau_dri.so
/usr/lib64/dri/nouveau_dri.so: cannot open `/usr/lib64/dri/nouveau_dri.so' (No such file or directory)


file /usr/lib64/dri/swrast_dri.so
/usr/lib64/dri/swrast_dri.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped


----

Then, after starting on Redhat, the graph software, gephi, has no graph window!!!!


(However, on the same server, using gephi on Windows 7 or Suse (as root), I can see the graph window.)



On Redhat, in gephi, I go

Menu
Window
Graph

But there is nothing!
This is bizarre!


------------

I sense that it is this video/radeon/nouveau issue that is
the cause of the problem. Or related to the culprit.

More analysis follows.


Any ideas on how to start gephi,
not get the error,
and get the graph window?


Thanks a lot!



------------------------------------------------------------------
------------------------------------------------------------------

Some analysis on Redhat



----

dmesg | grep -i "nouveau"

dmesg | grep -i "nouveau"
nouveau 0000:07:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
nouveau 0000:07:00.0: setting latency timer to 64
[drm] nouveau 0000:07:00.0: Detected an NV50 generation card (0x096c80c1)
[drm] nouveau 0000:07:00.0: Checking PRAMIN for VBIOS
[drm] nouveau 0000:07:00.0: ... appears to be valid
[drm] nouveau 0000:07:00.0: Using VBIOS from PRAMIN
[drm] nouveau 0000:07:00.0: BIT BIOS found
[drm] nouveau 0000:07:00.0: Bios version 62.94.8b.00
[drm] nouveau 0000:07:00.0: TMDS table version 2.0
[drm] nouveau 0000:07:00.0: MXM: no VBIOS data, nothing to do
[drm] nouveau 0000:07:00.0: DCB version 4.0
[drm] nouveau 0000:07:00.0: DCB outp 00: 02000300 00000028
[drm] nouveau 0000:07:00.0: DCB outp 01: 01000302 00020030
[drm] nouveau 0000:07:00.0: DCB outp 02: 02021396 0f200020
[drm] nouveau 0000:07:00.0: DCB outp 03: 02021332 00020020
[drm] nouveau 0000:07:00.0: DCB outp 04: 040323b6 0f200020
[drm] nouveau 0000:07:00.0: DCB outp 05: 04032342 00020020
[drm] nouveau 0000:07:00.0: DCB conn 00: 00001030
[drm] nouveau 0000:07:00.0: DCB conn 01: 0000a146
[drm] nouveau 0000:07:00.0: DCB conn 02: 00050246
[drm] nouveau 0000:07:00.0: Parsing VBIOS init table 0 at offset 0xD7EB
[drm] nouveau 0000:07:00.0: Parsing VBIOS init table 1 at offset 0xDC62
[drm] nouveau 0000:07:00.0: Parsing VBIOS init table 2 at offset 0xEC63
[drm] nouveau 0000:07:00.0: Parsing VBIOS init table 3 at offset 0xED84
[drm] nouveau 0000:07:00.0: Parsing VBIOS init table 4 at offset 0xF09F
[drm] nouveau 0000:07:00.0: Parsing VBIOS init table at offset 0xF104
[drm] nouveau 0000:07:00.0: 0xF104: Condition still not met after 20ms, skipping following opcodes
[drm] nouveau 0000:07:00.0: Detected 512MiB VRAM (GDDR3)
[drm] nouveau 0000:07:00.0: 512 MiB GART (aperture)
[drm] nouveau 0000:07:00.0: 2 available performance level(s)
[drm] nouveau 0000:07:00.0: 0: core 208MHz shader 416MHz memory 100MHz voltage 1000mV fanspeed 100%
[drm] nouveau 0000:07:00.0: 3: core 450MHz shader 1125MHz memory 800MHz voltage 1100mV fanspeed 100%
[drm] nouveau 0000:07:00.0: c: core 400MHz shader 800MHz memory 799MHz voltage 1000mV fanspeed 40%
[drm] nouveau 0000:07:00.0: MM: using M2MF for buffer copies
[drm] nouveau 0000:07:00.0: allocated 1280x1024 fb: 0x330000, bo ffff880474686800
fbcon: nouveaufb (fb0) is primary device
fb0: nouveaufb frame buffer device
[drm] Initialized nouveau 1.0.0 20120316 for 0000:07:00.0 on minor 0

----


dmesg | grep -i "radeon"

[drm] radeon defaulting to kernel modesetting.
[drm] radeon kernel modesetting enabled.
radeon 0000:0c:02.0: enabling device (0384 -> 0387)
radeon 0000:0c:02.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
radeon 0000:0c:02.0: Invalid ROM contents
radeon 0000:0c:02.0: Invalid ROM contents
[drm:radeon_get_bios] *ERROR* Unable to locate a BIOS ROM
radeon 0000:0c:02.0: Card not posted and no BIOS - ignoring
radeon 0000:0c:02.0: Fatal error during GPU init
[drm] radeon: finishing device.
[drm] radeon: cp finalized
radeon 0000:0c:02.0: PCI INT A disabled
radeon: probe of 0000:0c:02.0 failed with error -22



--------


lspci

07:00.0 VGA compatible controller: NVIDIA Corporation G96 [Quadro FX 580] (rev a1)
0c:02.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI ES1000 (rev 02)

lspci -v

07:00.0 VGA compatible controller: NVIDIA Corporation G96 [Quadro FX 580] (rev a1) (prog-if 00 [VGA controller])
Subsystem: NVIDIA Corporation Device 063a
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at ba000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at b8000000 (64-bit, non-prefetchable) [size=32M]
I/O ports at 4000 [size=128]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: nouveau
Kernel modules: nouveau, nvidiafb

0c:02.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI ES1000 (rev 02) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device 81de
Flags: stepping, fast Back2Back, medium devsel, IRQ 17
Memory at d0000000 (32-bit, prefetchable) [size=128M]
I/O ports at 5000 [size=256]
Memory at bb000000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at bb020000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel modules: radeon, radeonfb


----


rpm -qa | grep -i "xterm"
xterm-253-1.el6.x86_64



rpm -qa | grep -i "nouveau"
xorg-x11-drv-nouveau-1.0.1-3.el6.x86_64


rpm -qa | grep -i "x11"
- 85 packages!


rpm -qa | grep -i "nvid"
- nothing


rpm -qa | grep -i "radeon"
- nothing


rpm -qa | grep -i "video"
- nothing


----------------


lsmod | grep -i "nouveau"

nouveau 876885 2
ttm 80957 2 radeon,nouveau
drm_kms_helper 40087 2 radeon,nouveau
drm 265638 5 radeon,nouveau,ttm,drm_kms_helper
i2c_algo_bit 5935 2 radeon,nouveau
i2c_core 31084 6 i2c_i801,radeon,nouveau,drm_kms_helper,drm,i2c_algo_bit
mxm_wmi 1967 1 nouveau
video 20674 1 nouveau
wmi 6287 2 nouveau,mxm_wmi




lsmod | grep -i "nvid"
- nothing




lsmod | grep -i "video"

video 20674 1 nouveau
output 2409 1 video
 
Old 06-29-2013, 08:31 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Hi, lsmod is showing a module loaded for the ati radeon graphics chip onboard.

If you don't use it, blacklist the radeon module ...

may be different on RH.

Code:
glenn@GamesBox:~ » locate blacklist | grep '/etc'                                                                                      (30-06 11:30)
/etc/modprobe.d/blacklist-compat.conf
/etc/modprobe.d/blacklist-mga.conf
/etc/modprobe.d/blacklist-mga.conf
Code:
# blacklisted modules for PCI coldplug
# see also /etc/modprobe.d/blacklist-compat

blacklist rivatv

# For some bridges both intel-agp and i82875p_edac are loaded. If i82875p_edac
# is loaded first it will grab the device. Then intel-agp doesn't work.
# Therefore we disable automatic loading of 82875p_edac. (Bug 213840)
# https://bugzilla.novell.com/show_bug.cgi?id=213840
blacklist i82875p_edac

# do not use "Boot Protocol" drivers, we prefer usbhid
# and they cause problems when loaded together with usbhid (#37726, #40861)
blacklist usbkbd
blacklist usbmouse

# disable PC speaker by default
# pcspkr is the standard driver, while snd-pcsp is the ALSA driver
blacklist pcspkr
blacklist snd-pcsp
blacklist nouveau
blacklist snd_hda_codec_hdmi  #hda-nvidia-digital-stereo
blacklist snd_hda_codec_realtek #hda onboard 5.1 surround
blacklist snd_hda_intel
blacklist snd_hda_codec
you see I've had to add a few myself.

The dri package is mentioned , check you have it installed.

hope this helps, Glenn

Last edited by GlennsPref; 06-29-2013 at 08:35 PM. Reason: x crashed...(?) mga cauldron
 
Old 07-02-2013, 02:08 PM   #3
Darrell22
Member
 
Registered: Nov 2003
Posts: 83

Original Poster
Rep: Reputation: 15
Hello,

Thanks so much for responding!


I was doing more research.


There are lots of drivers in /usr/lib64/dri.

ls -l /usr/lib64/dri
total 24608

-rwxr-xr-x. 1 root root 381736 Jun 3 13:22 i915_dri.so
-rwxr-xr-x. 1 root root 841752 Jun 3 13:22 i965_dri.so
-rwxr-xr-x. 1 root root 3603024 Dec 20 2012 mga_dri.so
-rwxr-xr-x. 1 root root 3484592 Dec 20 2012 r128_dri.so
-rwxr-xr-x. 1 root root 349608 Jun 3 13:22 r200_dri.so
-rwxr-xr-x. 1 root root 4593648 Jun 3 13:22 r300_dri.so
-rwxr-xr-x. 1 root root 4563888 Jun 3 13:22 r600_dri.so
-rwxr-xr-x. 1 root root 314216 Jun 3 13:22 radeon_dri.so
-rwxr-xr-x. 1 root root 3537904 Dec 20 2012 savage_dri.so
-rwxr-xr-x. 1 root root 24168 Jun 3 13:22 swrast_dri.so
-rwxr-xr-x. 1 root root 3484888 Dec 20 2012 unichrome_dri.so


But not:
/usr/lib64/dri/nouveau_dri.so

Go figure.

-----


Interestingly, I noticed that niviafb and radeonfb are already blacklisted.



pwd
/etc/modprobe.d

cat blacklist.conf
...
blacklist radeonfb

...

blacklist nvidiafb



rpm -qa | grep -i "nvidia"
- nothing


rpm -qa | grep -i "radeon"
- nothing


Do you think that these need to be removed from the file, blacklist.conf?


Thanks a lot!
 
Old 07-02-2013, 05:19 PM   #4
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
More than likely, the version of mesa that Redhat 6.4 ships with is too old to support nouveau.
 
Old 07-03-2013, 12:07 AM   #5
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
the modules...
Quote:
cat blacklist.conf
...
blacklist radeonfb

...

blacklist nvidiafb
nvidiafb is not equal to nvidia (2 char diff), same with the radeon modules

Generally, the modules nvidia and radeon refer to the proprietary hardware manufacturers drivers.

The opensource nvidia driver module is nouveau.

Try and add to the blacklist as described earlier.

Last edited by GlennsPref; 07-03-2013 at 12:09 AM.
 
  


Reply



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
unable to load Ubuntu ndiswrapper driver talint Linux - Networking 3 10-20-2009 07:25 PM
JSP and MySQL - unable to load JDBC driver jun_tuko Programming 2 09-05-2006 11:02 AM
Unable to load wacom driver module after compiling for a 2.6.14.4 kernel dr_zayus69 Linux - Kernel 1 06-28-2006 09:38 AM
Unable to load i915 driver using FC4 on an Inspiron 6000 Sedmic Linux - Laptop and Netbook 1 01-06-2006 08:26 PM
KDE unable to load after driver-installation primetime2 Linux - General 3 12-19-2004 03:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 02:17 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