New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 662336 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Dec 2016
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Enable using real GPU from content_browsertests on all platforms

Project Member Reported by aleksand...@intel.com, Nov 4 2016

Issue description

The name is probably too generic - it refers to issues related to 
test getDepthStreamAndCallGLTexImage2D introduced here:
https://crrev.com/2476693002: WebGL & 16-bit video stream: upload to FLOAT texture.

Real GPU is anyway used in the tests for Android and OSX - check "use_osmesa=false" code under 
https://cs.chromium.org/chromium/src/content/public/test/browser_test_base.cc?sq=package:chromium&rcl=1478229604&l=235

For other, real GPU needs to be used because osmesa doesn't support FLOAT.

The test calls var gl = document.createElement('canvas').getContext('webgl').

Android and Linux tests were flaky with default --single-process. 

Seems like skipping the tests for defined(USE_OZONE) || defined(OS_WIN) is sufficient, that is:

#if defined(USE_OZONE) || defined(OS_WIN)
#define MAYBE_GetDepthStreamAndCallGLTexImage2D \
  DISABLED_GetDepthStreamAndCallGLTexImage2D
#endif

Crash log on USE_OZONE:
=======================
linux_chromium_chromeos_ozone_rel_ng
https://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/265621/steps/content_browsertests%20%28with%20patch%29%20on%20Ubuntu-12.04/logs/stdio

[1103/093350:ERROR:kill_posix.cc(84)] Unable to terminate process group 5028: No such process
[ RUN      ] WebRtcDepthCaptureWebGLBrowserTest.GetDepthStreamAndCallGLTexImage2D
[5028:5028:1103/093349:37937231355:WARNING:audio_manager.cc(317)] Multiple instances of AudioManager detected
[5028:5028:1103/093349:37937231404:WARNING:audio_manager.cc(278)] Multiple instances of AudioManager detected
[5028:5028:1103/093349:37937243392:ERROR:proxy_service.cc(1519)] ProxyConfigService for ChromeOS should be created in profile_io_data.cc::CreateProxyConfigService and this should be used only for examples.
[5045:5045:1103/093349:37937244208:ERROR:gpu_child_thread.cc(328)] Exiting GPU process due to errors during initialization
[5028:5040:1103/093349:37937257781:ERROR:browser_gpu_channel_host_factory.cc(113)] Failed to launch GPU process.
[5028:5028:1103/093349:37937257768:FATAL:gpu_process_transport_factory.cc(334)] Unable to create a UI graphics context, and cannot use software compositing on ChromeOS.
#0 0x0000020b9fde base::debug::StackTrace::StackTrace()
#1 0x0000020cb30a logging::LogMessage::~LogMessage()
#2 0x000001c3fa0b content::GpuProcessTransportFactory::EstablishedGpuChannel()
#3 0x000001c427db _ZN4base8internal13FunctorTraitsIMN7content26GpuProcessTransportFactoryEFvNS_7WeakPtrIN2ui10CompositorEEEbi13scoped_refptrIN3gpu14GpuChannelHostEEEvE6InvokeIRKNS4_IS3_EEJRKS7_RKbRKiSB_EEEvSD_OT_DpOT0_
#4 0x000001c42756 _ZN4base8internal7InvokerINS0_9BindStateIMN7content26GpuProcessTransportFactoryEFvNS_7WeakPtrIN2ui10CompositorEEEbi13scoped_refptrIN3gpu14GpuChannelHostEEEJNS5_IS4_EES8_biEEEFvSC_EE3RunEPNS0_13BindStateBaseEOSC_
#5 0x000001930449 content::BrowserGpuChannelHostFactory::GpuChannelEstablished()
#6 0x00000192ff59 content::BrowserGpuChannelHostFactory::EstablishRequest::FinishOnMain()
#7 0x0000007ec734 _ZN4base8internal7InvokerINS0_9BindStateIMN7content12_GLOBAL__N_123WorkerActivatedObserverEFvvEJ13scoped_refptrIS5_EEEEFvvEE3RunEPNS0_13BindStateBaseE
#8 0x00000213e4c6 base::debug::TaskAnnotator::RunTask()
#9 0x0000020d3abd base::MessageLoop::RunTask()
#10 0x0000020d3db8 base::MessageLoop::DeferOrRunPendingTask()
#11 0x0000020d40fb base::MessageLoop::DoWork()
#12 0x0000020d63d9 base::MessagePumpLibevent::Run()
#13 0x0000020d37c9 base::MessageLoop::RunHandler()
#14 0x0000020f07e0 base::RunLoop::Run()
#15 0x000001cfa7c1 content::ContentBrowserTest::RunTestOnMainThreadLoop()
#16 0x000001cff038 content::BrowserTestBase::ProxyRunTestOnMainThreadLoop()
#17 0x000001d5b7b4 content::ShellBrowserMainParts::PreMainMessageLoopRun()
#18 0x0000018089c5 content::BrowserMainLoop::PreMainMessageLoopRun()
#19 0x000001ba09b6 content::StartupTaskRunner::RunAllTasksNow()
#20 0x000001806f11 content::BrowserMainLoop::CreateStartupTasks()
#21 0x00000180b2b7 content::BrowserMainRunnerImpl::Initialize()
#22 0x000001d40c2b ShellBrowserMain()
#23 0x000001d372c2 content::ShellMainDelegate::RunProcess()
#24 0x000001763ece content::RunNamedProcessTypeMain()
#25 0x0000017648c3 content::ContentMainRunnerImpl::Run()
#26 0x00000175d3a0 content::ContentMain()
#27 0x000001cfe990 content::BrowserTestBase::SetUp()
#28 0x000001cfa67e content::ContentBrowserTest::SetUp()
#29 0x000001e73728 testing::Test::Run()
#30 0x000001e744d3 testing::TestInfo::Run()
#31 0x000001e74967 testing::TestCase::Run()
#32 0x000001e7bea7 testing::internal::UnitTestImpl::RunAllTests()
#33 0x000001e7bb0a testing::UnitTest::Run()
#34 0x000001d1e6e1 base::TestSuite::Run()
#35 0x000001cfde24 content::ContentTestLauncherDelegate::RunTestSuite()
#36 0x000001d11521 content::LaunchTests()
#37 0x000001cfdde3 main
#38 0x7fc809fab7ed __libc_start_main
#39 0x000000496381 <unknown>

cast_shell_linux trace
======================
Attached.

Crash log on Windows:
=====================
WebRtcGetUserMediaDepthVideoBrowserTest.GetDepthStreamAndGLTexImageToFloatTexture (run #1):
[ RUN      ] WebRtcGetUserMediaDepthVideoBrowserTest.GetDepthStreamAndGLTexImageToFloatTexture
[6476:6648:1031/163204:43110080:ERROR:angle_platform_impl.cc(33)] ANGLE Display::initialize error 4: Could not create D3D11 device.
[6476:6648:1031/163204:43110080:ERROR:gl_surface_egl.cc(630)] eglInitialize D3D11 failed with error EGL_NOT_INITIALIZED, trying next display type
[6476:6648:1031/163205:43111094:ERROR:angle_platform_impl.cc(33)] ANGLE Display::initialize error 4: Renderer does not support PS 3.0.aborting!
[6476:6648:1031/163205:43111094:ERROR:gl_surface_egl.cc(630)] eglInitialize D3D9 failed with error EGL_NOT_INITIALIZED
[6476:6648:1031/163205:43111094:ERROR:gl_initializer_win.cc(272)] GLSurfaceEGL::InitializeOneOff failed.
[6476:6648:1031/163205:43111094:ERROR:gpu_child_thread.cc(328)] Exiting GPU process due to errors during initialization
[4444:6120:1031/163205:43111188:ERROR:browser_gpu_channel_host_factory.cc(113)] Failed to launch GPU process.

Crash logs are similar to those in  Issue 510291 .

I'm adding this bug to accompany TODO item in webrtc_depth_capture_browsertest.cc (https://crrev.com/2476693002).

 
cast_shell_linux_trace.txt
17.2 KB View Download
Owner: aleksand...@intel.com
Status: Assigned (was: Untriaged)
Issue on linux_chromium_chromeos_msan_rel_ng:

SUMMARY: MemorySanitizer: use-of-uninitialized-value (/usr/lib/x86_64-linux-gnu/mesa/libGL.so.1+0x1ade8)
Exiting
[17581:17581:1104/162518:18424381815:FATAL:gpu_process_transport_factory.cc(334)] Unable to create a UI graphics context, and cannot use software compositing on ChromeOS.
#0 0x0000005518e0 __interceptor_backtrace
#1 0x00000844a1a7 base::debug::StackTrace::StackTrace()
#2 0x0000084902b7 logging::LogMessage::~LogMessage()
#3 0x0000070a76e7 content::GpuProcessTransportFactory::EstablishedGpuChannel()
#4 0x0000070b7edf _ZN4base8internal13FunctorTraitsIMN7content26GpuProcessTransportFactoryEFvNS_7WeakPtrIN2ui10CompositorEEEbi13scoped_refptrIN3gpu14GpuChannelHostEEEvE6InvokeIRKNS4_IS3_EEJRKS7_RKbRKiSB_EEEvSD_OT_DpOT0_
#5 0x0000070b7af2 _ZN4base8internal7InvokerINS0_9BindStateIMN7content26GpuProcessTransportFactoryEFvNS_7WeakPtrIN2ui10CompositorEEEbi13scoped_refptrIN3gpu14GpuChannelHostEEEJNS5_IS4_EES8_biEEEFvSC_EE3RunEPNS0_13BindStateBaseEOSC_
#6 0x00000633e953 content::BrowserGpuChannelHostFactory::GpuChannelEstablished()
#7 0x00000633df06 content::BrowserGpuChannelHostFactory::EstablishRequest::FinishOnMain()
#8 0x0000086c1e80 base::debug::TaskAnnotator::RunTask()
#9 0x0000084b414d base::MessageLoop::RunTask()
#10 0x0000084b55ab base::MessageLoop::DeferOrRunPendingTask()
#11 0x0000084b6d39 base::MessageLoop::DoWork()

Details in attached file.
linux_chromium_chromeos_msan_rel_ng_issue.txt
24.9 KB View Download
Status: WontFix (was: Assigned)
WontFix as there is no real usage anymore for this. The tests in question were moved to gpu tests which are guaranteed to work.

Sign in to add a comment