Dual screen display problem [Solved]

If you are having problems with QCAD, post here. Please report bugs through our Bug Tracker instead.

Always attach your original DXF or DWG file and mentions your QCAD version and the platform you are on.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
Ironfighter
Junior Member
Posts: 16
Joined: Wed Aug 19, 2020 4:49 am
Location: Victoria Australia

Dual screen display problem [Solved]

Post by Ironfighter » Tue Sep 08, 2020 1:17 pm

History: I started using the community version a couple of months ago.
It would open on my laptop screen (with full menus) and I could drag it from my lap top screen onto my second larger display screen.
I bought the Pro version a couple of weeks ago and installed it and was still able to drag and drop QCad From the lap top to the larger screen with no problems.
I downloaded the update to the latest version on the weekend and installed it. QCad opened up fine but when I tried to drag it from one screen to the other it crashed.
When I opened QCad again it was locked in full screen mode I could neither get out of full screen mode or drag and drop it to the other screen.
I deleted the new installation and re installed it. The problems remained.
I deleted again and ran the Stacer clean up package in an attempt to clean up any debris - no change.
I still had version 3.24 installer so I ran that - no change
I deleted again and downloaded and installed the Linux 64 bit legacy version - still the same problems remain.

What really confuses me is that it was working fine prior to the upgrade. Can anyone offer advice as to how I can get the software running properly on my machine please.


System: Host: <filter> Kernel: 4.19.0-6-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0
parameters: BOOT_IMAGE=/boot/vmlinuz-4.19.0-6-amd64
root=UUID=ba0d8bf0-63e8-4306-9a6a-8e8a9cd8ed8f ro quiet splash
Desktop: Xfce 4.14.2 tk: Gtk 3.24.5 info: xfce4-panel wm: xfwm4 dm: LightDM 1.26.0
Distro: MX-19.2_x64 patito feo February 15 2020 base: Debian GNU/Linux 10 (buster)
Machine: Type: Laptop System: LENOVO product: 20C6A010AU v: ThinkPad Edge E540
serial: <filter> Chassis: type: 10 serial: <filter>
Mobo: LENOVO model: 20C6A010AU v: 0B98405 STD serial: <filter> UEFI: LENOVO
v: J9ETA2WW (2.28 ) date: 06/20/2018
Battery: ID-1: BAT0 charge: 40.0 Wh condition: 40.0/56.2 Wh (71%) volts: 12.4/11.2
model: SMP LNV-45N1 type: Li-ion serial: <filter> status: Not charging
CPU: Topology: Dual Core model: Intel Core i3-4000M bits: 64 type: MT MCP arch: Haswell
family: 6 model-id: 3C (60) stepping: 3 microcode: 28 L2 cache: 3072 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19157
Speed: 798 MHz min/max: 800/2400 MHz Core speeds (MHz): 1: 798 2: 798 3: 798 4: 798
Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW,
STIBP: conditional, RSB filling
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Lenovo
driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:0416
Display: x11 server: X.Org 1.20.4 driver: intel
resolution: 1366x768~60Hz, 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel Haswell Mobile v: 4.5 Mesa 18.3.6 compat-v: 3.0
direct render: Yes
Last edited by Ironfighter on Wed Sep 09, 2020 4:32 am, edited 1 time in total.

User avatar
andrew
Site Admin
Posts: 9059
Joined: Fri Mar 30, 2007 6:07 am

Re: Dual screen display problem

Post by andrew » Tue Sep 08, 2020 1:28 pm

This is most likely related to Qt / the window manager, not QCAD directly. We very likely won't be able to reproduce this here.

In any case, please indicate your QCAD version and the file name of the QCAD package you have downloaded and installed. Note that there are various different packages for Linux systems. You might want to try some of the alternative packages which link against different Qt versions (I'd recommend to also try the Qt 5.14 package).

To get out of full screen mode, use F11.

You also might want to reset your QCAD configuration:
https://qcad.org/en/tutorial-resetting- ... figuration

Ironfighter
Junior Member
Posts: 16
Joined: Wed Aug 19, 2020 4:49 am
Location: Victoria Australia

Re: Dual screen display problem

Post by Ironfighter » Tue Sep 08, 2020 1:56 pm

Thanks for your response Andrew - I try your suggestions tomorrow and post the outcome.

Ironfighter
Junior Member
Posts: 16
Joined: Wed Aug 19, 2020 4:49 am
Location: Victoria Australia

Re: Dual screen display problem

Post by Ironfighter » Wed Sep 09, 2020 3:28 am

andrew wrote:
Tue Sep 08, 2020 1:28 pm

In any case, please indicate your QCAD version and the file name of the QCAD package you have downloaded and installed. Note that there are various different packages for Linux systems. You might want to try some of the alternative packages which link against different Qt versions (I'd recommend to also try the Qt 5.14 package).

To get out of full screen mode, use F11.

You also might want to reset your QCAD configuration:
https://qcad.org/en/tutorial-resetting- ... figuration
Here is a list of versions (apart from the community version) which I have had installed on my laptop:
1. qcad-3.24.3-pro-linux-x86_64
2. qcad-3.25.1-pro-linux-x86_64.run
3. qcad-3.25.2-pro-linux-qt4-x86_64.run

Only the community version and number 1 have been problem free.
I upgraded to number 2. That was when my problems started.
I removed that and have number 3 cutrently installed

F11 doesnt get me out of full screen mode.

I am going to remove number 3 and purge QCAD from my system from the terminal then I will try the version you have suggested.

I will post my progress later.

System details below.

Code: Select all

System:    Host: <filter> Kernel: 4.19.0-6-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-4.19.0-6-amd64 
           root=UUID=ba0d8bf0-63e8-4306-9a6a-8e8a9cd8ed8f ro quiet splash 
           Desktop: Xfce 4.14.2 tk: Gtk 3.24.5 info: xfce4-panel wm: xfwm4 dm: LightDM 1.26.0 
           Distro: MX-19.2_x64 patito feo February 15  2020 base: Debian GNU/Linux 10 (buster) 
Machine:   Type: Laptop System: LENOVO product: 20C6A010AU v: ThinkPad Edge E540 
           serial: <filter> Chassis: type: 10 serial: <filter> 
           Mobo: LENOVO model: 20C6A010AU v: 0B98405 STD serial: <filter> UEFI: LENOVO 
           v: J9ETA2WW (2.28 ) date: 06/20/2018 
Battery:   ID-1: BAT0 charge: 40.0 Wh condition: 40.0/56.2 Wh (71%) volts: 12.4/11.2 
           model: SMP LNV-45N1 type: Li-ion serial: <filter> status: Not charging 
CPU:       Topology: Dual Core model: Intel Core i3-4000M bits: 64 type: MT MCP arch: Haswell 
           family: 6 model-id: 3C (60) stepping: 3 microcode: 28 L2 cache: 3072 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19157 
           Speed: 798 MHz min/max: 800/2400 MHz Core speeds (MHz): 1: 2352 2: 2263 3: 1998 
           4: 2045 
           Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, 
           STIBP: conditional, RSB filling 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Lenovo 
           driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:0416 
           Display: x11 server: X.Org 1.20.4 driver: intel 
           resolution: 1366x768~60Hz, 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel Haswell Mobile v: 4.5 Mesa 18.3.6 compat-v: 3.0 
           direct render: Yes 
Audio:     Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio vendor: Lenovo 
           driver: snd_hda_intel v: kernel bus ID: 00:03.0 chip ID: 8086:0c0c 
           Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: Lenovo 
           driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:8c20 
           Sound Server: ALSA v: k4.19.0-6-amd64 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo 
           driver: r8169 v: kernel port: 3000 bus ID: 03:00.0 chip ID: 10ec:8168 
           IF: eth0 state: down mac: <filter> 
           Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel port: 3000 bus ID: 04:00.0 
           chip ID: 8086:08b2 
           IF: wlan0 state: up mac: <filter> 
Drives:    Local Storage: total: 465.76 GiB used: 220.92 GiB (47.4%) 
           ID-1: /dev/sda vendor: HGST (Hitachi) model: HTS725050A7E630 size: 465.76 GiB 
           block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s rotation: 7200 rpm 
           serial: <filter> rev: B550 scheme: GPT 
Partition: ID-1: / raw size: 464.53 GiB size: 456.24 GiB (98.21%) used: 220.87 GiB (48.4%) 
           fs: ext4 dev: /dev/sda7 
Sensors:   System Temperatures: cpu: 53.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 0 

Info:      Processes: 219 Uptime: 1h 04m Memory: 7.68 GiB used: 1.03 GiB (13.4%) Init: SysVinit 
           v: 2.93 runlevel: 5 default: 5 Compilers: gcc: 8.3.0 alt: 8 Shell: quick-system-in 
           running in: quick-system-in inxi: 3.0.36 

Ironfighter
Junior Member
Posts: 16
Joined: Wed Aug 19, 2020 4:49 am
Location: Victoria Australia

Re: Dual screen display problem

Post by Ironfighter » Wed Sep 09, 2020 3:41 am

Well I am pleased to report that I have solved my problem - I am not quite sure how but I have just opened up QCAD after running the following command from the terminal:

sudo apt-get autoremove.

That is the only thing I have changed since last night ???? so it must have cleared out the problem whatever it was.

This is the version which I have on my screen now:

Version:
3.25.2.0 (3.25.2)
Internet:
QCAD.org
Build Date:
Sep 4 2020
Revision:
4a61501
Qt Version:
4.8.4
Architecture:
x86_64
Compiler:
gcc 4.4.3

I have dragged and dropped it from one screen to the other and F11 has the desired effect.

User avatar
andrew
Site Admin
Posts: 9059
Joined: Fri Mar 30, 2007 6:07 am

Re: Dual screen display problem [Solved]

Post by andrew » Wed Sep 09, 2020 6:55 am

I'm almost sure autoremove had nothing to do with it. It's likely the legacy package that did it (using Qt 4).

If you want to use that that's fine of course.

If you're still game to try something, you might want to try the other package with Qt 5 again, but adjust the start script "qcad" as follows:

Original:

Code: Select all

# breaks on some systems:
# disable if QCAD renders too large
QT_AUTO_SCREEN_SCALE_FACTOR=1 LD_LIBRARY_PATH="$DIR" "$binary" "$@"

# breaks on other systems:
# enable if QCAD renders too large
#LD_LIBRARY_PATH="$DIR" "$binary" "$@"
New:

Code: Select all

# breaks on some systems:
# disable if QCAD renders too large
#QT_AUTO_SCREEN_SCALE_FACTOR=1 LD_LIBRARY_PATH="$DIR" "$binary" "$@"

# breaks on other systems:
# enable if QCAD renders too large
LD_LIBRARY_PATH="$DIR" "$binary" "$@"
I could imagine that QT_AUTO_SCREEN_SCALE_FACTOR=1 might cause problems with multiple screens (that would be a Qt bug).

Note that you can have multiple installations of QCAD installed in parallel. No need to remove the others, they all install into their own separate folder.

Ironfighter
Junior Member
Posts: 16
Joined: Wed Aug 19, 2020 4:49 am
Location: Victoria Australia

Re: Dual screen display problem [Solved]

Post by Ironfighter » Wed Sep 09, 2020 1:11 pm

andrew wrote:
Wed Sep 09, 2020 6:55 am
I'm almost sure autoremove had nothing to do with it. It's likely the legacy package that did it (using Qt 4).

If you want to use that that's fine of course.

If you're still game to try something, you might want to try the other package with Qt 5 again, but adjust the start script "qcad" as follows:

Note that you can have multiple installations of QCAD installed in parallel. No need to remove the others, they all install into their own separate folder.
Thanks Andrew - I’ll give that a go.

Ironfighter
Junior Member
Posts: 16
Joined: Wed Aug 19, 2020 4:49 am
Location: Victoria Australia

Re: Dual screen display problem [Solved]

Post by Ironfighter » Thu Sep 10, 2020 6:16 am

andrew wrote:
Wed Sep 09, 2020 6:55 am
I'm almost sure autoremove had nothing to do with it. It's likely the legacy package that did it (using Qt 4).

If you want to use that that's fine of course.

I could imagine that QT_AUTO_SCREEN_SCALE_FACTOR=1 might cause problems with multiple screens (that would be a Qt bug).

Note that you can have multiple installations of QCAD installed in parallel. No need to remove the others, they all install into their own separate folder.
Well Andrew as the saying goes "faint heart never won a fair lady" so I downloaded the Qt5 version, ran it and edited the "qcad" file as per your instructions then fired it up - see results below :D

I do have the two versions in my /opt folder.

I didn't even have to change the desktop icon.

Thanks again.
Attachments
QCAD Qt5 Screenshot.png
QCAD Qt5 Screenshot.png (107.45 KiB) Viewed 6075 times

Post Reply

Return to “QCAD Troubleshooting and Problems”