Running Pharo in KDE suspends desktop effects
Bug description When running Pharo in KDE desktop, e.g. on Kubuntu, the desktop effects are suspended, affecting things like wobbly windows, desktop grid, etc.
Closing the application restores desktop effects.
I have tested this by installing both Pharo 8 and Pharo 9 (both 64 bit) using the Pharo launcher, as well as installing Pharo 9 using the shell script. Launching Pharo 9 in either case causes desktop effects to be suspended. Pharo 8 does not do this.
To Reproduce Install Pharo 9 on Linux/KDE, either with the shell script or Pharo Launcher.
Expected behavior There should be no change to the desktop behaviour.
Version information:
- OS: Kubuntu, 64 bit
- Version: 21.04
- Pharo Version: 9
Expected development cost I can help test the bug fix.
Additional context I am running on a Dell Precision M6800 that has an Nvidia Quadro K3100M and an i7-4910MQ.
As a further test, I switched drivers.
I was using "NVIDIA driver metapackage from nvidia-driver-390 (proprietary, test)" and switched to using "X.org X server -- Nouveau display driver from xserver-xorg-video-nouveau (open source)" in Software Sources.
After this change, Pharo 9 did not start at all anymore, giving the following output on the console:
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 124
Current serial number in output stream: 125
Pharo 8 still works, as before, after the change.
Not sure whether restarting helped, since switching drivers, but Pharo 9 does start now, although the original problem persists.
Happens on my end too (Ubuntu 22.04, NVidia 535 drivers)
Thanks for the feedback. Now Pharo 9 is super old and this is not a version currently maintained. We could have a look but it is only in the context of a contract. So let us know if this is something that interest you else we will just close this issue.
Oh, I wasn't aware of that. So, let me tell what I did (today - right now):
- Went to https://pharo.org/download
- Clicked on Gnu/Linux. It asked me to download
PharoLauncher-linux-3.0.1-x64.zip - Downloaded it, unzipped
- Entered the
pharo-launcherdirectory, then ran./pharo-launcher - Same problem (desktop effects are disabled)
Also - the window's scaling is quite weird, as you can see in this screenshot below:
Sorry, I didn't look that this issue referred only to Pharo 9. I meant to say that the problem still occurs on the Pharo Launcher 3.0.1 that I can download from the site.
What is strange is the PhLImageDetailPresenter listed in the error log. This class does not exist in Pharo12
Are you sure that you do not load something somehow on startup?
I literally just ran the launcher, didn't do anything else.
Thanks @mauricioszabo for confirming this in the new Pharo version; I have updated the title as the problem is obviously not specific to one version of Pharo. @Ducasse FYA
Launcher is not based on Pharo12 yet.
Could you please check with Pharo 12 following https://get.pharo.org
curl https://get.pharo.org/64/120+vm | bash
pharo-ui Pharo.image