Announcement

Collapse
No announcement yet.

G400 & Yoper Linux

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    my kernel was already compiled with all the frame buffer setting etc.. i genereated a few kernels to try different things and added them to lilo. so thats all cool. I'll give ./autogen.sh

    Comment


    • #17
      Ok i did the DirectFB thing again using ./autogen.sh then ran ./configure then make make install. That all went ok.

      you still haven't said where the matroxfb script should go. I have /etc/init.d and /etc/rc.d directories. Anyway when running it i get the same error as i mentioned previously.

      When trying to run mplayer with the command you listed i get the same error as before.

      "Error opening/initializing the selected video_out (-vo) device."

      Comment


      • #18
        Originally posted by englishpremier
        Ok i did the DirectFB thing again using ./autogen.sh then ran ./configure then make make install. That all went ok.
        Great!

        you still haven't said where the matroxfb script should go. I have /etc/init.d and /etc/rc.d directories. Anyway when running it i get the same error as i mentioned previously.
        Well, I don't know anything about Yoper Linux, but I can tell you this; on my Slackware boxes, rc.local is in /etc/rc.d. On Red Hat, init scripts are located in /etc/init.d, and then started or stopped in /etc/rc0.d to rc6.d. You'll simply have to read the documentation for Yoper linux to figure out where to put the script.

        About the error: Are you really sure that you've compiled the kernel and the modules? Are the modules i2c-dev and i2c-core present in /lib/modules/`uname -r`/kernel/drivers/i2c/ ?

        When trying to run mplayer with the command you listed i get the same error as before.

        "Error opening/initializing the selected video_out (-vo) device."
        Yes, because if you read what I wrote earlier, you will see that I said that you should look for directfb in the output modules section of what the configurescript outputs. Since DirectFB was not installed when you built MPlayer, it could not have been built with support for it. So, rebuild MPlayer, and this time look for directfb after you've run configure, before you run make.
        Last edited by albatorsk; 30 September 2004, 15:19.

        Comment


        • #19
          after installing the DirectFB i went ahead and rebuilt mplayer, no probs.

          took a look in /lib/modules/2.6.8.1-7/kerenl/drivers/i2c and i only had i2c-dev there.

          Anyway i've recompiled a kernel several times now and enabled the i2c things modules and both are now present.

          So now when i run the ./matroxfb script i get this:

          root@linux rc.d # ./matroxfb
          Modprobing Matrox TV-out...


          seemed promissing untill trying to run mplayer and getting the same error about initialising the selected video_out (vo) device.

          Comment


          • #20
            Originally posted by englishpremier
            after installing the DirectFB i went ahead and rebuilt mplayer, no probs.
            Just to be extremely obvious here; but did it actually say that it would build the directfb output plugin, or do you mean that it (MPlayer) simply compiled without any error?

            took a look in /lib/modules/2.6.8.1-7/kerenl/drivers/i2c and i only had i2c-dev there.

            Anyway i've recompiled a kernel several times now and enabled the i2c things modules and both are now present.

            So now when i run the ./matroxfb script i get this:

            root@linux rc.d # ./matroxfb
            Modprobing Matrox TV-out...
            Great. That means that all the modules are being loaded without any errors problems.

            seemed promissing untill trying to run mplayer and getting the same error about initialising the selected video_out (vo) device.
            Now, I know I've asked this before, but just to be sure, what is the exact error you get this time when running "mplayer -vo dfbmga movie.avi"?

            Comment


            • #21
              oops sorry if wasn't clear. Basically when irecompiling MPlayer after "./configure" i scrolled up a couple of lines and amongst other things there was definite refernce to DirectFB.
              I ran "./configure" again, here is some of the output:

              Detected operating system: Linux
              Detected host architecture: i386
              Checking for cc version ... tail: `-1' option is obsolete; use `-n 1'
              Try `tail --help' for more information.
              3.4.1, ok
              head: `-1' option is obsolete; use `-n 1'
              Try `head --help' for more information.
              head: `-1' option is obsolete; use `-n 1'
              Try `head --help' for more information.
              head: `-1' option is obsolete; use `-n 1'
              Try `head --help' for more information.
              head: `-1' option is obsolete; use `-n 1'.......



              ......Checking for DirectFB headers presence ... yes (using -I/usr/local/include/directfb)
              Checking for DirectFB ... yes (921)"


              The error message is as follows:

              root@linux MPlayer-1.0pre5 # mplayer -vo dfbmga /home/carl/clf.avi
              MPlayer 1.0pre5-3.4.1 (C) 2000-2004 MPlayer Team

              CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton 2205 MHz (Family: 6, Stepping: 0)
              Detected cache-line size is 64 bytes
              MMX supported but disabled
              MMX2 supported but disabled
              SSE supported but disabled
              3DNow supported but disabled
              3DNowExt supported but disabled
              CPUflags: MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
              Compiled for x86 CPU with extensions:

              Reading config file /etc/mplayer/mplayer.conf
              Reading config file /root/.mplayer/config
              Reading /root/.mplayer/codecs.conf: This codecs.conf is too old and incompatible with this MPlayer release! at line 6
              Reading /etc/mplayer/codecs.conf: 73 audio & 180 video codecs
              Using Linux hardware RTC timing (1024Hz).
              Can't open input config file /root/.mplayer/input.conf: No such file or directory
              Input config file /etc/mplayer/input.conf parsed: 53 binds

              Playing /home/carl/clf.avi.
              Cache fill: 0.00% (0 bytes) AVI: Missing video stream!? Contact the author, it may be a bug
              MPEG-PS file format detected.
              VIDEO: MPEG1 352x240 (aspect 12) 29.970 fps 1150.0 kbps (143.8 kbyte/s)
              ================================================== ========================
              Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
              MP3lib: init layer2&3 finished, tables done
              AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 28000->176400 (224.0 kbit)
              Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
              ================================================== ========================
              Error opening/initializing the selected video_out (-vo) device.


              Exiting... (End of file)





              hope this stuff helps find the source of the problem
              Last edited by englishpremier; 1 October 2004, 08:35.

              Comment


              • #22
                Could you post the output of mplayer -vo help?
                Blah blah blah nick blah blah confusion, blah blah blah blah frog.

                Comment


                • #23
                  no prob, here goes:




                  root@linux MPlayer-1.0pre5 # mplayer -vo help
                  MPlayer 1.0pre5-3.4.1 (C) 2000-2004 MPlayer Team

                  CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton 2821 MHz (Family: 6, Stepping: 0)
                  Detected cache-line size is 64 bytes
                  MMX supported but disabled
                  MMX2 supported but disabled
                  SSE supported but disabled
                  3DNow supported but disabled
                  3DNowExt supported but disabled
                  CPUflags: MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
                  Compiled for x86 CPU with extensions:

                  Reading config file /etc/mplayer/mplayer.conf
                  Reading config file /root/.mplayer/config
                  Available video output drivers:
                  xv X11/Xv
                  x11 X11 ( XImage/Shm )
                  xover General X11 driver for overlay capable video output drivers
                  gl X11 (OpenGL)
                  gl2 X11 (OpenGL) - multiple textures version
                  dga DGA ( Direct Graphic Access V2.0 )
                  sdl SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
                  fbdev Framebuffer Device
                  fbdev2 Framebuffer Device
                  aa AAlib
                  png PNG file
                  jpeg JPEG file
                  gif89a animated GIF output
                  null Null video output
                  pgm PGM file
                  md5 MD5 sum
                  mpegpes Mpeg-PES file
                  yuv4mpeg yuv4mpeg output for mjpegtools (to "stream.yuv")
                  vesa VESA VBE 2.0 video output
                  xvidix X11 (VIDIX)
                  cvidix console VIDIX
                  tga Targa output

                  root@linux MPlayer-1.0pre5 #

                  Comment


                  • #24
                    There's your problem, you still don't have directfb output compiled in.

                    Are you sure you're running the copy of MPlayer you compiled? I notice you're running as root from the MPlayer source directory, and the current directory isn't normally in root's path. Try ./mplayer -vo help and see if it's any different.
                    Blah blah blah nick blah blah confusion, blah blah blah blah frog.

                    Comment


                    • #25
                      well i don't get this. i compiled DirectFB, i then went and compiled MPlayer.

                      whenever i go into the console i change to root, but both mplayer and directfb are in /home/carl/directfb /home/programs/MPlayer******

                      to install DirectFB i extracted it, went to the directory where i extraced it and typed:
                      ./autogen.sh
                      ./configure
                      make
                      make install

                      I then extraced MPlayer and went to the directory where i extraced it and typed:

                      ./configure
                      make
                      make install

                      Ist there something else i should have done?

                      here is ./mplayer -vo help (i only wish my cpu was really at 5163mhz


                      ./mplayer -vo help
                      MPlayer 1.0pre5-3.4.1 (C) 2000-2004 MPlayer Team

                      CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton 5163 MHz (Family: 6, Stepping: 0)
                      Detected cache-line size is 64 bytes
                      MMX supported but disabled
                      MMX2 supported but disabled
                      SSE supported but disabled
                      3DNow supported but disabled
                      3DNowExt supported but disabled
                      CPUflags: MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
                      Compiled for x86 CPU with extensions:

                      Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
                      Reading config file /root/.mplayer/config
                      Available video output drivers:
                      xv X11/Xv
                      x11 X11 ( XImage/Shm )
                      xover General X11 driver for overlay capable video output drivers
                      gl X11 (OpenGL)
                      gl2 X11 (OpenGL) - multiple textures version
                      dga DGA ( Direct Graphic Access V2.0 )
                      sdl SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
                      fbdev Framebuffer Device
                      fbdev2 Framebuffer Device
                      aa AAlib
                      png PNG file
                      jpeg JPEG file
                      gif89a animated GIF output
                      null Null video output
                      pgm PGM file
                      md5 MD5 sum
                      mpegpes Mpeg-PES file
                      yuv4mpeg yuv4mpeg output for mjpegtools (to "stream.yuv")
                      vesa VESA VBE 2.0 video output
                      directfb Direct Framebuffer Device
                      dfbmga DirectFB / Matrox G200/G400/G450/G550
                      xvidix X11 (VIDIX)
                      cvidix console VIDIX
                      tga Targa output

                      root@linux MPlayer-1.0pre5 #

                      Comment


                      • #26
                        Originally posted by englishpremier


                        directfb Direct Framebuffer Device
                        dfbmga DirectFB / Matrox G200/G400/G450/G550
                        There we go!!

                        MPlayer's make install will have installed it in /usr/local/bin (unless you changed it - you'll know if you did), which may well not be in root's path. Type echo $PATH to check. You can also use type mplayer to see where it's actually running it from. If it looks like it should be finding the new MPlayer, try rehash or hash -r to refresh the "path cache".

                        Anyway, can you play movies on the tv now you can run the right program?
                        Blah blah blah nick blah blah confusion, blah blah blah blah frog.

                        Comment


                        • #27
                          i've realised that aswell as the Mplayer i configured, i also had mplayer installed from apt-get install mplayer. so it might have been trying to use that one instead.

                          i'm going to remove the apt-get one and try re-compiling/installing from source.

                          Comment


                          • #28
                            I removed the previous version of mplayer "apt-get remove mplayer" then delete the one i compiled and i have now reinstalled it.

                            this is the error i get when trying to play a file:

                            root@linux MPlayer-1.0pre5 # mplayer -vo dfbmga /home/carl/tsl.avi
                            MPlayer 1.0pre5-3.4.1 (C) 2000-2004 MPlayer Team

                            CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton 2205 MHz (Family: 6, Stepping: 0)
                            Detected cache-line size is 64 bytes
                            MMX supported but disabled
                            MMX2 supported but disabled
                            SSE supported but disabled
                            3DNow supported but disabled
                            3DNowExt supported but disabled
                            CPUflags: MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
                            Compiled for x86 CPU with extensions:

                            Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
                            Reading config file /root/.mplayer/config
                            Reading /root/.mplayer/codecs.conf: This codecs.conf is too old and incompatible with this MPlayerrelease! at line 6
                            Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
                            Using built-in default codecs.conf.
                            font: can't open file: /root/.mplayer/font/font.desc
                            font: can't open file: /usr/local/share/mplayer/font/font.desc
                            Using Linux hardware RTC timing (1024Hz).
                            Can't open input config file /root/.mplayer/input.conf: No such file or directory
                            Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
                            Falling back on default (hardcoded) input config

                            Playing /home/carl/tsl.avi.
                            Cache fill: 0.00% (0 bytes) AVI file format detected.
                            VIDEO: [XVID] 512x384 12bpp 29.970 fps 1050.5 kbps (128.2 kbyte/s)
                            Clip info:
                            Software: HUH?
                            Name:
                            Subject:
                            Artist:
                            Copyright:
                            Comments:
                            ================================================== ========================
                            Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
                            MP3lib: init layer2&3 finished, tables done
                            AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128.0 kbit)
                            Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
                            ================================================== ========================
                            (*) DirectFB/Config: Parsing config file '/etc/directfbrc'.

                            ---------------------- DirectFB v0.9.21 ---------------------
                            (c) 2000-2002 convergence integrated media GmbH
                            (c) 2002-2004 convergence GmbH
                            -----------------------------------------------------------

                            (*) DirectFB/Core: Single Application Core. (with MMX support) (2004-09-30 21:27)
                            (*) Direct/Memcpy: Forced to use SSE optimized memcpy()
                            (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 8080)...
                            (*) Direct/Thread: Running 'PS/2 Input' (INPUT, 8089)...
                            (*) DirectFB/Input: IMPS/2 Mouse (1) 0.9 (convergence integrated media GmbH)
                            (*) Direct/Thread: Running 'PS/2 Input' (INPUT, 8090)...
                            (*) DirectFB/Input: IMPS/2 Mouse (2) 0.9 (convergence integrated media GmbH)
                            (*) Direct/Thread: Running 'Keyboard Input' (INPUT, 8091)...
                            (*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
                            (*) DirectFB/Genefx: MMX detected and enabled
                            (*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (convergence integrated media GmbH)
                            (*) DirectFB/WM: Default 0.1 (Convergence GmbH)
                            (!) DirectFB/FBDev: No supported modes found in /etc/fb.modes and current mode not supported!
                            (!) DirectFB/FBDev: Current mode's pixelformat: rgba 6/0, 6/0, 6/0, 0/0 (4bit)
                            (!) DirectFB/Core/layers: Failed to initialize layer 0!
                            (!) DirectFB/Core: Could not initialize 'layers' core!
                            --> Initialization error!
                            vo_dfbmga: DirectFBCreate() failed - Initialization error!
                            Error opening/initializing the selected video_out (-vo) device.


                            Exiting... (End of file)


                            Comment


                            • #29
                              Then I would suggest that you try the fb.modes from the DirectFB package. Make a backup of your current /etc/fb.modes before replacing it.

                              Oh, and while you're at it, remove the line "memcpy=sse" from your /etc/directfb.
                              Last edited by albatorsk; 2 October 2004, 09:40.

                              Comment


                              • #30
                                just a quick question: other than extracting MPlayer and running
                                ./configure
                                make
                                make install

                                Do i also need to go into each of the directories and run the same thing i.e in /drivers or in fbset or /tvout etc..

                                (please excuse the spelling, alcohol kind of has a detrimental affect on it.)

                                Comment

                                Working...
                                X