--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To post to this group, send email to skia-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/skia-discuss.
For more options, visit https://groups.google.com/d/optout.
The same way you built nanobench you should be able to build viewer but with the target being "viewer" (or Viewer if that doesn't work). Then just run it with out/<Debug,Release>/viewer.On Linux sadly it doesn't support switching backends in the app (some bug involving going from a GL to vulkan surface), so you can just run with the additional "-b vk" argument and it will just start in vulkan. All other things should work and you can press 'h' in the app to see what things are available.Greg
On Wed, Oct 19, 2016 at 2:02 PM Jeff Moguillansky <jmog...@gmail.com> wrote:
Thank you Greg for the quick response!--I got nanobench working with vk backend. How do I run the viewer app? Does it work on Linux PC?Thanks,Jeff
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to skia-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/skia-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss+unsubscribe@googlegroups.com.
The viewer should switch backends -- it just creates a new window to do so. If that's not working, let me know. But if you know what you want, -b on the command line is a better choice.
On Wed, Oct 19, 2016 at 2:14 PM, 'E. Greg Daniel' via skia-discuss <skia-d...@googlegroups.com> wrote:
The same way you built nanobench you should be able to build viewer but with the target being "viewer" (or Viewer if that doesn't work). Then just run it with out/<Debug,Release>/viewer.On Linux sadly it doesn't support switching backends in the app (some bug involving going from a GL to vulkan surface), so you can just run with the additional "-b vk" argument and it will just start in vulkan. All other things should work and you can press 'h' in the app to see what things are available.Greg
On Wed, Oct 19, 2016 at 2:02 PM Jeff Moguillansky <jmog...@gmail.com> wrote:
Thank you Greg for the quick response!--I got nanobench working with vk backend. How do I run the viewer app? Does it work on Linux PC?Thanks,Jeff
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To post to this group, send email to skia-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/skia-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
((c51a3a4...))skipet@skipet-PC:~/yas/skia$ grep -ir --include=\*.cpp --include=\*.hpp --include=\*.h "vkCreateInstance failed"
src/gpu/vk/GrVkBackendContext.cpp: SkDebugf("vkCreateInstance failed: %d\n", err);
((c51a3a4...))skipet@skipet-PC:~/yas/skia$
((c51a3a4...))skipet@skipet-PC:~/yas/skia$ out/Debug/nanobench --config gpu[api=vulkan]
Timer overhead: 68ns
Fixed number of loops; times would only be misleading so we won't print them.
vkCreateInstance failed: -9
while calling "err = vkCreateInstance(&instance_create, nullptr, &inst);"
where:
sType: "1"
pNext: "(nil)"
flags: "0"
pApplicationInfo (inner struct):
sType: "0"
pNext: "(nil)"
pApplicationName: "vktest"
applicationVersion: "0"
pEngineName: "vktest"
engineVersion: "0"
apiVersion: "4194312"
enabledLayerNameCount: "7"
ppEnabledLayerNames: "VK_LAYER_GOOGLE_threading"
enabledExtensionNameCount: "3"
ppEnabledExtensionNames: "VK_EXT_debug_report"
No context was available matching config type and options.
((c51a3a4...))skipet@skipet-PC:~/yas/skia$ echo $VULKAN_SDK
/home/skipet/VulkanSDK/1.0.26.0/x86_64
((c51a3a4...))skipet@skipet-PC:~/yas/skia$ out/Debug/nanobench --config gpu[api=vulkan]
Timer overhead: 50.9ns
Fixed number of loops; times would only be misleading so we won't print them.
../../../../../src/intel/vulkan/anv_device.c:414: FINISHME: Get correct values for VkPhysicalDeviceLimits
182/182 MB Xfermode_Luminosity
../../../../../src/intel/vulkan/anv_device.c:414: FINISHME: Get correct values for VkPhysicalDeviceLimits
197/197 MB Xfermode_Luminosity_aa
../../../../../src/intel/vulkan/anv_device.c:414: FINISHME: Get correct values for VkPhysicalDeviceLimits
201/201 MB Xfermode_Color
../../../../../src/intel/vulkan/anv_device.c:414: FINISHME: Get correct values for VkPhysicalDeviceLimits
203/203 MB Xfermode_Color_aa
...
// a lot of similar warnings
...
109/214 MB shapes_rect_inner_rect_500_32x32
../../../../../src/intel/vulkan/anv_device.c:414: FINISHME: Get correct values for VkPhysicalDeviceLimits
*** Error in `out/Debug/nanobench': malloc(): memory corruption: 0x0000000005805ed0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f6433e657e5]
...
// a lot of backtrace details
...
// a lot of memory map details
...
7fffddfd8000-7fffddff9000 rw-p 00000000 00:00 0 [stack]Aborted (core dumped)
((c51a3a4...))skipet@skipet-PC:~/yas/skia$ out/Debug/viewer -b vk
Command line arguments: -b vk
../../../../../src/intel/vulkan/anv_device.c:414: FINISHME: Get correct values for VkPhysicalDeviceLimits
Segmentation fault (core dumped)
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to skia-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/skia-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "skia-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/skia-discuss/uUQZTQkf-r8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to skia-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to skia-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/skia-discuss.
For more options, visit https://groups.google.com/d/optout.