|
Post by n00b on Jul 3, 2023 15:45:26 GMT -6
I have been noticing some random crashes when using studio on Ubuntu. I did not have these issues on Pop OS so I am not sure if this is an issue specific to Ubuntu or not. Has anyone else on linux been having stability issues with the editor?
|
|
|
Post by johnno56 on Jul 4, 2023 4:58:16 GMT -6
What kind of issues are you having? I will keep an eye open and let you know...
|
|
|
Post by johnno56 on Jul 4, 2023 5:16:00 GMT -6
I just ran my old Attack3 via Geany and it compiled and ran fine. Loaded the source file; compiled the file; ran the file via the Editor and was presented with a black screen. The alternate window displayed: "DrawImage error: Parameter 'texture' is invalid". The same result via creating a new project and using attack3.bas as the source file.
|
|
|
Post by n00b on Jul 4, 2023 11:47:25 GMT -6
Thanks johnno56I will have those issues fixed in the next release.
|
|
|
Post by johnno56 on Jul 4, 2023 13:49:24 GMT -6
No problemo...
|
|
|
Post by n00b on Jul 12, 2023 12:45:08 GMT -6
After running a few more test and asking a few other people about it, I think these random crashes on Ubuntu might be due to Wayland. On linux going forward I might have the installer detect if a system is running X11 or Wayland and disable the parser on Wayland. I notice that Codeblocks which also uses WxWidgets has recently disabled the symbol browser by default as well. I am looking into a few toolkits to move the editor to such as QT, FLTK, GTK, and IUP but I haven't decided if I will switch or when it will happen yet.
Even without the symbol browswer, code completion should still work just fine. I am also going to include a project symbol browser in the next release and that will be updated everytime you save the project so you will still be able to use it to quickly find symbol declarations. If you are still on X11 then you should be fine. It is possible that it is not a wayland issue and just an Ubuntu issue since Canonical has done some weird stuff to break rcbasic in the past. I am still looking into it further.
|
|
|
Post by johnno56 on Jul 12, 2023 14:18:20 GMT -6
KDE and Gnome (that's me!) desktops on Linux are the only ones that support Wayland natively... at the moment... I have heard of QT, FLTK and GTK. But IUP? I am not surprised that Ubuntu is having issues. If you checkout Gnome, via Wikipedia ( en.wikipedia.org/wiki/GNOME ), you will see that there is all sorts of "fun and games" happening with the development of Gnome 3 and beyond... Is there a possibility that RC can run as an 'appimage'? Might help get around some of the issues. I have several appimages on my machine and they run fine. I do not know the limitations or difficulties involved but it might be an option to consider... Just a thought... I do not envy your task(s). I am however impressed what what you have achieved so far... Well done!
|
|
|
Post by n00b on Jul 15, 2023 7:44:41 GMT -6
KDE and Gnome (that's me!) desktops on Linux are the only ones that support Wayland natively... at the moment... I have heard of QT, FLTK and GTK. But IUP? If I do switch, it would more likely be to QT but I have realized that switching toolkits may not fix my issue since it does appear to be an issue specifically with Ubuntu. I cannot reproduce some of the issues I am having on any other linux distro at the moment. Is there a possibility that RC can run as an 'appimage'? Might help get around some of the issues. I have several appimages on my machine and they run fine. I do not know the limitations or difficulties involved but it might be an option to consider... Just a thought... I have actually been working on packaging it as a flatpak. It is just a matter of trying to get external tools like Android SDK and emscripten working with the flatpak as well.
|
|
|
Post by aurel on Jul 16, 2023 10:05:08 GMT -6
QT wow ,,it is heavy ,,but offer QT Designer which output code in C++ that is big big +
|
|
|
Post by n00b on May 2, 2024 22:28:38 GMT -6
I discovered this week that the editor is completely broken on recent linux distros. I will try to get a fix out when I have some time.
|
|
|
Post by johnno56 on May 3, 2024 2:25:43 GMT -6
I would be curious to know which distros are effected? Not urgent. When and if you get any free time... Just curious.
|
|
|
Post by n00b on May 3, 2024 11:21:22 GMT -6
So far I noticed Fedora 40 and Nobara. Ubuntu based distros seem to be fine. I think to fix this issue going forward, I might look into shipping RCBasic as a flatpak. It would require a lot of development and testing before it becomes viable so that would be pretty far off since the main priority right now is 4.0 development.
|
|
|
Post by johnno56 on May 3, 2024 14:55:15 GMT -6
Fedora 4.0 has several issues... Auto settings for display resolution and size; false alert when installing software and not using US-English; GIMP crashes on exit; Dejadup cannot connect to Google Drive any more; Gnome Tweaks cannot set fonts any more... to say but a few... Solution: (temp) Use Fedora 3.9 instead... Nobara seems to have issues with Nvidia drivers... But, then again, which Linux distro doesn't... lol
Hope this helps...
|
|
|
Post by n00b on May 3, 2024 15:22:06 GMT -6
Fedora 4.0 has several issues... Auto settings for display resolution and size; false alert when installing software and not using US-English; GIMP crashes on exit; Dejadup cannot connect to Google Drive any more; Gnome Tweaks cannot set fonts any more... to say but a few... Solution: (temp) Use Fedora 3.9 instead... Nobara seems to have issues with Nvidia drivers... But, then again, which Linux distro doesn't... lol Hope this helps... Thanks for the tips. I actually ended up on Fedora this week because of some absolute bullshit with Ubuntu. It started last week when Ubuntu 24.04 LTS came out. I backed up my files and did a fresh install for the new version of Ubuntu. After spending a few hours installing and setting up the software and drivers I needed I left for a while and came back and the computer was completely locked up. I tried to restart it and it would boot into a black screen so I reinstalled it and went through all that setup again. A few hours later it locks up again and wouldn't come back up. So after that I was so upset that I decided to go with another distro entirely. I first tried out Solus for a few days and it was pretty solid. The only reason I didn't stay on Solus is because Codeblocks has some issues on Solus that I did not want to troubleshoot. I have been on Fedora for about 4 days now and everything is working great for the most part but RCBasic Studio does not run on Fedora unless you build it from source yourself. Its working for me now but obviously I don't expect everybody to do what I did. What really drove me nuts about this whole ordeal is how many linux youtubers gave Ubuntu 24.04 a good review. Its like none of them actually tried to do anything with the distro after installing it.
|
|
|
Post by johnno56 on May 3, 2024 16:48:30 GMT -6
This is my opinion. Do not take this as Gospel... I usually do not install the "latest and greatest" until a month or so afterwards... just in case some distro jockey wants to get the new version "out the door" on time... that way, the "new" version, has had exposure to the public and any issues it may have might be cleared up by the time I get it... lol
I have never come across two fresh installs failing with the same issue... My suggestion: Instead of spending several hours installing/setting up, eliminate a possibility... by only installing the OS... let 'that' run a couple of hours... if it survives, then the logical assumption would be, at least one of the programs/drives may have issues with 24.04
That is one thing I admire about Windows... Usually there is one version (as a rule) whereas Linux counts into the hundreds... No wonder programs/drivers have problems. How can these applications cater for so many "flavours" of Linux? Mind boggling.... Anyway, I digress...
Oh another tip... I run Win7 from a VM from time to time... For those times when nostalgia strikes and Linux won't help... But you didn't hear that from me... lol Perhaps you can "test" 24.04 in a VM... before deciding on a full install?
Let me know how you get on? I would be curious to know how you manged to sort things out. Best of luck....
But twice... that's a new one for me...
|
|