Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem emerging x11-libs/gdk-pixbuf
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
GummyGum173
n00b
n00b


Joined: 09 Apr 2014
Posts: 50

PostPosted: Sat Nov 22, 2014 11:20 am    Post subject: Problem emerging x11-libs/gdk-pixbuf Reply with quote

Hello,

I've recently installed Gentoo on my TF201 :)
I have one problem though, I can't get past gdk-pixbuf.

I get the following error:
Code:

Writing a loaders.cache file to use when running examples before installing gdk-pixbuf.

****nvrm_init failed****

Error: Can't open /dev/nvhost-ctrl
...


Then, after the source is compiled and it tries to install I get:
Code:

ACCESS VIOLATION SUMMARY
LOG FILE: "/var/log/sandbox/sandbox-5815.log"
VERSION 1.0
FORMAT: F - Function called
FORMAT: S -Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /dev/mem
A: /dev/mem
R: /dev/mem
C: /var/tmp/portage/x11-libs/gtk-pixbuf...

F: open_wr
S: deny
P: /dev/knvmap
A: /dev/knvmap
R: /dev/knvmap
C: /var/tmp/portage/x11-libs/gtk-pixbuf...

F: open_wr
S: deny
P: /dev/nvmap
A: /dev/nvmap
R: /dev/nvmap
C: /var/tmp/portage/x11-libs/gtk-pixbuf...

F: open_wr
S: deny
P: /dev/nvhost-ctrl
A: /dev/nvhost-ctrl
R: /dev/nvhost-ctrl
C: /var/tmp/portage/x11-libs/gtk-pixbuf...



Ofcourse, I am emerging as root.
I tried emerging with FEATURES="-sandbox" and it didn't help.

ls -l /dev:
Code:
crw-r----- 1 root kmem    1,    1 Nov 22 13:01 mem
crw-rw---- 1 root root     10,    58 Nov 22 13:01 knvmap
crw-rw---- 1 root video     10,    59 Nov 22 13:01 nvmap
crw-rw---- 1 root video    252,    0 Nov 22 13:01 nvhost-ctrl



Also, on a side note:
My device runs nVidia Tegra, and the latest version supports only ABI-14, while my X11 is ABI-15.
To which version should I downgrade X11, and will it hurt kde?
Back to top
View user's profile Send private message
jorants
n00b
n00b


Joined: 26 Nov 2014
Posts: 6
Location: Verenigd Koninkrijk

PostPosted: Mon May 18, 2015 9:20 pm    Post subject: Reply with quote

I just ran into the same problem trying to build gtk+2 and there was no solution online, so I tought I would post how I fixed it for if anyone in the future will run into this.
It seems that the /dev/nvhost-ctrl interface is not behaving as it should. In my case GTK tries to use this to estimate what opengl functions it could use.

I selected an other opengl profile with eselect, the default one of X, and gtk+2 builds fine. afterwards I just changed it back.
Hopefully this will not cause any problems, but I think that the packages will just be using standart opengl funcitons instead of the card specific ones.
Back to top
View user's profile Send private message
jorants
n00b
n00b


Joined: 26 Nov 2014
Posts: 6
Location: Verenigd Koninkrijk

PostPosted: Tue May 19, 2015 11:47 pm    Post subject: Reply with quote

For completeness:
Turns out that this will cause segmentation faults, you have to emerge with the right opengl profile in eselect!
The problem is that the sandbox is stopping the compilation of accesing /dev.
to solve this you will have to use:
FEATURES="-sandbox -usersandbox"
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6194

PostPosted: Wed May 20, 2015 10:08 am    Post subject: Reply with quote

jorants wrote:
For completeness:
Turns out that this will cause segmentation faults, you have to emerge with the right opengl profile in eselect!
The problem is that the sandbox is stopping the compilation of accesing /dev.
to solve this you will have to use:
FEATURES="-sandbox -usersandbox"


... :roll:
I'd say such setting is the exact opposite of 'solved'.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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