Package Details: draftsight 2018SP0-1

Git Clone URL: https://aur.archlinux.org/draftsight.git (read-only)
Package Base: draftsight
Description: Freeware CAD software for DWG/DXF files.
Upstream URL: http://www.3ds.com/products/draftsight/
Keywords: CAD DWG DXF
Licenses: custom
Submitter: jstamant
Maintainer: oberon2007
Last Packager: oberon2007
Votes: 48
Popularity: 1.472215
First Submitted: 2015-08-10 00:05
Last Updated: 2017-11-07 12:23

Latest Comments

hogar1977 commented on 2017-12-08 12:59

@oberon2007

Hi oberon, sorry for sounding as a whining baby before :-) I know you cannot fulfill everyones desires and wishes and thanks first of all for even maintaining this PKGBUILD script...

But back to the problem at hand - I went down the route you proposed and downloaded the PKGBUILD version I want but now the makepkg fails because the PKGBUILD still downloads the latest version from Draftsight I guess. Am I doing something wrong here (I am fairly new to Arch and this makepkg business)?

Just out of curiosity also, do you have a fully updated Arch system (latest kernel, etc) and this 2018SP0 version is working for you? No empty msgbox at startup with a separate crash dump message saying that drafsight will close? Then it just hangs, and I have to close it, but even that results in a Force Quit message...

@Cacharpas Did you by any chance solve your issue? And is the issue identical to mine (see above)?

oberon2007 commented on 2017-12-07 22:56

@hogar1977 Whrtn I provide the old version, people complain about package being out-of-date, when providing latest version some complain about latest version buggy ... To install older version you can edit the PKGBUILD during installation or use this older versions: 2017SP03.1 https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=draftsight&id=9153e4089828 Complete history here: https://aur.archlinux.org/cgit/aur.git/log/?h=draftsight

hogar1977 commented on 2017-12-07 22:26

@oberon2007

Hi, are you aware that this package is crashing on startup for some of us? Any ideas what is going on? If not, where can I find AUR 2017SP1 package version - I have a new computer with a new installation so I have no possibility to downgrade from update history... I need Draftsight to work and right now it's useless for me :-/

Cacharpas commented on 2017-11-28 15:56

Same problem for me at startup as hogar1977

hogar1977 commented on 2017-11-17 20:48

2018 SP0 is crashing on startup for me... is this related to the java version or?

This is the output when i try to start it via terminal...

ATTENTION: default value of option vblank_mode overridden by environment.
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
Could not parse stylesheet of object 0x354f2b0
Could not parse stylesheet of object 0x354f2b0
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
/usr/bin/draftsight: line 2: 14608 Killed env vblank_mode=0 /opt/dassault-systemes/DraftSight/Linux/DraftSight

oberon2007 commented on 2017-11-07 12:24

Oops, you are right! I had only updated locally and not pushed the changes because there were still issues. Updated now anyway.

Sheykhnur commented on 2017-11-07 11:49

No, i have updated package for myself. I changed pkgver to 2018SP0 but your version is 2017SP03.1 which is already outdated (have you seen outdated flagged?). And new checksum of 2018SP0 has e98e6f532bf29ad7f5b548a747bd8385. Sorry for my poor English. For more information https://www.3ds.com/products-services/draftsight-cad-software/latest-version/

oberon2007 commented on 2017-11-06 19:30

@Sheykhnur what are you talking about? Your PKGBUILD and checksum are identical to the current here!

oberon2007 commented on 2017-11-06 19:30

@Sheykhnur what are you talking about? Your PKGBUILD and checksum are identical to the current one here!

Sheykhnur commented on 2017-11-06 15:12

I edited my pkbuild by changed pkgver=2018SP0 and md5sum=e98e6f532bf29ad7f5b548a747bd8385 This is temp PKGBUILD working for me https://pastebin.com/24agWg5t

whitesnow commented on 2017-10-19 15:26

For now I found a solution:
downgrading jre-9
sudo pacman -U /var/cache/pacman/pkg/jre-9u0-1-x86_64.pkg.tar.xz

Strange situation I have jre-8 openjdk installed, and did set this with archlinux-java as default, but with jre-9.0.1-1 installed and jre-8-openjdk as default draftsight still crashed.

It did not crash while debugging with valgrind, just ran really slow. But I have no experience with this.

below here my first comment
_______________________
For me the same like rahan12 and rvega.

SP02, SP03, SP03.1

ws1% unset XDG_CURRENT_DESKTOP
ws1% draftsight
ATTENTION: default value of option vblank_mode overridden by environment.
Could not parse stylesheet of object 0x26ddfe0
Could not parse stylesheet of object 0x26ddfe0
*** Error in `/opt/dassault-systemes/DraftSight/Linux/DraftSight': free(): invalid pointer: 0x00007f86ae0623c0 ***

ws1% sudo draftsight
ATTENTION: default value of option vblank_mode overridden by environment.
Could not parse stylesheet of object 0x1f90ed0
Could not parse stylesheet of object 0x1f90ed0
*** Error in `/opt/dassault-systemes/DraftSight/Linux/DraftSight': free(): invalid pointer: 0x00007f3f96ee73c0 ***

ws1% pacman -Q xf86-video-intel
xf86-video-intel 1:2.99.917+781+gc8990575-1
ws1% uname -a
Linux ws1 4.13.7-1-ARCH #1 SMP PREEMPT Sat Oct 14 20:13:26 CEST 2017 x86_64 GNU/Linux

Draftsight opens, if the curser is inside the drawing window, it moves for like a second, then freezes.
I did downgrade xf86-video-intel, it failed with xf86-video-intel-1:2.99.917+796+g04b4f3b7-1, but downgrade did not help.

At 15th October it was still working, I did use it quite some time, although it did crash occasionally.

I have another machine still with kernel 4.13.5-1 and with latest xf86-video-intel-1:2.99.917+796+g04b4f3b7-1, there SP03 is still working, now even with these environment settings:
ws2% env | grep -i desktop
DESKTOP_SESSION=xfce
XDG_CURRENT_DESKTOP=XFCE
.

oberon2007 commented on 2017-10-18 09:30

Thanks, aTom42. Will update to 2017SP03.1

aTom42 commented on 2017-10-18 08:54

Last version : http://dl-ak.solidworks.com/nonsecure/draftsight/2017SP03-1/draftSight.rpm

is working ok for me, just had to modify source url and md5, package builds properly, software activation is ok, and nothing crashes.

I only use draftsight as a dwg to dxf converter to be able to use librecad though.

I'm running arch testing with gdm/gnome-shell on X11 (Didn't try with wayland)

rvega commented on 2017-10-12 18:47

I have the same problem as described by rahan12. :(

rahan12 commented on 2017-10-06 19:44

I have the same problem and the workaround from jb1 does not work for me.
SP01 was working great for me. SP03 crashes on startup.
I usually use GDM but even in XFCE/Linux-lts it does not work either. I tried using both my Intel or Nvidia GPU to launch Draftsight but to no avail. Exactly the same result with both: freeze straight after startup with greyed out workspace and a transparent/black alert message that cannot be read.

I have resorted to installing Ubuntu 14.04 LTS on a small partition only to be able to use Draftsight. Very inconvenient but it works. I hope it's only gonna be a temporary solution.

emulti commented on 2017-09-28 13:41

I can confirm that the workaround from jb1 (2017-09-28 07:41) also works for me on linux-lts/XFCE

emulti

jb1 commented on 2017-09-28 07:41

Here's what I found:

$ draftsight
ATTENTION: default value of option vblank_mode overridden by environment.
Could not parse stylesheet of object 0x4042a70
Could not parse stylesheet of object 0x4042a70

*DRAFTSIGHT CRASHES HERE*

^C
$ echo $XDG_CURRENT_DESKTOP
XFCE
$ echo $DESKTOP_SESSION
xfce
$ unset XDG_CURRENT_DESKTOP DESKTOP_SESSION
$ draftsight
ATTENTION: default value of option vblank_mode overridden by environment.
Could not parse stylesheet of object 0x295c6c0
Could not parse stylesheet of object 0x295c6c0

*DRAFTSIGHT IS OK HERE*

So I made these changes to get it working:
$ cat /usr/bin/draftsight
#!/bin/sh
unset XDG_CURRENT_DESKTOP DESKTOP_SESSION
env vblank_mode=0 /opt/dassault-systemes/DraftSight/Linux/DraftSight

$ cat /usr/share/applications/draftsight.desktop
[Desktop Entry]
Type=Application
Name=DraftSight
Comment=Freeware CAD software for your DWG/DXF files.
Exec=env --unset=XDG_CURRENT_DESKTOP --unset=DESKTOP_SESSION vblank_mode=0 /opt/dassault-systemes/DraftSight/Linux/DraftSight %U
Icon=draftsight
Terminal=false
Categories=Graphics;2DGraphics;

afgomez84 commented on 2017-09-25 16:07

Hello, anyone knows what's happening to Draftsight (SP03)

1. Start "draftsight"
2. Opens a blank window, loads UI, gray workspace
3. Warning window in a full transparent appereance - no information
4. Zombie mode
5. xkill

Prompt out:
ATTENTION: default value of option vblank_mode overridden by environment.
Could not parse stylesheet of object 0x34fc050
Could not parse stylesheet of object 0x34fc050

Start draftsight as root

1. Warns me about a log, ask me to send it (I don't know where)
2. Forces me to make a registration
3. Sends registration data
4. Crashes

Prompt out:
ATTENTION: default value of option vblank_mode overridden by environment.
Could not parse stylesheet of object 0x32ba030
Could not parse stylesheet of object 0x32ba030

Bardok commented on 2017-09-23 09:02

Hello, i'm french so sorry for my poor english.

I use draftsight 2017SP01, because 2017SP03 crash on startup and 2017SP02 crash on print and now it's says that will expire in 7 days.
Anyone know how to stop that, i can't use newer version.

queenmedley commented on 2017-09-18 05:59

Before sp3 version, mouse lag was serious.(I use intel gpu hd4000)
But sp3 version, it get better.
Hmm.. still a little lag happen as there are many hatch, but it's ok.
Now I can use draftsight instead of audtocad.


pryre commented on 2017-09-13 03:35

Same as @canelas, can use sudo to launch, but I cannot launch it as a normal user.

canelas commented on 2017-09-07 15:05

I could use draftsight SP03 as administrator: sudo draftsight, but cannot use it as normal user.

zfkerr commented on 2017-08-31 13:13

With Mesa it's crashes after activation, without e-mail message

krzaku commented on 2017-08-29 13:46

@oberon2007 sorry, my fault. It was checking the checksum on a cached rpm.

denis.soto commented on 2017-08-29 04:35

Fixed!! Thanks to Spunky, just follow this:
1. # yaourt -S draftsight
2. When ask to edit the PKGBUILD, select "yes" and edit (e.g. with "nano")
3. edit as following (just add a "0" in Spunky response:

Changes in PKGBUILD to install SP1:
change this: pkgver = 2017SP03
for this: pkgver = 2017SP01
and
change this: md5sums = '0e479cf3b6c9ef8511cf3e4ebcabc4ff'
for this: md5sums = '0aaf21b56544c754d87aad4be2edabc1'

kikislater commented on 2017-08-28 18:59

Works fine with me on mate and Nvidia card. May be issue are related to Intel drivers...

oberon2007 commented on 2017-08-28 18:56

@krzaku, checksum for SP3 is correct. Please don't flag out-of-date!

Spunky commented on 2017-08-28 17:44

Same here:
SP3 - direct freeze after start
SP2 - freeze by using some tools
SP1 - works like a charme

Changes in PKGBUILD to install SP1:
- pkgver = 2017SP03
+ pkgver = 2017SP1
- md5sums = 0e479cf3b6c9ef8511cf3e4ebcabc4ff
+ md5sums = 0aaf21b56544c754d87aad4be2edabc1

burij commented on 2017-08-28 12:54

Same here:
 draftsight
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
Could not parse stylesheet of object 0x3135b40
Could not parse stylesheet of object 0x3135b40

denis.soto commented on 2017-08-27 21:49

I have succeed downloading the SP1 but I got the same issue as before: DraftSight crashes immediately after activating it without error messages, and I didn't receive any activation email.

whitesnow commented on 2017-08-27 21:01

Hello denis.soto, above the comments are the sources with this link:
http://dl-ak.solidworks.com/nonsecure/draftsight/2017SP03/draftSight.rpm

There I changed SP03 into SP01. And then a bit of googling, to change the link in the PKGBUILD to "file://...[place-of-downloaded-rpm]"
and adjust the md5sums.

For now not more details, if you need more, then later

denis.soto commented on 2017-08-27 20:41

Hello whitesnow, could you please explain exactly how you do it? Im trying from yesterday but I can't get it working. I can't find where to download the SP01. Thanks in advance!

whitesnow commented on 2017-08-27 18:42

For now I installed the old version 2017SP01, the *.rpm is now still available at the above link. And blocked the automatic update. With this version copy, move and rotate work for me.
And started from the console, it shows the similar:
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
Could not parse stylesheet of object 0x22d9d10
Could not parse stylesheet of object 0x22d9d10

Thanks for creating the aur, I'm already happy, if it keeps working this way.

radiomike commented on 2017-08-25 20:54

Getting the same error as whitesnow

whitesnow commented on 2017-08-25 18:47

Hi, does this work for you?

I first installed draftsight at 2017-06-19, there I could use it that little, that I did. Since at least 2017-08-12 I had some problems. It would freeze at copy and rotate, when selecting the reference point, I still could copy with holding <CTRL>-key.

But this version now freezes right at start. It shows the screen, and the drawing area looks a bit different color wise. A little later a small window "Draftsight Alert" appears, with nothing inside, and the program does not update the screen anymore.

Running from the console it prints:

ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
Could not parse stylesheet of object 0x2e36240
Could not parse stylesheet of object 0x2e36240

Any help would be greatly appreciated.

I'm running Xfce, if this would mean any, else nearly the latest kernel 4.12.8-2-ARCH, and all updates.

oberon2007 commented on 2017-08-24 19:25

Thanks. updated :)

Spunky commented on 2017-08-24 19:23

Hi, there is a new version (SP3) available. Could you please update the repo. THX

jstamant commented on 2017-04-03 12:41

Fweeb, the download should work. I just tried making the package, and the download and checksum pass. Perhaps Dassault Systems was messing around with their website? I've noticed in the past that they've changed the download out without publishing it as a new release.

Fweeb commented on 2017-04-03 11:33

The checksum failed for me on the draftsight download link. Seems that something has gone wonky with their redirect (it's downloading the redirect page instead of the RPM file and checking sums against that). When I changed the download link to dl-ak.solidworks.com/nonsecure/draftsight/2017SP01/draftSight.rpm everything seems to have worked.

xoan commented on 2017-03-31 08:45

@ParanoidNemo, gstreamer0.10-base is probably not needed.

ParanoidNemo commented on 2017-03-31 08:29

Here the correct PKGBUILD for the latest version:

# Maintainer: Justin R. St-Amant <jstamant24 at gmail dot com>

pkgname=draftsight
pkgver=2017SP0
pkgrel=2
pkgdesc="Freeware CAD software for your DWG/DXF files."
arch=('x86_64')
url="http://www.3ds.com/products/draftsight/"
license=('custom')
depends=('alsa-lib'
'desktop-file-utils'
'fontconfig'
'gcc-libs'
'glib2'
'gstreamer0.10-base'
'gtk2'
'libcups'
'libgl'
'libice'
'libmariadbclient'
'libmng'
'libpng12'
'libsm'
'libx11'
'libxext'
'libxrender'
'libxslt'
'mesa'
'postgresql-libs'
'qt5-base'
'qt5-x11extras'
'zlib')
source=("http://www.draftsight.com/download-linux-fedora"
"draftsight.desktop")
md5sums=('0aaf21b56544c754d87aad4be2edabc1'
'19b26d423cae7ec0e1e6c6d78c94915d')

_pkgprefix='opt/dassault-systemes/DraftSight'

package()
{
mkdir -p $pkgdir/usr/bin
echo "#!/bin/sh" > \
$pkgdir/usr/bin/draftsight
echo "env vblank_mode=0 /${_pkgprefix}/Linux/DraftSight" >> \
$pkgdir/usr/bin/draftsight
chmod 755 $pkgdir/usr/bin/draftsight

mkdir -p $pkgdir/$_pkgprefix
cd $srcdir/$_pkgprefix
install -Dm644 Eula/english/eula.htm $pkgdir/usr/share/licenses/draftsight/LICENSE
for size in "16x16" "32x32" "48x48" "64x64" "128x128"
do
install -Dm644 Resources/pixmaps/$size/program.png $pkgdir/usr/share/icons/hicolor/$size/apps/draftsight.png
install -Dm644 Resources/pixmaps/$size/file-dwg.png $pkgdir/usr/share/icons/hicolor/$size/mimetypes/file-dwg.png
install -Dm644 Resources/pixmaps/$size/file-dxf.png $pkgdir/usr/share/icons/hicolor/$size/mimetypes/file-dxf.png
install -Dm644 Resources/pixmaps/$size/file-dwt.png $pkgdir/usr/share/icons/hicolor/$size/mimetypes/file-dwt.png
done
install -Dm644 Resources/dassault-systemes_draftsight-dwg.xml $pkgdir/usr/share/mime/application/dassault-systemes_draftsight-dwg.xml
install -Dm644 Resources/dassault-systemes_draftsight-dxf.xml $pkgdir/usr/share/mime/application/dassault-systemes_draftsight-dxf.xml
install -Dm644 Resources/dassault-systemes_draftsight-dwt.xml $pkgdir/usr/share/mime/application/dassault-systemes_draftsight-dwt.xml

install -Dm644 $srcdir/draftsight.desktop $pkgdir/usr/share/applications/draftsight.desktop

#Install Draftsight's program files
cp -pr $srcdir/$_pkgprefix/* $pkgdir/$_pkgprefix/
}

In any case if a PKGBUILD doesn't pass the validity check just run

makepkg -g and change the md5sum inside the PKGBUILD :)

yoyito commented on 2017-03-07 22:27

great job Crispy24, However it is outdated :( It is not working
"it didnt pass validity check"

aleksa9275 commented on 2017-02-10 14:53

You could also install manually gstreamer0.10 and its dependancies, that worked fine for me.

blackisle commented on 2017-02-08 15:22

I can confirm it's working fine after removing gstreamer0.10 from the dependency!
Cheers!

jstamant commented on 2017-02-08 13:39

Try removing the gstreamer0.10 dependency.
I just tried this locally, and it installs and runs fine on my system. The only reason I have this dependency listed is because it shows up when I run namcap on the package. I will look into this further.

blackisle commented on 2017-02-08 10:13

Any way round the current broken gstreamer0.10 AUR dependency?

ingleandrobarros commented on 2017-02-06 22:38

Thanks @xoan and @kikislater, now Draftsight run perfectly!

kikislater commented on 2017-02-05 07:37

I got the same with 8go left on my device. Move your temporary aur folder present in /tmp to your home, build with makepkg and installed with pacman -U solve the problem !

xoan commented on 2017-02-04 23:48

@ingleandrobarros, in your output is your answer: you are running out of space.

ingleandrobarros commented on 2017-02-04 23:39

Bro, don't compile. check that:

/usr/lib/yaourt/util.sh: line 227: PKGBUILD: command not found
/usr/lib/yaourt/pkgbuild.sh: line 219: cannot create temp file for here-document: No space left on device
/usr/lib/yaourt/pkgbuild.sh: line 74: echo: write error: No space left on device
cat: write error: No space left on device
/usr/lib/yaourt/pkgbuild.sh: line 76: echo: write error: No space left on device
/usr/lib/yaourt/pkgbuild.sh: line 77: echo: write error: No space left on device
/usr/lib/yaourt/pkgbuild.sh: line 78: echo: write error: No space left on device
/usr/lib/yaourt/pkgbuild.sh: line 79: echo: write error: No space left on device
/usr/lib/yaourt/pkgbuild.sh: line 80: echo: write error: No space left on device
/usr/lib/yaourt/pkgbuild.sh: line 81: echo: write error: No space left on device
/usr/lib/yaourt/pkgbuild.sh: line 82: echo: write error: No space left on device
/usr/lib/yaourt/pkgbuild.sh: line 83: echo: write error: No space left on device
/usr/lib/yaourt/pkgbuild.sh: line 84: echo: write error: No space left on device
/usr/lib/yaourt/pkgbuild.sh: line 85: echo: write error: No space left on device
==> ERROR: is not available for the 'x86_64' architecture.
==> ERROR: pkgrel is not allowed to be empty.
==> ERROR: pkgver is not allowed to be empty.
==> ERROR: An unknown error has occurred. Exiting...

xoan commented on 2017-01-25 09:56

Dependency `gstreamer0.10-base` is no longer available in AUR.

jstamant commented on 2017-01-10 13:08

Package update:
Updated dependecies.

jstamant commented on 2017-01-04 03:38

sagittarius, I will check/confirm the Qt5 dependencies of this package.

sagittarius commented on 2017-01-03 23:20

First thanks to the packager.

Is there a missing lib ?

I get:
This application failed to start because it could not find or load the Qt platform plugin "xcb".
Available platform plugins are: linuxfb, minimal, offscreen, xcb.
Reinstalling the application may fix this problem.

For info:
yaourt -a xcb|grep installed
1 extra/cairo 1.14.8-1 [installed]
2 extra/libxcb 1.12-1 [installed]
3 extra/libxkbcommon-x11 0.7.0-1 [installed]
4 extra/xcb-proto 1.12-2 [installed]
5 extra/xcb-util 0.4.0-1 [installed]
6 extra/xcb-util-cursor 0.1.3-1 [installed]
7 extra/xcb-util-image 0.4.0-1 [installed]
8 extra/xcb-util-keysyms 0.4.0-1 [installed]
9 extra/xcb-util-renderutil 0.3.9-1 [installed]
10 extra/xcb-util-wm 0.4.1-1 [installed]
19 community/xcb-util-xrm 1.2-1 [installed]
20 multilib/lib32-libxcb 1.12-2 [installed]
22 multilib/lib32-xcb-util 0.4.0-1 [installed]

yaourt -Qo /usr/lib/qt/plugins/platforms/libqxcb.so
/usr/lib/qt/plugins/platforms/libqxcb.so appartient à qt5-base 5.7.1-1

export QT_DEBUG_PLUGINS=1 && draftsight
QFactoryLoader::QFactoryLoader() checking directory path "/opt/dassault-systemes/DraftSight/PlugIns/QtPlugIns/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/opt/dassault-systemes/DraftSight/PlugIns/QtPlugIns/platforms/libqlinuxfb.so"
Found metadata in lib /opt/dassault-systemes/DraftSight/PlugIns/QtPlugIns/platforms/libqlinuxfb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"linuxfb"
]
},
"className": "QLinuxFbIntegrationPlugin",
"debug": false,
"version": 328961
}


Got keys from plugin meta data ("linuxfb")
QFactoryLoader::QFactoryLoader() looking at "/opt/dassault-systemes/DraftSight/PlugIns/QtPlugIns/platforms/libqminimal.so"
Found metadata in lib /opt/dassault-systemes/DraftSight/PlugIns/QtPlugIns/platforms/libqminimal.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimal"
]
},
"className": "QMinimalIntegrationPlugin",
"debug": false,
"version": 328961
}


Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at "/opt/dassault-systemes/DraftSight/PlugIns/QtPlugIns/platforms/libqoffscreen.so"
Found metadata in lib /opt/dassault-systemes/DraftSight/PlugIns/QtPlugIns/platforms/libqoffscreen.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"offscreen"
]
},
"className": "QOffscreenIntegrationPlugin",
"debug": false,
"version": 328961
}


Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at "/opt/dassault-systemes/DraftSight/PlugIns/QtPlugIns/platforms/libqxcb.so"
Found metadata in lib /opt/dassault-systemes/DraftSight/PlugIns/QtPlugIns/platforms/libqxcb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"xcb"
]
},
"className": "QXcbIntegrationPlugin",
"debug": false,
"version": 328961
}


Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/opt/dassault-systemes/DraftSight/Linux/platforms" ...
loaded library "/opt/dassault-systemes/DraftSight/PlugIns/QtPlugIns/platforms/libqxcb.so"
QLibraryPrivate::loadPlugin failed on "/opt/dassault-systemes/DraftSight/PlugIns/QtPlugIns/platforms/libqxcb.so" : "Cannot load library /opt/dassault-systemes/DraftSight/PlugIns/QtPlugIns/platforms/libqxcb.so: (/opt/dassault-systemes/DraftSight/Linux/../Libraries/libQt5DBus.so.5: version `Qt_5' not found (required by /usr/lib/libQt5XcbQpa.so.5))"
This application failed to start because it could not find or load the Qt platform plugin "xcb".

Available platform plugins are: linuxfb, minimal, offscreen, xcb.

Reinstalling the application may fix this problem.
/usr/bin/draftsight : ligne 2 : 12566 Abandon (core dumped)env vblank_mode=0 /opt/dassault-systemes/DraftSight/Linux/DraftSight

jstamant commented on 2016-12-30 21:06

ElAngelo, the checksum passed for me when I tried building the package from a clean slate. Make sure pacman is completely downloading a fresh source, and not building the package from cached a version.

ElAngelo commented on 2016-12-30 07:28

upstream packaged changed once again, checksum does no longer validate.

pang0116 commented on 2016-12-27 15:32

Hi,
I think I solve the "no space" problem by changing "tmp" folder of yaourt
In my case, I make a tmp folder in my home folder and make sure there has enough space.
> mkdir ~/tmp
> yaourt --tmp ~/tmp -S draftsight

Then, the installation will be no problem for me.
Remember to clean up tmp folder after your installation.

joolsr1 commented on 2016-12-06 12:12

Referring to the issue mentioned from luiscuadrado123, I had same error. I believe that its related to space in the /tmp folder/partition. Draftsight is a really big install so clearing this folder first or enlarging it if needs be may be required

luiscuadrado123 commented on 2016-12-04 02:38

Hello!!!

i have a problem upgrading this software since a few days...

after downloading since 500mb (this is alot of mb).. when initiating package ().. alot of error appears saying that i "there is no space in device"

but i realy have space in my Manjaro Instalation partition (44.6gb free)

what could be the problem?? maybe the temp folder is in another partition? or is restringed in space?

kikislater commented on 2016-11-30 05:23

There is no software like this because there is no really open source library about it. Each time there is one like opendwgalliance, autodesk put them to lawyer and project fail. But there is a new library at this time, libopencad from https://github.com/sandyre/libopencad which I hope will be a success project. If there is library, it could be done at this time a good software ... draftsight is the same software as ares commander

jstamant commented on 2016-11-30 05:13

Blackisle, I'm afraid this is the closest software I can find to AutoCAD. And thank god it's free, and available on Linux. I love AutoCAD's modal input too much to use any other CAD application. I don't think you'll find any other CAD software on Linux that provides this many features and this much functionality, at the moment. Too bad it's not an open-source project :/

blackisle commented on 2016-11-30 04:21

magic, cheers Crispy24 :) Have you come across a better 2D CAD application for linux? Draftsight is about as close to AutoCAD LT as I've found. Thanks again for packaging this!

jstamant commented on 2016-11-30 00:59

Package updated:
Updated version number and package checksums.

Cacharpas commented on 2016-11-29 16:26

Failed on installation.

One or more files did not pass the validity check!

Cacharpas commented on 2016-11-29 16:26

Failed on installation.

One or more files did not pass the validity check!

jstamant commented on 2016-08-07 14:51

Package updated:
Updated package checksums. Upstream released SP2.

yorc commented on 2016-07-21 17:02

"Failed due to bad checksum on the source. Should be 6197ffca0511482786b1a493df980267"
You are right. And now it's fixed. Thank you!!!

barton commented on 2016-07-09 19:41

Failed due to bad checksum on the source. Should be 6197ffca0511482786b1a493df980267.

jstamant commented on 2016-06-08 23:43

Package updated:
Implemented user suggestions.

rpodgorny commented on 2016-06-07 19:11

please add a proper shebang (#!/bin/sh) line for the lauch script for non-posix shells. thank you...

my output (from fish):

radek@kostik ~/t/draftsight> draftsight /tmp/63-13-01\ Asterix\ DWG\ PRO\ INVESTORA\ -2\ \ 04-2016.dwg
Failed to execute process '/usr/bin/draftsight'. Reason:
exec: Exec format error
The file '/usr/bin/draftsight' is marked as an executable but could not be run by the operating system.
radek@kostik ~/t/draftsight [125]> file /usr/bin/draftsight
/usr/bin/draftsight: ASCII text
radek@kostik ~/t/draftsight> cat /usr/bin/draftsight
env vblank_mode=0 /opt/dassault-systemes/DraftSight/Linux/DraftSight

vantu5z commented on 2016-04-24 04:46

May you change "draftsight.desktop" little:
1. add " %U" to end of "Exec" line. (for "open with" functionality in nautilus)
2. set "Icon=draftsight". (for use theme icon if it exist)

jstamant commented on 2016-04-18 22:21

Added libpng12 as a dependancy. Thanks for the heads-up, guys.

lumen_fq commented on 2016-04-18 20:33

this dependency is missing: libpng12.so.0

mawe commented on 2016-04-12 19:41

Yes, this dependency is missing:
/opt/dassault-systemes/DraftSight/Linux/DraftSight: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

greyltc commented on 2016-04-11 13:18

Please add 'libpng12' to the depends list.

jstamant commented on 2016-04-09 16:33

Package checksums updated. Thank you aTom42 for the concise report.

aTom42 commented on 2016-04-09 10:09

Draftsight has been updated upstream with SP1 so AUR package doesn't build anymore (wrong package checksum). Please, update PKGBUILD.

I could build the package successfully by changing the md5sum in PKGBUILD with the new one : 1bc8b2d4c69314f0d612a6c8e09d5acb.

Aaron_chen commented on 2016-03-28 10:49

The mouse lag issue is gone.Very, Very Nice! Thanks!

surfhai commented on 2016-01-06 23:53

The mouse lag issue is less annoying in v2015sp3 when I disable sync to VBlank in the nvidia driver.

emulti commented on 2015-11-20 19:23

I can confirm the same behaviour as hybroid (2015-11-10) below, but with Intel graphics.

It is possible to avoid the mouse slowdown by starting Draftsight when mouse unplugged. When plugged back into USB, mouse motion is OK but mouse wheel doesn't zoom, however Touchpad zoom still works.

The Mouse wheel is still functional with double-click (zooms to drawing extents), however. Looks like Draftsight initialises differently according to input device, but does not correctly handle hotplugged devices.

Mouse lag issues have been reported on the 'Community' forum for months, but it seems nobody from Dassault has ever read or acted on them.

hybroid commented on 2015-11-10 09:40

When mouse unplugged before start app:
mouse wheel don't work in drawing area (for zoom), but touchpad scroll work fine.
When mouse plugged before start app:
mouse wheel works, but cursor motion is very slow.

I'm using xf86-video-ati. Any ideas?

jm370 commented on 2015-11-02 16:34

Funny, but using both vblank_mode=0 and unplugging mouse before starting ds (like ElAngelo wrote) makes draftsight with radeon driver even faster!

jstamant commented on 2015-10-31 02:17

@greyltc Thanks a lot for the feedback. I did notice that pacman recognized the version as a downgrade, so I might approach the AUR mailing list about how to fix this. The only solution I can think of is to implement the epoch variable in my PKGBUILD, but the wiki doesn't recommend it.

It looks like the vblank_mode=0 covers xf86-video-ati, nouveau, and whatever else was mentioned previously. I'm really glad we have that working. I'm keeping notes on any incompatabilities going forward.

greyltc commented on 2015-10-31 01:48

Cool! Glad the it's working for you!

I'm not really sure how/if a non-numeric pkgver works, but this change didn't trigger an update for me. It looks like pacman actually regards your version change as a downgrade.

Quick note: I've tested this .desktop file for disabling vsync on two systems, one with a radeon/xf86-video-ati stack and one with a propriety nvidia stack. It only seems to work on the ATI system. Although __GL_SYNC_TO_VBLANK=0 seems to work for my nvidia system from the command line, I can't seem to get it to work in the .desktop file for some reason...

jstamant commented on 2015-10-31 00:43

Package update: a desktop entry file has been provided. I also improved the PKGBUILD, and changed the package version.

@greyltc, I thought the vblank_mode=0 was an intel-specific Xorg setting, but when you suggested adding it in the desktop entry, I tested it, and it works wonderfully! This makes the package much more useable! Thanks everyone!

greyltc commented on 2015-10-30 19:10

@Crispy24

Could you please put the contents here:
http://pastebin.com/raw.php?i=XgANmid0

Into a file to be installed here:
/usr/local/share/applications/draftsight.desktop

Thanks!

maz-1 commented on 2015-10-26 09:18

@ElAngelo

export vblank_mode=0 ; /opt/dassault-systemes/DraftSight/Linux/DraftSight
or
vblank_mode=0 "/opt/dassault-systemes/DraftSight/Linux/DraftSight"

Both works

ElAngelo commented on 2015-10-22 06:46

@maz-1 I'm really curious where you put that option. I also have an R7 and i'm using the open-source driver. I've set vblank_mode=0 in my .drirc and i've tried starting Draftsight with vblank_mode=0 on the console and both of them don't work for me. I'm still facing massive input lag on my mouse. The only thing that seems to work for me is pull out the mouse usb plug, start draftsight and then reconnect the mouse. I have no idea why that would work but it totally does. Just a tad annoying that this is fairly hard on a laptop...

maz-1 commented on 2015-10-13 14:06

I am facing the mouse lag problem with amd radeon r7 and open-source radeon driver.
I can confirm that vblank_mode=0 solves my problem.

jstamant commented on 2015-10-08 11:49

@yorc It's probably not working because vantu5z's problem is with the Intel driver, not the Nvidia driver. i.e. XV_SYNC_TO_VBLANK won't do anything.

If your driver comes with a GUI control panel, start by looking at that.

Otherwise, you need to do the equivalent in your 20-nvidia-ck.conf file.
Try using nvidia-xconfig (http://man.cx/nvidia-xconfig), or try using the options set in my Gist (https://gist.github.com/jstamant/a517614151347e966e42).

Let me know what works for you. I'm going to write a blog post on how to fix this. Hopefully it'll rank higher when people are looking for a fix on search engines.

EDIT: clarification, fixed a link

yorc commented on 2015-10-08 08:53

Thank's to vantu5z and Crispy24,
I have the Quadro K620 with the propietary nvidia-ck driver.
I tried with the option XV_SYNC_TO_VBLANK to 0 in /etc/X11/xorg.conf.d/20-nvidia.conf and run option "vblank_mode=0 '/opt/dassault-systemes/DraftSight/Linux/DraftSight'", but I got nothing.
Only when I open draftsight in black it's working, but when I open any file .dwg the problem is back.
Any ideas?

vantu5z commented on 2015-09-30 06:58

Crispy24, thanks.
I can't make to work option XV_SYNC_TO_VBLANK in xorg.conf (it don't apply's) or I do something not right.
Try to use "xvattr -a XV_SYNC_TO_VBLANK -v 0", it switch option, but than not helped with mouse lag.
And I found run option "vblank_mode=0 '/opt/dassault-systemes/DraftSight/Linux/DraftSight'" this work for me for Intel driver.

jstamant commented on 2015-09-29 17:37

@vantu5z If your problem is anything similar to the mouse lag using Nvidia/Nouveau driver, you have to disable sync to vblank and/or disallow page flipping.

Referring to the intel man pages (http://linux.die.net/man/4/intel); try setting XV_SYNC_TO_VBLANK to 0 in your xorg.conf

Here's the Xorg configuration snippet I used to fix this. Hopefully you just need to reconfigure to taste.
/etc/X11/xorg.conf.d/20-nouveau.conf
https://gist.github.com/jstamant/a517614151347e966e42

EDIT: fixed a link

vantu5z commented on 2015-09-29 13:53

Anybody know how to fix mouse lag with intel and catalyst driver?

ElAngelo commented on 2015-09-10 14:11

checksum no longer matches.

jstamant commented on 2015-08-31 15:28

@qwerty141735 does installing gstreamer0.10-base solve your "Failed to load modules[...]" problem? I'll be adding gstreamer0.10-base to depends in the next package release.

qwerty1417235 commented on 2015-08-30 06:26

@Crispy24 installing gstreamer0.10-base instead of gstreamer0.10 and gstreamer0.10-plugins is ok. You should add it to depends.

jstamant commented on 2015-08-29 01:22

@lesto I updated the package sums. There should be no problem validating the source, now.

@pawelj84 I added gstreamer to deps right before updating the package...I then ran namcap on the *.pkg.tar.xz. It shows gstreamer is not needed, and that gstreamer0.10-base needs to be included. Is there any particular reason to include gstreamer0.10/gstreamer0.10-plugins instead of gstreamer0.10-base?

pawelj84 commented on 2015-08-27 15:30

Please add gstreamer0.10 and gstreamer0.10-plugins. It seems that lack of those packages cause error "Failed to load modules..."

jstamant commented on 2015-08-26 15:27

@lesto I'm guessing upstream updated their package, and I haven't updated the md5sums field since. If this is the case, then I'll update the PKGBUILD as soon as possible. What I need though, is a mirror for this package. Looking into this.

If makepkg or your AUR helper successfully downloads the source, you can skip the validity check by setting the md5sums field to md5sums=('SKIP')

lesto commented on 2015-08-26 13:04

i get

download-linux-fedora ... FAILED
==> ERROR: One or more files did not pass the validity check!

qwerty1417235 commented on 2015-08-26 05:57

@Crispy24 I run it with $ /opt/dassault-systemes/DraftSight/Linux/DraftSight
The error message is appearing in messagebox. The program can't start, there's only a picture and a messagebox. Here's the screenshot http://postimg.org/image/4eyag3dur/ . In the terminal there's an error "static QPlatformTheme* QKdeTheme::createKdeTheme(): Unable to determine KDEHOME" .

jstamant commented on 2015-08-26 01:02

@qwerty1417235 I'm going to need more details to figure out what this problem is. What command do you use to run draftsight? Where is the error message appearing? In the terminal, or in the program itself? Is there any more text accompanying the error message?

More context merits more help.

qwerty1417235 commented on 2015-08-25 18:20

I have an error when running draftsight. "Failed to load modules. The application will close.
Please reinstall the application."

jstamant commented on 2015-08-22 16:17

I'm using the Nouveau driver, and here's how I managed to fix the mouse lag, since there isn't a GUI control panel unlike with the Nvidia driver. Done through an Xorg .conf file.

Add the following lines to /etc/X11/xorg.conf.d/20-nouveau.conf

Section "Device"
Identifier "nvidia card"
Driver "nouveau"
Option "GLXVBlank" "off"
#Option "PageFlip" "off"
EndSection

This worked for me, but @star_rain mentioned that you may have to disable page flipping. Just uncomment the line above.

I referred to the manual pages nouveau(4), xorg.conf(5); and also to the Wiki pages for Nouveau and Xorg.

star_rain commented on 2015-08-22 02:45

uncheck Sync to VBlank,Allow Flipping.....http://i.imgur.com/5L2nXZe.png

witts_end commented on 2015-08-21 16:42

Ditto re the unbearable cursor lag. The older versions of DS seemed to work fine. Anybody out there know of a site where an old version along with Arch PKGBUILD can be found?

jstamant commented on 2015-08-20 12:29

Yeah, I have unbearable mouse lag, too. As I understand, it's a bug in Draftsight SP3. Some Ubuntu user managed to fix it through his Nvidia settings.
http://askubuntu.com/posts/625433/revisions

But I'm using Nouveau, and I sure don't know of any settings I can change, even after referring to the Wiki page.
https://wiki.archlinux.org/index.php/Nouveau

jstamant commented on 2015-08-20 12:28

Yeah, I have unbearable mouse lag, too. As I understand, it's a bug in Draftsight SP3. Some Ubuntu user managed to fix it through his Nvidia settings. http://askubuntu.com/posts/625433/revisions

But I'm using Nouveau, and I sure don't know of any settings I can change, even after referring to the Wiki page.
https://wiki.archlinux.org/index.php/Nouveau

greyltc commented on 2015-08-20 12:21

Is anyone else getting unbearable cursor lag with this?