Announcement

Collapse
No announcement yet.

trouble with Kaffeine

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

    trouble with Kaffeine

    I updated Kubuntu today, I think it was some Linux kernel thing, I'm not too smart.

    Anyway, Kaffeine's images are garbled now, although I can hear the audio OK. Strangely enough, video is fine with the VLC player.

    What happened and how do I fix it?
    Free = Good

    #2
    Re: trouble with Kaffeine

    Try starting Kaffeine from the terminal instead of a shortcut/icon
    "A problem well stated is a problem half solved." --Charles F. Kettering
    "Sometimes the questions are complicated and the answers are simple."--Dr. Seuss

    Comment


      #3
      Re: trouble with Kaffeine

      All right, I tried that, and this is what the terminal gave me:

      xxxx@xxxx-desktop:~$ kaffeine
      X Error: BadDevice, invalid or uninitialized input device 167
      Major opcode: 146
      Minor opcode: 3
      Resource id: 0x0
      Failed to open device
      X Error: BadDevice, invalid or uninitialized input device 167
      Major opcode: 146
      Minor opcode: 3
      Resource id: 0x0
      Failed to open device
      0
      QLayout "unnamed" added to QWidget "unnamed", which already has a layout
      xxxx@xxxx-desktop:~$ Xlib: extension "XFree86-DRI" missing on display ":0.0".
      video_out_opengl: compiled for BGRA output, but missing extension.
      [wmv3 @ 0x2b19ed090000]Extra data: 8 bits left, value: 0

      I looked for XFree86-DRI on Adept, and installed xfree86-driver-synaptics, but there was no change.

      Now what?
      Free = Good

      Comment


        #4
        Re: trouble with Kaffeine

        I can't solve your problem, but I can tell you a couple of things about the error messages that you got. First, the two "X Error...Failed to open device" messages have absolutely nothing to do with your problem. They have to do with the fact that your /etc/X11/xorg.conf file is set up out of the box by Kubuntu for tablet PCs. Search this site for the term "wacom". It's been covered several times. Second, unless your computer is a laptop with a Synaptics touchpad, you do not need (and cannot use) the "xfree86-driver-synaptics", which is the driver for Synaptics touchpads, so you can remove that package.

        The real error message is the stuff that starts at "Qlayout". Qlayout and Qwidget, are very important parts of the Qt toolkit which is the basis of all KDE apps. If there was anything wrong with either of them, KDE would not run at all. Accordingly, I suspect (without knowing anything about Kaffeine) that Kaffeine is where the problem lies. I checked recent Kaffeine bugs (very superficially) and didn't find anything resembling your problem. I therefore suspect, that your Kaffeine installation got trashed somehow. I would reinstall Kaffeine and see if that fixes your problem. Of course, you could just use mplayer.

        Comment


          #5
          Re: trouble with Kaffeine

          I already tried reinstalling Kaffeine. Thanks, though.

          I agree the problem is somewhere in Kaffeine, but there must be something missing somewhere that a reinstall of it won't fix.

          I haven't tried mPlayer yet. I like VLC (it now works), but the interface of Kaffeine was really cool (while it lasted).

          I guess I'll keep plugging away at it, and thanks for the tip about the synaptic driver. No, I don't have a laptop. I'll also try the "wacom" thread.

          Thanks,
          Free = Good

          Comment


            #6
            Re: trouble with Kaffeine

            Originally posted by gehentogo
            Xlib: extension "XFree86-DRI" missing on display ":0.0".
            video_out_opengl: compiled for BGRA output, but missing extension.
            [wmv3 @ 0x2b19ed090000]Extra data: 8 bits left, value: 0
            Looks like an OpenGL problem to me. (I've seen the QLayout/QWidget messages before just about everywhere, they've never been fatal.) Working on this hypothesis, can you post the contents of /etc/X11/xorg.conf as well as details of your graphics card?

            Also, in Kaffeine, go to Settings -> xine Engine Parameters -> Video and try some different options for video driver, see if you get the same results.

            Comment


              #7
              Re: trouble with Kaffeine

              Here it is:

              # /etc/X11/xorg.conf (xorg X Window System server configuration file)
              #
              # This file was generated by dexconf, the Debian X Configuration tool, using
              # values from the debconf database.
              #
              # Edit this file with caution, and see the xorg.conf(5) manual page.
              # (Type "man xorg.conf" at the shell prompt.)
              #
              # This file is automatically updated on xserver-xorg package upgrades *only*
              # if it has not been modified since the last upgrade of the xserver-xorg
              # package.
              #
              # If you have edited this file but would like it to be automatically updated
              # again, run the following command:
              # sudo dpkg-reconfigure -phigh xserver-xorg

              Section "ServerLayout"
              Identifier "Default Layout"
              Screen 0 "aticonfig-Screen[0]" 0 0
              InputDevice "Generic Keyboard"
              InputDevice "Configured Mouse"
              InputDevice "stylus" "SendCoreEvents"
              InputDevice "cursor" "SendCoreEvents"
              InputDevice "eraser" "SendCoreEvents"
              EndSection

              Section "Files"

              # path to defoma fonts
              FontPath "/usr/share/fonts/X11/misc"
              FontPath "/usr/share/fonts/X11/cyrillic"
              FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
              FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
              FontPath "/usr/share/fonts/X11/Type1"
              FontPath "/usr/share/fonts/X11/100dpi"
              FontPath "/usr/share/fonts/X11/75dpi"
              FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
              EndSection

              Section "Module"
              Load "i2c"
              Load "bitmap"
              Load "ddc"
              Load "dri"
              Load "extmod"
              Load "freetype"
              Load "glx"
              Load "int10"
              Load "vbe"
              EndSection

              Section "ServerFlags"
              Option "AIGLX" "off"
              EndSection

              Section "InputDevice"
              Identifier "Generic Keyboard"
              Driver "kbd"
              Option "CoreKeyboard"
              Option "XkbRules" "xorg"
              Option "XkbModel" "pc105"
              Option "XkbLayout" "us"
              EndSection

              Section "InputDevice"
              Identifier "Configured Mouse"
              Driver "mouse"
              Option "CorePointer"
              Option "Device" "/dev/input/mice"
              Option "Protocol" "ImPS/2"
              Option "ZAxisMapping" "4 5"
              Option "Emulate3Buttons" "true"
              EndSection

              Section "InputDevice"
              Identifier "stylus"
              Driver "wacom"
              Option "Device" "/dev/input/wacom"
              Option "Type" "stylus"
              Option "ForceDevice" "ISDV4" # Tablet PC ONLY
              EndSection

              Section "InputDevice"
              Identifier "eraser"
              Driver "wacom"
              Option "Device" "/dev/input/wacom"
              Option "Type" "eraser"
              Option "ForceDevice" "ISDV4" # Tablet PC ONLY
              EndSection

              Section "InputDevice"
              Identifier "cursor"
              Driver "wacom"
              Option "Device" "/dev/input/wacom"
              Option "Type" "cursor"
              Option "ForceDevice" "ISDV4" # Tablet PC ONLY
              EndSection

              Section "Monitor"
              Identifier "Generic Monitor"
              HorizSync 28.0 - 51.0
              VertRefresh 43.0 - 60.0
              Option "DPMS"
              EndSection

              Section "Monitor"
              Identifier "aticonfig-Monitor[0]"
              Option "VendorName" "ATI Proprietary Driver"
              Option "ModelName" "Generic Autodetecting Monitor"
              Option "DPMS" "true"
              EndSection

              Section "Device"
              Identifier "Generic Video Card"
              Driver "fglrx"
              Option "VideoOverlay" "on"
              Option "OpenGLOverlay" "off"
              BusID "PCI:2:0:0"
              EndSection

              Section "Device"
              Identifier "aticonfig-Device[0]"
              Driver "fglrx"
              Option "VideoOverlay" "on"
              Option "OpenGLOverlay" "off"
              EndSection

              Section "Screen"
              Identifier "Default Screen"
              Device "Generic Video Card"
              Monitor "Generic Monitor"
              DefaultDepth 24
              SubSection "Display"
              Depth 1
              Modes "1024x768" "800x600" "640x480"
              EndSubSection
              SubSection "Display"
              Depth 4
              Modes "1024x768" "800x600" "640x480"
              EndSubSection
              SubSection "Display"
              Depth 8
              Modes "1024x768" "800x600" "640x480"
              EndSubSection
              SubSection "Display"
              Depth 15
              Modes "1024x768" "800x600" "640x480"
              EndSubSection
              SubSection "Display"
              Depth 16
              Modes "1024x768" "800x600" "640x480"
              EndSubSection
              SubSection "Display"
              Depth 24
              Modes "1024x768" "800x600" "640x480"
              EndSubSection
              EndSection

              Section "Screen"
              Identifier "aticonfig-Screen[0]"
              Device "aticonfig-Device[0]"
              Monitor "aticonfig-Monitor[0]"
              DefaultDepth 24
              SubSection "Display"
              Viewport 0 0
              Depth 24
              EndSubSection
              EndSection

              Section "DRI"
              Mode 0666
              EndSection



              Section "Extensions"
              Option "Composite" "Disable"
              EndSection


              I hope that helps. My graphics card is an ATI with the X1300 chip and and flgrx driver.
              Free = Good

              Comment


                #8
                Re: trouble with Kaffeine

                I used your suggestion to change the Settings -> xine Engine Parameters -> Video, and found that the xshm driver worked. So, YAY! problem solved (I think). The file I just posted looks like a mess to me, though. Can it cause any other problems?
                Free = Good

                Comment


                  #9
                  Re: trouble with Kaffeine

                  I updated Kubuntu today, I think it was some Linux kernel thing
                  If you updated kernel. Check that you are still using fglrx driver (fglrxinfo). That is, if you are using latest version of drivers from ati.

                  from BinaryDriverHowto/ATI
                  https://help.ubuntu.com/community/BinaryDriverHowto/ATI
                  After kernel updates

                  After every update of the kernel (linux-image-<arch>), you will need to recompile the kernel module (make sure to get the latest linux-headers too) as explained under the installation section.
                  Before you edit, BACKUP !

                  Why there are dead links ?
                  1. Thread: Please explain how to access old kubuntu forum posts
                  2. Thread: Lost Information

                  Comment


                    #10
                    Re: trouble with Kaffeine

                    Originally posted by gehentogo
                    [color=blue]
                    Section "Device"
                    Identifier "Generic Video Card"
                    Driver "fglrx"
                    Option "VideoOverlay" "on"
                    Option "OpenGLOverlay" "off"
                    BusID "PCI:2:0:0"
                    EndSection

                    Section "Device"
                    Identifier "aticonfig-Device[0]"
                    Driver "fglrx"
                    Option "VideoOverlay" "on"
                    Option "OpenGLOverlay" "off"
                    EndSection

                    *snip*
                    I would suspect that Kaffeine was trying to use an OpenGL overlay to display video... If you're feeling adventurous, try commenting out (put a # in front of) the two lines I've emboldened, restart X, and try Kaffeine with the default setting again. (I don't know a thing about the flgrx driver, so you may also have to change some of the other options... I did say "if you're feeling adventurous"! )

                    As for the rest of the file, it looks OK (with the non-serious exception of the Tablet PC sections - get rid of them iff you want, and don't forget the three lines that mention them near the top of the file if you do).

                    Comment

                    Working...
                    X