Skip to content
This repository has been archived by the owner on May 24, 2021. It is now read-only.

GL ERROR :GL_INVALID_OPERATION : glBufferData: #280

Open
DemonRx opened this issue Sep 24, 2019 · 8 comments
Open

GL ERROR :GL_INVALID_OPERATION : glBufferData: #280

DemonRx opened this issue Sep 24, 2019 · 8 comments

Comments

@DemonRx
Copy link
Contributor

DemonRx commented Sep 24, 2019

Screenshot from 2019-09-23 20-57-15

[16254:0923/205631.548325:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command

@SebasLeal
Copy link

same problem here, i tried electron-forge and the problem disappeared when I used it, i guess could be a version of some package.

@dev0tion
Copy link
Collaborator

Did you get this fixed @FyreDemonyte?

@DemonRx
Copy link
Contributor Author

DemonRx commented Dec 27, 2019

I went the route of using electron-forge as indicated by @SebasLeal. However I would like more detail as to the steps he went about to have it running properly. As it seems to make a few changes to the project files and providing some other warnings, due to this I'm not sure stratiscore is working as expected like with electron- builder.

However the stratiscore wallet did startup from what I was able to do so far, and the error did not occur.

demon@Bionic18:~/coins/StratisCore/StratisCore.UI$ sudo electron-forge import .
✔ Checking your system
? WARNING: We will now attempt to import: "/home/demon/coins/StratisCore/StratisCore.UI".  This will involve modifying some files, are 
you sure you want to continue? Yes
✔ Initializing Git Repository
? Do you want us to change the "main" attribute of your package.json?  If you are currently using babel and pointing to a "build" direc
tory say yes. Yes
? Enter the relative path to your uncompiled main file main.js
✔ Writing modified package.json file
✔ Installing dependencies
✔ Writing modified package.json file
✔ Fixing .gitignore


We have ATTEMPTED to convert your app to be in a format that electron-forge understands.
Nothing much will have changed but we added the "electron-prebuilt-compile" dependency.  This is the dependency you must version bump to get newer versions of Electron.


We also tried to import any build tooling you already had but we can't get everything.  You might need to convert any CLI/gulp/grunt tasks yourself.

Also please note if you are using `preload` scripts you need to follow the steps outlined at https://github.com/electron-userland/electron-forge/wiki/Using-%27preload%27-scripts

Thanks for using "electron-forge"!!!
demon@Bionic18:~/coins/StratisCore/StratisCore.UI$ electron-forge start
✔ Checking your system
✔ Locating Application
✔ Preparing native dependencies
✔ Launching Application
[ '.', '--enableSignalR' ]
Starting daemon /home/demon/coins/resources/daemon/Stratis.StratisD
[ '-enableSignalR' ]
Gtk-Message: 08:23:52.618: GtkDialog mapped without a transient parent. This is discouraged.

This also seems to have tried starting the StratisD daemon using electron-forge start command but fails, as opposed to with electron-builder it gives the warning that one must start the daemon manually.

So I won't say this is "fixed" as the origin of the error of this issue goes back to the initial compile/setup/initiation process. electron-forge is more of a workaround/hack.

@dev0tion please advise

@dev0tion
Copy link
Collaborator

If it's a dependency problem it's probably going to be fixed in Core 2.0.0.0.
Will dive in deeper if it's not fixed then.

@DemonRx
Copy link
Contributor Author

DemonRx commented Mar 6, 2020

Any updates?

@dev0tion
Copy link
Collaborator

dev0tion commented Mar 6, 2020

Have you tried running Core 2.0 RC1?

@DemonRx
Copy link
Contributor Author

DemonRx commented Mar 6, 2020

Error still present after cloning a new copy of the repo, and running:

npm i ; npm start

Error:

[23695:0306/061058.550127:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command

@DemonRx
Copy link
Contributor Author

DemonRx commented Mar 6, 2020

However when I updated electron to v8.0.3, I get this result:

(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false".  It will change to be "true" in Electron 9.  For more information please check https://github.com/electron/electron/issues/18397

(electron:24613): dbind-WARNING **: 06:36:17.748: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-0OHl0f8VcG: Connection refused
Electron could not be found. No hard resets for you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants