[Bug 2003031] Re: gnome-shell crashes in the kernel at drm_atomic_check_only and the kernel says "adding CRTC not allowed without modesets"

2023-01-30 Thread Daniel van Vugt
** Summary changed:

- gnome-shell crashes in the kernel at drm_atomic_check_only and the kernel 
says "adding CRTC not allowed without modesets: requested 0x4, affected 0x7"
+ gnome-shell crashes in the kernel at drm_atomic_check_only and the kernel 
says "adding CRTC not allowed without modesets"

** Summary changed:

- gnome-shell crashes in the kernel at drm_atomic_check_only and the kernel 
says "adding CRTC not allowed without modesets"
+ Using gnome-shell with a USB-C dock crashes the kernel at 
drm_atomic_check_only and logs "adding CRTC not allowed without modesets"

** Summary changed:

- Using gnome-shell with a USB-C dock crashes the kernel at 
drm_atomic_check_only and logs "adding CRTC not allowed without modesets"
+ Using gnome-shell with a USB-C dock causes the kernel to log "adding CRTC not 
allowed without modesets" and crashes in drm_atomic_check_only

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/2003031

Title:
  Using gnome-shell with a USB-C dock causes the kernel to log "adding
  CRTC not allowed without modesets" and crashes in
  drm_atomic_check_only

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell/+bug/2003031/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 2003031] Re: gnome-shell crashes in the kernel at drm_atomic_check_only and the kernel says "adding CRTC not allowed without modesets: requested 0x4, affected 0x7"

2023-01-18 Thread Daniel van Vugt
That's probably not as good as sticking to nouveau because it will fall
back to software rendering instead. But the third and best option is to
install an Nvidia driver using the 'Additional Drivers' app.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/2003031

Title:
  gnome-shell crashes in the kernel at drm_atomic_check_only and the
  kernel says "adding CRTC not allowed without modesets: requested 0x4,
  affected 0x7"

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/2003031/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 2003031] Re: gnome-shell crashes in the kernel at drm_atomic_check_only and the kernel says "adding CRTC not allowed without modesets: requested 0x4, affected 0x7"

2023-01-18 Thread beadon
I have blacklisted this now using:

sudo vim /etc/modprobe.d/blacklist-nouveau.conf

adding:

blacklist nouveau
options nouveau modeset=0

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/2003031

Title:
  gnome-shell crashes in the kernel at drm_atomic_check_only and the
  kernel says "adding CRTC not allowed without modesets: requested 0x4,
  affected 0x7"

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/2003031/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 2003031] Re: gnome-shell crashes in the kernel at drm_atomic_check_only and the kernel says "adding CRTC not allowed without modesets: requested 0x4, affected 0x7"

2023-01-17 Thread Daniel van Vugt
Comment #8 is a crash in the 'nouveau' kernel driver unrelated to this
bug. Although you should technically report a new bug for that,
'nouveau' is not very well maintained and we would always just recommend
using the 'Additional Drivers' app to install one of the official Nvidia
drivers instead.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/2003031

Title:
  gnome-shell crashes in the kernel at drm_atomic_check_only and the
  kernel says "adding CRTC not allowed without modesets: requested 0x4,
  affected 0x7"

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/2003031/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 2003031] Re: gnome-shell crashes in the kernel at drm_atomic_check_only and the kernel says "adding CRTC not allowed without modesets: requested 0x4, affected 0x7"

2023-01-17 Thread Daniel van Vugt
Please report all issues not relating to "adding CRTC not allowed
without modesets" as new bugs.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/2003031

Title:
  gnome-shell crashes in the kernel at drm_atomic_check_only and the
  kernel says "adding CRTC not allowed without modesets: requested 0x4,
  affected 0x7"

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/2003031/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 2003031] Re: gnome-shell crashes in the kernel at drm_atomic_check_only and the kernel says "adding CRTC not allowed without modesets: requested 0x4, affected 0x7"

2023-01-17 Thread beadon
Should I open this as a different issue with the Core X Chroma
Thunderbolt 3 enclosure ?  It's very similar.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/2003031

Title:
  gnome-shell crashes in the kernel at drm_atomic_check_only and the
  kernel says "adding CRTC not allowed without modesets: requested 0x4,
  affected 0x7"

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/2003031/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 2003031] Re: gnome-shell crashes in the kernel at drm_atomic_check_only and the kernel says "adding CRTC not allowed without modesets: requested 0x4, affected 0x7"

2023-01-17 Thread beadon
Ok, I am getting a slightly different, but perhaps related problem with
another USB-C / eGPU encapsulation (PCIE tunneles over USB-C basically)
device.

I've done some testing with the Razer Core X Chroma, a USB-C connected
Thunderbolt 3 eGPU enclosure.  Reference to hardware is here :
https://www.razer.com/gaming-egpus/Razer-Core-X/RC21-01430100-R3U1

I have 2x displays now connected to the internal PCIE nVidia TU117
[GeForce GTX 1650] loaded in the unit.  The BIOS seems to work fine, ,
but when I get to the gnome login screen things hang.  I am narrowing it
down, but just like the display blanking on the Intel based on cursor
location, I am seeing the same behavior with this enclosure - if at boot
time the enclosure is connected, then the displays will lock up.  If, I
move the mouse to the right edge of the screen , the desktop will also
lock up.

Attached are the logs of the attachment, then detachment of this
enclosure.  Note that on re-attaching the enclosure the USB devices
which previously worked fine attached to the enclosure no longer
function (perhaps not deregistered properly?).


Details for HW info

beadon@semiauto:~$ hwinfo --gfxcard --short
graphics card:  
   nVidia TU117 [GeForce GTX 1650]
   Intel TigerLake-LP GT2 [Iris Xe Graphics]

Primary display adapter: #26





** Attachment added: "log-for-chroma.txt"
   
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2003031/+attachment/5642118/+files/log-for-chroma.txt

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/2003031

Title:
  gnome-shell crashes in the kernel at drm_atomic_check_only and the
  kernel says "adding CRTC not allowed without modesets: requested 0x4,
  affected 0x7"

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/2003031/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 2003031] Re: gnome-shell crashes in the kernel at drm_atomic_check_only and the kernel says "adding CRTC not allowed without modesets: requested 0x4, affected 0x7"

2023-01-17 Thread beadon
I have applied the workaround for mutter :
  MUTTER_DEBUG_FORCE_KMS_MODE=simple

I am seeing no further logs at the moment.  I will continue to monitor
for issues.

To address any low-level issues I also have applied the system firmware
update, available via ISO from the Lenovo support site "n32ur20w.iso".
the release date on this was Jan 02 , 2023, so only about 2 weeks ago.

I expect the issue to re-occur.

Reference for anyone following along at home :
https://pcsupport.lenovo.com/us/en/products/laptops-and-
netbooks/thinkpad-x-series-laptops/thinkpad-x1-yoga-6th-gen-
type-20xy-20y0/20xy/20xy0027us/downloads/driver-
list/component?name=BIOS%2FUEFI


Release notes for this firmware update included here too :


** Attachment added: "n32ur20w.txt"
   
https://bugs.launchpad.net/linux/+bug/2003031/+attachment/5642055/+files/n32ur20w.txt

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/2003031

Title:
  gnome-shell crashes in the kernel at drm_atomic_check_only and the
  kernel says "adding CRTC not allowed without modesets: requested 0x4,
  affected 0x7"

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/2003031/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 2003031] Re: gnome-shell crashes in the kernel at drm_atomic_check_only and the kernel says "adding CRTC not allowed without modesets: requested 0x4, affected 0x7"

2023-01-17 Thread beadon
Yes, there is a USB-C "port extender" (dock) attached to this Lenovo
laptop.  The model is the MUC-0501B.  It is this exact device :
https://amzn.to/3XA5u5N  -- "USB C Adapters for MacBook Pro/Air,Mac
Dongle with 3 USB Port,USB C to HDMI, USB C to RJ45 Ethernet,MOKiN 9 in
1 USB C to HDMI Adapter,100W Pd Charging, USB C to SD/TF Card Reader USB
C Hub".

I also have noticed occassional flickering.  What's interesting is that
either the display controlled via this, or via the direct HDMI port will
"drop out" for a second or 2 when the mouse moves between the screens.
If I move the mouse back to the alternate screen, the display comes
back.


** Attachment added: "video of a related(?) problem."
   
https://bugs.launchpad.net/linux/+bug/2003031/+attachment/5642054/+files/PXL_20230117_204102229.mp4

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/2003031

Title:
  gnome-shell crashes in the kernel at drm_atomic_check_only and the
  kernel says "adding CRTC not allowed without modesets: requested 0x4,
  affected 0x7"

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/2003031/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 2003031] Re: gnome-shell crashes in the kernel at drm_atomic_check_only and the kernel says "adding CRTC not allowed without modesets: requested 0x4, affected 0x7"

2023-01-17 Thread beadon
Spelling error :  "When I woke the machine..."

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/2003031

Title:
  gnome-shell crashes in the kernel at drm_atomic_check_only and the
  kernel says "adding CRTC not allowed without modesets: requested 0x4,
  affected 0x7"

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/2003031/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 2003031] Re: gnome-shell crashes in the kernel at drm_atomic_check_only and the kernel says "adding CRTC not allowed without modesets: requested 0x4, affected 0x7"

2023-01-16 Thread Daniel van Vugt
This *might* relate to bug 2003042.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/2003031

Title:
  gnome-shell crashes in the kernel at drm_atomic_check_only and the
  kernel says "adding CRTC not allowed without modesets: requested 0x4,
  affected 0x7"

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/2003031/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 2003031] Re: gnome-shell crashes in the kernel at drm_atomic_check_only and the kernel says "adding CRTC not allowed without modesets: requested 0x4, affected 0x7"

2023-01-16 Thread Daniel van Vugt
There is an upstream kernel bug suggesting it is triggered by using a
USB-C or Thunderbolt dock. That's what it sounds like to me too...

https://gitlab.freedesktop.org/drm/intel/-/issues/6728

** Also affects: linux via
   https://gitlab.freedesktop.org/drm/intel/-/issues/6728
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to mutter in Ubuntu.
https://bugs.launchpad.net/bugs/2003031

Title:
  gnome-shell crashes in the kernel at drm_atomic_check_only and the
  kernel says "adding CRTC not allowed without modesets: requested 0x4,
  affected 0x7"

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/2003031/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs