Archive

Posts Tagged ‘flash not working’

Fix Flash Video is half or green or not proper problem on intel graphics card

To Fix Flash Video is showing half width or green or not proper problem on Intel on board graphics card on Ubuntu or fedora

This is due to SNA mode enabled default in video acceleration for old Intel on board graphics card. You need to enable UXA mode.

To do that You need to create a xorg.conf file as shown below.

Section “ServerLayout”
Identifier     “X.org Configured”
Screen      0  “Screen0” 0 0
InputDevice    “Mouse0” “CorePointer”
InputDevice    “Keyboard0” “CoreKeyboard”
EndSection

Section “Files”
ModulePath   “/usr/lib/xorg/modules”
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”
FontPath     “built-ins”
EndSection

Section “Module”
Load  “glx”
EndSection

Section “InputDevice”
Identifier  “Keyboard0”
Driver      “kbd”
EndSection

Section “InputDevice”
Identifier  “Mouse0”
Driver      “mouse”
Option        “Protocol” “auto”
Option        “Device” “/dev/input/mice”
Option        “ZAxisMapping” “4 5 6 7”
EndSection

Section “Monitor”
Identifier   “Monitor0”
VendorName   “Monitor Vendor”
ModelName    “Monitor Model”
EndSection

Section “Device”
Identifier “Intel”
Driver “intel”
Option “AccelMethod” “UXA”
EndSection

Section “Screen”
Identifier “Screen0”
Device     “Intel”
Monitor    “Monitor0”
DefaultDepth    24
SubSection “Display”
Depth        1
Modes        “1280×1024” “1024×768”
EndSubSection
SubSection “Display”
Depth        4
Modes        “1280×1024” “1024×768”
EndSubSection
SubSection “Display”
Depth        8
Modes        “1280×1024” “1024×768”
EndSubSection
SubSection “Display”
Depth        15
Modes        “1280×1024” “1024×768”
EndSubSection
SubSection “Display”
Depth        16
Modes        “1280×1024” “1024×768”
EndSubSection
SubSection “Display”
Depth        24
Modes        “1280×1024” “1024×768”
EndSubSection
EndSection

You need edit screen modes to your current monitor.

Save the above file with following name xorg.conf in home directory. then copy to /etc/X11 folder

cp xorg.conf /etc/X11/xorg.conf

Then restart the display server or restart computer. You will able to see flash videos properly again.

Note : you need to edit file to get work display. If not working properly delete the xorg.conf from X11 folder & restart computer.

Advertisements