desktop icon indicating copy to clipboard operation
desktop copied to clipboard

[Bug]: AppImage 4.0.5 with Nvidia crashes with XIO: fatal IO error 17

Open ralphmkk61 opened this issue 10 months ago • 19 comments

⚠️ Before submitting, please verify the following: ⚠️

Bug description

On my Laptop the AppImage 4.0.5 crashes with XIO: fatal IO error 17 when the NVIDIA Power Mode is switched on. If I use the Intel Grafic the problem disappears.

If I use the AppImage 4.0.4 I can use the NVIDA Power Mode.

This is what happens if I start 4.0.5 in a terminal:

ralph@Legion5i:~/AppImages$ ./Nextcloud.AppImage nextcloud.gui.application: Migrating old config from "/home/ralph/.local/share/Nextcloud" to "/home/ralph/.config/Nextcloud" nextcloud.gui.application: Failed to move the old config directory to its new location ( "/home/ralph/.local/share/Nextcloud" to "/home/ralph/.config/Nextcloud" ) nextcloud.gui.application: Will move the individual files QList("AppImages_sync.log", "Nextcloud_sync.log", "Nextcloud_sync.log.1") nextcloud.gui.application: Fallback move of "AppImages_sync.log" also failed nextcloud.gui.application: Fallback move of "Nextcloud_sync.log" also failed nextcloud.gui.application: Fallback move of "Nextcloud_sync.log.1" also failed XIO: fatal IO error 17 (Die Datei existiert bereits) on X server ":0" after 448 requests (448 known processed) with 0 events remaining.

[code] System: Kernel: 6.14.0-37-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 clocksource: tsc Desktop: Cinnamon v: 6.6.6 tk: GTK v: 3.24.41 wm: Muffin v: 6.6.3 vt: 7 dm: LightDM v: 1.30.0 Distro: Linux Mint 22.3 Zena base: Ubuntu 24.04 noble Machine: Type: Laptop System: LENOVO product: 83LY v: Legion 5 15IRX10 serial: Chassis: type: 10 v: Legion 5 15IRX10 serial: Mobo: LENOVO model: LNVNB161216 v: SDK0T76461 WIN serial: part-nu: LENOVO_MT_83LY_BU_idea_FM_Legion 5 15IRX10 uuid: UEFI: LENOVO v: QNCN34WW date: 09/05/2025 Battery: ID-1: BAT0 charge: 59.9 Wh (98.0%) condition: 61.1/60.0 Wh (101.8%) volts: 17.3 min: 15.4 model: BYD L23B4PK4 type: Li-poly serial: status: not charging cycles: 4 CPU: Info: 14-core (6-mt/8-st) model: 13th Gen Intel Core i7-13650HX bits: 64 type: MST AMCP smt: enabled arch: Raptor Lake rev: 1 cache: L1: 1.2 MiB L2: 11.5 MiB L3: 24 MiB Speed (MHz): avg: 2132 high: 3800 min/max: 800/4700:4900:3600 cores: 1: 3159 2: 3102 3: 3047 4: 800 5: 3800 6: 800 7: 3800 8: 3800 9: 800 10: 800 11: 800 12: 800 13: 3053 14: 2908 15: 3015 16: 2807 17: 1451 18: 800 19: 800 20: 2309 bogomips: 112127 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx Graphics: Device-1: Intel Raptor Lake-S UHD Graphics vendor: Lenovo driver: i915 v: kernel arch: Gen-13 ports: active: none empty: DP-2,HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:a78b class-ID: 0380 Device-2: NVIDIA vendor: Lenovo driver: nvidia v: 590.48.01 pcie: speed: 32 GT/s lanes: 8 ports: active: none off: eDP-2 empty: DP-1,HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:2d18 class-ID: 0300 Device-3: Chicony Integrated Camera driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-11:3 chip-ID: 04f2:b83e class-ID: fe01 serial: Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X: loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa dri: iris gpu: nv_platform,nvidia,nvidia-nvswitch display-ID: :0 screens: 1 Screen-1: 0 s-res: 2928x1830 s-dpi: 168 s-size: 443x277mm (17.44x10.91") s-diag: 522mm (20.57") Monitor-1: eDP-2 mapped: DP-0 note: disabled model: EF10QBC64.C res: 2928x1830 hz: 165 dpi: 232 size: 320x200mm (12.6x7.87") diag: 377mm (14.9") modes: 2560x1600 API: EGL v: 1.5 hw: drv: intel iris platforms: gbm: drv: iris API: OpenGL v: 4.6 compat-v: 4.6.0 vendor: nvidia mesa v: 590.48.01 glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 5070 Laptop GPU/PCIe/SSE2 API: Vulkan v: 1.3.275 layers: 9 surfaces: xcb,xlib device: 0 type: discrete-gpu driver: N/A device-ID: 10de:2d18 device: 1 type: integrated-gpu driver: N/A device-ID: 8086:a78b device: 2 type: cpu driver: N/A device-ID: 10005:0000 Audio: Device-1: Intel Raptor Lake High Definition Audio vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:7a50 class-ID: 0401 Device-2: NVIDIA driver: snd_hda_intel v: kernel pcie: speed: 32 GT/s lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:22eb class-ID: 0403 API: ALSA v: k6.14.0-37-generic status: kernel-api Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin Network: Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet vendor: Lenovo RTL8111/8168/8411 driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: 5000 bus-ID: 08:00.0 chip-ID: 10ec:8168 class-ID: 0200 IF: enp8s0 state: down mac: Device-2: MEDIATEK vendor: Lenovo driver: mt7925e v: kernel pcie: speed: 5 GT/s lanes: 1 port: N/A bus-ID: 0e:00.0 chip-ID: 14c3:7925 class-ID: 0280 IF: wlp14s0 state: up mac: Bluetooth: Device-1: Foxconn / Hon Hai Wireless_Device driver: btusb v: 0.8 type: USB rev: 2.1 speed: 480 Mb/s lanes: 1 bus-ID: 1-14:4 chip-ID: 0489:e111 class-ID: e001 serial: Report: hciconfig ID: hci0 rfk-id: 0 state: up address: bt-v: 5.4 lmp-v: 13 sub-v: 2512 hci-v: 13 rev: 1009 class-ID: 7c010c Drives: Local Storage: total: 2.75 TiB used: 1.32 TiB (47.9%) ID-1: /dev/nvme0n1 vendor: Crucial model: CT2000P310SSD8 size: 1.82 TiB speed: 63.2 Gb/s lanes: 4 tech: SSD serial: fw-rev: V8CR001 temp: 38.9 C scheme: GPT ID-2: /dev/nvme1n1 vendor: Western Digital model: WD PC SN7100S SDFPMSL-1T00-1101 size: 953.87 GiB speed: 63.2 Gb/s lanes: 4 tech: SSD serial: fw-rev: 7611M001 temp: 36.9 C scheme: GPT Partition: ID-1: / size: 839.52 GiB used: 391.78 GiB (46.7%) fs: ext4 dev: /dev/nvme1n1p6 ID-2: /boot/efi size: 256 MiB used: 53 MiB (20.7%) fs: vfat dev: /dev/nvme1n1p1 Swap: ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile USB: Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 16 rev: 2.0 speed: 480 Mb/s lanes: 1 chip-ID: 1d6b:0002 class-ID: 0900 Device-1: 1-6:2 info: Integrated Express ITE Device(8258) type: keyboard,HID driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s lanes: 1 power: 100mA chip-ID: 048d:c195 class-ID: 0300 Device-2: 1-11:3 info: Chicony Integrated Camera type: video driver: uvcvideo interfaces: 3 rev: 2.0 speed: 480 Mb/s lanes: 1 power: 500mA chip-ID: 04f2:b83e class-ID: fe01 serial: Device-3: 1-14:4 info: Foxconn / Hon Hai Wireless_Device type: bluetooth driver: btusb interfaces: 3 rev: 2.1 speed: 480 Mb/s lanes: 1 power: 100mA chip-ID: 0489:e111 class-ID: e001 serial: Hub-2: 2-0:1 info: super-speed hub ports: 10 rev: 3.1 speed: 20 Gb/s lanes: 2 chip-ID: 1d6b:0003 class-ID: 0900 Sensors: System Temperatures: cpu: N/A mobo: N/A gpu: nvidia temp: 49 C Fan Speeds (rpm): N/A Repos: Packages: 2323 pm: dpkg pkgs: 2278 pm: flatpak pkgs: 45 No active apt repos in: /etc/apt/sources.list Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 1: deb https: //fastly.linuxmint.io zena main upstream import backport 2: deb http: //ftp-stud.hs-esslingen.de/ubuntu noble main restricted universe multiverse 3: deb http: //ftp-stud.hs-esslingen.de/ubuntu noble-updates main restricted universe multiverse 4: deb http: //ftp-stud.hs-esslingen.de/ubuntu noble-backports main restricted universe multiverse 5: deb http: //security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.sources 1: deb [arch=amd64 arm64] https: //brave-browser-apt-release.s3.brave.com stable main Active apt repos in: /etc/apt/sources.list.d/signal-desktop.sources 1: deb [arch=amd64] https: //updates.signal.org/desktop/apt xenial main Info: Memory: total: 32 GiB note: est. available: 31.07 GiB used: 5.32 GiB (17.1%) Processes: 448 Power: uptime: 27m states: freeze,mem,disk suspend: deep wakeups: 0 hibernate: platform Init: systemd v: 255 target: graphical (5) default: graphical Compilers: gcc: 13.3.0 Client: Unknown python3.12 client inxi: 3.3.34 [/code]

Steps to reproduce

  • AppImage is ready to run
  • Switch to nvidia power mode
  • reboot
  • start the AppImage in a Terminal

Expected behavior

Nextcloud GUI starts

Which files are affected by this bug

none

Operating system

Linux

Which version of the operating system you are running.

Linux Mint 22.3 - Cinnamon 64-bit

Package

Official Linux AppImage

Nextcloud Server version

not relevant

Nextcloud Desktop Client version

4.0.5

Is this bug present after an update or on a fresh install?

Fresh desktop client install

Are you using the Nextcloud Server Encryption module?

Encryption is Enabled

Are you using an external user-backend?

  • [ ] Default internal user-backend
  • [ ] LDAP/ Active Directory
  • [ ] SSO - SAML
  • [ ] Other

Nextcloud Server logs

not relevant

Additional info

No response

ralphmkk61 avatar Feb 01 '26 12:02 ralphmkk61

I am on desktop with Nvidia GeForce RTX 3060, and the driver version 580, and I do have the same failure. So, thanks for a note that version 4.0.4 is still working! I disabled update notifcations until the fixed release will be rolled up.

The same bug hapens on 4.0.6 too!

Wohlstand avatar Feb 02 '26 04:02 Wohlstand

Same issue on Ubuntu 24.04.03 LTS with Nvidia GeForce RTX 3060 Ti (Properitary Driver version 580 & 590 - I tried both as the error would indicate a video issue) using both the 4.0.5 and 4.0.6 Appimage

XIO: fatal IO error 2 (No such file or directory) on X server ":1" after 459 requests (459 known processed) with 0 events remaining.

I am will to assist in debug and testing.

Cdaly1970 avatar Feb 02 '26 19:02 Cdaly1970

Same Error in Ubuntu 24.04 with Nvidia GeForce RTX 4090:

Image

joserick avatar Feb 02 '26 20:02 joserick

Can confirm error on Ubuntu 24.04.3 LTS, NVIDIA GP106GL [Quadro P2000]

Co-eus avatar Feb 04 '26 10:02 Co-eus

Confirmed with Nextcloud-4.0.6-x86_64.AppImage on Pop!_OS 22.04 LTS with Nvidia GeForce RTX 3060.

Falling back to 4.0.4, also willing to assist in investigation if required.

wzurborg avatar Feb 06 '26 08:02 wzurborg

I confirm this bug, Nextcloud-4.0.6-x86_64.AppImage, Debian 13 / KDE with GeForce GT 1030. Also falling back to 4.0.4, this problem came up with 4.0.5.

On my Notebook, also running Debian 13 with KDE, the version 4.0.6 works.

eehmke avatar Feb 12 '26 20:02 eehmke

I have same bug, any fixed?

Joni8829 avatar Feb 14 '26 17:02 Joni8829

Came from #9433 to report the same. Running LMDE7 on Nvidia GTX 1070. 4.0.4 works just fine.

Failed to initialize instances shared memory:  "QSharedMemory::handle: doesn't exist"
nextcloud.gui.application: Migrating old config from "/home/twomoses/.local/share/Nextcloud" to "/home/twomoses/.config/Nextcloud"
nextcloud.gui.application: Failed to move the old config directory to its new location ( "/home/twomoses/.local/share/Nextcloud" to "/home/twomoses/.config/Nextcloud" )
nextcloud.gui.application: Will move the individual files QList("nextcloud.cfg", "Nextcloud_sync.log")
nextcloud.gui.application: Fallback move of  "nextcloud.cfg" also failed
nextcloud.gui.application: Fallback move of  "Nextcloud_sync.log" also failed
XIO:  fatal IO error 17 (File exists) on X server ":0"
      after 469 requests (469 known processed) with 0 events remaining.
[heap]  0
[heap]  1
[heap]  2
[heap]  3
[heap]  4
[heap]  5
[heap]  6
...

System Info: Image

twomoses avatar Feb 20 '26 00:02 twomoses

Also unable to use 4.0.5 or 4.0.6 on LinuxMint 21.3 with NVIDIA GeForce GTX 1660 Ti card. 4.0.4 works

robbielink avatar Feb 27 '26 13:02 robbielink

Why is still no one assigned to this bug?

eehmke avatar Feb 27 '26 13:02 eehmke

Came back to say I am running 4.0.6 on a different system with no issues. On the previous system in this comment, the issue persists.

Image

twomoses avatar Feb 27 '26 17:02 twomoses

https://github.com/nextcloud-releases/desktop/releases/tag/v33.0.0-rc2 does work for me again.

kesselb avatar Feb 28 '26 15:02 kesselb

@kesselb Client v33.0.0-rc2 works in principle, but there is a strange problem with it: It does not sync files larger than exactly 100MB. So a file with 104857600 bytes syncs ok, but a file with 104857601 bytes fails to sync. On the same machine v4.0.4 syncs larger files without any problem. So I think this has to be a bug in client v33.0.0-rc2, right? For files over 100MB the client log contains messages like these:

2026-03-08 17:37:41:239 [ info nextcloud.sync.discovery /home/user/src/libsync/discovery.cpp:1892 ]:	discovered "Downloads/100mb_plus_1b.data" CSyncEnums::CSYNC_INSTRUCTION_NEW OCC::SyncFileItem::Up CSyncEnums::ItemTypeFile
2026-03-08 17:37:41:239 [ info nextcloud.sync.engine /home/user/src/libsync/syncengine.cpp:177 ]:	Item is on blacklist:  "Downloads/100mb_plus_1b.data" retries: 1 for another 13 s
2026-03-08 17:37:41:248 [ info nextcloud.sync.statustracker /home/user/src/libsync/syncfilestatustracker.cpp:233 ]:	Investigating "Downloads/100mb_plus_1b.data" OCC::SyncFileItem::BlacklistedError CSyncEnums::CSYNC_INSTRUCTION_IGNORE OCC::SyncFileItem::Up CSyncEnums::ItemTypeFile
2026-03-08 17:37:41:252 [ info nextcloud.sync.propagator /build-client/src/libsync/nextcloudsync_autogen/EWIEGA46WW/../../../../../home/user/src/libsync/owncloudpropagator.h:213 ]:	Starting CSyncEnums::CSYNC_INSTRUCTION_IGNORE propagation of "Downloads/100mb_plus_1b.data" by OCC::PropagateIgnoreJob(0x566f4d6935a0)
2026-03-08 17:37:41:252 [ warning nextcloud.sync.propagator /home/user/src/libsync/owncloudpropagator.cpp:280 ]:	Could not complete propagation of "Downloads/100mb_plus_1b.data" by OCC::PropagateIgnoreJob(0x566f4d6935a0) with status OCC::SyncFileItem::BlacklistedError and error: "Requested uri (/https%3A/cloud.mydomain.com/remote.php/dav/files/sb/Downloads/100mb_plus_1b.data) is out of base uri (/remote.php/dav/) (übersprungen aufgrund des früheren Fehlers, erneuter Versuch in 13 Sekunden)"
2026-03-08 17:37:41:252 [ warning nextcloud.gui.activity /home/user/src/gui/tray/usermodel.cpp:1155 ]:	Item  "Downloads/100mb_plus_1b.data"  retrieved resulted in  "Requested uri (/https%3A/cloud.mydomain.com/remote.php/dav/files/sb/Downloads/100mb_plus_1b.data) is out of base uri (/remote.php/dav/) (übersprungen aufgrund des früheren Fehlers, erneuter Versuch in 13 Sekunden)"
2026-03-08 17:37:41:252 [ info nextcloud.gui.activity /home/user/src/gui/tray/usermodel.cpp:1101 ]:	Item  "Downloads/100mb_plus_1b.data"  retrieved resulted in error  "Requested uri (/https%3A/cloud.mydomain.com/remote.php/dav/files/sb/Downloads/100mb_plus_1b.data) is out of base uri (/remote.php/dav/) (übersprungen aufgrund des früheren Fehlers, erneuter Versuch in 13 Sekunden)"
2026-03-08 17:37:41:252 [ warning nextcloud.gui.activity /home/user/src/gui/tray/activitylistmodel.cpp:611 ]:	Error successfully added to the notification list:  OCC::ActivityListModel::ErrorType::SyncError "Downloads/100mb_plus_1b.data" "Requested uri (/https%3A/cloud.mydomain.com/remote.php/dav/files/sb/Downloads/100mb_plus_1b.data) is out of base uri (/remote.php/dav/) (übersprungen aufgrund des früheren Fehlers, erneuter Versuch in 13 Sekunden)" OCC::SyncResult::Undefined OCC::SyncFileItem::BlacklistedError
2026-03-08 17:37:41:252 [ warning sync.localdiscoverytracker /home/user/src/libsync/localdiscoverytracker.cpp:70 ]:	inserted error item "Downloads/100mb_plus_1b.data"

sbaum avatar Mar 08 '26 16:03 sbaum

@sbaum please log a fresh issue for your sync problem to ensure it's not overlooked.

kesselb avatar Mar 08 '26 22:03 kesselb

@kesselb Done: https://github.com/nextcloud/desktop/issues/9582

sbaum avatar Mar 09 '26 19:03 sbaum

Switched to 4.0.7 and the problem vanished. As I use a new Nvidia Firmware (580) I do not know what the solution was.

ralphmkk61 avatar Mar 14 '26 14:03 ralphmkk61

Yay! Works for me, too.

robbielink avatar Mar 14 '26 15:03 robbielink

resolved with 4.0.7

nilsding avatar Mar 14 '26 18:03 nilsding

I can confirm the problem is solved with 4.0.7.

eehmke avatar Mar 16 '26 18:03 eehmke