Find the answer to your Linux question:
Results 1 to 10 of 10
Hi, I downloaded and installed mplayer, and it works perfectly as long as I am root. When I am a mere mortal, I get: mplayer -vo xvidix:radeon sw1.avi MPlayer 1.0pre7-SUSE-9.2-i686-Packman-3.3.4 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2005
    Posts
    5

    Mplayer only works as root


    Hi,

    I downloaded and installed mplayer, and it works perfectly as long as I am root. When I am a mere mortal, I get:

    mplayer -vo xvidix:radeon sw1.avi

    MPlayer 1.0pre7-SUSE-9.2-i686-Packman-3.3.4 (C) 2000-2005 MPlayer Team
    CPU: Intel Pentium M Banias (Family: 6, Stepping: 5)
    Detected cache-line size is 64 bytes
    CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled with runtime CPU detection - WARNING - this is not optimal!
    To get best performance, recompile MPlayer with --disable-runtime-cpudetection.


    Linux RTC init error in ioctl (rtc_irqp_set 1024): Inappropriate ioctl for device
    Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
    Opening joystick device /dev/input/js0
    Can't open joystick device /dev/input/js0 : No such device
    Can't init input joystick
    Setting up LIRC support...
    mplayer: could not connect to socket
    mplayer: Permission denied
    Failed to open LIRC support.
    You will not be able to use your remote control.
    Playing sw1.avi.
    AVI file format detected.
    VIDEO: [XVID] 640x256 24bpp 23.976 fps 990.9 kbps (121.0 kbyte/s)
    Clip info:
    ================================================== ========================
    Opening audio decoder: [liba52] AC3 decoding with liba52
    Using SSE optimized IMDCT transform
    AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
    Using MMX optimized resampler
    AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
    Selected audio codec: [a52] afm:liba52 (AC3-liba52)
    ================================================== ========================
    vo: X11 running at 1400x1050 with depth 16 and 16 bpp (":0" => local display)
    vosub_vidix: Couldn't find working VIDIX driver
    Error opening/initializing the selected video_out (-vo) device.


    Exiting... (End of file)

    Oh yeah, my graphics chip is a Radeon 9000.

    It works if I change the mode of mplayer to suid root, but then gmplayer wonät work anymore.

    If I invoke mplayer with -vo xvidix, I get:

    ================================================== ========================
    No vidix driver name provided, probing available ones (-v option for details)!
    vo: X11 running at 1400x1050 with depth 16 and 16 bpp (":0" => local display)
    [rage128] Error occurred during pci scan: Operation not permitted
    [pm3] Error occurred during pci scan: Operation not permitted
    [mga] Error occurred during pci scan: Operation not permitted
    [SiS] Error occurred during pci scan: Operation not permitted
    [radeon] Error occurred during pci scan: Operation not permitted
    [unichrome] Error occurred during pci scan: Operation not permitted
    [nvidia_vid] Error occurred during pci scan: Operation not permitted
    [mach64] Error occurred during pci scan: Operation not permitted
    [mga] Error occurred during pci scan: Operation not permitted
    [savage_vid] Error occurred during pci scan: Operation not permitted
    [cyberblade] Error occurred during pci scan: Operation not permitted
    vosub_vidix: Couldn't find working VIDIX driver
    Error opening/initializing the selected video_out (-vo) device.

    Any help will be greatly appreciated!

    Ivan

  2. #2
    Linux User
    Join Date
    Nov 2003
    Location
    Brooklyn, NY
    Posts
    347
    What groups is your user in?

  3. #3
    Just Joined!
    Join Date
    Jun 2005
    Posts
    5
    users, dialout, video.

    It's a SuSE 9.2 system btw.

  4. #4
    Linux Engineer
    Join Date
    Mar 2005
    Posts
    1,431
    I am unfamiliar with the vidix video driver... Have you tried changing output driver to for example the XV-driver? First start mplayer without any video or anything, and then change the output settings, and retry.

  5. #5
    Just Joined!
    Join Date
    Jun 2005
    Posts
    5
    With -vo xv, it complains it cannot grab port 61 (both as user and root).

    Without any options, it runs, but I can't resize the window and go to fullscreen.

  6. #6
    Linux Engineer
    Join Date
    Mar 2005
    Location
    Where my hat is
    Posts
    766
    Silly question.. Is port 61 available/open?
    Registered Linux user #384279
    Vector Linux SOHO 7

  7. #7
    Just Joined!
    Join Date
    Jun 2005
    Posts
    5
    I'm just trying to top it with an even sillier question: How do I check?

  8. #8
    Linux Newbie
    Join Date
    Jun 2005
    Location
    Whitstable, Kent, England
    Posts
    136
    Have you used the graphical front end for mplayer, run it by going Alt-F2 (not Ctrl-Alt-F2) then typing "gmplayer" I have had problems running it from the command line, normally it can't seem to find the display.
    The biggest security threat is the user.

  9. #9
    Just Joined!
    Join Date
    Jun 2005
    Posts
    5
    Hi,

    After logging out and logging in again, it suddenly all works. I thought you had to this only in Windows. So thanks to everybody who helped!

    BTW: Whitstable, Xenon? I've been there a few times when I was at UKC. Great place. To buy fish.

  10. #10
    Linux Newbie
    Join Date
    Jun 2005
    Location
    Whitstable, Kent, England
    Posts
    136
    Nice to see someone on here has heard of the small place where I live
    The biggest security threat is the user.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •