Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KODI :( Also issues
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Dan42
n00b
n00b


Joined: 01 Jun 2015
Posts: 34

PostPosted: Tue Jun 09, 2015 7:53 pm    Post subject: KODI :( Also issues Reply with quote

# emerge kodi

Calculating dependencies... done!

!!! The ebuild selected to satisfy "media-gfx/nvidia-cg-toolkit" has unmet requirements.
- media-gfx/nvidia-cg-toolkit-3.1.0013-r3::gentoo USE="multilib -doc -examples" ABI_X86="64 -32"

The following REQUIRED_USE flag constraints are unsatisfied:
amd64? ( multilib? ( abi_x86_32 ) )

The above constraints are a subset of the following complete expression:
amd64? ( multilib? ( abi_x86_32 ) ) any-of ( abi_x86_32 abi_x86_64 )

(dependency required by "media-libs/libprojectm-2.1.0-r1::gentoo[video_cards_nvidia]" [ebuild])
(dependency required by "media-tv/kodi-14.1::gentoo[projectm]" [ebuild])
(dependency required by "kodi" [argument])


This is NEW to me... I used advised to fix issues but this is a first to me. Please assist.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Tue Jun 09, 2015 11:21 pm    Post subject: Reply with quote

You have an x86_64 machine and multilib enabled. However kodi's dependencies wants your media-gfx/nvidia-cg-toolkit to have 32-bit support and is missing. Having

USE=abi_x86_32

will enable portage to build that in the 32-bit flavor. Make sure you use --newuse or rebuild it manually after changing the USE flags for that (or all libs).
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Dan42
n00b
n00b


Joined: 01 Jun 2015
Posts: 34

PostPosted: Wed Jun 10, 2015 6:17 am    Post subject: Reply with quote

oki so first I did USE="abi_x86_32" emerge kodi and kodi compiled :) After that had to run emerge @preserved-rebuild. then emerge kodi :)

>>> Installing (1 of 1) media-tv/kodi-14.1::gentoo
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

* GNU info directory index is up-to-date.


YAY! But when I ran kodi :(

Error: couldn't find RGB GLX visual or fbconfig
Kodi needs hardware accelerated OpenGL rendering.
Install an appropriate graphics driver.

Please, how can I fix this?
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Wed Jun 10, 2015 7:53 am    Post subject: Reply with quote

Look at your /var/log/Xorg.0.log (or whatever is the latest) and see if you have something indicating that 3D acceleration was disabled (or what driver is being used, are you actually using nvidia or is it defaulting to VESA)?

What opengl implementation are you using?

eselect opengl list
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Dan42
n00b
n00b


Joined: 01 Jun 2015
Posts: 34

PostPosted: Wed Jun 10, 2015 8:42 am    Post subject: eselect opengl list Reply with quote

Available OpenGL implementations:
[1] nvidia
[2] xorg-x11 *

nano Xorg.2.log
[ 162.922] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 162.922] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 162.922] (WW) Disabling Keyboard0
[ 162.922] (WW) Disabling Mouse0
[ 162.922] (II) Loader magic: 0x807c80
[ 162.922] (II) Module ABI versions:
[ 162.922] X.Org ANSI C Emulation: 0.4
[ 162.922] X.Org Video Driver: 18.0
[ 162.922] X.Org XInput driver : 21.0
[ 162.922] X.Org Server Extension : 8.0
[ 162.923] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 162.923] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 162.923] (--) PCI:*(0:1:0:0) 10de:1381:1043:8644 rev 162, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[ 162.923] (II) LoadModule: "glx"
[ 162.923] (WW) Warning, couldn't open module glx
[ 162.923] (II) UnloadModule: "glx"
[ 162.923] (II) Unloading glx
[ 162.923] (EE) Failed to load module "glx" (module does not exist, 0)
[ 162.923] (II) LoadModule: "nvidia"
[ 162.923] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 162.923] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 162.923] compiled for 4.0.2, module version = 1.0.0
[ 162.923] Module class: X.Org Video Driver
[ 162.923] (II) NVIDIA dlloader X Driver 349.16 Tue Apr 7 23:19:49 PDT 2015
[ 162.923] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 162.923] (--) using VT number 9
[ 163.187] (II) Loading sub module "fb"
[ 163.187] (II) LoadModule: "fb"
[ 163.187] (II) Loading /usr/lib64/xorg/modules/libfb.so
[ 163.187] (II) Module fb: vendor="X.Org Foundation"
[ 163.187] compiled for 1.16.4, module version = 1.0.0
[ 163.187] ABI class: X.Org ANSI C Emulation, version 0.4
[ 163.187] (II) Loading sub module "wfb"
[ 163.187] (II) LoadModule: "wfb"
[ 163.187] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[ 163.187] (II) Module wfb: vendor="X.Org Foundation"
[ 163.187] compiled for 1.16.4, module version = 1.0.0
[ 163.187] ABI class: X.Org ANSI C Emulation, version 0.4
[ 163.187] (II) Loading sub module "ramdac"
[ 163.187] (II) LoadModule: "ramdac"
[ 163.187] (II) Module "ramdac" already built-in
[ 163.187] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[ 163.187] (==) NVIDIA(0): RGB weight 888
[ 163.187] (==) NVIDIA(0): Default visual is TrueColor
[ 163.187] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 163.187] (**) NVIDIA(0): Enabling 2D acceleration
[ 163.187] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[ 163.187] (EE) NVIDIA(0): log file that the GLX module has been loaded in your X
[ 163.187] (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If
[ 163.187] (EE) NVIDIA(0): you continue to encounter problems, Please try
[ 163.187] (EE) NVIDIA(0): reinstalling the NVIDIA driver.
[ 163.196] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20150116)
[ 163.196] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 750 (GM107-A) at PCI:1:0:0 (GPU-0)
[ 163.196] (--) NVIDIA(0): Memory: 2097152 kBytes
[ 163.196] (--) NVIDIA(0): VideoBIOS: 82.07.32.40.3c
[ 163.196] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 163.204] (--) NVIDIA(0): Valid display device(s) on GeForce GTX 750 at PCI:1:0:0
[ 163.204] (--) NVIDIA(0): CRT-0
[ 163.204] (--) NVIDIA(0): HP 25bw (DFP-0) (boot, connected)
[ 163.204] (--) NVIDIA(0): DFP-1
[ 163.204] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[ 163.204] (--) NVIDIA(0): HP 25bw (DFP-0): Internal TMDS
[ 163.204] (--) NVIDIA(GPU-0): HP 25bw (DFP-0): 330.0 MHz maximum pixel clock
[ 163.204] (--) NVIDIA(0): DFP-1: Internal TMDS
[ 163.204] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[ 163.204] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[ 163.204] (**) NVIDIA(0): device HP 25bw (DFP-0) (Using EDID frequencies has been
[ 163.204] (**) NVIDIA(0): enabled on all display devices.)
[ 163.205] (==) NVIDIA(0):
[ 163.205] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[ 163.205] (==) NVIDIA(0): will be used as the requested mode.
[ 163.205] (==) NVIDIA(0):
[ 163.205] (II) NVIDIA(0): Validated MetaModes:
[ 163.205] (II) NVIDIA(0): "DFP-0:nvidia-auto-select"
[ 163.205] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[ 163.205] (--) NVIDIA(0): DPI set to (88, 88); computed from "UseEdidDpi" X config
[ 163.205] (--) NVIDIA(0): option
[ 163.205] (--) Depth 24 pixmap format is 32 bpp
[ 163.206] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
[ 163.206] (II) NVIDIA: access.
[ 163.208] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[ 163.208] (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
[ 163.208] (II) NVIDIA(0): configuration option may not be set correctly. When the
[ 163.208] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
[ 163.208] (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
[ 163.208] (II) NVIDIA(0): details, please see the "ConnectToAcpid" and
[ 163.208] (II) NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
[ 163.208] (II) NVIDIA(0): Config Options in the README.
[ 163.208] (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select"
[ 163.287] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 163.287] (==) NVIDIA(0): Backing store enabled
[ 163.287] (==) NVIDIA(0): Silken mouse enabled[ 163.287] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 163.287] (--) RandR disabled
[ 163.287] (**) NVIDIA(0): DPMS enabled
[ 163.287] (II) Loading sub module "dri2"
[ 163.287] (II) LoadModule: "dri2"
[ 163.287] (II) Module "dri2" already built-in
[ 163.287] (II) NVIDIA(0): [DRI2] Setup complete
[ 163.287] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 163.287] (--) RandR disabled

can someone please tell me how to fix this?
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Wed Jun 10, 2015 1:44 pm    Post subject: Re: eselect opengl list Reply with quote

Dan42 wrote:
Available OpenGL implementations:
[1] nvidia
[2] xorg-x11 *

If you were intending to use the nvidia driver, it should be pointing to nvidia (eselect set opengl 1) but...
Xorg.2.log wrote:

[ 162.923] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 162.923] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

This is a bit more tricky to fix "correctly" - You can chmod 666 /dev/dri/card0 to temporarily work around this problem, as root try this to see if this fixes this but you'll need a better fix. Usually being in group 'video' (run 'vigr' and look for the "video" line. Add your user to the end of the "video" line, use commas if there is already something there) or if you have consolekit/systemd this should have been set for you automatically.
Xorg.2.log wrote:

[ 163.187] (**) NVIDIA(0): Enabling 2D acceleration
[ 163.187] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[ 163.187] (EE) NVIDIA(0): log file that the GLX module has been loaded in your X
[ 163.187] (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If
[ 163.187] (EE) NVIDIA(0): you continue to encounter problems, Please try
[ 163.187] (EE) NVIDIA(0): reinstalling the NVIDIA driver.
[ 163.196] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20150116)
[ 163.196] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 750 (GM107-A) at PCI:1:0:0 (GPU-0)
[ 163.196] (--) NVIDIA(0): Memory: 2097152 kBytes
[ 163.196] (--) NVIDIA(0): VideoBIOS: 82.07.32.40.3c

As confirmed 3D acceleration was not enabled, but first need to see if you can enable the DRM interface.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Dan42
n00b
n00b


Joined: 01 Jun 2015
Posts: 34

PostPosted: Wed Jun 10, 2015 2:26 pm    Post subject: Reply with quote

Did eselect set opengl 1 and chmod 666 /dev/dri/card0

Then I did kodi and got this result:

Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Kodi needs hardware accelerated OpenGL rendering.
Install an appropriate graphics driver.

Please consult Kodi Wiki for supported hardware
http://kodi.wiki/view/Supported_hardware
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Wed Jun 10, 2015 2:59 pm    Post subject: Reply with quote

Does the Xorg logfile still report errors ?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Dan42
n00b
n00b


Joined: 01 Jun 2015
Posts: 34

PostPosted: Wed Jun 10, 2015 3:13 pm    Post subject: nope Reply with quote

eccerr0r wrote:
Does the Xorg logfile still report errors ?


nope there is no error report :)

Please tell me what to do next.

Just to confirm that in vigr video:x:27:root was already there.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Wed Jun 10, 2015 3:51 pm    Post subject: Reply with quote

Are there any errors reported when "glxinfo" is run (I suspect the same)

What other new errors show up in Xorg.log?

You might want to try re-installing nvidia-drivers. Also recheck eselect list opengl.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Dan42
n00b
n00b


Joined: 01 Jun 2015
Posts: 34

PostPosted: Wed Jun 10, 2015 3:56 pm    Post subject: Reply with quote

eccerr0r wrote:
Are there any errors reported when "glxinfo" is run (I suspect the same)

What other new errors show up in Xorg.log?

You might want to try re-installing nvidia-drivers. Also recheck eselect list opengl.


Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".

eselect list opengl
!!! Error: Can't load module list
exiting


Please, with your help, I have installed ALL I needed on this system. KODI is just a <luxery> but nice to have. If I need to reinstall a driver, can you please tell me the one I should install? the V card is nVidia GTX750-2GD5.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Wed Jun 10, 2015 4:42 pm    Post subject: Reply with quote

eselect opengl list that is... just like before

emerge nvidia-drivers - reinstall

and look at /var/log/Xorg.0.log again...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Dan42
n00b
n00b


Joined: 01 Jun 2015
Posts: 34

PostPosted: Thu Jun 11, 2015 4:06 pm    Post subject: Reply with quote

eccerr0r wrote:
eselect opengl list that is... just like before

emerge nvidia-drivers - reinstall

and look at /var/log/Xorg.0.log again...


I think there is an issue in the format of the command. :(

emerge nvidia-drivers - reinstall
!!! Found 2 make.conf files, using both '/etc/make.conf' and '/etc/portage/make.conf'
!!! '-' is not a valid package atom.
!!! Please check ebuild(5) for full details.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Thu Jun 11, 2015 4:45 pm    Post subject: Reply with quote

I guess I need to be a bit more explicit... I'm not sure how you got nvidia-drivers to install the first time, just run it again to reinstall. Here I'll make no assumptions on how you installed it the first time, this will reinstall it:
Code:
emerge --oneshot nvidia-drivers


After reinstalling, make sure the nvidia opengl libraries are being used. Make sure nvidia is starred:

Code:
eselect opengl list


And if that still doesn't work, please post /var/log/Xorg.2.log (not sure why it's '2' -- do you have something else running, it should be 0 if it's the first X server running?) again.

BTW: you might want to post a new thread about fixing opengl on Nvidia. I haven't worked with Nvidia-drivers in a long time as I do not have any hardware worth using it on (I've recently only been using nouveau - the OSS driver on ancient/slow hardware (GeForce4, 8200GS, etc) ).
Back to top
View user's profile Send private message
Dan42
n00b
n00b


Joined: 01 Jun 2015
Posts: 34

PostPosted: Fri Jun 12, 2015 7:28 am    Post subject: Wow! Reply with quote

It freaking worked!!!!!!! :) You are amazing! :)

Once the driver reinstalled the issue was resolved. Not only this one... Also an issue with flash that was very frustrating lol. THANK YOU!!!!! :)
Back to top
View user's profile Send private message
Dan42
n00b
n00b


Joined: 01 Jun 2015
Posts: 34

PostPosted: Wed Jun 17, 2015 12:11 pm    Post subject: eselect opengl list Reply with quote

As I said it all works now... Just one little thing... Everytime I boot up, I need to eselect opengl set 1 so it chooses [1] nvidia *
is there a way to make that choice permanent?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
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