Summary: | =media-video/mplayer-1.0_rc2_p20090731 and x11-drivers/nvidia-drivers segfaults | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alex Efros <powerman-asdf> |
Component: | Current packages | Assignee: | Doug Goldstein (RETIRED) <cardoe> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jer, media-video, ricmm |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alex Efros
2009-07-13 10:02:40 UTC
Try 20090731 with more recent nvidia drivers. I've tried media-video/mplayer-1.0_rc2_p20090731 with both latest stable (x11-drivers/nvidia-drivers-180.60) and unstable beta (x11-drivers/nvidia-drivers-190.18). No luck - still got segfault: kern.info: mplayer[7971]: segfault at 2a269598 ip 550232cc sp 5ffd67f0 error 4 in libGL.so.180.60[54fe9000+8d000] kern.info: mplayer[5085]: segfault at 2da09598 ip 52a3830c sp 5eeb4d50 error 4 in libGL.so.190.18[52a0f000+93000] Both still works ok with `eselect opengl set xorg-x11`. Please try, mplayer-1.0_rc4_p20091026. Just tried media-video/mplayer-1.0_rc4_p20091026 - no luck: kern.info: mplayer[23766]: segfault at 27011590 ip 4e0ea2cc sp 5d871bc0 error 4 in libGL.so.180.60[4e0b0000+8d000] kern.info: mplayer[23868]: segfault at 6eec3590 ip b6b122cc sp bfffe3c0 error 4 in libGL.so.180.60[b6ad8000+8d000] kern.info: mplayer[23942]: segfault at 225c1590 ip 4bd4a2cc sp 58ae2790 error 4 in libGL.so.180.60[4bd10000+8d000] please attach the output of emerge -pv mplayer home ~ # ACCEPT_KEYWORDS=~x86 emerge -pv mplayer These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] media-libs/x264-0.0.20091021 [0.0.20081006] USE="pic%* threads -debug" 0 kB [ebuild U ] media-video/mplayer-1.0_rc4_p20091026-r1 [1.0_rc2_p20090731] USE="X a52 aac alsa ass cddb cdio dga dirac dts dv dvd dvdnav enca encode faac faad gif iconv jpeg live lzo mad mmx mng mp3 network opengl osdmenu oss png quicktime rar real rtc samba schroedinger sdl shm speex sse sse2 ssse3 theora toolame%* tremor truetype twolame%* unicode vorbis win32codecs x264 xscreensaver xv xvid -3dnow -3dnowext -aalib (-altivec) -bidi -bindist -bl -bs2b% -cdparanoia -cpudetection -custom-cpuopts -debug -directfb -doc -dvb -dxr3 -esd -fbcon -ftp -ggi -gmplayer -ipv6 -jack -joystick -ladspa -libcaca -lirc -md5sum -mmxext -nas -nut% -openal -opencore-amr% -pnm -pulseaudio -pvr -radio -svga -teletext -tga -v4l -v4l2 (-vdpau) -vidix -xanim -xinerama -xvmc -zoran (-custom-cflags%*) (-mp2%*)" VIDEO_CARDS="-mga (-nvidia) -s3virge -tdfx (-vesa%*)" 0 kB Total: 2 packages (2 upgrades), Size of downloads: 0 kB Have you tried the upgrade as requested? (In reply to comment #7) > Have you tried the upgrade as requested? > As I said in comment #4 I've tried that upgrade. Or you speaking about something else? btw, there one more workaround related to this issue: while mplayer (and things like glxgears) just segfaults when opengl set to nvidia, the vmware need opengl set to nvidia to support 3D acceleration. this small script will help to have both opengl set to xorg-x11 (to keep mplayer working) and 3D acceleration in vmware: $ cat ~/bin/vmware #!/bin/bash export opengl_prev=$(eselect opengl list | grep '*' | awk '{print $2}') if [ "x$opengl_prev" != "xnvidia" ]; then sudo eselect opengl set nvidia bash -c ' until pidof vmware-unity-helper &>/dev/null; do sleep 1; done sudo eselect opengl set $opengl_prev ' & fi exec /opt/vmware/workstation/bin/vmware "$@" You'll also need to allow eselect executed without password by user with sudo, so append these lines (with your username) to sudo configuration: # visudo powerman ALL= NOPASSWD: /usr/bin/eselect opengl set nvidia powerman ALL= NOPASSWD: /usr/bin/eselect opengl set xorg-x11 This issue actually ties back to the X11 / mesa OpenGL headers differing from the Khornos group spec which the NVIDIA drivers actually conform to. Newer versions of mesa do a better job but not 100%. The mplayer guys have added some work arounds as well. Please retest and reopen if it still is bad. |