Mplayer and framebuffer

hello,
I was wondering why framebuffer support was taken off the mplayer package ?
I mean, on this last revision of the PKGBUILD (1.54), the following option
--disable-fbdev was added, and I was wondering why.
Thanks,
--lf
---- EDIT ----
I tried using makepkg myself, after removing the --disable-fbdev from the PKGBUILD,
and got into 2 problems :
1) wrong md5sum for one of the files (easy to fix)
2) problems during compilation. I get this error while trying to compile :
"In file included from vo_fbdev.c:21:
../osdep/kerneltwosix.h:4:31: linux/thread_info.h: No such file or directory
In file included from /usr/include/linux/list.h:1,
                 from ../osdep/kerneltwosix.h:5,
                 from vo_fbdev.c:21:
/usr/include/linux/err_kernel_only.h:1:2: #error Kernel only header included in userspace
make[1]: *** [vo_fbdev.o] Error 1
make[1]: Leaving directory `/var/abs/multimedia/mplayer/src/MPlayer-1.0pre5/libvo'
make: *** [libvo/libvo.a] Error 2
==> ERROR: Build Failed.  Aborting..."
I'm still searching how to fix this.

There's also the "sdl" video output to try. And mplayer and mplayer2 seem to have slightly different behaviour for me. Out of curiosity, what framebuffer driver are you using?

Similar Messages

  • Problems with mplayer and the framebuffer

    I am having trouble running mplayer in the framebuffer using
    mplayer -vo fbdev
    or
    mplayer -vo fbdev2
    fbdev plays sound but says that I was unable to open the requisite video device (I am in the video group).  fbdev2 spits error messages to the screen, and plays no sound.  Currently, I do not have access to the computer with this problem, and cannot post the error messages.
    I did, however get mplayer in the framebuffer to work by installing directfb and recompiling mplayer.  This time, even though I am in the video group, I am still not allowed to access directfb unless I run as root (it runs perfectly as root).
    I'm sure I've missed something simple, but I cant see it.  I've read through what I believe is all of the requisite documentation.
    Thanks!
    edit: More descriptive title.
    Last edited by dmillard (2012-01-03 02:17:31)

    There's also the "sdl" video output to try. And mplayer and mplayer2 seem to have slightly different behaviour for me. Out of curiosity, what framebuffer driver are you using?

  • [solved]X11: MGA driver issues: video playback (mplayer) and 3D

    Hello,
    I am new to Arch, but I am not new to Linux. I installed Arch yesterday, before I was experimenting with it in VirtualBox and -to test the compatibility with my real hardware- I also tried the "Archie" live CD.
    But there was one thing that the combination of VirtualBox and Archie could not test: the X Window System itself, because in Archie there was an older and VESA-only version and you could not upgrade it and VirtualBox was, well, virtual.
    I have a Matrox card G550, so I installed the xf86-video-mga package. At first it did not work at all (blank screen), but when I switched the console from framebuffer to "normal" text mode it started working, but...
    1) the 3D performance (glxgears) is about half of the FPS I got on my previous Linux system
    2) when I tried to play video with mplayer, xine or vlc, there was blue screen instead of the picture. - I can send you a screenshot, but it's just a blue box where the picture should be
    I discovered, that this bluescreen thing is "solved" with some arcane xorg.conf option I discovered with "man mga" - in fact, I tried each of the options in hope for this to fix:
    Option "ShadowFB" "on"
    but this thing slows the 3D performance even more, so the OpenGL version of Doom is not playable any more :(
    Also the mplayer itself behaves differently than on my old Linux: When I resize the window or go fullscreen, on the old system it resized or fullscreened the entire picture and now just the window is bigger and the picture remains the same. I solved this with -vo sdl, but it seems the picture has poorer quality in this case
    at all, I think something is missing in the xorg configuration, because the mplayer and 3D behavior suggest so.
    here is my config:
    Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
    EndSection
    Section "Files"
    RgbPath "/usr/share/X11/rgb"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/local"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/Type1"
    FontPath "/usr/share/fonts/artwiz-fonts/"
    EndSection
    Section "Module"
    Load "xtrap"
    Load "dbe"
    Load "GLcore"
    Load "extmod"
    Load "record"
    Load "dri"
    Load "glx"
    #Load "freetype"
    #Load "type1"
    #Load "v4l"
    #Load "drm"
    #Load "type1"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option "XkbLayout" "us,cz_qwerty"
    Option "XkbModel" "pc104"
    Option "XkbOptions" "grp:alt_shift_toggle,grp:switch,grp_led:scroll"
    EndSection
    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5"
    EndSection
    Section "Monitor"
    DisplaySize 380 300 # mm
    Identifier "Monitor0"
    VendorName "BNQ"
    ModelName "BenQ FP91G+"
    ### Comment all HorizSync and VertRefresh values to use DDC:
    HorizSync 30.0 - 83.0
    VertRefresh 43.0 - 76.0
    Option "DPMS"
    UseModes "Modes[0]"
    EndSection
    Section "Device"
    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
    ### [arg]: arg optional
    #Option "HWcursor" # [<bool>]
    #Option "PciRetry" # [<bool>]
    #Option "SyncOnGreen" # [<bool>]
    #Option "NoAccel" # [<bool>]
    #Option "Overlay" # [<str>]
    #Option "MGASDRAM" # [<bool>]
    #Option "ShadowFB" # [<bool>]
    #Option "UseFBDev" # [<bool>]
    #Option "ColorKey" # <i>
    #Option "SetMclk" # <freq>
    #Option "OverclockMem" # [<bool>]
    #Option "VideoKey" # <i>
    #Option "TexturedVideo" # [<bool>]
    #Option "Int10" # [<bool>]
    #Option "AGPMode" # <i>
    #Option "AGPSize" # <i>
    #Option "DRI" # [<bool>]
    #Option "OldDmaInit" # [<bool>]
    #Option "ForcePciDma" # [<bool>]
    #Option "AccelMethod" # [<str>]
    Identifier "Card0"
    Driver "mga"
    VendorName "Matrox Graphics, Inc."
    BoardName "MGA G550 AGP"
    BusID "PCI:1:0:0"
    Option "HwCursor" "off" #protoze jinak tam neni
    Option "DRI" "on"
    Option "ShadowFB" "on" #jo ale pomalejsi 3D
    #Option "OldDMAInit" "on"
    Option "AGPMode" "4"
    #Option "TexturedVideo" "on" #nefunguje
    Option "AccelMethod" "EXA"
    EndSection
    Section "DRI"
    Group "video"
    Mode 0666
    EndSection
    Section "Modes"
    Identifier "Modes[0]"
    Modeline "640x480" 25.20 640 656 752 800 480 490 492 525 -hsync
    -vsync
    ModeLine "1280x1024" 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    DefaultDepth 16
    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
    Modes "1280x1024" "1024x768" "800x600"
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 24
    Modes "1280x1024" "1024x768" "800x600"
    EndSubSection
    EndSection
    I use 16bpp because 24bpp is slower...
    thank you in advance,
       Daniel
    Last edited by danielsoft (2008-03-04 16:21:17)

    the solution was to downgrade the x server and matrox drivers
    (I found the old packages at http://mir2.archlinuxfr.org/archlinux/c … i686.old/)
    the following packages were downgraded:
    xf86-input-keyboard-1.1.1-1.pkg.tar.gz
    xf86-input-mouse-1.2.1-1.pkg.tar.gz
    xf86-video-mga-1.4.6.1-1.pkg.tar.gz
    xorg-server-1.2.0-5.pkg.tar.gz
    xorg-xkb-utils-1.0.2-2.pkg.tar.gz

  • Mplayer and xine don't work

    I cannot say much. I've tested it with Mplayer and xine but both don't work. I want to use Mplayer so I'll speak only from mplayer.
    When I start Mplayer and go to DVD - Open Disc this error appears -> "Cannot open the IFO file for DVD title1"
    I don't know what I should do. I have the following packages installed on my machine mplayer 1.0pre5-5, libdvdcss 1.2.8-1, libdvdread 0.9.4-2 everything from pacman.
    I couldn't say more so I hope anybody know something.

    No my dvd is not mounted when try to run the dvd.
    Mplayer is pointing to /dev/dvd as normal and I made the right entries for generating /dev/dvd in /etc/devfsd.conf
    I only have /mnt/dvd cause I only have one Multi DVD drive which supports all. I think I should mention that it's a Laptop.
    I'll post the entries from devfsd.conf which counts to the possible failure generators.
    # CD-Rom Permissions for burningREGISTER
    ^ide/host0/bus1/target0/lun0/cd PERMISSIONS root.cdrom 666
    # Create /dev/dvd
    LOOKUP ^dvd$ CFUNCTION GLOBAL mksymlink ${mntpnt}/cdroms/cdrom0 dvd
    REGISTER ^cdroms/cdrom0$ CFUNCTION GLOBAL mksymlink ${devpath} dvd
    UNREGISTER ^cdroms/cdrom0$ CFUNCTION GLOBAL unlink dvd
    I suppose that it has to do with the packages from pacman. Eventually they are not compiled with the proper options to mplayer or something like that stuff. So if anyone has dvd playback running under the same packages as I, plz reply.

  • Mplayer and VirtualBox error after installing ATI Drivers

    I recently switched from the Open Source drivers for my ATI video card.  Since that time some programs are refusing to load.
    I switched to the Catalyst repository to install the new drivers for my card.
    The specific error message I get when running the mplayer in the terminal is
    mplayer: error while loading shared libraries: libdirectfb-1.4.so.0: cannot open shared object file: No such file or directory
    the message for VirtualBox is
    VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/opt/VirtualBox/VirtualBox.so",) failed: libdirectfb-1.4.so.0: cannot open shared object file: No such file or directory
    So far only 2 programs have been giving me this error are mplayer and VirtualBox.
    I have tried reinstalling directfb and mplayer, but this doesn't fix things.
    I have run ldd `which mplayer` and the following is missing
    libdirectfb-1.4.so.0 => not found
    libfusion-1.4.so.0 => not found
    libdirect-1.4.so.0 => not found
    I am running 64bit Arch.
    Thanks for your help

    Thanks
    wonder wrote:LD_DEBUG=files mplayer > log 2>&1
    After running that, I discovered that sdl needed to be rebuilt. Once I did that, everything works fine.
    Last edited by floatingman (2010-09-21 13:12:10)

  • Mplayer and gnome

    I guess it's because I am new.  I was able to do it before on a previous installation.  When I try to click on a movie file from the file browser, I won't open in mplayer.  I can drag and drop it in mplayer and it works, but not clicking.
    I get failed to open file///.....avi
    But I can open the files fine with mplayer alone.
    Is this a bug in gnome or do I have something not configured correctly?
    I am using gmplayer, but smplayer doesn't work either.
    Edit:  Sorry again.  The videos I am trying to access are on an NTFS drive running with fuse and ntfs-3g.
    Update: I copied a video over to my home directory on ext3 and am still having the same problem, so fuse and ntfs-3g eliminated as problem.
    Last edited by Anonymo (2007-11-11 17:55:31)

    Mikko777 wrote:
    it's a small bug in:
    /usr/share/applications/mplayer.desktop
    just change it to:
    Exec=gmplayer %F
    thx, that's works

  • [SOLVED]mplayer and urxvt problems after update

    Hello to all fellow archers!
    Couple of days back, I updated xorg-server, like most of the people around here, so I asume that issues I`m going to describe, could be related to xorg-server being recently updated.
    First issue is related to mplayer not playing movies in fullscreen format, despite being told to do so. The image size of a video is about 20% of screen resolution size, while the rest of the screen is just black.
    MPlayer 1.0rc2-4.3.2 (C) 2000-2007 MPlayer Team
    CPU: AMD Athlon(tm) Processor (Family: 6, Model: 6, Stepping: 2)
    CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
    Compiled with runtime CPU detection.
    115 audio & 237 video codecs
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.
    Playing Death.Proof[2007][Unrated.Editon]DvDrip[Eng]-aXXo.avi.
    AVI file format detected.
    [aviheader] Video stream found, -vid 0
    [aviheader] Audio stream found, -aid 1
    VIDEO: [DX50] 664x280 12bpp 23.976 fps 741.7 kbps (90.5 kbyte/s)
    Clip info:
    Software: VirtualDubMod 1.5.10.1 (build 2366/release)
    SUB: Detected subtitle file format: microdvd
    SUB: Read 1877 subtitles.
    SUB: Added subtitle file (1): ./Death.Proof[2007][Unrated.Editon]DvDrip[Eng]-aXXo.srt
    [VO_XV] It seems there is no Xvideo support for your video card available.
    [VO_XV] Run 'xvinfo' to verify its Xv support and read
    [VO_XV] DOCS/HTML/en/video.html#xv!
    [VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
    [VO_XV] Try -vo x11.
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
    AUDIO: 48000 Hz, 2 ch, s16le, 112.0 kbit/7.29% (ratio: 14000->192000)
    Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
    ==========================================================================
    AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
    Starting playback...
    VDec: vo config request - 664 x 280 (preferred colorspace: Planar YV12)
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is 2.37:1 - prescaling to correct movie aspect.
    VO: [x11] 664x280 => 664x280 Planar YV12
    [swscaler @ 0x89d5f50]SwScaler: using unscaled yuv420p -> rgb32 special converter
    A: 67.6 V: 67.6 A-V: -0.001 ct: 0.114 1621/1621 7% 12% 1.0% 0 0
    Exiting... (Quit)
    I tried switching between many different video out drivers, the only one that plays video normaly is x11, but the image size is very small.
    I`m using vesa driver and my video card is
    lspci | grep VGA
    01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV250 If [Radeon 9000] (rev 01)
    xorg.conf http://pastebin.com/f314eaaed
    Xorg.0.log http://pastebin.com/f570dbcf5
    I found a partial solution to mplayer problem in this tread http://bbs.archlinux.org/viewtopic.php?id=60054 where patroclo7 stated, that from this update on, X is using autodetection and doesn`t need xorg.conf anymore.
    Anyways I followed the advice deleted my xorg.conf and rebooted arch without xorg.conf. Everything works, even the video in mplayer is running at normal size, however the default screen resolution is a bit to high.
    I would like to set it to 1024x768 (monitor, philips 107E5) but don`t have a clue how to change screen resolution without xorg.conf being present. I`m using openbox as a standalone wm.
    I still have a backup of my working xorg.conf file, so I can switch between xorg.conf and the other config.
    Just for the record, video files are displayed properly using vlc as media player on both described configurations.
    To sum everything up, how to set screen resolution at 1024x 768 without xorg.conf being present or how to fix mplayer displaying movies in a very small screen/box, despite running in fullscreen mode (using xorg.conf).
    My second problem is regarding urxvt and its borderless. If I set it to true urxvt hangs on start everytime. The terminal is displayed in top left corner of the screen but it`s frozen and can`t be used, while being set to false works like a charm.
    Xdefaults
    #####Urxvt Config#####
    URxvt.termName: rxvt
    URxvt.transparent: true
    URxvt.inheritPixmap: true
    URxvt.imLocale: en_US.utf8
    URxvt.scrollBar: false
    URxvt.saveLines: 5000
    URxvt.urlLauncher: kazehakase
    URxvt.cursorBlink: true
    URxvt.fading: 15%
    URxvt.shading: 50
    !URxvt*background: [80]#ece9e2
    !URxvt.foreground: [80]#3d352a
    urxvt.depth: 24
    urxvt*background: rgba:0000/0000/0000/aaaa
    urxvt*foreground: rgba:ffff/ffff/ffff/aaaa
    URxvt.tintColor: #d9d7d1
    URxvt.borderLess: false
    !URxvt.InternalBorder: .5
    URxvt.externalBorder: .5
    URxvt.borderColor: #acacac
    ######Urxvt Colors######
    *foreground: rgba:0000/0000/0000/dddd
    *background: rgb:10/10/10
    !black
    *color0: rgb:20/20/20
    *color8: rgb:75/77/73
    !red
    *color1: rgb:cc/00/00
    *color9: rgb:ef/29/29
    !green
    *color2: rgb:4e/9a/06
    *color10: rgb:8a/e2/34
    !brown/yellow
    *color3: rgb:c4/a0/00
    *color11: rgb:fc/e9/4f
    !blue
    *color4: rgb:34/65/a4
    *color12: rgb:72/9f/cf
    !magenta
    *color5: rgb:75/50/7b
    *color13: rgb:ad/7f/a8
    !cyan
    *color6: rgb:06/98/9a
    *color14: rgb:34/e2/e2
    !white
    *color7: rgb:d3/d7/cf
    *color15: rgb:ee/ee/ec
    ! #####Xterm Config#####
    XTerm*background: black
    XTerm*foreground: gray
    XTerm*highlightColor: orange
    ######Stjerm Config######
    stjerm.key: f12
    stjerm.opacity: 50
    ######Stjerm colors######
    stjerm.color0: #202020
    stjerm.color1: #cc0000
    stjerm.color2: #4e9a06
    stjerm.color3: #c4a000
    stjerm.color4: #3465a4
    stjerm.color5: #75507b
    stjerm.color6: #06989a
    stjerm.color7: #d3d7cf
    stjerm.color8: #757773
    stjerm.color9: #ef2929
    stjerm.color10: #8ae234
    stjerm.color11: #fc394f
    stjerm.color12: #729fcf
    stjerm.color13: #ad7fa8
    stjerm.color14: #34e2e2
    stjerm.color15: #eeeeec
    ######Mouse Cursor Theme######
    Xcursor.theme:Neutral_Plus_Inv
    Any advice is highly appreciated.
    Regards,
    bandito
    Last edited by bandito (2008-12-05 21:35:11)

    The solution for mplayer using xorg.conf file as follows:
    To get fullscreen video working just add
    zoom = yes
    to /.mplayer/config
    In case if you are using gui for mplayer and get the following error trying to play a video file
    Error opening/initializing the selected video_out (-vo) device
    Open /.mplayer/gui.conf and change vo_driver from "xv" to "x11".
    Urxvt solution is described here http://bbs.archlinux.org/viewtopic.php?pid=457421 but also check this for explanation http://comments.gmane.org/gmane.comp.wi … enbox/3947
    regards
    Bandito
    Last edited by bandito (2008-12-05 21:34:31)

  • [SOLVED]mplayer and mplayer-plugin

    I have been trying to install mplayer and mplayer-plugin for several days from several mirrors in the USA. this is the error message I keep receiving:
    error: failed retrieving file 'smbclient-3.2.5-1-i686.pkg.tar.gz' from mirror.cs.vt.edu : File unavailable (e.g., file not found, no access)
    error: failed retrieving file 'mplayer-1.0rc2-8-i686.pkg.tar.gz' from mirror.cs.vt.edu : File unavailable (e.g., file not found, no access)
    warning: failed to retrieve some files from extra
    error: failed to commit transaction (unexpected error)
    Errors occurred, no packages were upgraded.
    Anyone else having this issue?
    THANKS!!!
    Last edited by cphase (2008-12-16 22:31:16)

    Update your pacman database (pacman -Sy) or really force it to update (pacman -Syy).  The packages you are trying to download are not the latest versions

  • Mplayer and xine crash on startup

    I got a problem...
    I installed mplayer and xine via pacman and everytime I try to start it the application crashes. But it's not as if that's everything, the X server restarts itself, too, and I end up at the GDM login screen. That is really annoying since it doesn't allow me to play any videos or DVDs.
    Has anyone heard about this problem before? Any suggestions?

    EDIT: if you are not interested in a wrong statement, please read on to the next post, thx :-)
    sarah31 wrote:Could it be that KDE needs to be recompiled against the new glibc? Have you contacted the maintainer of the KDE packages? Have you had the same problems with other X applications that are not KDE based?
    to check this, i played with kde a little (starting some kde bins and checking)
    kontact also fails to run
    konqueror disapears without feedback while rightclicking or other actions
    long list
    tried to crash konqueror in gdb:
    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 16384 (LWP 2437)]
    0xb77d536d in free () from /opt/kde/lib/libkdecore.so.4
    (gdb)
    hä? not really much info ... strange...
    trying kontact:
    [New Thread 16384 (LWP 2445)]
    Reading symbols from /usr/X11R6/lib/libXrender.so.1...(no debugging symbols found)...done.
    Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done.
    Reading symbols from /usr/lib/libgcc_s.so.1...(no debugging symbols found)...done.
    Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
    Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
    Reading symbols from /usr/X11R6/lib/libXxf86vm.so.1...(no debugging symbols found)...done.
    Reading symbols from /usr/X11R6/lib/libXt.so.6...(no debugging symbols found)...done.
    Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
    ERROR: Communication problem with kontact, it probably crashed.
    Program exited with code 0377.
    (gdb)
    ok, then i realized, that i need to run it with --nofork:
    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 16384 (LWP 2499)]
    0xb69317bc in memcpy () from /lib/libc.so.6
    (gdb)
    it IS a glibc trouble!
    EDIT: it is NOT!
    EDIT2: actually, it is, at least in a way ... memcpy() is from glibc but used in libpng intensively, so the trouble was in memcpy, but it was caused by libpng 1.2.6rc1

  • Mplayer and Thunderbird only outputs Bus Error

    Hi guys
    I have a "small" issue. I reinstalled my Arch the other day and when I tried to start mplayer and thunderbird they both just generate an error.
    root@fredrik:/home/fredrik> mplayer
    Bus error
    root@fredrik:/home/fredrik> thunderbird
    /usr/lib/thunderbird-2.0/run-mozilla.sh: line 131:  2656 Bus error               "$prog" ${1+"$@"}
    Trying to figure out what went wrong using ldd to see if there is some shared library problem does this:
    root@fredrik:/home/fredrik> ldd /usr/bin/mplayer
    ldd: exited with unknown exit code (135)
    stracing mplayer gives me this
    root@fredrik:/home/fredrik> strace /usr/bin/mplayer
    execve("/usr/bin/mplayer", ["/usr/bin/mplayer"], [/* 57 vars */]) = -1 EFAULT (Bad address)
    --- SIGBUS (Bus error) @ 0 (0) ---
    +++ killed by SIGBUS +++
    Does anyone know what this is? I'd rather not reinstall everything just because some lib is broken.
    ps.
       just now I'm reinstalling all my "lib" packages in a hope that something just randomly broke when i installed.
       pacman -S $(for i in $(pacman -Q |grep lib|awk {'print $1'}); do echo -n "$i "; done)
    ds.
    Best regards
    Fredrik Eriksson

    I had the same problem. In the same time, "/sbin/ldconfig: file /usr/lib/lib<whatever>.so.X is truncated" errors begun to appear (after pacman upgrades).
    It was apparent, that some libraries were truncated (probably because of unavailable disk space during last upgrade (which I fixed with pacman -Scc and localepurge)), one of them was the same as the one appearing at almost very end of strace output, just before the failure (libmng).
    Running ldconfig manually and reinstalling corresponding packages fixed the problem.

  • Mplayer and DVD device

    Hi,
    seem to have hit a strange problem with mplayer and DVD playback.  When I run mplayer with
    mplayer /dev/cdroms/cdrom0 dvd://
    everything start fine, and then is quits saying, basically, it cannot open the drive.
    After much mucking about it seems that the problem was that there was no /dev/dvd and when I added the link all was fine.
    I also found the same problem in gmplayer even after changing the settings to point to /dev/cdroms/cdrom0.
    I must have missed something here, so if anyone has any ideas that would be great.
    Thanks
    Jon

    you should have run
    mplayer -dvd-device /dev/cdroms/cdrom0 dvd://

  • GNU Screen and framebuffer (uvesafb)

    Hello,
    I am using arch linux without X. I have installed a framebuffer (uvesafb) and
    am using GNU screen to multitask. I have seen that the screen cannot use a
    frame buffer as when a try to use fbi I get this output:
    ioctl VT_GETSTATE: Invalid argument (not a linux console?)
    But when I use mplayer it seems to work fine. The vidoes play fine (although
    there is some flickering and the size is a bit small) and w3m seems to display
    the pictures properly inline too. Which means that screen can use a framebuffer.
    So my question is how do I use fbi and fbgrab (or fbshot) in screen. Is there a way
    for screen to communicate directly with the frame buffer?

    Moyamo wrote:Is there any other terminal multiplexer that can support a framebuffer besides screen?
    Tmux. I've been using it successfully for quite a while.

  • Mplayer and multiptle simultaneous video streams through xv

    While I was using nvidia drivers a while back, I could playback multiple simultaneous video streams through xv in mplayer without any problem. After recent change of video card and consequential move to open source radeon drivers, I've observed that I can play upmost one stream with gmplayer (it spits out an error about problems with opening the selected video out device - I can playback more files simultaneously using basic mplayer, although it spits the same error in console with every successive instance). Could someone enlighten me whether it's a standard behaviour of xv with radeon driver or maybe the problem lies elsewhere and it's omittable somehow?

    Tried it, but to the same result
    What I found out is that the user can play videos from console with framebuffer at least. Not that it helps..

  • Xorg and framebuffer issues with high resolutions

    So I got a nice shiny new 23" 1080p Asus VH236H monitor. Unfortunately, it's not turning out to be as great I was hoping, possibly due to the Geforce FX5200 bios, but I'm not sure. I think these issues are probably related, so I put them in the same thread.
    First, the console: vesafb, uvesafb, and nvidiafb all fail at delivering a useable framebuffer greater than 1280x1024. vesafb flat out denies anything beyond 795 (0x31B). uvesafb and nvidiafb will fall back on 1280x1024@75Hz, which causes text to flash all over the screen and requires a reboot to remedy. It doesn't matter if I feed fbset the exact timings X uses, they'll still fallback on 1280x1024. `hwinfo --vbe` has this to say about hardware support:
    02: None 00.0: 11001 VESA Framebuffer
    [Created at bios.459]
    Unique ID: rdCR.2BE3cN5U3aB
    Hardware Class: framebuffer
    Model: "NVIDIA NV34 Board - p162-1n"
    Vendor: "NVIDIA Corporation"
    Device: "NV34 Board - p162-1n"
    SubVendor: "NVIDIA"
    SubDevice:
    Revision: "Chip Rev"
    Memory Size: 128 MB
    Memory Range: 0xe8000000-0xefffffff (rw)
    Mode 0x0300: 640x400 (+640), 8 bits
    Mode 0x0301: 640x480 (+640), 8 bits
    Mode 0x0303: 800x600 (+800), 8 bits
    Mode 0x0305: 1024x768 (+1024), 8 bits
    Mode 0x0307: 1280x1024 (+1280), 8 bits
    Mode 0x030e: 320x200 (+640), 16 bits
    Mode 0x030f: 320x200 (+1280), 24 bits
    Mode 0x0311: 640x480 (+1280), 16 bits
    Mode 0x0312: 640x480 (+2560), 24 bits
    Mode 0x0314: 800x600 (+1600), 16 bits
    Mode 0x0315: 800x600 (+3200), 24 bits
    Mode 0x0317: 1024x768 (+2048), 16 bits
    Mode 0x0318: 1024x768 (+4096), 24 bits
    Mode 0x031a: 1280x1024 (+2560), 16 bits
    Mode 0x031b: 1280x1024 (+5120), 24 bits
    Mode 0x0330: 320x200 (+320), 8 bits
    Mode 0x0331: 320x400 (+320), 8 bits
    Mode 0x0332: 320x400 (+640), 16 bits
    Mode 0x0333: 320x400 (+1280), 24 bits
    Mode 0x0334: 320x240 (+320), 8 bits
    Mode 0x0335: 320x240 (+640), 16 bits
    Mode 0x0336: 320x240 (+1280), 24 bits
    Mode 0x033d: 640x400 (+1280), 16 bits
    Mode 0x033e: 640x400 (+2560), 24 bits
    Mode 0x0347: 1400x1050 (+1400), 8 bits
    Mode 0x0348: 1400x1050 (+2800), 16 bits
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    03: None 00.1: 10002 LCD Monitor
    [Created at monitor.95]
    Unique ID: jyhG.zs6hrn8sbx2
    Hardware Class: monitor
    Model: "ASUS VH236H"
    Vendor: ACI
    Device: eisa 0x23f2 "ASUS VH236H"
    Serial ID: "9CLMTF216408"
    Resolution: 720x400@70Hz
    Resolution: 640x480@60Hz
    Resolution: 640x480@67Hz
    Resolution: 640x480@72Hz
    Resolution: 640x480@75Hz
    Resolution: 800x600@56Hz
    Resolution: 800x600@60Hz
    Resolution: 800x600@72Hz
    Resolution: 800x600@75Hz
    Resolution: 832x624@75Hz
    Resolution: 1024x768@60Hz
    Resolution: 1024x768@70Hz
    Resolution: 1024x768@75Hz
    Resolution: 1280x1024@75Hz
    Resolution: 1152x864@75Hz
    Resolution: 1280x1024@60Hz
    Resolution: 1920x1080@60Hz
    Size: 521x293 mm
    Detailed Timings #0:
    Resolution: 1920x1080
    Horizontal: 1920 2008 2052 2200 (+88 +132 +280) +hsync
    Vertical: 1080 1084 1089 1125 (+4 +9 +45) +vsync
    Frequencies: 148.50 MHz, 67.50 kHz, 60.00 Hz
    Driver Info #0:
    Max. Resolution: 1920x1080
    Vert. Sync Range: 55-75 Hz
    Hor. Sync Range: 30-85 kHz
    Bandwidth: 148 MHz
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Supposedly, the framebuffer should be able to support 1400x1050, but I can't get it, possibly because it's not listed as monitor supported. Does this mean that I'm stuck with a 1280x1024 max res?
    This brings me to my next problem... Xorg. On my old monitor, I liked the nvidiafb-fbdev driver combination because I could quickly switch between X and console, and so long as I had the proprietary nvidia gl libraries installed, X ran smoothly. (never got the nv driver fbdev option to function with stability) Obviously, this is impossible now. I can't get nv to run at a resolution greater than 1280x1024. With the proprietary drivers, max resolution is 1440x900; however, if I disable max pixel clock checking, support for 1680x1050 and 1920x1080 is added.
    Now, this is where things get serious. If I switch back to console after starting X with NoMaxPClkCheck, I get an out of range message from my monitor. I can freely restart/switch back to X and everything is fine there, but the console is unuseable until reboot.
    relevant Xorg.0.log
    (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
    (==) NVIDIA(0): RGB weight 888
    (==) NVIDIA(0): Default visual is TrueColor
    (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    (**) NVIDIA(0): Option "NoLogo" "True"
    (**) NVIDIA(0): Option "NvAGP" "1"
    (**) NVIDIA(0): Option "ConnectedMonitor" "DFP-0"
    (**) NVIDIA(0): Option "RenderAccel" "True"
    (**) NVIDIA(0): Option "AllowGLXWithComposite" "True"
    (**) NVIDIA(0): Option "Coolbits" "1"
    (**) NVIDIA(0): Option "UseEdidDpi" "False"
    (**) NVIDIA(0): Option "AddARGBGLXVisuals" "True"
    (**) NVIDIA(0): Option "ModeValidation" "DFP-0: NoMaxPClkCheck"
    (**) NVIDIA(0): Enabling RENDER acceleration
    (**) NVIDIA(0): ConnectedMonitor string: "DFP-0"
    (**) NVIDIA(0): Use of NVIDIA internal AGP requested
    (II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
    (II) NVIDIA(0): enabled.
    (II) NVIDIA(0): NVIDIA GPU GeForce FX 5200 (NV34) at PCI:1:0:0 (GPU-0)
    (--) NVIDIA(0): Memory: 131072 kBytes
    (--) NVIDIA(0): VideoBIOS: 04.34.20.87.00
    (--) NVIDIA(0): Interlaced video modes are supported on this GPU
    (--) NVIDIA(0): Connected display device(s) on GeForce FX 5200 at PCI:1:0:0:
    (--) NVIDIA(0): ACI ASUS VH236H (DFP-0)
    (--) NVIDIA(0): ACI ASUS VH236H (DFP-0): 135.0 MHz maximum pixel clock
    (--) NVIDIA(0): ACI ASUS VH236H (DFP-0): Internal Single Link TMDS
    (II) NVIDIA(0): Mode Validation Overrides for ACI ASUS VH236H (DFP-0):
    (II) NVIDIA(0): NoMaxPClkCheck
    (II) NVIDIA(0): Assigned Display Device: DFP-0
    (II) NVIDIA(0): Validated modes:
    (II) NVIDIA(0): "1920x1080"
    (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
    (**) NVIDIA(0): DPI set to (95, 95); computed from "DisplaySize" Monitor
    (**) NVIDIA(0): section option
    (**) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
    (--) Depth 24 pixmap format is 32 bpp
    (II) NVIDIA(0): Initialized GPU GART.
    (II) NVIDIA(0): Setting mode "1920x1080"
    (II) Loading extension NV-GLX
    (II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
    (II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
    (==) NVIDIA(0): Backing store disabled
    (==) NVIDIA(0): Silken mouse enabled
    (**) NVIDIA(0): DPMS enabled
    (II) Loading extension NV-CONTROL
    (==) RandR enabled
    Xorg.conf
    Section "Device"
    Identifier "Card0"
    VendorName "nVidia Corporation"
    BoardName "GeForce FX 5200 [NV34] (rev a1)"
    BusID "PCI:1:0:0"
    Driver "nvidia"
    Option "NvAGP" "1"
    Option "Coolbits" "1"
    Option "RenderAccel" "True"
    Option "NoLogo" "True"
    Option "AllowGLXWithComposite" "True"
    Option "AddARGBGLXVisuals" "True"
    # Option "UseEdid" "False"
    Option "UseEdidDpi" "False"
    # Option "DPI" "96 x 96"
    Option "ConnectedMonitor" "DFP-0"
    # Option "ExactModeTimingsDVI" "True"
    Option "ModeValidation" "DFP-0: NoMaxPClkCheck"
    # Option "ModeValidation" "AllowNon60HzDFPModes,
    # NoMaxPClkCheck,
    # NoEdidMaxPClkCheck,
    # NoMaxSizeCheck,
    # NoHorizSyncCheck,
    # NoVertRefreshCheck,
    # NoDFPNativeResolutionCheck,
    # NoVirtualSizeCheck,
    # NoVesaModes,
    # NoEdidModes,
    # NoXServerModes,
    # NoTotalSizeCheck"
    EndSection
    Section "Device"
    Identifier "Card1"
    VendorName "nVidia Corporation"
    BoardName "GeForce FX 5200 [NV34] (rev a1)"
    BusID "PCI:1:0:0"
    Driver "nv"
    Option "NoDDC"
    # Option "UseFBDev" "true"
    EndSection
    Section "Device"
    Identifier "Card2"
    VendorName "nVidia Corporation"
    BoardName "GeForce FX 5200 [NV34] (rev a1)"
    BusID "PCI:1:0:0"
    Driver "fbdev"
    Option "NoDDC"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Asus"
    ModelName "VH236H"
    DisplaySize 510.72 287.28
    # HorizSync 30.0 - 83.0
    # VertRefresh 50.0 - 75.0
    # ModeLine "1920x1080" 148.5 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
    Option "DPMS" "true"
    EndSection
    Section "Monitor"
    Identifier "Monitor1"
    VendorName "Asus"
    ModelName "VH236H"
    DisplaySize 510.72 287.28
    HorizSync 30.0 - 83.0
    VertRefresh 50.0 - 75.0
    ModeLine "1920x1080" 148.5 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
    Option "DPMS" "true"
    EndSection
    Section "Monitor"
    Identifier "Monitor2"
    VendorName "LG"
    ModelName "566LM"
    DisplaySize 305 229
    HorizSync 30.0 - 63.0
    VertRefresh 50.0 - 75.0
    ModeLine "1024x768" 78.75 1024 1056 1152 1312 768 769 772 800 +hsync +vsync
    Option "DPMS" "true"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1920x1080"
    EndSubSection
    EndSection
    Section "Screen"
    Identifier "Screen1"
    Device "Card1"
    Monitor "Monitor1"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1920x1080"
    EndSubSection
    EndSection
    Section "Screen"
    Identifier "Screen2"
    Device "Card2"
    Monitor "Monitor1"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1920x1080"
    EndSubSection
    EndSection
    Section "ServerLayout"
    Identifier "DefaultLayout"
    Screen 0 "Screen0"
    EndSection
    Section "ServerLayout"
    Identifier "nvLayout"
    Screen 0 "Screen1"
    EndSection
    Section "ServerLayout"
    Identifier "fbLayout"
    Screen 0 "Screen2"
    EndSection

    Brett,
    When working with the file that has many vector points. Try working in Outline mode if you can and if it works for you. Keep in mind with all the complex vectors the screen has to redraw which is taking up application memory when you move or update the object/drawing. If you can try resize the graphic to a smaller size to work with it then enlarge it back to normal size when you are ready for the final version of the file.
    It may help.
    Thanks
    Scott

  • XBMC/mplayer and KDE Desktop effects

    Hi,
    i have setup a arch based HTPC with XBMC on top of KDE, but there is one thing i were not able to resolve: The XBMC GUI and playing a video on it gets laggy as soon as i DISABLE the kde desktop effects. My system is i3/sandy bridge based with integrated intel graphics, vaapi installed.
    1. tried different playback settings within XBMC, same results
    2. as soon as i disable the kde desktop effects, xbmc becomes slow and laggy, even if i dont restart it, if i enable desktop effects its smooth again
    3. mplayer reacts the same way when used with -vo gl or -vo gl2, so it could be somehow opengl related. With -vo xv it runs smooth in both configurations.
    4. Cpu load is constantly <20%
    5. tried as root user, same results
    6. glxinfo reports direct rendering is enabled
    so any ideas how to resolve that problem? or how to find out whats going on?
    you may ask why i want to disable desktop effects, well with desktop effects on, videos run almost perfect, but sometimes there are smaller lags that, i guess, can be related to the desktop effects eating resources, so i want to try without them.
    here is the custom part of my xorg config, tearfree was needet to get a vsync-enabled video playback:
    #20-intel.conf
    Section "Device"
    Identifier "Intel Graphics"
    Driver "intel"
    Option "AccelMethod" "sna"
    Option "TearFree" "true"
    #Option "AccelMethod" "uxa"
    #Option "AccelMethod" "xaa"
    EndSection
    Section "dri"
    Mode 0666
    EndSection

    kichawa wrote:@ChemBro root access? Where is more info about that ?
    http://nvidia.custhelp.com/app/answers/detail/a_id/3109
    Security vulnerability CVE-2012-0946 in the NVIDIA UNIX driver was disclosed to NVIDIA on March 20th, 2012. The vulnerability makes it possible for an attacker who has read and write access to the GPU device nodes to reconfigure GPUs to gain access to arbitrary system memory. NVIDIA is not aware of any reports of this vulnerability, outside of the disclosure which was made privately to NVIDIA.

Maybe you are looking for