WebGL works on Firefox but not on Chrome - google-chrome

I have Lenovo laptop with a GeForce GT 755M/PCIe/SSE2 running Fedora 21 with Bumblebee installed.
I have tried multiple things to make WebGL work on Google Chrome, however nothing worked.
The weired thing though, is that the WebGL works on Firefox on the same computer.
When running chrome via primusrun /usr/bin/google-chrome-stable I get the following messages:
[16014:16014:0528/154015:ERROR:url_pattern_set.cc(240)] Invalid url pattern: chrome://print/*
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[10:10:0528/154017:ERROR:resource_request_policy.cc(57)] Denying load of chrome-extension://apdfllckaahabafndbhieahigkjlhalf/page_embed_script.js from hosted app.
[10:10:0528/154018:ERROR:resource_request_policy.cc(57)] Denying load of chrome-extension://apdfllckaahabafndbhieahigkjlhalf/page_embed_script.js from hosted app.
[16014:16014:0528/154018:ERROR:display_info_provider_aura.cc(30)] Not implemented reached in virtual void extensions::DisplayInfoProviderAura::UpdateDisplayUnitInfoForPlatform(const gfx::Display &, extensions::core_api::system_display::DisplayUnitInfo *)
[3,781924864:18:40:18.176817] Native Client module will be loaded at base address 0x00004c2f00000000
[16014:16014:0528/154022:ERROR:command_buffer_proxy_impl.cc(164)] Could not send GpuCommandBufferMsg_Initialize
[16014:16014:0528/154022:ERROR:webgraphicscontext3d_command_buffer_impl.cc(209)] CommandBufferProxy::Initialize failed.
[16014:16014:0528/154022:ERROR:webgraphicscontext3d_command_buffer_impl.cc(226)] Failed to initialize command buffer.
[57:87:0528/154022:ERROR:command_buffer_proxy_impl.cc(164)] Could not send GpuCommandBufferMsg_Initialize.
[125:136:0528/154022:ERROR:command_buffer_proxy_impl.cc(164)] Could not send GpuCommandBufferMsg_Initialize.
[57:87:0528/154022:ERROR:webgraphicscontext3d_command_buffer_impl.cc(209)] CommandBufferProxy::Initialize failed.
[125:136:0528/154022:ERROR:webgraphicscontext3d_command_buffer_impl.cc(209)] CommandBufferProxy::Initialize failed.
[57:87:0528/154022:ERROR:webgraphicscontext3d_command_buffer_impl.cc(226)] Failed to initialize command buffer.
[125:136:0528/154022:ERROR:webgraphicscontext3d_command_buffer_impl.cc(226)] Failed to initialize command buffer.
[118:133:0528/154022:ERROR:gpu_channel_host.cc(175)] GpuChannelHost::CreateViewCommandBuffer failed.
[118:133:0528/154022:ERROR:webgraphicscontext3d_command_buffer_impl.cc(226)] Failed to initialize command buffer.
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[16014:16014:0528/154022:ERROR:gpu_channel_host.cc(222)] Failed to send GpuChannelMsg_CreateOffscreenCommandBuffer.
[16014:16014:0528/154022:ERROR:webgraphicscontext3d_command_buffer_impl.cc(226)] Failed to initialize command buffer.
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[16342:16342:0528/184023:ERROR:gles2_cmd_decoder.cc(11748)] [GroupMarkerNotSet(crbug.com/242999)!:D05C467B47380000]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[16342:16342:0528/184023:ERROR:gles2_cmd_decoder.cc(6570)] [GroupMarkerNotSet(crbug.com/242999)!:D05C467B47380000]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[16342:16342:0528/184023:ERROR:gles2_cmd_decoder.cc(11748)] [GroupMarkerNotSet(crbug.com/242999)!:D05C467B47380000]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[16342:16342:0528/184023:ERROR:gles2_cmd_decoder.cc(6570)] [GroupMarkerNotSet(crbug.com/242999)!:D05C467B47380000]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[16342:16342:0528/184023:ERROR:gles2_cmd_decoder.cc(11748)] [GroupMarkerNotSet(crbug.com/242999)!:D05C467B47380000]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[16342:16342:0528/184023:ERROR:gles2_cmd_decoder.cc(6570)] [GroupMarkerNotSet(crbug.com/242999)!:D05C467B47380000]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[57:87:0528/154023:ERROR:gpu_channel_host.cc(175)] GpuChannelHost::CreateViewCommandBuffer failed.
[57:87:0528/154023:ERROR:webgraphicscontext3d_command_buffer_impl.cc(226)] Failed to initialize command buffer.
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[16014:16053:0528/154023:ERROR:browser_gpu_channel_host_factory.cc(146)] Failed to create channel.
[16014:16388:0528/154028:ERROR:get_updates_processor.cc(243)] PostClientToServerMessage() failed during GetUpdates
[10:10:0528/154031:ERROR:resource_request_policy.cc(57)] Denying load of chrome-extension://apdfllckaahabafndbhieahigkjlhalf/page_embed_script.js from hosted app.
The page chrome://gpu also shows:
GpuProcessHostUIShim: The GPU process crashed!
GpuProcessHostUIShim: The GPU process crashed!
[16342:16342:0528/184023:ERROR:gles2_cmd_decoder.cc(11748)] : [GroupMarkerNotSet(crbug.com/242999)!:D05C467B47380000]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[16342:16342:0528/184023:ERROR:gles2_cmd_decoder.cc(6570)] : [GroupMarkerNotSet(crbug.com/242999)!:D05C467B47380000]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[16342:16342:0528/184023:ERROR:gles2_cmd_decoder.cc(11748)] : [GroupMarkerNotSet(crbug.com/242999)!:D05C467B47380000]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[16342:16342:0528/184023:ERROR:gles2_cmd_decoder.cc(6570)] : [GroupMarkerNotSet(crbug.com/242999)!:D05C467B47380000]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[16342:16342:0528/184023:ERROR:gles2_cmd_decoder.cc(11748)] : [GroupMarkerNotSet(crbug.com/242999)!:D05C467B47380000]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[16342:16342:0528/184023:ERROR:gles2_cmd_decoder.cc(6570)] : [GroupMarkerNotSet(crbug.com/242999)!:D05C467B47380000]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
GpuProcessHostUIShim: The GPU process crashed!
WARNING: Hardware acceleration is unavailable.

Related

In my code is correct but after the run time error occurred in at Mozilla Firefox does not open

Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line
How to resolve this issue

Errors thrown when trying to run basic.sh in sosumi

I was hoping that you could help me. I've been stuck on this problem for quite a while.
When I try to start up the clover boot loader or run the basic.sh file, I get these errors in the terminal:
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.sse4.1 [bit 19]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.sse4.2 [bit 20]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.movbe [bit 22]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.aes [bit 25]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.xsave [bit 26]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.avx [bit 28]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.bmi1 [bit 3]
qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:EBX.avx2 [bit 5]
etc.
I have no idea what they mean. Could you please tell me a solution? I've tried uninstalling and reinstalling manually. It didn't work and it threw these errors at me again. I followed the instructions in the readme: https://github.com/foxlet/macOS-Simple-KVM
Qemu and everything it needs, all the dependencies are installed on my computer.
When I run the clover bootloader, it just shows a bunch of text then brings me back to the menu. I hit enter again. last time i kept ending up in the shell, and I don't know why.
Why does it keep crashing? Could you tell me pls how to fix it?
This is the second time I'm struggling with this, please help.
UPDATE: I tried using this repo: https://github.com/kholia/OSX-KVM and got the same errors. It's still not working.
The shell script you're running starts QEMU asking it to provide a guest CPU with various features (including SSE4, AVX and AVX2). With KVM, the only way we can give the guest a CPU with a feature like AVX is if the host CPU has it, because we run guest code directly on the host CPU. QEMU is warning you that you asked for something it can't do, because the host CPU you're running it on doesn't have those features. QEMU removes the features it can't provide from the set of things it tells the guest about via the CPUID registers.
If the guest OS really needs a CPU with AVX2 and all the rest of it, you need to run on a newer host CPU.
If the guest OS is happy to read the CPUID registers and adjust itself to avoid using features that aren't there, then you could adjust the -cpu options the script is passing to make it request something with fewer features, but all this will do is mean that QEMU won't print the warnings -- it won't change how the guest runs on that kind of CPU.

IJK MediaCodec Buffer (J4A) not loading

while using ijkmediaplayer, necessary packages from the J4A loader is not loading (like MediacodecInfo, MediaCodecBufferInfo, java.nio.ByteBuffer, Buffer) That's why I am getting an error of insufficient resources to instantiate the decoder.
02-21 14:23:59.335 2719-16555/? E/OMX-VDEC-1080P: Failed to call stream on OUTPUT due to HW_OVERLOAD
02-21 14:23:59.335 2719-16555/? E/OMX-VDEC-1080P: empty_this_buffer_proxy failure due to HW overload
02-21 14:23:59.337 2719-16555/? E/OMX-VDEC-1080P: ERROR: Sending OMX_ErrorInsufficientResources to Client
02-21 14:23:59.341 2719-16555/? E/OMX-VDEC-1080P: Failed to qbuf to driver
02-21 14:23:59.343 2719-16555/? E/OMX-VDEC-1080P: Failed to qbuf to driver
Can anyone please tell me why J4A buffer modules are not getting loaded or called?
How to resolve this issue?

gdb: unknown target exception

When trying to run a program using gdb I get
[New Thread 4612.0x158c]
[New Thread 4612.0x1cb8]
[New Thread 4612.0x11e8]
[New Thread 4612.0x1190]
gdb: unknown target exception 0x406d1388 at 0x746623d2
Program received signal ?, Unknown signal.
0x746623d2 in RaiseException () from /cygdrive/c/WINDOWS/System32/KERNELBASE.dll
I researched this and found three possible causes: (1) path environment variable not set, (2) drive not mapped, and (3) using the wrong version of gdb (32-bit or 64-bit). So I added C:\cygwin\bin to the path environment variable, typed mount and got
C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin on / type ntfs (binary,auto)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
D: on /cygdrive/d type ntfs (binary,posix=0,user,noumount,auto)
When I type show configuration get
This GDB was configured as follows:
configure --host=i686-pc-cygwin --target=i686-pc-cygwin
--with-auto-load-dir=$debugdir:$datadir/auto-load
--with-auto-load-safe-path=$debugdir:$datadir/auto-load
--with-expat
--with-gdb-datadir=/usr/share/gdb (relocatable)
--with-jit-reader-dir=/usr/lib/gdb (relocatable)
--without-libunwind-ia64
--with-lzma
--with-python=/usr (relocatable)
--without-guile
--with-separate-debug-dir=/usr/lib/debug (relocatable)
--without-babeltrace
and my computer is 32 bits, so it appears to be the correct version.
gdb itself seems to work, e.g. I can type watch followed by an address and it will set a watchpoint; gcc and g++ work fine, and the program I am debugging will start if I run it from the command line but not from gdb.
What other things should I check?
This is a special technical exception that communicates thread name to supporting debugger (Delphi RAD Studio, Visual Mess etc.). It is convenient to look at the thread list in the debugger and understand what is going on by looking at names. Threads throw this exception and instantly catch it, doing nothing in the handler. Until recent SetThreadName introduction, it was the only common way to set thread name. SetThreadName is Unicode, but SetThreadName not widely supported yet, so many libraries use supported method. It can be IME, OLE, whatever spawns threads.
I guess, gdb is aware of neither method. Just ignore this exception.
I had the same problem. I am also using x86 with eclipse mars.2 on a Vista, and by default, gdb 7.10 was downloaded by setup. I also tried all you have tried to no avail.
Lastly, I noticed the link below and upgraded gdb to 7.11 and the problem was fixed.
https://cygwin.com/ml/cygwin/2016-10/msg00243.html

CUDA SDK examples throw various errors in multi-gpu system

I have a Dell Precision Rack running Ubuntu Precise and featuring two Tesla C2075 plus a Quadro 600 which is the display device. I have recently finished some tests on my desktop-computer and now tried to port stuff to the workstation.
Since CUDA was not present I installed it according to this guide and adapted the SDK Makefiles according to this suggestions.
What I am now facing is that not a single sample (I did test like 10 different ones) is running. Those are the errors I am getting:
[deviceQuery] starting...
./deviceQuery Starting...
CUDA Device Query (Runtime API) version (CUDART static linking)
cudaGetDeviceCount returned 10
-> invalid device ordinal
[deviceQuery] test results...
FAILED
> exiting in 3 seconds: 3...2...1...done!
[MonteCarloMultiGPU] starting...
CUDA error at MonteCarloMultiGPU.cpp:235 code=23510 (cudaErrorInvalidDevice) "cudaGetDeviceCount(&GPU_N)"MonteCarloMultiGPU
==================
Parallelization method = threaded
Problem scaling = weak
Number of GPUs = 0
Total number of options = 0
Number of paths = 262144
main(): generating input data...
main(): starting 0 host threads...
Floating point exception (core dumped)
[reduction] starting...
reduction.cpp(124) : cudaSafeCallNoSync() Runtime API error 10 : invalid device ordinal.
[simplePrintf] starting...
simplePrintf.cu(193) : CUDA Runtime API error 10: invalid device ordinal.
As you can see most of the errors are pointing towards a problem with the cudaGetDeviceCount call which return error code 10. According to the manual the problem is:
cudaErrorInvalidDevice: This indicates that the device ordinal supplied by the user does not correspond to a valid CUDA device.
Unfortunately, the only solution I was able to find suggested to check the devices power plugs. I did that and there was nothing wrong with it. Restarting the workstation does not help either.
I'd be happy to supply more details on my configuration. Just leave a comment!
Due to the comments to my original question I was able to find a solution. I followed this guide to learn how to set up the rc.local correctly (don't forget to chmod your script).