Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorg + nvidia opengl issues
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

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


Joined: 20 Sep 2010
Posts: 7

PostPosted: Sun Oct 31, 2010 8:15 pm    Post subject: Xorg + nvidia opengl issues Reply with quote

glxinfo and mplayer both display error while loading shared libraries: libGL.so.1: failed to map segment from shared object: Operation not permitted
I tryed relaxing pax flags but that didn't help at all.

Nvidia GTX 260m
x11-drivers/nvidia-drivers-260.19.12
x11-base/xorg-server-1.7.7-r1
sys-kernel/hardened-sources-2.6.34-r6

Code:
Xorg.0.log
(II) LoadModule: "glx"
(II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
dlopen: /usr/lib64/xorg/modules/extensions/libglx.so: failed to map segment from shared object: Operation not permitted
(EE) Failed to load /usr/lib64/xorg/modules/extensions/libglx.so
(II) UnloadModule: "glx"
(EE) Failed to load module "glx" (loader failed, 7)


Code:
emerge --info
Unavailable repository 'secure' referenced by eclass-overrides entry in '/etc/portage/repos.conf'
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.11.2-r2, 2.6.34-hardened-r6 x86_64)
=================================================================
System uname: Linux-2.6.34-hardened-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-1.12.13
Timestamp of tree: Sat, 30 Oct 2010 19:30:01 +0000
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r3, 3.1.2-r4
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--warn-once"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bidi bluetooth bzip2 cdda cdio cli cracklib crypt cue curl cxx dbus dri dts dvd enca ffmpeg flac fortran freetype gdbm gif gnutls gpm graphite gtk hal hardened httpd iconv jpeg lame laptop libmms libnotify libsamplerate live mad matroska mmx modules mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nvidia ogg oggvorbis opencl opengl openmp pam pcre perl pic png pppd profiler python readline session skins speex sse sse2 ssl stream sysfs tcpd theora threads truetype unicode vcd vdpau vlm wxwindows x264 xorg xv xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Code:
xorg.conf
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/lib64/xorg/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/OTF"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
        Load  "dri2"
        Load  "dbe"
        Load  "record"
        Load  "dri"
        Load  "glx"
        Load  "extmod"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option  "XkbModel" "pc105"
        Option  "XkbVariant" "nodeadkeys"
       
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        BoardName   "GT200 [GeForce GTX 260M]"
        BusID       "PCI:1:0:0"
        Option "AddARGBGLXVisuals" "True"
        Option "Coolbits" "1"
        Option "RenderAccel"    "True"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
Back to top
View user's profile Send private message
cdstealer
Guru
Guru


Joined: 30 Oct 2005
Posts: 431
Location: Leeds

PostPosted: Sun Oct 31, 2010 9:03 pm    Post subject: Reply with quote

Have you tried x11-drivers/nvidia-drivers-256.53?
_________________
# touch it
touch: cannot touch `it': Permission denied
Back to top
View user's profile Send private message
bchaser33
n00b
n00b


Joined: 20 Sep 2010
Posts: 7

PostPosted: Sun Oct 31, 2010 9:57 pm    Post subject: Reply with quote

cdstealer wrote:
Have you tried x11-drivers/nvidia-drivers-256.53?

xorg segfaults
Code:
modprobe -r nvidia; emerge nvidia-drivers xorg-drivers
.....
(II) LoadModule: "nvidia"
(II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x28) [0x4a0a38]
1: /usr/bin/X (0x400000+0x64ae9) [0x464ae9]
2: /lib/libpthread.so.0 (0x75c9d343e000+0xf010) [0x75c9d344d010]
3: /lib64/ld-linux-x86-64.so.2 (0x75c9d4a07000+0x6f93) [0x75c9d4a0df93]
4: /lib64/ld-linux-x86-64.so.2 (0x75c9d4a07000+0x7658) [0x75c9d4a0e658]
5: /lib64/ld-linux-x86-64.so.2 (0x75c9d4a07000+0x11bf8) [0x75c9d4a18bf8]
6: /lib64/ld-linux-x86-64.so.2 (0x75c9d4a07000+0xd586) [0x75c9d4a14586]
7: /lib64/ld-linux-x86-64.so.2 (0x75c9d4a07000+0x1161a) [0x75c9d4a1861a]
8: /lib/libdl.so.2 (0x75c9d2a2f000+0xf76) [0x75c9d2a2ff76]
9: /lib64/ld-linux-x86-64.so.2 (0x75c9d4a07000+0xd586) [0x75c9d4a14586]
10: /lib/libdl.so.2 (0x75c9d2a2f000+0x12fc) [0x75c9d2a302fc]
11: /lib/libdl.so.2 (dlopen+0x31) [0x75c9d2a2fef1]
12: /usr/bin/X (0x400000+0x16e69c) [0x56e69c]
13: /usr/bin/X (0x400000+0x10f267) [0x50f267]
14: /usr/bin/X (0x400000+0x1114af) [0x5114af]
15: /usr/bin/X (xf86LoadModules+0xb6) [0x4721d6]
16: /usr/bin/X (InitOutput+0x22c) [0x473dfc]
17: /usr/bin/X (0x400000+0x24e0f) [0x424e0f]
18: /lib/libc.so.6 (__libc_start_main+0xfd) [0x75c9d2054bbd]
19: /usr/bin/X (0x400000+0x24b59) [0x424b59]
Segmentation fault at address 0x75c9d4c24d80

Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting


emerged 260.16.12 again and with "eselect opengl set xorg-x11" im able to dump glxinfo but it still complains about glx module not being loaded
Code:
pleiades ~ # glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes

Code:
(**) Oct 31 16:38:33 NVIDIA(0): Enabling RENDER acceleration
(EE) Oct 31 16:38:33 NVIDIA(0): Failed to initialize the GLX module; please check in your X
(EE) Oct 31 16:38:33 NVIDIA(0):     log file that the GLX module has been loaded in your X
(EE) Oct 31 16:38:33 NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
(EE) Oct 31 16:38:33 NVIDIA(0):     you continue to encounter problems, Please try
(EE) Oct 31 16:38:33 NVIDIA(0):     reinstalling the NVIDIA driver.


having "eselect opengl set nvidia" brings me back to square one
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