Draftsight will not run under wayland (fedora 25). Will this be fixed?
Hi, I've been a fedora user since release 15 and I primarily chose it as it was one of a few linux distributions under which I could run the Draftsight, cad system from 3D systems. I've followed updates and upgrades quite faithfully over the years and am currently running fedora 25, which unfortunately has problems running Draftsight under wayland. When I execute the following short shell script now
DISPLAY=$DISPLAY vblank_mode=1 /opt/dassault-systemes/DraftSight/Linux/DraftSight
I get the following critical error:
ATTENTION: default value of option vblank_mode overridden by environment.
[noel@localhost ~]$ DISPLAY=$DISPLAY vblank_mode=1 /opt/dassault-systemes/DraftSight/Linux/DraftSight
ATTENTION: default value of option vblank_mode overridden by environment.
(DraftSight:2861): GLib-GObject-WARNING **: cannot register existing type 'GdkDisplayManager'
(DraftSight:2861): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(DraftSight:2861): GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
This problem can be circumvented by initiating a gnome-xorg session and executing the script from root using sudo. However, after the last few recent updates, currently using (vmlinuz-4.10.8-200.fc25.x86_64), my gnome session, after a short idle time, will lockup with a darkened screen. I can use ctl-alt-f2 or ctl-alt-f3 to login and restart the x-session or login to another user under wayland, but if I relogin with the same user, I return to the frozen desktop. I am concerned that the support for xorg sessions and the problem with glib under wayland will escalate with further release updates and I will loose the ability to run a critical app. I would like to get these issues resolved. regards. Noel Giffin
If this app is critical to you and if there are problems with the xorg session in GNOME3, the most inelegant solution would be to install additionally the xfce desktop environment, and login into it only when you need to do work with Draftsight. Maybe it will be better in Fedora 26.