Skip to content

Instantly share code, notes, and snippets.

View ds-hwang's full-sized avatar

Dongseong Hwang ds-hwang

View GitHub Profile
[8280:8280:0330/193141:281075820668:ERROR:browser_main_loop.cc(172)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[8280:8280:0330/193141:281075877604:ERROR:proxy_service.cc(1456)] ProxyConfigService for ChromeOS should be created in profile_io_data.cc::CreateProxyConfigService and this should be used only for examples.
[8292:8292:0330/193141:281076237556:ERROR:gpu_lock.cc(22)] Failed to open lock file '/run/frecon': No such file or directory
[8292:8292:0330/193142:281076393394:ERROR:gl_context_egl.cc(194)] eglSwapInterval failed with error EGL_SUCCESS
[8310:8310:0330/193142:281076443675:ERROR:renderer_main.cc(200)] Running without renderer sandbox
[8320:8320:0330/193142:281076645316:ERROR:renderer_main.cc(200)] Running without renderer sandbox
[8280:8288:0330/193142:281076662865:WARNING:backend_impl.cc(1778)] Destroying invalid entry.
bo_create: buf 57 (chromium-gpu-memory-buffer) 262144b
bo_cr
@ds-hwang
ds-hwang / gist:7565587062a67de02ae2
Created April 8, 2015 11:26
drm intel crash: intel_do_flush_locked failed: Invalid argument
[4256:4256:0408/131841:10978434736:ERROR:browser_main_loop.cc(172)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[4256:4268:0408/131841:10978454212:ERROR:gpu_lock.cc(22)] Failed to open lock file '/run/frecon': No such file or directory
[4256:4256:0408/131841:10978494344:ERROR:proxy_service.cc(1506)] ProxyConfigService for ChromeOS should be created in profile_io_data.cc::CreateProxyConfigService and this should be used only for examples.
[4256:4256:0408/131841:10978497602:ERROR:fake_shill_device_client.cc(34)] Shill Error for: /device/cellular1: org.chromium.flimflam.Error.InvalidArguments : Failed
[4256:4268:0408/131841:10978606928:ERROR:gl_context_egl.cc(194)] eglSwapInterval failed with error EGL_SUCCESS
[4280:4280:0408/131842:10978943307:ERROR:renderer_main.cc(200)] Running without renderer sandbox
[4289:4289:0408/131842:10979147344:ERROR:renderer_main.cc(200)] Running without renderer san
@ds-hwang
ds-hwang / gist:d7970b049793778571b5
Created May 12, 2015 16:56
vgem_fb_test buildable
/*
* Copyright 2014 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <stdbool.h>
@ds-hwang
ds-hwang / gist:ceb2a0a8e42ad79db39b
Last active August 29, 2015 14:22
interrupts of vgem vs intel drm
VGEM case
localhost ~ # itop -a
INT NAME RATE MAX
0 [ 0 0 ] 0 Ints/s (max: 0)
1 [ 51 26 ] 0 Ints/s (max: 0)
8 [ 0 0 ] 0 Ints/s (max: 0)
9 [ 728 224 ] 0 Ints/s (max: 25)
12 [4008 1144 ] 0 Ints/s (max: 0)
16 [1858 5559 ] 6 Ints/s (max: 31)
18 [ 0 0 ] 0 Ints/s (max: 0)
dshwang:Release(master)> grep goma `find | grep ninja`
./obj/ppapi/ppapi_proxy_nacl.ninja: \"-std=gnu++11\" " --gomadir "" "--defines=\"__STDC_LIMIT_MACROS=1\" $
./obj/ppapi/ppapi_proxy_nacl.ninja: \"-std=gnu++11\" " --gomadir "" "--defines=\"__STDC_LIMIT_MACROS=1\" $
./obj/ppapi/ppapi_shared_nacl.ninja: \"-std=gnu++11\" " --gomadir "" "--defines=\"__STDC_LIMIT_MACROS=1\" $
./obj/ppapi/ppapi_shared_nacl.ninja: \"-std=gnu++11\" " --gomadir "" "--defines=\"__STDC_LIMIT_MACROS=1\" $
./obj/ppapi/ppapi_ipc_nacl.ninja: \"-std=gnu++11\" " --gomadir "" "--defines=\"__STDC_LIMIT_MACROS=1\" $
./obj/ppapi/ppapi_ipc_nacl.ninja: \"-std=gnu++11\" " --gomadir "" "--defines=\"__STDC_LIMIT_MACROS=1\" $
./obj/ppapi/ppapi_ipc_nacl.ninja: \"-std=gnu++11\" " --gomadir "" "--defines=\"__STDC_LIMIT_MACROS=1\" $
./obj/ppapi/ppapi_gles2_lib.ninja: \"-std=gnu++11\" " --gomadir "" "--defines=\"__STDC_LIMIT_MACROS=1\" $
./obj/ppapi/ppapi_gles2_lib.ninja: \"\" " --gomadir "" "--defines=\"__STD
@ds-hwang
ds-hwang / gist:976499b28982da86c195
Created October 20, 2015 13:53
telemetry fail for --browser=cros-chrome-guest
dshwang:src(gbm_one_copy2)> tools/perf/run_benchmark --browser=cros-chrome-guest --remote=10.237.104.237 smoothness.tough_texture_upload_cases --results-label=ʺzero-copyʺ --story-filter=background_color_animation.html
[ RUN ] background_color_animation.html
Traceback (most recent call last):
File "/home/dshwang/chromium/src/tools/telemetry/telemetry/internal/story_runner.py", line 83, in _RunStoryAndProcessErrorIfNeeded
state.RunStory(results)
File "/home/dshwang/chromium/src/tools/telemetry/telemetry/page/shared_page_state.py", line 298, in RunStory
self._current_page.Run(self)
File "/home/dshwang/chromium/src/tools/telemetry/telemetry/page/__init__.py", line 83, in Run
shared_state.page_test.WillNavigateToPage(self, current_tab)
File "/home/dshwang/chromium/src/tools/perf/measurements/smoothness.py", line 56, in WillNavigateToPage
@ds-hwang
ds-hwang / gist:517f3ebc300e90c0bfb6
Created November 26, 2015 14:42
gcc5.2.1 with icecc
[10/18066] SOLINK lib/libprotobuf_lite.so
FAILED: if [ ! -e lib/libprotobuf_lite.so -o ! -e lib/libprotobuf_lite.so.TOC ]; then c++ -shared -Wl,-z,now -Wl,-z,relro -Wl,--fatal-warnings -Wl,-z,defs -pthread -Wl,-z,noexecstack -fPIC -fuse-ld=gold -B/home/dshwang/chromium/src/third_party/binutils/Linux_x64/Release/bin -Wl,--disable-new-dtags -m64 --sysroot=/home/dshwang/chromium/src/build/linux/debian_wheezy_amd64-sysroot -L/home/dshwang/chromium/src/build/linux/debian_wheezy_amd64-sysroot/lib/x86_64-linux-gnu -Wl,-rpath-link=/home/dshwang/chromium/src/build/linux/debian_wheezy_amd64-sysroot/lib/x86_64-linux-gnu -L/home/dshwang/chromium/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/x86_64-linux-gnu -Wl,-rpath-link=/home/dshwang/chromium/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/x86_64-linux-gnu -L/home/dshwang/chromium/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/gcc/x86_64-linux-gnu/4.6 -Wl,-rpath-link=/home/dshwang/chromium/src/build/linux/debian_wheezy_amd64-sysroot/usr/lib/gcc/x86_64-l
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc b/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc
index 1db7033..90be4b3 100644
--- a/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc
+++ b/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc
@@ -30,7 +30,8 @@ GpuMemoryBufferImplOzoneNativePixmap::GpuMemoryBufferImplOzoneNativePixmap(
const DestructionCallback& callback,
scoped_ptr<ui::ClientNativePixmap> pixmap)
: GpuMemoryBufferImpl(id, size, format, callback),
- pixmap_(std::move(pixmap)) {}
+ pixmap_(std::move(pixmap)),
@ds-hwang
ds-hwang / gist:0c8e92e028daf22c5ecdb2b49fba60f7
Created April 26, 2016 08:34
i915 gem bo stride when using GBM_FORMAT_R8
width:1 stride:64
width:2 stride:64
width:3 stride:64
width:4 stride:64
width:5 stride:64
width:6 stride:64
width:7 stride:64
width:8 stride:64
width:9 stride:64
width:10 stride:64
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp
@@ -4266,30 +4266,30 @@ void WebGLRenderingContextBase::texImage2D(GLenum target, GLint level, GLint int
// Go through the fast path doing a GPU-GPU textures copy without a readback to system memory if possible.
// Otherwise, it will fall back to the normal SW path.
- if (GL_TEXTURE_2D == target) {
- if (Extensions3DUtil::canUseCopyTextureCHROMIUM(target, internalformat, type, level)
- && video->copyVideoTextureToPlatformTexture(contextGL(), texture->object(), internalformat, type, m_unpackPremultiplyAlpha, m_unpackFlipY)) {
- return;
- }