Flash corrupted in Firefox, Konqueror

Flash isn’t working properly on my old ThinkPad R51. I have OpenSUSE 13.1 on it and the latest version of Flash available (tried both from the repository and from Adobe’s website). All Flash videos show screen corruption: the videos are reduced to half the size they should be and have some weird pink overlay on them, as seen at bottom of post or http://i.imgur.com/0Q1fGk1.jpg.

Interestingly, Chrome with PepperFlash works fine – it is only in Firefox/Konqueror/browsers that use the system plugin that the problem arises.

Has anyone experienced this before and know how to fix it or have any ideas on what might be wrong?

http://i.imgur.com/0Q1fGk1.jpg

I don’t think this is anything to do with Konqueror or Flash because I have entered the URL you show into Konqueror running on an extremely basic Acer eMachine 520 and everything comes up full screen without any problems at all.

Same result here, neither KHTML or webkit had problems with this site.

What about Youtube videos, still that reduced, pink coloured image?You could also provide more info on gpu and driver etc.

It happens with everything that uses Flash: YouTube videos, banner ads, MiniClip games, the whole nine yards. I just had that site up to try disabling hardware acceleration (without success–the settings dialog is also caught in the pink overlay/reduced thing and is unusable). I’ve only had this problem on this computer. I believe it is Flash as opposed to something else because the Pepper-based Flash in Chrome works fine (I just don’t really want to use Chrome).

The ThinkPad has an Intel 82852/855GM Integrated Graphics and is running with the i915 kernel module driver. KInfoCenter says the renderer is “Mesa DRI Intel(R) 852GM/855GM x86/MMX/SSE2.”

This seemed somewhat similar: http://askubuntu.com/questions/420977/graphics-problem-with-lubuntu-13-10-on-amilo-pro-v2020

If you haven’t done so yet, you could first try to deinstall Flash, remove the .adobe and .macromedia folders from your home directory, reinstall Flash, start Konqueror and scan for new plugins.
Also, make sure that neither Gnash nor Lightspark (or similar alternatives) are installed.

It seems like a graphic driver issue, though, but the steps above shouldn’t do any harm either way.

Another related thread here: https://bbs.archlinux.org/viewtopic.php?id=170914

A bit old but this seemed to provide a solution which might be relevant: http://ubuntuforums.org/showthread.php?t=1687772

IIRC
You need to disable hardware acceleration
https://dl.dropboxusercontent.com/u/10573557/12.1_Misc/flash_hwaccel.png

F_Sauce, I’m going to give the Intel graphics drivers a go (from your http://askubuntu.com/questions/420977/graphics-problem-with-lubuntu-13-10-on-amilo-pro-v2020 link). I’ll let you know how it turns out.

Caf, I was trying to disable HW accel, because I did find several sites that suggested that, but it’s impossible to disable because of the squished/pinkified state. Do you perhaps know of an alternative way to disable HW accel?

Thank you guys so much for your help, by the way! I apologize for not getting back sooner – break just started, so I’m trying to get adjusted to a different kind of hectic!

I think if you install: flash-player-kde4

Which is a settings manager for flash in kde
It should have such a setting
Once you install it, you should find it in the menu by search for: flash

Hi Carl.

Isn’t the hardware acceleration issue related to NVIDIA only, I think so?

Olav

Greetings
Could be. I can’t recall for sure.

Hi F & Caf (and others who may have the same issue),

I’ve had a chance to investigate a few different things, and this is what I’ve found:
(1) I ended up not compiling the intel drivers from source, would have required downloading a whole bunch of things and compiling, including a new kernel, it seems from Intel’s documentation. They only provide compiled drivers for Ubuntu and Fedora.
(2) This is definitely a graphics driver problem. For whatever reason, hardware acceleration isn’t working for the Intel 855 with the drivers provided. Running glxinfo shows the following error “Error: couldn’t find RGB GLX visual or fbconfig” twice. Thus, despite what KInfoCenter seems to indicate, hardware rendering is not working properly. This is verified by adding i915.modeset=0 to the boot loader options, which uses FBDev as a renderer, rather than the included Intel drivers. YouTube works fine when using FBdev. Also, Opera looked really weird when using just the Intel driver; using i915.modeset=0 resolves the graphical issues, further confirming the problem lies with the graphics drivers. This probably explains why disabling hardware acceleration in Flash would likely resolve the graphical issues on YouTube etc.
(3) For Caf, the flash-player-kde4 package does bring up a settings window, but it doesn’t provide an option to change hardware acceleration, unfortunately. (Seems kind of a questionable design decision by Adobe, because you can change all of the other settings but the hardware acceleration)
(4) The 13.1 release notes, in section 5.1, indicate that some changes were made relating to KMS drivers for Intel, ATI, and Nvidia. It mentions that legacy Intel GPUs can use the ‘intellegacy’ driver, provided by xorg-x11-driver-video-intel-legacy, to use UMS rather than KMS. However, this package is not in the 13.1 repositories, under the name in the release notes or any other name (that I could find).

However, I’ve download the RPM from http://software.opensuse.org/package/xorg-x11-driver-video-intel-legacy for openSUSE 12.2 (the Factory version doesn’t seem to be working). I will try and see if I can get that to work and let everyone know.

Could you please post the file /var/log/Xorg.0.log? That should provide a clue whether there’s a problem with the intel driver.

One thing you should try in any case is switching to the older (but stable) UXA acceleration.
See here for a howto:
https://en.opensuse.org/SDB:Switch_xf86-video-intel_to_UXA

(3) For Caf, the flash-player-kde4 package does bring up a settings window, but it doesn’t provide an option to change hardware acceleration, unfortunately. (Seems kind of a questionable design decision by Adobe, because you can change all of the other settings but the hardware acceleration)

You can right-click on a flash-video and choose “Settings” to get to the hardware acceleration setting.

(4) The 13.1 release notes, in section 5.1, indicate that some changes were made relating to KMS drivers for Intel, ATI, and Nvidia. It mentions that legacy Intel GPUs can use the ‘intellegacy’ driver, provided by xorg-x11-driver-video-intel-legacy, to use UMS rather than KMS. However, this package is not in the 13.1 repositories, under the name in the release notes or any other name (that I could find).

That’s old news. (11.1?)
And the intellegacy driver doesn’t exist anymore.

However, I’ve download the RPM from http://software.opensuse.org/package/xorg-x11-driver-video-intel-legacy for openSUSE 12.2 (the Factory version doesn’t seem to be working). I will try and see if I can get that to work and let everyone know.

Don’t! It won’t work.

Wolf, you’re a genius! Switching to UXA has resolved the issue. Thank you!

In regards to the other things,

(1) If you or anyone else is still interested, I’ve copied and pasted the Xorg.0.log (from before the UXA change) below [excluding non-graphics sections].
(2) Yes, I know the Hardware Accel for Flash is available by right-clicking and going to settings, but it wasn’t usable, as it was squished and everything, and trying to click on it to disable HW accel just froze Flash.
(3) Wish I’d read your comment before trying, because it definitely doesn’t work.

Thank you all for all of your help!


    32.979] 
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
    32.979] 
X.Org X Server 1.14.3.901 (1.14.4 RC 1)
Release Date: 2013-10-26
    32.979] X Protocol Version 11, Revision 0
    32.979] Build Operating System: openSUSE SUSE LINUX
    32.979] Current Operating System: Linux linux-plv1 3.11.10-7-default #1 SMP Mon Feb 3 09:41:24 UTC 2014 (750023e) i686
    32.979] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.11.10-7-default root=UUID=a00e91f5-37fd-4fb8-a67f-6ad91a668cf8 resume=/dev/disk/by-id/ata-IC25N020ATMR04-0_MRG105K1J4ASTH-part1 splash=silent quiet showopts
    32.979] Build Date: 19 December 2013  01:40:15PM
    32.979]  
    32.979] Current version of pixman: 0.30.2
    32.979]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    32.979] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    32.980] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 15 16:35:31 2014
    32.980] (==) Using config directory: "/etc/X11/xorg.conf.d"
    32.981] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    33.143] (==) No Layout section.  Using the first Screen section.
    33.143] (==) No screen section available. Using defaults.
    33.143] (**) |-->Screen "Default Screen Section" (0)
    33.143] (**) |   |-->Monitor "<default monitor>"
    33.143] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    33.143] (==) Automatically adding devices
    33.143] (==) Automatically enabling devices
    33.143] (==) Automatically adding GPU devices
    33.790] (WW) The directory "/usr/share/fonts/misc/sgi" does not exist.
    33.790]     Entry deleted from font path.
    33.805] (==) FontPath set to:
    /usr/share/fonts/misc:unscaled,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/ghostscript/,
    /usr/share/fonts/cyrillic:unscaled,
    /usr/share/fonts/truetype/,
    built-ins
    33.805] (==) ModulePath set to "/usr/lib/xorg/modules/updates,/usr/lib/xorg/modules"
    33.805] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    33.805] (II) Loader magic: 0x8260620
    33.805] (II) Module ABI versions:
    33.805]     X.Org ANSI C Emulation: 0.4
    33.805]     X.Org Video Driver: 14.1
    33.805]     X.Org XInput driver : 19.1
    33.805]     X.Org Server Extension : 7.0
    33.805] (II) xfree86: Adding drm device (/dev/dri/card0)
    33.807] (--) PCI:*(0:0:2:0) 8086:3582:1014:0557 rev 2, Mem @ 0xe0000000/134217728, 0xd0000000/524288, I/O @ 0x00001800/8
    33.807] (--) PCI: (0:0:2:1) 8086:3582:1014:0557 rev 2, Mem @ 0xe8000000/134217728, 0xd0080000/524288
    33.807] Initializing built-in extension Generic Event Extension
    33.807] Initializing built-in extension SHAPE
    33.807] Initializing built-in extension MIT-SHM
    33.807] Initializing built-in extension XInputExtension
    33.807] Initializing built-in extension XTEST
    33.807] Initializing built-in extension BIG-REQUESTS
    33.807] Initializing built-in extension SYNC
    33.807] Initializing built-in extension XKEYBOARD
    33.808] Initializing built-in extension XC-MISC
    33.809] Initializing built-in extension SECURITY
    33.809] Initializing built-in extension XINERAMA
    33.809] Initializing built-in extension XFIXES
    33.809] Initializing built-in extension RENDER
    33.809] Initializing built-in extension RANDR
    33.809] Initializing built-in extension COMPOSITE
    33.809] Initializing built-in extension DAMAGE
    33.809] Initializing built-in extension MIT-SCREEN-SAVER
    33.809] Initializing built-in extension DOUBLE-BUFFER
    33.809] Initializing built-in extension RECORD
    33.809] Initializing built-in extension DPMS
    33.809] Initializing built-in extension X-Resource
    33.809] Initializing built-in extension XVideo
    33.809] Initializing built-in extension XVideo-MotionCompensation
    33.809] Initializing built-in extension XFree86-VidModeExtension
    33.809] Initializing built-in extension XFree86-DGA
    33.809] Initializing built-in extension XFree86-DRI
    33.809] Initializing built-in extension DRI2
    33.809] (II) "glx" will be loaded by default.
    33.809] (II) LoadModule: "dri2"
    33.809] (II) Module "dri2" already built-in
    33.809] (II) LoadModule: "glamoregl"
    33.876] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
    34.163] (II) Module glamoregl: vendor="X.Org Foundation"
    34.163]     compiled for 1.14.3.901, module version = 0.5.1
    34.163]     ABI class: X.Org ANSI C Emulation, version 0.4
    34.163] (II) LoadModule: "glx"
    34.163] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    34.170] (II) Module glx: vendor="X.Org Foundation"
    34.171]     compiled for 1.14.3.901, module version = 1.0.0
    34.171]     ABI class: X.Org Server Extension, version 7.0
    34.171] (==) AIGLX enabled
    34.171] Loading extension GLX
    34.171] (==) Matched intel as autoconfigured driver 0
    34.171] (==) Matched intel as autoconfigured driver 1
    34.171] (==) Matched modesetting as autoconfigured driver 2
    34.171] (==) Matched fbdev as autoconfigured driver 3
    34.171] (==) Matched vesa as autoconfigured driver 4
    34.171] (==) Assigned the driver to the xf86ConfigLayout
    34.171] (II) LoadModule: "intel"
    34.176] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
    34.849] (II) Module intel: vendor="X.Org Foundation"
    34.849]     compiled for 1.14.3.901, module version = 2.99.906
    34.849]     Module class: X.Org Video Driver
    34.849]     ABI class: X.Org Video Driver, version 14.1
    34.849] (II) LoadModule: "modesetting"
    34.850] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
    34.850] (II) Module modesetting: vendor="X.Org Foundation"
    34.850]     compiled for 1.14.3, module version = 0.8.0
    34.850]     Module class: X.Org Video Driver
    34.850]     ABI class: X.Org Video Driver, version 14.1
    34.850] (II) LoadModule: "fbdev"
    34.851] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
    34.851] (II) Module fbdev: vendor="X.Org Foundation"
    34.851]     compiled for 1.14.3, module version = 0.4.3
    34.851]     Module class: X.Org Video Driver
    34.851]     ABI class: X.Org Video Driver, version 14.1
    34.851] (II) LoadModule: "vesa"
    34.851] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
    34.851] (II) Module vesa: vendor="X.Org Foundation"
    34.851]     compiled for 1.14.3, module version = 2.3.3
    34.851]     Module class: X.Org Video Driver
    34.851]     ABI class: X.Org Video Driver, version 14.1
    34.851] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
    i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
    915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
    Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
    GM45, 4 Series, G45/G43, Q45/Q43, G41, B43, HD Graphics,
    HD Graphics 2000, HD Graphics 3000, HD Graphics 2500,
    HD Graphics 4000, HD Graphics P4000, HD Graphics 4600,
    HD Graphics 5000, HD Graphics P4600/P4700, Iris(TM) Graphics 5100,
    HD Graphics 4400, HD Graphics 4200, Iris(TM) Pro Graphics 5200
    34.852] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
    34.852] (II) FBDEV: driver for framebuffer: fbdev
    34.852] (II) VESA: driver for VESA chipsets: vesa
    34.852] (++) using VT number 7

    35.277] (WW) Falling back to old probe method for modesetting
    35.277] (WW) Falling back to old probe method for fbdev
    35.277] (II) Loading sub module "fbdevhw"
    35.277] (II) LoadModule: "fbdevhw"
    35.278] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
    35.278] (II) Module fbdevhw: vendor="X.Org Foundation"
    35.279]     compiled for 1.14.3.901, module version = 0.0.2
    35.279]     ABI class: X.Org Video Driver, version 14.1
    35.279] (WW) Falling back to old probe method for vesa
    35.284] (II) intel(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 15/16
    35.284] (==) intel(0): Depth 15, (--) framebuffer bpp 16
    35.284] (==) intel(0): RGB weight 555
    35.284] (==) intel(0): Default visual is TrueColor
    35.285] (--) intel(0): Integrated Graphics Chipset: Intel(R) 852GM/855GM
    35.334] (--) intel(0): CPU: x86, sse2
    35.334] (**) intel(0): Framebuffer tiled
    35.334] (**) intel(0): Pixmaps tiled
    35.334] (**) intel(0): "Tear free" disabled
    35.334] (**) intel(0): Forcing per-crtc-pixmaps? no
    35.334] (II) intel(0): Output LVDS1 has no monitor section
    35.360] (--) intel(0): found backlight control interface thinkpad_screen (type 'platform')
    35.360] (II) intel(0): Output VGA1 has no monitor section
    35.360] (II) intel(0): Output VIRTUAL1 has no monitor section
    35.360] (--) intel(0): Output LVDS1 using initial mode 1024x768 on pipe 1
    35.360] (==) intel(0): DPI set to (96, 96)
    35.360] (II) Loading sub module "dri2"
    35.360] (II) LoadModule: "dri2"
    35.360] (II) Module "dri2" already built-in
    35.360] (II) UnloadModule: "modesetting"
    35.360] (II) Unloading modesetting
    35.360] (II) UnloadModule: "fbdev"
    35.360] (II) Unloading fbdev
    35.360] (II) UnloadSubModule: "fbdevhw"
    35.361] (II) Unloading fbdevhw
    35.361] (II) UnloadModule: "vesa"
    35.361] (II) Unloading vesa
    35.361] (II) intel(0): SNA initialized with Almador (gen2) backend
    35.361] (==) intel(0): Backing store disabled
    35.361] (==) intel(0): Silken mouse enabled
    35.361] (II) intel(0): HW Cursor enabled
    35.361] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
    35.362] (==) intel(0): DPMS enabled
    35.362] (II) intel(0): Textured video not supported on this hardware
    35.398] (II) intel(0): [DRI2] Setup complete
    35.398] (II) intel(0): [DRI2]   DRI driver: i915
    35.398] (II) intel(0): direct rendering: DRI2 Enabled
    35.398] (==) intel(0): hotplug detection: "enabled"
    35.398] (--) RandR disabled
    36.708] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
    36.708] (II) AIGLX: enabled GLX_INTEL_swap_event
    36.708] (II) AIGLX: enabled GLX_ARB_create_context
    36.708] (II) AIGLX: enabled GLX_ARB_create_context_profile
    36.708] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
    36.708] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
    36.708] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
    36.708] (II) AIGLX: Loaded and initialized i915
    36.708] (II) GLX: Initialized DRI2 GL provider for screen 0
    36.710] (II) intel(0): switch to mode 1024x768@60.0 on pipe 1 using LVDS1, position (0, 0), rotation normal
    37.236] (II) intel(0): Setting screen physical size to 270 x 203

Well, there’s nothing unusual in there.
But the intel driver version shipped with openSUSE obviously has a bug in the SNA acceleration code for your particular chip.

If you wanted to, you could try the latest intel driver from the [noparse]X11:XOrg[/noparse] repo. In that case, you would have to switch the whole X/Mesa stack to the versions from that repo as well, though.

You could do it like this:

sudo zypper ar http://download.opensuse.org/X11:/XOrg/openSUSE_13.1 X11:XOrg
sudo zypper dup --from X11:XOrg

No idea whether your particular bug would have been fixed already, though.
And you might also have to update to the latest kernel from http://download.opensuse.org/Kernel:/stable/standard/ to be fully up-to-date (part of the intel driver is in the kernel).

Or just stick with UXA acceleration for now. I don’t think you will miss much…

I was having the same issue some time ago with my installation from full dvd kde 13.1 32 on a machine with i855

I found a post here with this:

Create a file /etc/X11/xorg.conf.d/20-intel.conf

and put the following text into it:

Section “Device”
Identifier “Intel Graphics”
Driver “intel”
Option “AccelMethod” “uxa”
EndSection

that solved the flash and the opengl problem in desktop effects :slight_smile:

Well, that’s exactly the same the OP did now, and it solved his problem as well.
Have a look at his previous post.

What your 20-intel.conf file does is switch from the new SNA acceleration to the older (but stable) UXA acceleration.

yes I seen the post but I’m thinking if it is the same putting the file in different placement or one is better then other?

technically speaking… :slight_smile:

It depends.
The filename does not matter at all, but X reads those files in alphabetical order. That’s the reason why they all start with a number (to make the order more obvious).

On a default openSUSE installation there’s only 50-device.conf with a Device section, which has all lines commented out (just as 50-monitor.conf and 50-screen.conf).
So it makes absolutely no difference whether you create 20-intel.conf, 50-mydevice.conf, 80-xyz.conf, or append those lines to 50-device.conf.

The name might make a difference though if you also have other files in /etc/X11/xorg.conf.d/ which contain actual configuration snippets.