after updating to the latest xine-lib I have the problem that when trying to use opengl or xvideo as output it gives FGLTexMgr: open of shared memory object failed (Permission denied) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!! as output and the screen is blank and xine crashes Reproducible: Always Steps to Reproduce: 1.xine -V xv 2.xine -V opengl Actual Results: in both cases xine crashes the only way I found to get it working was via xshm Expected Results: run normaly as it does with xshm FGLTexMgr: open of shared memory object failed (Permission denied) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!!
forgot one line of the error FGLTexMgr: open of shared memory object failed (Permission denied) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!! fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!! FGLTexMgr: open of shared memory object failed (Permission denied) __FGLTexMgrCreateObject: __FGLTexMgrSHMmalloc failed!!! fglX11AllocateManagedSurface: __FGLTexMgrCreateObject failed!! and this continues glxinfo and glxgears works perfect, but the error also happens if I use fgl_glxgears. i'm using kernel version 2.4.27
I think that the problem is not in the xine-lib but somewhere in the ati-drivers it still workt in version 3.14.1 the upgrade was done almost at the same time. If have been testing xvinfo in xinerama mode gives me X-Video Extension version 2.2 screen #0 Adaptor #0: "ATI Radeon Video Overlay" number of ports: 1 port base: 65 operations supported: PutImage supported visuals: depth 8, visualID 0x2d depth 8, visualID 0x2e depth 24, visualID 0x25 depth 24, visualID 0x26 depth 24, visualID 0x27 depth 24, visualID 0x28 depth 24, visualID 0x29 depth 24, visualID 0x2a depth 24, visualID 0x2b depth 24, visualID 0x2c number of attributes: 12 "XV_SET_DEFAULTS" (range 0 to 1) client settable attribute "XV_AUTOPAINT_COLORKEY" (range 0 to 1) client settable attribute client gettable attribute (current value is 1) "XV_COLORKEY" (range 0 to -1) client settable attribute client gettable attribute (current value is 30) "XV_DOUBLE_BUFFER" (range 0 to 1) client settable attribute client gettable attribute (current value is 1) "XV_BRIGHTNESS" (range -1000 to 1000) client settable attribute client gettable attribute (current value is 0) "XV_CONTRAST" (range -1000 to 1000) client settable attribute client gettable attribute (current value is 0) "XV_SATURATION" (range -1000 to 1000) client settable attribute client gettable attribute (current value is 0) "XV_COLOR" (range -1000 to 1000) client settable attribute client gettable attribute (current value is 0) "XV_HUE" (range -1000 to 1000) client settable attribute client gettable attribute (current value is 0) "XV_RED_INTENSITY" (range -1000 to 1000) client settable attribute client gettable attribute (current value is 0) "XV_GREEN_INTENSITY" (range -1000 to 1000) client settable attribute client gettable attribute (current value is 0) "XV_BLUE_INTENSITY" (range -1000 to 1000) client settable attribute client gettable attribute (current value is 0) maximum XvImage size: 2048 x 2048 Number of image formats: 4 id: 0x32595559 (YUY2) guid: 59555932-0000-0010-8000-00aa00389b71 bits per pixel: 16 number of planes: 1 type: YUV (packed) id: 0x59565955 (UYVY) guid: 55595659-0000-0010-8000-00aa00389b71 bits per pixel: 16 number of planes: 1 type: YUV (packed) id: 0x32315659 (YV12) guid: 59563132-0000-0010-8000-00aa00389b71 bits per pixel: 12 number of planes: 3 type: YUV (planar) id: 0x30323449 (I420) guid: 49343230-0000-0010-8000-00aa00389b71 bits per pixel: 12 number of planes: 3 type: YUV (planar) but when I turn xinerama of I get X-Video Extension version 2.2 screen #0 no adaptors present screen #1 no adaptors present so it looks like xvideo isn't usable for mat ati and mga videocard, in xinerama mode xvideo is still un usable. I have tryed remerging xine-lib and that gives as output for xvideo checking for linux/videodev.h... yes checking for libXv.so... libXv.so not found in checking for libXv.a... libXv.a not found in checking whether to enable the xxmc plugin with vld extensions... checking for XvMCPutSlice in -lXvMCW... no *** Could not link with -lXvMCW for vld extensions. checking for XvMCCreateContext in -lXvMCW... no *** Could not link with -lXvMCW for standard XvMC. *** Disabling xxmc plugin due to above errors. checking whether to enable the xvmc plugin... could this have anything to do with it?
opengl problem has been fixed but xvideo support is still nowere to be found error in opengl was this is what it should be for ati drivers tmpfs /dev/shm tmpfs defaults 0 0 and this is what was in fstab by default none /dev/shm tmpfs gid=5,mode=0602 0 0
problem solved xine-lib-1-rc8-r1 has some xvideo linkage problem is seems after emerging xine-lib-1 xv works fine