pop-os / cosmic-epoch

Next generation Cosmic desktop environment
2.9k stars 78 forks source link

NVIDIA graphics meta-issue #168

Open ids1024 opened 9 months ago

ids1024 commented 9 months ago

Known issues with cosmic on Nvidia graphics can be linked here, to keep track of them all while having separate issues for otherwise unrelated problems.

ids1024 commented 9 months ago

We should probably write up some organized documentation for testing graphics driver related issues, but some things to look at in testing:

RayJW commented 9 months ago
  • Extremely/unusably slow performance on some Nvidia hardware?

I have this issue on my setup. I wanted to try the new Cosmic Epoch on Pop!_OS 22.04 around two months ago, but it still doesn't work. It usually takes around 30–60 seconds to even load any output, and then it's just static. The clock seems to work I think, but the cursor is stuck to the upper left corner (0, 0 perhaps?). Sometimes I can get the launcher to pop with the super key but then with a huge delay of multiple seconds. If there is any information I can provide to diagnose this issue, I am happy to help, since it was mentioned that this couldn't be reproduced so far.

ids1024 commented 9 months ago

After looking through https://github.com/NVIDIA/egl-wayland/issues/72, an NVIDIA engineer there mentions some users with Pascal cards seeing "extremely low framerates (0.2FPS)", and says that should be fixed in the 550 driver, when that's released.

That seems to be the same issue you're seeing, and has appeared on at least one system we've tested it on.

I'm kind of curious what hardware/circumstances that occurs on since it doesn't seem to be all 1000 series GPUs, but that should hopefully no longer be an issue when the 550 driver is released.

RayJW commented 9 months ago

It seems like this is probably exactly the issue I'm experiencing since I use Pascal. In that case, I'll report back if it still won't work once the 550 series driver is out. Out of curiosity, I saw it mentioned once but is EGL Wayland now installed by default on Pop!_OS because the testing repo has been discontinued but is it also installed automatically as a dependency now or do I have to take manual steps?

mmstick commented 9 months ago

@RayJW It is installed by default with cosmic's packaging

luccahuguet commented 9 months ago

I can reproduce https://github.com/pop-os/cosmic-comp/issues/264

and it does work only on integrated graphics. Discrete or hybrid does not.

my system is the following: OS: Pop!_OS 22.04 LTS x86_64 Host: 80YH Lenovo ideapad 320-15IKB Kernel: 6.6.6-76060606-generic Uptime: 12 mins Packages: 2489 (dpkg), 2 (nix-user), 48 (nix-default), 45 (flatpak), 11 (snap) Shell: nu 0.88.1 Resolution: 1920x1080 DE: COSMIC Theme: Adwaita [GTK3] Icons: Adwaita [GTK3] Terminal: zellij CPU: Intel i7-7500U (4) @ 3.500GHz GPU: NVIDIA GeForce 940MX GPU: Intel HD Graphics 620

RayJW commented 9 months ago

@RayJW It is installed by default with cosmic's packaging

Perfect, thanks for the heads-up!

ryzendew commented 8 months ago

only issue ive had so far on nvidia is WGPU which is fixed by forcing it to use GL but the performance is great

ryzendew commented 8 months ago

https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/967#note_2258144 Nvidia dev confirmed it's a driver bug

LunNova commented 7 months ago

One of my monitors get stuck on one frame while the other works using nvidia proprietary drivers.

nouveau + gsp + mesa nvk 24 seems to work really well!

Drakulix commented 7 months ago

One of my monitors get stuck on one frame while the other works using nvidia proprietary drivers.

I have seen nvidia outputs occasionally not initializing correctly after the first frame. Do you happen to have logs of that particular run? Is it reproducible on your system?

LunNova commented 7 months ago

Do you happen to have logs of that particular run?

No

Is it reproducible on your system?

Trying again today with nvidia proprietary, no. It was reproducible within one particular boot.

tim77 commented 5 months ago

COSMIC Doesn't work at all on Nvidia 550.76-1 drivers. Doesn't launch.

Log: cosmic-startup-nvidia-log.txt

Drakulix commented 5 months ago

COSMIC Doesn't work at all on Nvidia 550.76-1 drivers. Doesn't launch.

You are either missing the nvidia-drm.modeset=1 kernel flag or have simpledrm loaded for the nvidia gpu. This is a configuration issue on your end.

Also we don't test the nvidia-open driver, but that doesn't seem to be the issue here.

If you need more help debugging this, please post the output of drm_info on your system.

tim77 commented 5 months ago

@Drakulix it works with nvidia-drm.modeset=1! Thanks a lot.