[Gelistirici] Disabling hardware acceleration in Adobe Flash Player
Fatih Aşıcı
fatih at pardus.org.tr
25 Eki 2008 Cmt 23:36:32 EEST
25 Eki 2008 Cts tarihinde, Ozan Çağlayan şunları yazmıştı:
> Here is the postInstall method that I wrote for disabling hardware
> acceleration of Adobe Flash Player if the display adapter is an nVidia one.
Quoted from Adobe's blog[1]:
"""
Also, for fullscreen OpenGL acceleration, the Flash Player requires that the
client glx vendor string be something besides "SGI". Official drivers from,
e.g., ATI and Nvidia hopefully do not have "SGI" in this field (check
the 'glxinfo' command, for this string and for the extensions listed above).
"""
So it doesn't make sense to enable safe fullscreen only for NVIDIA. It already
works only with NVIDIA since all other drivers have SGI afaik :)
It think we should enable safefullscreen for all hardware. OTOH, users may
change hardware (There are also some laptops with multiple cards). One may
update flashplugin with intel card enabled then switch to nvidia etc.
BTW, enable_safefullscreen might be like this :)
def enable_safefullscreen(path):
f = open(path, "rb+")
data = f.read()
v_offset = data.index('safefullscreen') + len('safefullscreen') + 1
f.seek(v_offset)
f.write('\x01')
f.close()
[1] http://blogs.adobe.com/penguin.swf/2008/05/flash_uses_the_gpu.html
-------------- sonraki bölüm --------------
A non-text attachment was scrubbed...
Name: kullanılamıyor
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://liste.pardus.org.tr/gelistirici/attachments/20081025/7c1a1b2e/attachment-0002.pgp>
Gelistirici mesaj listesiyle ilgili
daha fazla bilgi