pop-os / cosmic-comp

Compositor for the COSMIC desktop environment
GNU General Public License v3.0
418 stars 51 forks source link

black screen and no windows on launch, worked before #597

Open quomat opened 3 days ago

quomat commented 3 days ago

Hi, I installed cosmic-comp from the AUR on Arch Linux about 2 weeks ago and it worked really well, but after some updates it stopped. After cosmic-comp I got a black screen with moving cursor, but no windows. journalctl -b _COMM="cosmic-comp" shows the following:

Jul 03 21:42:26 Hyena cosmic-comp[1356]: Unable to parse your locale: ParserError(InvalidLan>
Jul 03 21:42:26 Hyena cosmic-comp[1356]: Failed to read config 'workspaces'
Jul 03 21:42:26 Hyena cosmic-comp[1356]: Key-Binding 'Period' only matched case insensitive >
Jul 03 21:42:26 Hyena cosmic-comp[1356]: Key-Binding 'Comma' only matched case insensitive f>
Jul 03 21:42:26 Hyena cosmic-comp[1356]: Key-Binding 'Period' only matched case insensitive >
Jul 03 21:42:26 Hyena cosmic-comp[1356]: Key-Binding 'Comma' only matched case insensitive f>
Jul 03 21:42:27 Hyena cosmic-comp[1356]: Unable to become drm master, assuming unprivileged >
Jul 03 21:42:39 Hyena cosmic-comp[1366]: Unable to parse your locale: ParserError(InvalidLan>
Jul 03 21:42:39 Hyena cosmic-comp[1366]: Failed to read config 'workspaces'
Jul 03 21:42:39 Hyena cosmic-comp[1366]: Key-Binding 'Period' only matched case insensitive >
Jul 03 21:42:39 Hyena cosmic-comp[1366]: Key-Binding 'Comma' only matched case insensitive f>
Jul 03 21:42:39 Hyena cosmic-comp[1366]: Key-Binding 'Period' only matched case insensitive >
Jul 03 21:42:39 Hyena cosmic-comp[1366]: Key-Binding 'Comma' only matched case insensitive f>
Jul 03 21:42:39 Hyena cosmic-comp[1366]: Unable to become drm master, assuming unprivileged >
Jul 03 21:42:40 Hyena cosmic-comp[1366]: Error rendering.
Jul 03 21:47:30 Hyena cosmic-comp[1366]: New screen configuration invalid!:
                                                 AtomicModeReq {
                                             objects: [
                                                 35,
                                                 38,
                                                 42,
                                                 88,
                                             ],
                                             count_props_per_object: [
                                                 12,
                                                 12,
                                                 2,
                                                 1,
                                             ],
                                             props: [
                                                 property::Handle(
                                                     9,
                                                 ),
                                                 property::Handle(
                                                     10,
                                                 ),
                                                 property::Handle(
                                                     11,
                                                 ),
                                                 property::Handle(
                                                     12,
                                                 ),
                                                 property::Handle(
                                                     13,
                                                 ),
                                                 property::Handle(
                                                     14,
                                                 ),
                                                 property::Handle(
                                                     15,                                                ),
                                                 property::Handle(
                                                     16,
                                                 ),
                                                 property::Handle(
                                                     17,
                                                 ),
                                                 property::Handle(
                                                     18,
                                                 ),
                                                 property::Handle(
                                                     20,
                                                 ),
                                                 property::Handle(
                                                     37,
                                                 ),
                                                 property::Handle(
                                                     9,
                                                 ),
                                                 property::Handle(
                                                     10,
                                                 ),
                                                 property::Handle(
                                                     11,
                                                 ),
                                                 property::Handle(
                                                     12,
                                                 ),
                                                 property::Handle(
                                                     13,
                                                 ),
                                                 property::Handle(
                                                     14,
                                                 ),
                                                 property::Handle(
                                                     15,
                                                 ),
                                                 property::Handle(
                                                     16,
                                                 ),
                                                 property::Handle(
                                                     17,
                                                 ),
                                                 property::Handle(
                                                     18,
                                                 ),
                                                 property::Handle(
                                                     20,
                                                 ),
                                                 property::Handle(                                                
                                                     40,
                                                 ),
                                                 property::Handle(
                                                     22,
                                                 ),
                                                 property::Handle(
                                                     23,
                                                 ),
                                                 property::Handle(
                                                     20,
                                                 ),
                                             ],
                                             values: [
                                                 0,
                                                 0,
                                                 125829120,
                                                 70778880,
                                                 0,
                                                 0,
                                                 1920,
                                                 1080,
                                                 119,
                                                 86,
                                                 42,
                                                 1,
                                                 0,
                                                 0,
                                                 0,
                                                 0,
                                                 0,
                                                 0,
                                                 0,
                                                 0,
                                                 0,
                                                 18446744073709551615,
                                                 0,
                                                 65535,
                                                 1,
                                                 118,
                                                 42,
                                             ],
                                         }
                                                 Operation not permitted (os error 1)
Jul 03 21:47:30 Hyena cosmic-comp[1366]: Error rendering.
Jul 03 21:47:30 Hyena cosmic-comp[1366]: Failed to destroy old mode property blob: No such f>
Jul 03 21:47:30 Hyena cosmic-comp[1366]: Error rendering.
Jul 03 21:47:34 Hyena cosmic-comp[1366]: Error rendering.
Jul 03 21:47:34 Hyena cosmic-comp[1366]: Error rendering.
Jul 03 21:47:34 Hyena cosmic-comp[1366]: Error rendering.

How can I diagnose the issue further? Thank you for your fantastic work on cosmic!

Drakulix commented 3 days ago

Can you perhaps post the output of drm_info on your system?

quomat commented 3 days ago

drm_info-output.txt I attached it as a file. The breakage could be related to the Nvidia driver update.

Drakulix commented 3 days ago

The breakage could be related to the Nvidia driver update.

There was an issue like this from the driver update we fixed months ago. What commit of cosmic-comp are you running?

Initsnow commented 3 days ago

drm_info-output.txt drm_info-输出.txt I attached it as a file.我将其作为文件附加。 The breakage could be related to the Nvidia driver update. 损坏可能与 Nvidia 驱动程序更新有关。

Yeah, I had no problems installing cosmic de when I was using popos 22.04. It happened when I switched to Arch and updated the 555 NVIDIA driver. I am pretty sure that this problem is related to the nvidia driver because when I switch to Hybrid mode, my laptop screen can display normally, but the external monitor cannot. After switching to Discrete mode, both screens are black and cannot display

Drakulix commented 2 days ago

Yeah, I had no problems installing cosmic de when I was using popos 22.04. It happened when I switched to Arch and updated the 555 NVIDIA driver. I am pretty sure that this problem is related to the nvidia driver because when I switch to Hybrid mode, my laptop screen can display normally, but the external monitor cannot. After switching to Discrete mode, both screens are black and cannot display

Are you using system76-power on Arch or how exactly are you toggling Hybrid vs Discrete? Because you shouldn't use that outside of Pop!_OS and COSMIC also no longer needs these settings. Hybrid mode on it's own should be sufficient.

Initsnow commented 2 days ago

Yeah, I had no problems installing cosmic de when I was using popos 22.04. It happened when I switched to Arch and updated the 555 NVIDIA driver. I am pretty sure that this problem is related to the nvidia driver because when I switch to Hybrid mode, my laptop screen can display normally, but the external monitor cannot. After switching to Discrete mode, both screens are black and cannot display

Are you using system76-power on Arch or how exactly are you toggling Hybrid vs Discrete? Because you shouldn't use that outside of Pop!_OS and COSMIC also no longer needs these settings. Hybrid mode on it's own should be sufficient.

I did not use system76-power but used the HP Omen BIOS settings to switch BTW, nouveau can work fine