secondlife / jira-archive

2 stars 0 forks source link

[BUG-37791] [Win LibVLC] Severe flickering of media after the CEF 1.5.3.319334 update. #12098

Open sl-service-account opened 8 years ago

sl-service-account commented 8 years ago

Steps to Reproduce

Attachments

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-37791 | | Summary | [Win LibVLC] Severe flickering of media after the CEF 1.5.3.319334 update. | | Type | Bug | | Priority | Unset | | Status | Accepted | | Resolution | Accepted | | Reporter | Whirly Fizzle (whirly.fizzle) | | Created at | 2016-09-06T01:17:47Z | | Updated at | 2016-09-14T22:28:31Z | ``` { 'Business Unit': ['Platform'], 'Date of First Response': '2016-09-06T16:33:10.598-0500', 'ReOpened Count': 0.0, 'Severity': 'Unset', 'System': 'SL Viewer', 'Target Viewer Version': 'viewer-development', 'What just happened?': 'Filling in...', 'What were you doing when it happened?': '....', 'What were you expecting to happen instead?': '....', } ```
sl-service-account commented 8 years ago

Nicky Dasmijn commented at 2016-09-06T21:33:11Z

This is an issue with hardware acceleration. This seems to be an issue for Windows, with NVidia cards and using the off screen render.

There's other software that had the same problem; sadly the only solution I have found is to disable gpu rendering in llceflib (passing "disable-gpu" as a command line switch).

Please see https://bitbucket.org/NickyD/3p-llceflib_bug-37791/commits/47425cc18f4a38a955de2683509e99ee5de03181 (or https://bitbucket.org/lindenlab/3p-llceflib/pull-requests/7/bug-37791-disable-gpu-to-avoid-flickering/diff)

sl-service-account commented 8 years ago

Callum Linden commented at 2016-09-07T00:30:44Z

In my testing earlier with this, I found that adding command_line->AppendSwitch("disable-gpu-compositing"); was the one to fix it. Do you know the difference between that and plain old disable-cpu before I start digging?

sl-service-account commented 8 years ago

Whirly Fizzle commented at 2016-09-09T22:14:01Z

The flickering is fixed on http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/viewer-vlc/rev/319443/index.html

sl-service-account commented 8 years ago

Callum Linden commented at 2016-09-09T22:47:15Z

That is strange - there have been no CEF changes and the issue is definitely CEF plus I have a fix that we're looking at now but it's not in the branch yet.

sl-service-account commented 8 years ago

Whirly Fizzle commented at 2016-09-10T00:08:43Z

Oh weird. I couldn't reproduce it on that build at all o.O

sl-service-account commented 8 years ago

Pavel ProductEngine commented at 2016-09-14T16:54:04Z, updated at 2016-09-14T16:54:51Z

Whirly, can you please confirm that it is fixed in http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/viewer-vlc/rev/319766/index.html ?

sl-service-account commented 8 years ago

Callum Linden commented at 2016-09-14T17:03:47Z

Nicky - have you tried just the command_line->AppendSwitch("disable-gpu-compositing"); option? and not the full on command_line->AppendSwitch("disable-gpu"); ? That worked for me on my Windows 10 and OS X boxes and allowed us to retain WebGL functionality. Might be specific to GPUs though which is annoying.

sl-service-account commented 8 years ago

Whirly Fizzle commented at 2016-09-14T18:04:47Z

@Pavel So far on Second Life 4.1.1.319766 (Second Life Release) I'm not seeing any flickering.

I'm still having audio problems when playing though, which I've presumed to be BUG-20178 in the past, but isn't that bug supposed to be fixed now? The audio problems repro on my Windows 7 desktop and my Windows 10 laptop. Around 50% of the time I play media (MOAP or internal web browser), I will have no audio at all or there is audio but its so quiet I can't hear it, even with master & media volume cranked up to maximum). Audio just randomly fails for the same media URLs audio played previously. This only repros for me on VLC builds.

For example, currently I'm unable to hear audio when playing the following media in the internal web browser: https://callum-linden.s3.amazonaws.com/sample_media/ss.mp4 https://callum-linden.s3.amazonaws.com/sample_media/jumprope.webm

I can hear audio on http://www.gamingdelight.com/games/bubbleshooter.php

This page will not load at all in the internal web browser, is it supposed to? https://callum-linden.s3.amazonaws.com/alegria.mp3

Desktop:

Second Life 4.1.1.319766 (Second Life Release)
Release Notes

You are at 92.4, 52.3, 21.8 in Testylvania Sandbox located at sim10362.agni.lindenlab.com (216.82.51.12:13008)
SLURL: http://maps.secondlife.com/secondlife/Testylvania%20Sandbox/92/52/22
(global coordinates 332,636.0, 306,228.0, 21.8)
Second Life RC BlueSteel 16.08.31.319299
Error fetching server release notes URL.

CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (3491.91 MHz)
Memory: 16268 MB
OS Version: Microsoft Windows 7 64-bit Service Pack 1 (Build 7601)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce GTX 750/PCIe/SSE2

Windows Graphics Driver Version: 21.21.0013.7254
OpenGL Version: 4.5.0 NVIDIA 372.54

J2C Decoder Version: KDU v7.2
Audio Driver Version: FMOD Ex 4.44.31
LLCEFLib/CEF Version: 1.5.3-(CEF-WIN-3.2704.1434-32)
LibVLC Version: 2.2.4
Voice Server Version: Vivox 4.6.0017.22050

Packets Lost: 52/64,245 (0.1%)
September 14 2016 11:03:29
sl-service-account commented 8 years ago

Whirly Fizzle commented at 2016-09-14T19:35:45Z

Another problem I can consistently reproduce on that test build, same system info as above.

The login screen fails to populate any of the widgets apart from the grid status: http://prnt.sc/ci1dd4 Once logged in world, I can load the content of the destination guide & search floaters though.

This does not reproduce on earlier VLC builds, for example Second Life 4.0.6.316258 (Second Life Project VLC Media Plugin) http://prnt.sc/ci1lqf

Also does not reproduce on default release.

sl-service-account commented 8 years ago

Whirly Fizzle commented at 2016-09-14T19:41:42Z

I'm unable to load those widgets when viewing http://viewer-login.agni.lindenlab.com/ in the internal web browser on the test build too. Test build: http://prnt.sc/ci1p20 Default release is okay: http://prnt.sc/ci1pfe

sl-service-account commented 8 years ago

Whirly Fizzle commented at 2016-09-14T19:50:45Z

Should I file new JIRA issues for the broken login screen and the audio problem? (presuming it isn't BUG-20178).

sl-service-account commented 8 years ago

Callum Linden commented at 2016-09-14T19:51:19Z

Seems like there is something about that web page that Chrome doesn't like - desktop Chrome (53) fails to render it too. Screenshot attached.

The newest LLCEFLib is "like" Chrome 51 so I'd imagine something they changed around that time broke something in the login JavaScript code.

sl-service-account commented 8 years ago

Callum Linden commented at 2016-09-14T19:55:58Z

Many of us have tried to reproduce the audio issue but without success. Will defer to G and QA to decide how to proceed. I think a JIRA for login page issues is a good idea.

sl-service-account commented 8 years ago

Whirly Fizzle commented at 2016-09-14T20:07:15Z, updated at 2016-09-14T20:19:58Z

More problems that appear to be new on this test build (I suspect it's the CEF update).

sl-service-account commented 8 years ago

Whirly Fizzle commented at 2016-09-14T20:35:20Z

@Callum Filed BUG-40505 - Login page widgets do not load with CEF version 1.5.3-(CEF-WIN-3.2704.1434-32)

sl-service-account commented 8 years ago

Whirly Fizzle commented at 2016-09-14T21:54:28Z

@Callum I think this is my drop down list bug https://bitbucket.org/chromiumembedded/cef/issues/1988/windows-2785-select-popup-does-not-display

sl-service-account commented 8 years ago

Callum Linden commented at 2016-09-14T22:02:05Z

Thanks on both counts Whirly. Looks like Marshall fixed the latter one which we'll pick up in due course. You can get a sense of how the CEF build numbers vs Chrome number etc. work here: https://cefbuilds.com/

sl-service-account commented 8 years ago

Nicky Dasmijn commented at 2016-09-14T22:04:44Z

I notice Whirly was busy on this one and the Jira grew out of leaps and bounds, all her fault of course!

I did not try with just disable-gpu-compositing, as the problem did not reproduce for me at all. This must either be due to Linux or AMD graphics. I am as well in favor of disable-gpu-compositing if this fixes the problem across the board w/o any side effects.

On a side note is it easier to reach me via mail or Skype, as I do not follow Jira as rigorous as the girl from the UK, who's name shall be avoided.

sl-service-account commented 8 years ago

Nicky Dasmijn commented at 2016-09-14T22:25:15Z

{QUOTE}The newest LLCEFLib is "like" Chrome 51 so I'd imagine something they changed around that time broke something in the login JavaScript code.{QUOTE}

That will kill Vista as far as I am aware. (https://chrome.googleblog.com/2015/11/updates-to-chrome-platform-support.html) I this a deliberate choice?

sl-service-account commented 8 years ago

Callum Linden commented at 2016-09-14T22:28:31Z

Good catch Nicky. I'll find out.