FAQ > OS > HOW TO > VIDEO > FLASH ON INTEL


FLASH ON INTEL

If you installed Flash on a machine with Intel video and Flash either isn't working, or is working poorly, try XorgEdgers.



Note: To see what video card is on your system, go to Menu --> System Tools --> LXTerminal or Ctrl+Alt+T and type: sudo lshw -c video


To install XorgEdgers; go to Menu --> Accessories --> LXTerminal (or Ctrl+Alt+T). Type (or copy and paste):

sudo apt-add-repository ppa:xorg-edgers/ppa && sudo apt-get update -y

Then make an xorg.conf file with the VideoRam buffer size;

sudo lspci -vv | grep Region

and you'll see something like:

Region 0: Memory at d8000000 (32-bit, prefetchable) [size=256M]
Region 1: Memory at e0380000 (32-bit, non-prefetchable) [size=512K]

A bit of math: convert the first value in Kb (in this example 256*1024=262144) then subtract the non-prefetchable value (the largest you find if more than one)

256*1024=262144 then 262144-512= 261632 or
128*1024=131072 then 131072-512= 130560

Type (or copy and paste):
gksu leafpad /etc/X11/xorg.conf

For 32-bit computers
type in one of the following for UXA:


Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "uxa"
VideoRam 261632
EndSection

or

Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "uxa"
VideoRam 130560
EndSection

For 64-bit computers
change the AccelMethod for
SNA:

Section "Device"
Identifier "intel"
Driver "intel"
Option "AccelMethod" "sna"
VideoRam 130560
EndSection

Save. Reboot. Flash should work (better).

Troubleshooting

If the AccelMethod is wrong (UXA instead of SNA, or vice-versa), you'll end up with a black screen (or just a white cursor on a black background) upon reboot because X cannot render the Desktop. If that happens, fix the AccelMethod (or your math) before the Desktop renders:


1. Upon booting, or re-booting the computer; hold the [Shift] key down until you see the Boot Menu (GRUB).

Hold down [Shift]

2. Arrow down to Advanced Options for Ubuntu[Enter]

GRUB 2

3.
On the 2nd GRUB page, arrow to
Ubuntu, with Linux X.X.XX-XX-generic (recovery mode)[Enter]
If there is more than one recovery mode line, select the top (latest) one.

Grub 2 Recovery Mode

4. Arrow-down to Drop to root shell prompt[Enter]

Drop to a Root Shell Prompt

5. Hit [Enter] for maintenance

Enter for maintenance

6. Type: mount -o rw,remount /[Enter]
This makes the drive mount as read-write instead of read-only.

Mount HDD
7. Then type: sudo nano /etc/X11/xorg.conf[Enter]
This will show the xorg.conf file you made earlier
. Change "uxa" to "sna" (or vice-versa) – or, the VideoRam number if you did your math wrong.

8. Type Ctrl+O[Enter] to Save and Ctrl+X[Enter] to Exit Nano. At the "#" prompt, type: reboot-f[Enter], or type exit[Enter] and at the Recovery Screen select Resume Normal Boot.

Flash on Intel instructions were compiled here.


Top