Announcement

Collapse
No announcement yet.

Playing videos sometimes works, sometimes not

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Playing videos sometimes works, sometimes not

    This is a strange one.

    If I try to play videos, meaning mp4, mkv, or even dvd, I get no video with smplayer, kmplayer, or vlc -- audio only, but no picture. mplayer ALWAYS works, however, but isn't really useful for DVDs. After several tries the above mentioned players eventually start showing video. I don't know what makes the difference as to whether it will work or not.

    I am using the nouveau driver with an nvidia card; I have to say that the nouveau driver gives a much more pleasant screen to look at -- no more microscopic, unreadable text or menus. It actually seems to obey my "minimum font size" settings, and I think my nvidia card is probably too old for current proprietary drivers anyway.

    Any ideas how to trace this problem? Difficult to figure out with inconsistent results.
    We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

    #2
    try switching your GL settings in system settings>display and monitor>compositor .

    VINNY
    i7 4core HT 8MB L3 2.9GHz
    16GB RAM
    Nvidia GTX 860M 4GB RAM 1152 cuda cores

    Comment


      #3
      Do you have the required codecs installed?
      Using Kubuntu Linux since March 23, 2007
      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

      Comment


        #4
        Originally posted by Snowhog View Post
        Do you have the required codecs installed?
        For it to work sometimes, I guess they must be there. Funny thing is that:

        Code:
        greenman@Crynfyd17.04 ~$ vdpauinfo
        display: :0   screen: 0
        API version: 1
        Information string: G3DVL VDPAU Driver Shared Library version 1.0
        
        Video surface:
        
        name   width height types
        -------------------------------------------
        420     8192  8192  NV12 YV12 
        422     8192  8192  UYVY YUYV 
        444     8192  8192  Y8U8V8A8 V8U8Y8A8 
        
        Decoder capabilities:
        
        name                        level macbs width height
        ----------------------------------------------------
        MPEG1                          --- not supported ---
        MPEG2_SIMPLE                   --- not supported ---
        MPEG2_MAIN                     --- not supported ---
        H264_BASELINE                  --- not supported ---
        H264_MAIN                      --- not supported ---
        H264_HIGH                      --- not supported ---
        VC1_SIMPLE                     --- not supported ---
        VC1_MAIN                       --- not supported ---
        VC1_ADVANCED                   --- not supported ---
        MPEG4_PART2_SP                 --- not supported ---
        MPEG4_PART2_ASP                --- not supported ---
        DIVX4_QMOBILE                  --- not supported ---
        DIVX4_MOBILE                   --- not supported ---
        DIVX4_HOME_THEATER             --- not supported ---
        DIVX4_HD_1080P                 --- not supported ---
        DIVX5_QMOBILE                  --- not supported ---
        DIVX5_MOBILE                   --- not supported ---
        DIVX5_HOME_THEATER             --- not supported ---
        DIVX5_HD_1080P                 --- not supported ---
        H264_CONSTRAINED_BASELINE      --- not supported ---
        H264_EXTENDED                  --- not supported ---
        H264_PROGRESSIVE_HIGH          --- not supported ---
        H264_CONSTRAINED_HIGH          --- not supported ---
        H264_HIGH_444_PREDICTIVE       --- not supported ---
        HEVC_MAIN                      --- not supported ---
        HEVC_MAIN_10                   --- not supported ---
        HEVC_MAIN_STILL                --- not supported ---
        HEVC_MAIN_12                   --- not supported ---
        HEVC_MAIN_444                  --- not supported ---
        If they are "not supported", then how does it ever work? Maybe vdpau has nothing to do with it?
        I have installed:
        ffmpeg-codecs
        libavcodec-extra
        libavcodec-extra57
        libavcodec-extra56
        libavcodec-ffmpeg-extra56
        libavutil-ffmpeg54
        also libdvdread and libdvdnav, and the css file.

        Maybe conflicting versions of codecs in there? Which should I have installed?
        We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

        Comment


          #5
          Originally posted by vinnywright View Post
          try switching your GL settings in system settings>display and monitor>compositor .

          VINNY
          I have the compositor turned off. I will try changing at next boot -- right now it seems to be working, though an hour ago it didn't.
          We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

          Comment


            #6
            sounds like your driver doesn't fit your card. did you install the driver manually?
            community is what will save us

            Comment


              #7
              Originally posted by flamboyant View Post
              sounds like your driver doesn't fit your card. did you install the driver manually?
              This is an nvidia gtx240, so it should be well supported. I can play games like Xonotic just fine, so I think the driver is working.

              I tired turning on the compositor, made no difference. Still no video in smplayer, but mplayer works.
              We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

              Comment


                #8
                You've got something missing:
                Code:
                [FONT=monospace][COLOR=#000000]Decoder capabilities:[/COLOR]
                
                name                        level macbs width height
                ----------------------------------------------------
                MPEG1                           0 65536  4032  4048
                MPEG2_SIMPLE                    3 65536  4032  4048
                MPEG2_MAIN                      3 65536  4032  4048
                H264_BASELINE                  41 65536  4032  4080
                H264_MAIN                      41 65536  4032  4080
                H264_HIGH                      41 65536  4032  4080
                VC1_SIMPLE                      1  8190  2048  2048
                VC1_MAIN                        2  8190  2048  2048
                VC1_ADVANCED                    4  8190  2048  2048
                MPEG4_PART2_SP                  3  8192  2048  2048
                MPEG4_PART2_ASP                 5  8192  2048  2048
                DIVX4_QMOBILE                   0  8192  2048  2048
                DIVX4_MOBILE                    0  8192  2048  2048
                DIVX4_HOME_THEATER              0  8192  2048  2048
                DIVX4_HD_1080P                  0  8192  2048  2048
                DIVX5_QMOBILE                   0  8192  2048  2048
                DIVX5_MOBILE                    0  8192  2048  2048
                DIVX5_HOME_THEATER              0  8192  2048  2048
                DIVX5_HD_1080P                  0  8192  2048  2048
                H264_CONSTRAINED_BASELINE      41 65536  4032  4080
                H264_EXTENDED                  41 65536  4032  4080
                H264_PROGRESSIVE_HIGH          41 65536  4032  4080
                H264_CONSTRAINED_HIGH          41 65536  4032  4080
                H264_HIGH_444_PREDICTIVE       41 65536  4032  4080
                HEVC_MAIN                      --- not supported ---
                HEVC_MAIN_10                   --- not supported ---
                HEVC_MAIN_STILL                --- not supported ---
                HEVC_MAIN_12                   --- not supported ---
                HEVC_MAIN_444                  --- not supported ---
                [/FONT]
                Do you have restricted-extras installed?

                Please Read Me

                Comment


                  #9
                  Seems odd though, that it works sometimes others not. You need to do a long trouble-shooting session:

                  After bootup, pick a file (preferably one you've had trouble with before), open a terminal, run dmesg, note the last lines and the current time. Open another terminal window and launch one of the players you have trouble with from the command line.

                  Assuming failure, re-run dmesg and see if anything is added there. Also go to /var/log and see if any logs were updated and read those that were. Finally, go the the terminal you launched the player from and read the output there.

                  Repeat all this until you see a change and/or the file finally plays and report back.

                  Please Read Me

                  Comment


                    #10
                    Originally posted by doctordruidphd View Post
                    This is an nvidia gtx240, so it should be well supported. I can play games like Xonotic just fine, so I think the driver is working.
                    you didn't answer the question. i don't think there's such a thing as nVidia GTX 240. can you please post the output of:

                    Code:
                    lspci | grep -i vga
                    community is what will save us

                    Comment


                      #11
                      Originally posted by flamboyant View Post
                      you didn't answer the question. i don't think there's such a thing as nVidia GTX 240. can you please post the output of:

                      Code:
                      lspci | grep -i vga
                      Sorry, I got it mixed up -- it's a GTS240

                      Code:
                      greenman@Crynfyd17.04 ~$ lspci | grep -i vga
                      01:00.0 VGA compatible controller: NVIDIA Corporation G92 [GeForce GTS 240] (rev a2)
                      Manual install -- I reinstalled all of the nouveau stuff manually. here is what is currently there:
                      libdrm-nouveau2: Installed: 2.4.76-1
                      xserver-xorg-video-nouveau: Installed: 1:1.0.14-0ubuntu1
                      nouveau-firmware: Installed: 20091212-0ubuntu1
                      We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

                      Comment


                        #12
                        Do you have restricted-extras installed?
                        Yes, kubuntu and ubuntu restricted addons and extras.

                        That's disturbing that none of them are showing up as present in the list.

                        Additonal info:

                        Ouch! Just found this in dmesg:

                        Code:
                        greenman@Crynfyd17.04 ~$ dmesg | grep nouveau
                        [    1.993343] fb: switching to nouveaufb from VESA VGA
                        [    2.003078] nouveau 0000:01:00.0: NVIDIA G92 (092380a2)
                        [    2.115697] nouveau 0000:01:00.0: bios: version 62.92.b2.00.0d
                        [    2.136289] nouveau 0000:01:00.0: fb: 1024 MiB GDDR3
                        [    2.223475] nouveau 0000:01:00.0: DRM: VRAM: 1024 MiB
                        [    2.223481] nouveau 0000:01:00.0: DRM: GART: 1048576 MiB
                        [    2.223489] nouveau 0000:01:00.0: DRM: TMDS table version 2.0
                        [    2.223495] nouveau 0000:01:00.0: DRM: DCB version 4.0
                        [    2.223501] nouveau 0000:01:00.0: DRM: DCB outp 00: 02000300 00000028
                        [    2.223508] nouveau 0000:01:00.0: DRM: DCB outp 01: 01000302 00020030
                        [    2.223514] nouveau 0000:01:00.0: DRM: DCB outp 02: 04011310 00000028
                        [    2.223520] nouveau 0000:01:00.0: DRM: DCB outp 03: 02011312 00020030
                        [    2.223526] nouveau 0000:01:00.0: DRM: DCB outp 04: 010223f1 00c0c080
                        [    2.223532] nouveau 0000:01:00.0: DRM: DCB conn 00: 00001030
                        [    2.223538] nouveau 0000:01:00.0: DRM: DCB conn 01: 00002130
                        [    2.223543] nouveau 0000:01:00.0: DRM: DCB conn 02: 00000210
                        [    2.223549] nouveau 0000:01:00.0: DRM: DCB conn 03: 00000211
                        [    2.223554] nouveau 0000:01:00.0: DRM: DCB conn 04: 00000213
                        [    2.227317] nouveau 0000:01:00.0: DRM: failed to create encoder 0/1/0: -19
                        [    2.227322] nouveau 0000:01:00.0: DRM: TV-1 has no encoders, removing
                        [    2.227425] nouveau 0000:01:00.0: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
                        [    2.250843] nouveau 0000:01:00.0: DRM: MM: using CRYPT for buffer copies
                        [    2.292419] nouveau 0000:01:00.0: DRM: allocated 1680x1050 fb: 0x70000, bo ffff9a44dce72400
                        [    2.296069] fbcon: nouveaufb (fb0) is primary device
                        [    2.417526] nouveau 0000:01:00.0: fb0: nouveaufb frame buffer device
                        [    2.444034] [drm] Initialized nouveau 1.3.1 20120801 for 0000:01:00.0 on minor 0
                        [ 1185.091664] nouveau 0000:01:00.0: Direct firmware load for nouveau/nv84_xuc00f failed with error -2
                        [ 1185.091668] nouveau 0000:01:00.0: vp: unable to load firmware nouveau/nv84_xuc00f
                        [ 1185.091670] nouveau 0000:01:00.0: vp: init failed, -2
                        [ 1185.091714] nouveau 0000:01:00.0: Direct firmware load for nouveau/nv84_xuc103 failed with error -2
                        [ 1185.091716] nouveau 0000:01:00.0: bsp: unable to load firmware nouveau/nv84_xuc103
                        [ 1185.091718] nouveau 0000:01:00.0: bsp: init failed, -2
                        [ 1217.747549] nouveau 0000:01:00.0: Direct firmware load for nouveau/nv84_xuc00f failed with error -2
                        [ 1217.747555] nouveau 0000:01:00.0: vp: unable to load firmware nouveau/nv84_xuc00f
                        [ 1217.747556] nouveau 0000:01:00.0: vp: init failed, -2
                        [ 1217.747586] nouveau 0000:01:00.0: Direct firmware load for nouveau/nv84_xuc103 failed with error -2
                        [ 1217.747588] nouveau 0000:01:00.0: bsp: unable to load firmware nouveau/nv84_xuc103
                        [ 1217.747589] nouveau 0000:01:00.0: bsp: init failed, -2
                        Not sure WHAT this is about.
                        Last edited by doctordruidphd; May 24, 2017, 02:49 PM. Reason: additional info
                        We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

                        Comment


                          #13
                          Originally posted by oshunluvr View Post
                          Seems odd though, that it works sometimes others not. You need to do a long trouble-shooting session:

                          After bootup, pick a file (preferably one you've had trouble with before), open a terminal, run dmesg, note the last lines and the current time. Open another terminal window and launch one of the players you have trouble with from the command line.

                          Assuming failure, re-run dmesg and see if anything is added there. Also go to /var/log and see if any logs were updated and read those that were. Finally, go the the terminal you launched the player from and read the output there.

                          Repeat all this until you see a change and/or the file finally plays and report back.
                          I will do this a little later and report back.

                          Strange, though, in spite of this, as of right now, it's working.

                          Code:
                          greenman@Crynfyd17.04 ~$ lsmod | grep nouveau
                          nouveau              1601536  15
                          mxm_wmi                16384  1 nouveau
                          wmi                    16384  2 mxm_wmi,nouveau
                          video                  40960  1 nouveau
                          i2c_algo_bit           16384  1 nouveau
                          ttm                    98304  1 nouveau
                          drm_kms_helper        151552  1 nouveau
                          drm                   352256  18 nouveau,ttm,drm_kms_helper
                          Last edited by doctordruidphd; May 24, 2017, 02:54 PM.
                          We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

                          Comment


                            #14
                            I do not think vdpau has anything to do with it ,,,,,,all it is is the API for video decoding to be (shared with/handed to) the GPU if it supports it and the player supports it .
                            and I do not think that "nouveau" supports it.

                            I have a Nvidia GTX860M ,,,,,,the installs that are using the Nvidia driver will use vdpau and the Nvidia card/chip dose in fact decode the supported video types

                            the Neon-LTS install I left with the nouveau driver and it dose not do vdpau decoding and my "vdpauinfo" is the same as yours for "decoder capabilities" wile in an install using the Nvidia driver I get the same as @oshunluvr.

                            BUT video plays all the time on both my players (VLC & QMplay2) @hear on Neon-LTS with the nouveau driver .

                            VINNY
                            i7 4core HT 8MB L3 2.9GHz
                            16GB RAM
                            Nvidia GTX 860M 4GB RAM 1152 cuda cores

                            Comment


                              #15
                              Originally posted by vinnywright View Post
                              I do not think vdpau has anything to do with it ,,,,,,all it is is the API for video decoding to be (shared with/handed to) the GPU if it supports it and the player supports it .
                              and I do not think that "nouveau" supports it.

                              I have a Nvidia GTX860M ,,,,,,the installs that are using the Nvidia driver will use vdpau and the Nvidia card/chip dose in fact decode the supported video types

                              the Neon-LTS install I left with the nouveau driver and it dose not do vdpau decoding and my "vdpauinfo" is the same as yours for "decoder capabilities" wile in an install using the Nvidia driver I get the same as @oshunluvr.

                              BUT video plays all the time on both my players (VLC & QMplay2) @hear on Neon-LTS with the nouveau driver .

                              VINNY
                              Thanks for that. I have a debian Jessie system using nouveau also, and it seems to play the videos just fine.
                              We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

                              Comment

                              Working...
                              X