You are not logged in.
Fortunately, I saved this log (and rebooted using the SysRq keys (Ctrl+Alt+PrtScr+B))
Dell Inspiron 3650 Desktop: CPU: Intel i5-6400 ; GPU: NVIDIA GeForce GT 730 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Asus VivoBook X509FA Laptop: CPU: Intel i5-8265U ; GPU: Intel UHD Graphics 620 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Offline
janv. 08 15:33:31 antoine-Inspiron-3650 /usr/lib/gdm-x-session[738]: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=611ce624-0696-4fa2-8c3a-f637b7884d08 rw loglevel=3 quiet splash sysrq_always_enabled=1
janv. 08 15:33:27 antoine-Inspiron-3650 kernel: simple-framebuffer simple-framebuffer.0: [drm] Registered 1 planes with drm panic
janv. 08 15:33:27 antoine-Inspiron-3650 kernel: [drm] Initialized simpledrm 1.0.0 for simple-framebuffer.0 on minor 0
janv. 08 15:33:27 antoine-Inspiron-3650 kernel: simple-framebuffer simple-framebuffer.0: [drm] fb0: simpledrmdrmfb frame buffer device
janv. 08 15:33:31 antoine-Inspiron-3650 /usr/lib/gdm-x-session[738]: (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/simple-framebuffer.0/drm/card0
janv. 08 15:33:31 antoine-Inspiron-3650 NetworkManager[611]: <info> [1736346811.2768] Config: added 'bgscan' value 'simple:30:-70:86400'
janv. 08 15:33:40 antoine-Inspiron-3650 /usr/lib/gdm-x-session[1486]: (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/simple-framebuffer.0/drm/card0
janv. 08 17:22:18 antoine-Inspiron-3650 NetworkManager[611]: <info> [1736353338.3926] Config: added 'bgscan' value 'simple:30:-70:86400'
This is before the resume
janv. 08 15:33:40 antoine-Inspiron-3650 /usr/lib/gdm-x-session[1486]: (EE) NVIDIA(GPU-1): Failed to initialize the NVIDIA graphics device!
but - despite recently VRAM preservation failures w/ nvidia have shown up what should™ still allow you to ctrl+alt+f3 yourself out of this - we'll throw stuff at it:
nvidia_drm.modeset=1 nvidia_drm.fbdev=0 nvidia.NVreg_EnableGpuFirmware=0
Perhaps remove "splash" and "quiet" in case the splash thing is blocking the framebuffer and that's why you cannot switch the VT in this situation.
Wrt the BT situation
janv. 08 15:36:21 antoine-Inspiron-3650 kernel: Bluetooth: hci0: corrupted SCO packet
janv. 08 15:36:21 antoine-Inspiron-3650 kernel: Bluetooth: hci0: corrupted SCO packet
and after the resume
janv. 08 17:22:24 antoine-Inspiron-3650 bluetoothd[1007]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for xx:xx:xx:xx:xx:xx: Device or resource busy
Offline
Hello,
As I said in message #24, I added both "usbcore.autosuspend=-1" and "modprobe.blacklist=ath3k" to the "GRUB_CMDLINE_LINUX_DEFAULT" string in /etc/default/grub, but I lost my Bluetooth adapter again today (it won't come back with "sudo modprobe ath3k && sudo rfkill unblock bluetooth").
I also added "nvidia_drm.modeset=1 nvidia_drm.fbdev=0 nvidia.NVreg_EnableGpuFirmware=0" and removed "quiet" and "splash" but I cannot tell if it was effective or not yet since the black screen bug didn't happen since (I'll try the "Ctrl+Alt+F3" trick if it happens again).
Wrt the BT situation
janv. 08 15:36:21 antoine-Inspiron-3650 kernel: Bluetooth: hci0: corrupted SCO packet
janv. 08 15:36:21 antoine-Inspiron-3650 kernel: Bluetooth: hci0: corrupted SCO packetand after the resume
janv. 08 17:22:24 antoine-Inspiron-3650 bluetoothd[1007]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for xx:xx:xx:xx:xx:xx: Device or resource busy
I'm not sure what you mean by that...
PS : I'm only using this PC every two week-ends, hence the delay in my replies.
Last edited by antux18 (2025-02-08 17:53:46)
Dell Inspiron 3650 Desktop: CPU: Intel i5-6400 ; GPU: NVIDIA GeForce GT 730 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Asus VivoBook X509FA Laptop: CPU: Intel i5-8265U ; GPU: Intel UHD Graphics 620 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Offline
Mostly recording where this is falling apart - this is from some headset? Is that your only BT device?
Offline
Yes, it is a headset. I am sometimes using other BT devices, but this is currently the only one.
Dell Inspiron 3650 Desktop: CPU: Intel i5-6400 ; GPU: NVIDIA GeForce GT 730 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Asus VivoBook X509FA Laptop: CPU: Intel i5-8265U ; GPU: Intel UHD Graphics 620 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Offline
You're sleeping deep (S3, not s2idle) so the BT controller will shut down, BT disconnects only after the wakeup (or rather fails at that)
janv. 08 17:22:17 antoine-Inspiron-3650 bluetoothd[1007]: src/profile.c:ext_io_disconnected() Unable to get io data for Hands-Free Voice gateway: getpeername: Transport endpoint is not connected (107)
janv. 08 17:22:17 antoine-Inspiron-3650 kernel: done.
janv. 08 17:22:17 antoine-Inspiron-3650 kernel: random: crng reseeded on system resumption
janv. 08 17:22:17 antoine-Inspiron-3650 kernel: PM: suspend exit
janv. 08 17:22:17 antoine-Inspiron-3650 systemd[1]: Starting Load/Save RF Kill Switch Status...
janv. 08 17:22:17 antoine-Inspiron-3650 systemd-sleep[13195]: System returned from sleep operation 'suspend'.
janv. 08 17:22:17 antoine-Inspiron-3650 systemd[1]: systemd-suspend.service: Deactivated successfully.
janv. 08 17:22:17 antoine-Inspiron-3650 bluetoothd[1007]: Endpoint unregistered: sender=:1.88 path=/MediaEndpoint/A2DPSource/ldac
janv. 08 17:22:17 antoine-Inspiron-3650 bluetoothd[1007]: Endpoint unregistered: sender=:1.88 path=/MediaEndpoint/A2DPSink/aptx_hd
Try to rfkill/unkill bluetooth w/ a sleep hook, https://wiki.archlinux.org/title/Power_ … stem-sleep
But I doubt that's related to the black screen situation?
Offline
Try to rfkill/unkill bluetooth w/ a sleep hook, https://wiki.archlinux.org/title/Power_ … stem-sleep
Here is my sleep hook, but I don't know if it's the right way to do it (written to /usr/lib/systemd/system-sleep/bt-fix.sh with execution permission):
#!/bin/sh
case $1/$2 in
pre/*)
echo "Disabling Bluetooth..."
sudo rfkill block bluetooth
echo "Bluetooth disabled."
;;
post/*)
echo "Reenabling Bluetooth..."
sudo rfkill unblock bluetooth
echo "Bluetooth reenabled."
;;
esac
But I doubt that's related to the black screen situation?
According to what you said : I guess no, it is rather related to GDM/Nvidia, even though the black screen usually happens when the system resumes from suspend and that a BT device was connected before suspending (so it might be related to BT as well? I'm confused...).
Dell Inspiron 3650 Desktop: CPU: Intel i5-6400 ; GPU: NVIDIA GeForce GT 730 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Asus VivoBook X509FA Laptop: CPU: Intel i5-8265U ; GPU: Intel UHD Graphics 620 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Offline
The script runs a root, no need (nor good idea) to sudo anything.
We shall see whether either of the problems returns, but since you've also addressed the nvidia situation (which might be down to failing https://wiki.archlinux.org/title/NVIDIA … er_suspend - which is enabled by default but your RAM may be insufficient in comparism to its use and the amount of VRAM?) *iff* the both problems are gone you won't know what addressed what.
You might want to delay the BT mitigation and see whether you can get a BT failure w/o a GPU failure.
Offline
Hello,
I'm finally back after a long absence.
I just removed the "sudo" in the sleep hook, but I understand you suggest disabling this hook in order to work on the Nvidia situation ?
Dell Inspiron 3650 Desktop: CPU: Intel i5-6400 ; GPU: NVIDIA GeForce GT 730 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Asus VivoBook X509FA Laptop: CPU: Intel i5-8265U ; GPU: Intel UHD Graphics 620 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Offline
That or at least to not use some tmpfs as backup location but permanent storage (/var or /var/tmp or so)
Offline
I'm not sure what you mean by "backup location". I guess it has nothing to do with backups in general, but I can't see what else...
Dell Inspiron 3650 Desktop: CPU: Intel i5-6400 ; GPU: NVIDIA GeForce GT 730 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Asus VivoBook X509FA Laptop: CPU: Intel i5-8265U ; GPU: Intel UHD Graphics 620 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Offline
For the VRAM… though from the note in the wiki nvidia.NVreg_TemporaryFilePath=/var/tmp is actually the default location.
Has the problem actually re-emerged w/ the BT-toggling hook?
Offline
For the VRAM… though from the note in the wiki nvidia.NVreg_TemporaryFilePath=/var/tmp is actually the default location.
So... there is nothing to do?
Has the problem actually re-emerged w/ the BT-toggling hook?
For now, BT seems to not disappear after resuming from sleep. I will tell you if it happens again.
Dell Inspiron 3650 Desktop: CPU: Intel i5-6400 ; GPU: NVIDIA GeForce GT 730 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Asus VivoBook X509FA Laptop: CPU: Intel i5-8265U ; GPU: Intel UHD Graphics 620 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Offline
I just tried suspending/resuming multiple times without entering "sudo rfkill block bluetooth && sudo modprobe -r ath3k" before suspening then "sudo modprobe ath3k && sudo rfkill unblock bluetooth" after resuming, and the Bluetooth adapter disappeared.
Maybe it was a dumb experiment (because maybe unloading the module then reloading it is mandatory), but I thought it would be interesting to try.
Dell Inspiron 3650 Desktop: CPU: Intel i5-6400 ; GPU: NVIDIA GeForce GT 730 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Asus VivoBook X509FA Laptop: CPU: Intel i5-8265U ; GPU: Intel UHD Graphics 620 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Offline
What about the
Random black screen
part?
Otherwise: you mean w/o that hook or with that hook but w/o manual intervention on top of it?
Offline
What about the
Random black screen
part?
I don't remember having this issue recently, but since it has been a while, I'd need more time to confirm this.
Otherwise: you mean w/o that hook or with that hook but w/o manual intervention on top of it?
With the hook, but without manual intervention, yes.
Dell Inspiron 3650 Desktop: CPU: Intel i5-6400 ; GPU: NVIDIA GeForce GT 730 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Asus VivoBook X509FA Laptop: CPU: Intel i5-8265U ; GPU: Intel UHD Graphics 620 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Offline
Well... Now I am having a new problem: my PC cannot find my Bluetooth headset anymore.
I unpaired it yesterday since it wouldn't connect, and now, it is not showing up anymore. It cannot see my phone either, only my smartwatch is detected for some reason...
Dell Inspiron 3650 Desktop: CPU: Intel i5-6400 ; GPU: NVIDIA GeForce GT 730 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Asus VivoBook X509FA Laptop: CPU: Intel i5-8265U ; GPU: Intel UHD Graphics 620 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Offline
Does that condition survive a reboot?
Do you dual-boot?
https://wiki.archlinux.org/title/Blueto … ot_pairing
… or pair those devices w/ other systems?
(Though I guess your phone should not have limited slots)
Offline
Does that condition survive a reboot?
Do you mean that the problem remains after a reboot? Yes.
Do you dual-boot?
https://wiki.archlinux.org/title/Blueto … ot_pairing
Yes, and after the problem appeared yesterday, I tried pairing the headset on Windows, and it worked. So I unpaired it, hoping I could avoid the problems described in the wiki page you mentioned, then rebooted on Linux, but it still isn't detected.
… or pair those devices w/ other systems?
Yes. The headset automatically connects to my phone when turning it on, so I disable BT on it to allow my PC to connect to the headset without having the phone interfering with it.
(Though I guess your phone should not have limited slots)
What do you mean?
Dell Inspiron 3650 Desktop: CPU: Intel i5-6400 ; GPU: NVIDIA GeForce GT 730 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Asus VivoBook X509FA Laptop: CPU: Intel i5-8265U ; GPU: Intel UHD Graphics 620 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Offline
What do you mean?
Some devices (notably HPs) can only memorize n peers (w/ n being fairly small, like "3")
Next to the mandatory key sharing, make sure windows didn't re-enable fast-start (3rd link below) - radio is a typical victim of that condition.
Offline
Some devices (notably HPs) can only memorize n peers (w/ n being fairly small, like "3")
If you talk about my headset (Pioneer SE-MJ553BT), I just checked, and it can remember up to 8 devices. I couldn't find a way to make it forget all the devices.
Next to the mandatory key sharing
I don't understand what you say. Is it something I have to do?
make sure windows didn't re-enable fast-start (3rd link below) - radio is a typical victim of that condition.
Just checked and it's still disabled.
Dell Inspiron 3650 Desktop: CPU: Intel i5-6400 ; GPU: NVIDIA GeForce GT 730 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Asus VivoBook X509FA Laptop: CPU: Intel i5-8265U ; GPU: Intel UHD Graphics 620 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Offline
Actually, my PC isn't even detected by other Bluetooth devices, despite "bluetoothctl show" saying that my PC is discoverable.
Dell Inspiron 3650 Desktop: CPU: Intel i5-6400 ; GPU: NVIDIA GeForce GT 730 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Asus VivoBook X509FA Laptop: CPU: Intel i5-8265U ; GPU: Intel UHD Graphics 620 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Offline
When booting into a live Ubuntu 24.04 environment, my PC is detected by other Bluetooth devices again, but it still can't see my headset. I tried to pair a Bluetooth speaker that I've never paired with this PC, but even this speaker isn't detected.
Dell Inspiron 3650 Desktop: CPU: Intel i5-6400 ; GPU: NVIDIA GeForce GT 730 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Asus VivoBook X509FA Laptop: CPU: Intel i5-8265U ; GPU: Intel UHD Graphics 620 ; RAM: 8 GB ; OS: Arch Linux (GNOME) + Windows 11
Offline
I don't understand what you say. Is it something I have to do?I don't understand what you say. Is it something I have to do?
https://wiki.archlinux.org/title/Blueto … ot_pairing
About the speakers, https://wiki.archlinux.org/title/Bluetooth#Pairing
Try to scann and pair them w/ bluetoothctl and post the IO of that session (ie. what you entered into bluetoothctl and what it printed back at you)
Offline