nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   NVIDIA, please, fix Adobe Flash 10.2.x and 10.3.x (http://www.nvnews.net/vbulletin/showthread.php?t=161664)

artem 04-19-11 02:15 AM

NVIDIA, please, fix Adobe Flash 10.2.x and 10.3.x
 
1 Attachment(s)
Adobe Flash player versions 10.2.x and 10.3.x are extremely buggy and almost unusable under NVIDIA drivers.

1) In Mozilla Firefox 4.0 it's impossible to smooth scroll some pages containing even static flash clips, like this one - when you try to scroll, CPU usage goes through the roof and scrolling becomes extremely jerky. Meanwhile if you manage to scroll, some flash clips will stop rendering properly and you'll see large gray areas instead of flash contents. See the attached screenshot.

2) When you load a flash video clip (e.g. youtube's one) in one of Mozilla Firefox tabs, then you switch to another application or Firefox tab, video contents will appear through the black areas of that application. E.g. just run a terminal emulator with the black background and you'll see the entire video clip on top of terminal window. I cannot make a screenshot of this problem, because it's some sort of X.org server glitch. Maybe people with cameras can make a screenshot of this issue. This issue is also discussed here and here.

3) When you try to maximize a flash video (tested with Flash 10.3 d180), or leave a page when a video is still playing, the system will completely stall for up to three seconds. Mouse will stop moving, if you were playing audio in this moment, it will stutter (as if the buffer stopped filling).

With my 8800GT I get these dmesg messages when this stall occurs:
Code:

NVRM: Xid (0000:01:00): 56, CMDre 00000003 0000080c 00000010 00000004 00000084
NVRM: Xid (0000:01:00): 56, CMDre 00000003 000003fc 00040800 00000003 00000000
NVRM: Xid (0000:01:00): 56, CMDre 00000003 00000400 00000000 00000003 00000000
NVRM: Xid (0000:01:00): 56, CMDre 00000003 00000080 00000000 00000005 00000006
NVRM: Xid (0000:01:00): 56, CMDre 00000003 0000080c 00000010 00000004 00000084
NVRM: Xid (0000:01:00): 56, CMDre 00000003 00000080 00000000 00000005 00000006

A few minutes ago my computer completely hung after I had completed watching a full screen youtube video - at this moment the video should have closed and become a part of a webpage.

My X.org log contains this:
Code:

[mi] EQ overflowing. The server is probably stuck in an infinite loop.
Backtrace:
0: /usr/bin/X (xorg_backtrace+0x3c) [0x80e834c]
1: /usr/bin/X (mieqEnqueue+0x1b7) [0x80e7777]
2: /usr/bin/X (xf86PostMotionEventP+0xd2) [0x80c3122]
3: /usr/lib/xorg/modules/input/evdev_drv.so (0xb4bb0000+0x2b92) [0xb4bb2b92]
4: /usr/lib/xorg/modules/input/evdev_drv.so (0xb4bb0000+0x3b99) [0xb4bb3b99]
5: /usr/bin/X (0x8048000+0x68950) [0x80b0950]
6: /usr/bin/X (0x8048000+0x121b6c) [0x8169b6c]
7: (vdso) (__kernel_sigreturn+0x0) [0xb7798400]
8: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0xb5107000+0x1080d3) [0xb520f0d3]

dmesg contains this:
Code:

NVRM: Xid (0000:01:00): 56, CMDre 00000003 000000c0 b0ef10ab 00000007 00000000
NVRM: Xid (0000:01:00): 56, CMDre 00000003 0000080c b0ef10ab 00000004 00000084
NVRM: Xid (0000:01:00): 56, CMDre 00000003 00000810 000c0088 00000004 00000084
NVRM: Xid (0000:01:00): 56, CMDre 00000003 00000080 00000000 00000005 00000006
NVRM: Xid (0000:01:00): 56, CMDre 00000003 000000c0 b0ef10ad 00000007 00000000
NVRM: Xid (0000:01:00): 56, CMDre 00000003 00000080 00000000 00000005 00000006
NVRM: Xid (0000:01:00): 56, CMDre 00000003 000000c0 b0ef10ab 00000007 00000000
NVRM: Xid (0000:01:00): 56, CMDre 00000003 00000080 00000000 00000005 00000006
NVRM: Xid (0000:01:00): 56, CMDre 00000003 000000c0 b0ef10ad 00000007 00000000
NVRM: Xid (0000:01:00): 56, CMDre 00000003 00000080 00000000 00000005 00000006

This issue is also discussed here.

P.S. I'm running Fedora 14 i686 with all updates installed, vanilla kernel 2.6.28.3 and NVIDIA drivers 270.41.03.

P.P.S. If you experience any of the mentioned problems, please, add a comment.

Licaon 04-19-11 06:05 AM

Re: NVIDIA, please, fix Adobe Flash 10.2.x and 10.3.x
 
can you read http://www.nvnews.net/vbulletin/showthread.php?t=46678 and generate a good report with the debug ( -logverbose 6 ) info as instructed after the issue appears ?

what other browsers did you test?

do you have /etc/adobe/mms.cfg ?:
Code:

EnableLinuxHWVideoDecode=1
OverrideGPUValidation=true

did you read this too: http://www.nvnews.net/vbulletin/show...4&postcount=58 ?

zbiggy 04-19-11 07:19 AM

Re: NVIDIA, please, fix Adobe Flash 10.2.x and 10.3.x
 
Quote:

Originally Posted by artem (Post 2420435)
Adobe Flash player versions 10.2.x and 10.3.x are extremely buggy and almost unusable under NVIDIA drivers.

1) In Mozilla Firefox 4.0 it's impossible to smooth scroll some pages containing even static flash clips, like this one - when you try to scroll, CPU usage goes through the roof and scrolling becomes extremely jerky. Meanwhile if you manage to scroll, some flash clips will stop rendering properly and you'll see large gray areas instead of flash contents. See the attached screenshot.

2) When you load a flash video clip (e.g. youtube's one) in one of Mozilla Firefox tabs, then you switch to another application or Firefox tab, video contents will appear through the black areas of that application. E.g. just run a terminal emulator with the black background and you'll see the entire video clip on top of terminal window. I cannot make a screenshot of this problem, because it's some sort of X.org server glitch. Maybe people with cameras can make a screenshot of this issue. This issue is also discussed here and here.

3) When you try to maximize a flash video (tested with Flash 10.3 d180), or leave a page when a video is still playing, the system will completely stall for up to three seconds. Mouse will stop moving, if you were playing audio in this moment, it will stutter (as if the buffer stopped filling).

A few minutes ago my computer completely hung after I had completed watching a full screen youtube video - at this moment the video should have closed and become a part of a webpage.

P.P.S. If you experience any of the mentioned problems, please, add a comment.

Yes I had all the bugs you are talking about.
Here is the fix for all problems you are talking about:
You have to disable OpenGL hardware acceleration in Flash menu.
Go to the page you are talking about. Right click on the flash content (for example charts on this page). Choose 'Settings...' from flash context menu. On first tab uncheck 'Enable hardware acceleration' which is enabled as default. Since now everything is stable. I use flash 10,3,180,65 and firefox4. I was on the page you mentioned and everything is rock solid stable there. You can keep using:
EnableLinuxHWVideoDecode=1
OverrideGPUValidation=true
because they have nothing in common with the bugs you encounter.

It looks Flash plugin is using GLX in a way which makes Nvidia driver stuck or doing crazy things with display.

gradinaruvasile 04-19-11 07:32 AM

Re: NVIDIA, please, fix Adobe Flash 10.2.x and 10.3.x
 
Flash is buggy and always was. But the newer ones are buggier still.

Here is another discussion of it:

http://www.nvnews.net/vbulletin/show...=159619&page=2

I have a 8200 IGP and flash 10.2/10.3 from Adobe are buggy with it. The Chrome flash version (10.3 d180) works well (anyway, in the bounds of Flash plugin stability as we know it).
There is a prerelease 11 version named "incubator". That seems to work better somewhat.

ShiningArcanine 04-19-11 10:55 AM

Re: NVIDIA, please, fix Adobe Flash 10.2.x and 10.3.x
 
I am using Gentoo Linux and I have no problems with flash. There is a bug report with a workaround for this on the Fedora bug tracker. It is not an Nvidia problem:

https://bugzilla.redhat.com/show_bug.cgi?id=638477

The issue is that flash uses memcpy() where it should be using memmove(). The change in glibc to memcpy() broke the incorrect code and Adobe so far refuses to fix their bug. The workarounds that can be done are to patch the binary to call memmove(), patch glibc to only copy forward or downgrade glibc.

artem 04-19-11 12:03 PM

Re: NVIDIA, please, fix Adobe Flash 10.2.x and 10.3.x
 
Licaon

I don't have /etc/adobe/mms.cfg file. Hardware acceleration is not used (at least on YouTube I see "undefined renderer"). I'm sorry I will not attach nvidia-bug-report because this bug is 100% reproducible on any 8xxx/9xxx GPU on Fedora 14 i686 with NVIDIA drivers 270.41.03 and Mozilla Firefox 4 (from ftp.mozilla.org). I guess NVIDIA can reproduce it in a matter of seconds.

ShiningArcanine

The bug you have mentioned is related to audio problems. I have no problems with audio playback at all.

artem 04-19-11 12:11 PM

Re: NVIDIA, please, fix Adobe Flash 10.2.x and 10.3.x
 
Quote:

Originally Posted by zbiggy (Post 2420489)
Go to the page you are talking about. Right click on the flash content (for example charts on this page). Choose 'Settings...' from flash context menu. On first tab uncheck 'Enable hardware acceleration' which is enabled as default. Since now everything is stable.

I know about this "workaround", thanks for reminding us about it :)

However no matter how Adobe Flash uses OpenGL/X.org server resources the described problems just shouldn't exists in the first place.

AFAIK Adobe Flash 10.2.x and 10.3.x work correctly on any other video accelerators and drivers (including nouveau). So my gut feeling says to me that it's a problem with NVIDIA blob.

gradinaruvasile 04-19-11 12:49 PM

Re: NVIDIA, please, fix Adobe Flash 10.2.x and 10.3.x
 
The problem manifests because the nvidia driver has the most advanced acceleration/gpu-decoding available (vdpau) and the flash plugin wants to take advantage of it.
The problem is that this is implemented in a way that triggers some bugs from the driver.
So this is both Adobes and Nvidias problem.
Adobe because shipped a product that fails to deliver its biggest improvement - i dont know how they tested it because i spotted these issues at first glance running a video from youtube...
And nvidia because, well, of course, the bugs. Now i understand that vdpau is a feature targeted to users of a small segment of users of their (newer) products so fully debugging it is not as easy.

I use the flash plugin that is bundled with Chrome. That has no such issues. And for youtube there is an excellent FF extension that replaces flash with mplayer - install mplayer (the vdpau-capable version recommended) and gnome-mplayer beforehand:

https://addons.mozilla.org/en-US/fir...videoreplacer/

P.S. This issue is probably happening only to the newer nvidia cards that support VDPAU (8xxx series and up and some Quadro NVS ones).

one_and_only 04-20-11 09:23 AM

Re: NVIDIA, please, fix Adobe Flash 10.2.x and 10.3.x
 
What is your experience with Twin View and Flash? Does anybody have working combination? Because for me, full screen always has the size (resolution) of smaller device. I got working combination once, it was with first flash build supporting VDPAU, and only on Firefox. Does it work fine for somebody?

ShiningArcanine 04-20-11 09:24 AM

Re: NVIDIA, please, fix Adobe Flash 10.2.x and 10.3.x
 
Quote:

Originally Posted by artem (Post 2420610)
Licaon

I don't have /etc/adobe/mms.cfg file. Hardware acceleration is not used (at least on YouTube I see "undefined renderer"). I'm sorry I will not attach nvidia-bug-report because this bug is 100% reproducible on any 8xxx/9xxx GPU on Fedora 14 i686 with NVIDIA drivers 270.41.03 and Mozilla Firefox 4 (from ftp.mozilla.org). I guess NVIDIA can reproduce it in a matter of seconds.

ShiningArcanine

The bug you have mentioned is related to audio problems. I have no problems with audio playback at all.

The "bug" I mentioned affects audio, but it is neither an audio bug nor a single bug. It affects all software doing overlapping memory copies with memcpy(). The mere act of doing such a thing is illegal in ANSI C.

artem 04-20-11 12:41 PM

Re: NVIDIA, please, fix Adobe Flash 10.2.x and 10.3.x
 
Quote:

Originally Posted by ShiningArcanine (Post 2421039)
The "bug" I mentioned affects audio, but it is neither an audio bug nor a single bug. It affects all software doing overlapping memory copies with memcpy(). The mere act of doing such a thing is illegal in ANSI C.

The initial implementation of this function in glibc implied a certain behaviour (I won't argue if it's wrong or right, Linus, and I support his POV, thinks that that behaviour indeed can be expected and used) which then was changed abruptly in consequent glibc releases.

So don't be too fast to blame only flash developers for (mis)using this function. glibc developers should have announced they are changing its behaviour but they didn't do that.

one_and_only 04-20-11 07:49 PM

Re: NVIDIA, please, fix Adobe Flash 10.2.x and 10.3.x
 
BTW, there is a new build of Flash 10.3 - 10.3 r181:
http://labs.adobe.com/downloads/flashplayer10-3.html

Full screen is a real full screen on FF4, on Chromium 12 it's still of the size of smaller display, but it seems that this is issue of Chromium..


All times are GMT -5. The time now is 09:11 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.