StratisCore icon indicating copy to clipboard operation
StratisCore copied to clipboard

GL ERROR :GL_INVALID_OPERATION : glBufferData:

Open DemonRx opened this issue 6 years ago • 8 comments

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

DemonRx avatar Sep 24 '19 01:09 DemonRx

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

SebasLeal avatar Sep 25 '19 18:09 SebasLeal

Did you get this fixed @FyreDemonyte?

dev0tion avatar Dec 27 '19 13:12 dev0tion

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

DemonRx avatar Dec 27 '19 13:12 DemonRx

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.

dev0tion avatar Dec 30 '19 16:12 dev0tion

Any updates?

DemonRx avatar Mar 06 '20 02:03 DemonRx

Have you tried running Core 2.0 RC1?

dev0tion avatar Mar 06 '20 09:03 dev0tion

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 avatar Mar 06 '20 11:03 DemonRx

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!

DemonRx avatar Mar 06 '20 11:03 DemonRx