Package Details: draftsight 2016SP1-2

Git Clone URL: https://aur.archlinux.org/draftsight.git (read-only)
Package Base: draftsight
Description: Freeware CAD software for your DWG/DXF files.
Upstream URL: http://www.3ds.com/products/draftsight/
Keywords: CAD DWG DXF
Licenses: custom
Submitter: Crispy24
Maintainer: Crispy24
Last Packager: Crispy24
Votes: 22
Popularity: 3.759037
First Submitted: 2015-08-10 00:05
Last Updated: 2016-04-18 22:20

Latest Comments

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)

Crispy24 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.

Crispy24 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!

Crispy24 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...

Crispy24 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.

Crispy24 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.

Crispy24 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.

Crispy24 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.

Crispy24 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..."

Crispy24 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" .

Crispy24 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."

Crispy24 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?

Crispy24 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

Crispy24 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?