Linux Issues loading Nvidia drivers on kodibuntu
#1
Okay so I am going to preface this by saying that I think that there may be a few layered issues here but I am not entirely sure what they all are yet. Just want to try tackling them one at a time.

I am having some issues with graphics rendering in Kodi, I have also noticed that X wont load either. I have included the log files for both in this post.

Initially I had a Kodibuntu (Helix) box that also was running Mediabrowser (mainly just so that I could stream over wifi). Later I wanted to add steam and emulator support so I started by adding in Steam using this guide. It involves installing openbox, pulseaudio, and some nvidia drivers. The install went over quite well. I am not sure the audio was completely configured, but It all broke before I got a chance to finish downloading games so I never had a chance to put it through its paces. The next day I came home from work to find that it had an error complaining that it had crashed while trying to load because it was unable to load an OpenGL driver. I got that to go away by reinstalling the nvidia drivers.

Basically now, nothing loads at all. Openbox gives me a blank black screen. Based on what I can see from these logs it looks like there are some issues with the Display configuration and the nvidia drivers loading.

Click Here for the Kodi Log
Click Here for the Xorg log

Now the Kodi log says:

Code:
15:37:40 T:139724062779328  NOTICE: Setup SDL
15:37:40 T:139724062779328  NOTICE: Checking resolution 16
15:37:40 T:139724062779328  NOTICE: Using visual 0x10e
15:37:40 T:139724062779328  NOTICE: GL_VENDOR = VMware, Inc.
15:37:40 T:139724062779328  NOTICE: GL_RENDERER = Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits)
15:37:40 T:139724062779328  NOTICE: GL_VERSION = 2.1 Mesa 10.1.3
15:37:40 T:139724062779328  NOTICE: GL_SHADING_LANGUAGE_VERSION = 1.30

I cannot get Kodi to register that there is a new graphics driver that is running instead of 2.1 Mesa 10.1.3

Inside the Xorg log it says:

Code:
[   136.513] (II) LoadModule: "glx"
[   136.513] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   136.514] (II) Module glx: vendor="X.Org Foundation"
[   136.514]     compiled for 1.15.1, module version = 1.0.0
[   136.514]     ABI class: X.Org Server Extension, version 8.0
[   136.514] (==) AIGLX enabled
[   136.514] Loading extension GLX
[   136.514] (II) LoadModule: "nvidia"
[   136.514] (WW) Warning, couldn't open module nvidia
[   136.514] (II) UnloadModule: "nvidia"
[   136.515] (II) Unloading nvidia
[   136.515] (EE) Failed to load module "nvidia" (module does not exist, 0)

Which is confusing because i know the nvidia drivers are downloaded. I did a sudo apt-get purge nvidia-* and then reinstalled them more than once.

When I try and run startx I get this:

Code:
X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
Current Operating System: Linux DrunkenBlueberry 3.13.0-46-generic #79-Ubuntu SMP Tue Mar 10 20:06:50 UTC 2015 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.13.0-46-generic root=/dev/mapper/live--vg-root ro quiet splash vt.handoff=7
Build Date: 12 February 2015  02:49:29PM
xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Sat Mar 28 00:51:58 2015
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
NVIDIA: could not open the device file /dev/nvidiactl (No such device or address).
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
     at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.

"NVIDIA: could not open the device file /dev/nvidiactl (No such device or address)." This definitely exists...

Some more diagnostic info.

Code:
$ lspci -vnn | grep -i VGA -A 12

04:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108 [GeForce GT 440] [10de:0de0] (rev a1) (prog-if 00 [VGA controller])
    Subsystem: Gigabyte Technology Co., Ltd Device [1458:3518]
    Flags: bus master, fast devsel, latency 0, IRQ 5
    Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
    Memory at d0000000 (64-bit, prefetchable) [size=256M]
    Memory at ce000000 (64-bit, prefetchable) [size=32M]
    I/O ports at dc00 [size=128]
    Expansion ROM at fea00000 [disabled] [size=512K]
    Capabilities: <access denied>

It does not say "Kernel driver in use: nvidia"

Code:
$ glxinfo | grep OpenGL | grep renderer

Error: unable to open display

Does anyone have any idea of what could be done to fix this? If you need any more information (I am sure I am forgetting something) feel free to let me know.

Thanks. Smile
Reply
#2
How did you install your nvidia driver? Please say you used the Ubuntu packages, not something you downloaded from nvidia.

Kodibuntu has nvidia drivers built in so I am really unsure why you installed them again.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#3
So which version of the nvidia driver did you install? Are you using a ppa, if so which one?
Reply
#4
The method I used to install the drivers was:

The lines i used were:
Code:
# 304 driver
$ sudo apt-get install nvidia-304

and

Code:
# install the latest version
$ sudo apt-get install nvidia-current

I definitely didn't go out of my way to download anything direct from nvidia. As far as I know only the ubuntu drivers.

I think nvidia issue came after the steam install. The steam instructions suggested we update our nvidia drivers. The next day everything stopped working so I figured it was probably those drivers so I went and wiped them all and then tried reinstalling.

@naloj: I believe that I added a couple ppa repos while trying to fix the xorg issue but I am not 100% sure, how would I go about checking? I tried installing both the 304 and 331 drivers.
Reply
#5
How about giving us the output of this command
Code:
apt-cache policy nvidia-current
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#6
Sure, here you go.

Code:
$ apt-cache policy nvidia-current
nvidia-current:
  Installed: 304.125-0ubuntu1~xedgers14.04.1
  Candidate: 304.125-0ubuntu1~xedgers14.04.1
  Version table:
*** 304.125-0ubuntu1~xedgers14.04.1 0
        500 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status
     304.125-0ubuntu0.0.1 0
        500 http://cn.archive.ubuntu.com/ubuntu/ trusty-updates/restricted amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ trusty-security/restricted amd64 Packages
     304.117-0ubuntu1 0
        500 http://cn.archive.ubuntu.com/ubuntu/ trusty/restricted amd64 Packages
     304.116-0ubuntu1~xedgers~trusty1 0
        500 http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu/ trusty/main amd64 Packages
Reply
#7
xorg-edgers bleeding edge drivers in combination with binary blobs ... that won't work.

Start over and just install the nvidia drivers per ubuntu's click and utility.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#8
Alrighty, I am not sure what the click and utility is but I did remove these two ppa repos.

Code:
500 http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu/ trusty/main amd64 Packages
500 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/ trusty/main amd64 Packages

Here are the results of the command after removing those repos and reinstalling the drivers.
Code:
$ apt-cache policy nvidia-current
nvidia-current:
  Installed: 304.125-0ubuntu0.0.1
  Candidate: 304.125-0ubuntu0.0.1
  Version table:
*** 304.125-0ubuntu0.0.1 0
        500 http://cn.archive.ubuntu.com/ubuntu/ trusty-updates/restricted amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ trusty-security/restricted amd64 Packages
        100 /var/lib/dpkg/status
     304.117-0ubuntu1 0
        500 http://cn.archive.ubuntu.com/ubuntu/ trusty/restricted amd64 Packages

Unfortunately after this kodi and x still arent registering the drivers.
Reply
#9
Do not add xorg edgers ppa

if you want updated drivers only use mine https://launchpad.net/~universal/+archiv...ia-updates

Its copied form xorg edgers but doesn't have all those crazy packages which more likely you broke your install by upgrading all that stuff.

Only has nvidia and libvdpau and nothing else there on mine.
Reply
#10
I'm using your nvidia driver 346.35 from your ppa, but I just get a blank screen.

HTPC:~# apt-cache policy nvidia-346
nvidia-346:
Installed: 346.35-0ubuntu1~xedgers14.04.1
Candidate: 346.35-0ubuntu1~xedgers14.04.1
Version table:
*** 346.35-0ubuntu1~xedgers14.04.1 0
500 http://ppa.launchpad.net/universal/nvidi...es/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status

 
Reply
#11
Why use any ppa? Ubuntu provide drivers in their own repos.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#12
not up to date drivers though..

 
Reply
#13
What features of the new drivers do you need? I am still running the default drivers for precise 12.04 and everything multimedia works. version 304.125.

Of course if you have a very new card, i understand.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#14
I used nvidia-current and it installs some Vmware drivers and slows the system down completely.

Any ideas .. I likely screwed something up.

Image

 
Reply
#15
I think that's what you see if the nvidia drivers aren't working. I am out of ideas though.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply

Logout Mark Read Team Forum Stats Members Help
Issues loading Nvidia drivers on kodibuntu1