Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192730 - x11-drivers/ati-drivers - shared memory extension error
Summary: x11-drivers/ati-drivers - shared memory extension error
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2007-09-16 20:40 UTC by Tim Nelson
Modified: 2007-09-20 14:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

bugreport (description.txt,42.02 KB, text/plain)
2007-09-17 01:54 UTC, Tim Nelson

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Nelson 2007-09-16 20:40:59 UTC
URL above has bug information, as I was told my entry was too long.  

Reproducible: Always

Steps to Reproduce:
1. Left foot in
2. Right foot out

Actual Results:  
[ws] share memory extension error

Expected Results:  
Hokey Pokey

No Hokey Pokey :(
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-16 21:08:05 UTC
Reopen once you've posted/attached all relevant info, emerge --info output etc. here.

Comment 2 Tim Nelson 2007-09-17 01:48:53 UTC

At the top of the Bug is the link, there is no need to attach info that I have already hosted.

Thanks for taking the time to read thoroughly.
Comment 3 Tim Nelson 2007-09-17 01:54:09 UTC
Created attachment 131110 [details]

incase you dont care to click the URL I originally posted
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2007-09-17 03:01:27 UTC
Post your `emerge --info`, the output of `emerge -vp mplayer` and a description of the bug here, notably stating what command actually produced which error. Outside URLs are not acceptable. Note that you do NOT need to post your kernel config.
Comment 5 Tim Nelson 2007-09-17 20:42:43 UTC
emerge -vp mplayer

These are the packages that would be merged, in order:

Calculating dependencies  ..... ..... ... done!
[ebuild     U ] media-video/mplayer-1.0_rc1_p20070824 [1.0_rc1_p20070622-r4] USE="X aac alsa arts directfb encode esd gif gtk iconv ipv6 jpeg mad mp3 opengl oss png quicktime sdl truetype unicode vorbis xv xvid (-3dnow) (-3dnowext) -a52 -aalib (-altivec) -amrnb -amrwb -bidi -bindist -bl -cddb -cdio% -cdparanoia -cpudetection -custom-cflags -dga -doc -dts -dv -dvb -dvd -enca -fbcon -ftp -ggi (-ivtv) -jack -joystick -libcaca -lirc -live -livecd -lzo -md5sum (-mmx) (-mmxext) -mp2 -musepack -nas -openal -pnm -pvr% -radio (-rar) (-real) -rtc -samba -speex -srt (-sse) (-sse2) -ssse3 (-svga) -teletext% -tga -theora -tivo -v4l -v4l2 -vidix (-win32codecs) -x264 -xanim -xinerama (-xvmc) -zoran (-dvdnav%)" VIDEO_CARDS="mga s3virge tdfx (-i810) (-nvidia) (-vesa)" 0 kB 

Total: 1 package (1 upgrade), Size of downloads: 0 kB
Comment 6 Tim Nelson 2007-09-17 20:44:10 UTC
Portage (default-linux/ppc/ppc32/2007.0/G3, gcc-4.1.2, glibc-2.5-r4, 2.6.21-gentoo-r4 ppc)
System uname: 2.6.21-gentoo-r4 ppc 750FX
Timestamp of tree: Mon, 17 Sep 2007 01:30:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
CFLAGS="-O2 -mcpu=G3 -mtune=G3 -fno-strict-aliasing -pipe"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -mcpu=G3 -mtune=G3 -fno-strict-aliasing -pipe"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
USE="X aac acl alsa arts berkdb bitmap-fonts cairo cdr cdrom cli cracklib crypt cups dbus directfb divx dri eds emboss encode esd evo faad faad2 fam fb firefox fortran gdbm gif glitz gpm gtk hal iconv ipv6 isdnlog java jpeg kde kerberos ldap mad midi mikmod mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pcre pdf perl png ppc pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis xml xml2 xorg xv xvid zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="chips dummy fbdev glint imstt mach64 mga nv r128 radeon s3 s3virge savage sisusb tdfx trident v4l voodoo"

Comment 7 Tim Nelson 2007-09-17 20:47:04 UTC
Step 1)  I clicketh the mplayer on the kmenu which lay upon thee kicker applicator.
Step 2) A pop up which states  "[ws] shared memory extension error" impedes my viewing of porn :(
Comment 8 Tim Nelson 2007-09-18 01:22:34 UTC
I have recompiled a few times with different USE flags to no avail.  When running gmplayer from terminal I see this error.  Also, I can change the -vo to gl etc, nothing solves it with mplayer runtime options.

(<unknown>:13722): Gdk-WARNING **: shmget failed: error 38 (Function not implemented)
[ws] shared memory extension error
Comment 9 Reimar Döffinger 2007-09-18 08:51:08 UTC
Sounds like something seriously wrong with your X-Server configuration, it claims to support SHM but actually does not.
Starting it as
DISPLAY=localhost:0 gmplayer
might work around the problem...
Comment 10 Tim Nelson 2007-09-19 11:44:18 UTC
Attempted that and it did not work.  It just pulled up the options as if I was typing "mplayer"  with no options.  I went through and recompiled xorg-server and xorg-x11 with the same results.  Even though the xserver is now

I also attached my kernel config if you could take a look at it.   Also for VIDEO_CARD="ati" in my make.conf is there any other options I may need?  Tonight I will try compiling libx11 without xcb as a USE flag since I have that right now and it has been known to break other things.  If this is the case I will update and close the bug.

Thanks in advance.
Comment 11 Tim Nelson 2007-09-20 14:18:37 UTC
Went through my Kernel and rebuilt it.  SHM was already enabled but I disabled and reenabled and selected some other things.  Works now.

I will attach my new kernel config for comparison in a bit.
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2007-09-20 14:48:30 UTC
Has nothing do to with mplayer, plus the resolution is incorrect.
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2007-09-20 14:52:11 UTC
Once you've figured out the "other things" that made ati-drivers work, reopen the bug with relevant info.