pop-os / cosmic-epoch

Next generation Cosmic desktop environment
1.79k stars 58 forks source link

[BUG] Dragging and Dropping Files Causes Desktop to Freeze #399

Open jorge-menjivar opened 2 weeks ago

jorge-menjivar commented 2 weeks ago

Using Fedora 40 with kernel 6.9.4-200.fc40.x86_64.

I tried dragging and dropping a PNG image into a Google Doc in Chrome. First, I tried using the regular Gnome Files app, and it froze the whole system and had to restart. I tried a second time with the Cosmic Files app, and the same thing happened.

Update: Others (read below) are also experiencing a complete desktop freeze when dragging and dropping any file to any location, including within the same folder.

aekobear commented 2 weeks ago

Came here to report the same bug. I'm also on Fedora 40 with kernel 6.9.4-200.fc40.x86_64

Drag-and-drop freezes the desktop in every situation for me. In both Cosmic Files and Gnome Files, dragging any file to any location (including a different location within the same folder) causes the desktop to freeze

jorge-menjivar commented 2 weeks ago

@aekobear Thank you for adding to this. I have updated the title and the opening comment to reflect your findings.

Drakulix commented 2 weeks ago

Is this still an issue? I can't replicate it. Was Chrome running via Xwayland or wayland in that case?

jorge-menjivar commented 2 weeks ago

@Drakulix

Yes, in chrome, I was using native wayland with the following flags: #ignore-gpu-blocklist : Enabled #ozone-platform-hint : Wayland

However, I am no longer able to replicate this. I have done these relevant changes since I posted this:

Cosmic

  Upgrade  cosmic-app-library-0:0.1.0~git20240624.125454.14bf01d-1.fc40.x86_64        External User   copr:copr.fedorainfracloud.org:ryanabx:cosmic-epoch
  Upgrade  cosmic-applets-0:0.1.0~git20240624.133438.e709331-1.fc40.x86_64            External User   copr:copr.fedorainfracloud.org:ryanabx:cosmic-epoch
  Upgrade  cosmic-comp-0:0.1.0~git20240624.081119.0f6622d-1.fc40.x86_64               External User   copr:copr.fedorainfracloud.org:ryanabx:cosmic-epoch
  Upgrade  cosmic-desktop-0:0.1.0~git20240625.18.none-1.fc40.noarch                   External User   copr:copr.fedorainfracloud.org:ryanabx:cosmic-epoch
  Upgrade  cosmic-greeter-0:0.1.0~git20240624.081104.0ac49fe-1.fc40.x86_64            External User   copr:copr.fedorainfracloud.org:ryanabx:cosmic-epoch
  Upgrade  cosmic-session-0:0.1.0~git20240624.094326.a44e8dd-1.fc40.x86_64            External User   copr:copr.fedorainfracloud.org:ryanabx:cosmic-epoch
  Upgrade  cosmic-settings-0:0.1.0~git20240624.081135.1cbd563-1.fc40.x86_64           External User   copr:copr.fedorainfracloud.org:ryanabx:cosmic-epoch
  Upgrade  xdg-desktop-portal-cosmic-0:0.1.0~git20240625.191311.a38c9c9-1.fc40.x86_64 External User   copr:copr.fedorainfracloud.org:ryanabx:cosmic-epoch
  Replaced cosmic-app-library-0:0.1.0~git20240612.023429.e06beb2-1.fc40.x86_64        External User   @System
  Replaced cosmic-applets-0:0.1.0~git20240616.071003.dd5230c-1.fc40.x86_64            External User   @System
  Replaced cosmic-comp-0:0.1.0~git20240619.132756.254c583-1.fc40.x86_64               External User   @System
  Replaced cosmic-desktop-0:0.1.0~git20240622.03.none-1.fc40.noarch                   External User   @System
  Replaced cosmic-greeter-0:0.1.0~git20240614.212908.38329eb-1.fc40.x86_64            External User   @System
  Replaced cosmic-session-0:0.1.0~git20240621.120212.23c0629-1.fc40.x86_64            External User   @System
  Replaced cosmic-settings-0:0.1.0~git20240618.103001.6e6403e-1.fc40.x86_64           External User   @System
  Replaced xdg-desktop-portal-cosmic-0:0.1.0~git20240530.122733.5f38044-1.fc40.x86_64 External User   @System

Chrome

  Upgrade  google-chrome-stable-0:126.0.6478.126-1.x86_64                             User            google-chrome
  Replaced google-chrome-stable-0:126.0.6478.114-1.x86_64                             User            @System

Kernel

  Install  kernel-modules-extra-0:6.9.5-200.fc40.x86_64                               User            updates
  Install  kernel-devel-0:6.9.5-200.fc40.x86_64                                       User            updates
  Install  kernel-modules-0:6.9.5-200.fc40.x86_64                                     User            updates
  Install  kernel-modules-core-0:6.9.5-200.fc40.x86_64                                User            updates
  Install  kernel-core-0:6.9.5-200.fc40.x86_64                                        User            updates
  Install  kernel-0:6.9.5-200.fc40.x86_64                                             User            updates
  Upgrade  kernel-devel-matched-0:6.9.5-200.fc40.x86_64                               External User   updates
  Remove   kernel-0:6.8.9-300.fc40.x86_64                                             User            @System
  Remove   kernel-core-0:6.8.9-300.fc40.x86_64                                        User            @System
  Remove   kernel-devel-0:6.8.9-300.fc40.x86_64                                       User            @System
  Remove   kernel-modules-0:6.8.9-300.fc40.x86_64                                     User            @System
  Remove   kernel-modules-core-0:6.8.9-300.fc40.x86_64                                User            @System
  Remove   kernel-modules-extra-0:6.8.9-300.fc40.x86_64                               User            @System
  Replaced kernel-devel-matched-0:6.9.4-200.fc40.x86_64                               External User   @System

Note: This issue was only happening in Cosmic Epoch, it did not happen in either Gnome or KDE plasma, which I have also been using without issues.

aekobear commented 1 week ago

Is this still an issue? I can't replicate it. Was Chrome running via Xwayland or wayland in that case?

This was still happening for me, so I did some more troubleshooting. When I tried opening cosmic-files via terminal, I noticed that on load it would display this error:

DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau.

I did spend some time setting up proprietary nvidia drivers on this installation, so I tried purging them and rebooting. Sure enough, the freeze no longer happens.

That being said, I needed those drivers to play video games, so not a huge victory :shrug:

I'm going to try a fresh install with pop OS as my base tomorrow to see if I can get cosmic working with a dedicated GPU and without this freeze

jorge-menjivar commented 1 week ago

This was still happening for me, so I did some more troubleshooting. When I tried opening cosmic-files via terminal, I noticed that on load it would display this error:

DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau.

I am also seeing this, but the bug is not happening anymore. I still have nvidia proprietary drivers. NVIDIA-SMI 550.90.07 Driver Version: 550.90.07 CUDA Version: 12.4

What I am thinking is that maybe you had pending installs that needed a reboot, or maybe a kernel update. I also updated my nvidia drivers, so that could have had an impact as well.