On Sat, 2022-08-20 at 10:04 +0900, Masaru Nomiya wrote:
Hello,
In the Message;
Subject : Re: TW: boot problem kernel 5.18.9-2 and higher Message-ID : <047196af5184d55ed3998c99bea097797a94be83.camel@suse.com> Date & Time: Sat, 20 Aug 2022 00:08:54 +0000
[SB] == Scott Bradnick
has written: [...] MN> > How about adding this to the kernel parameter? MN> > MN> > i915.modeset=0 [...]
SB> Why would I do that (if things are working in a way I'm happy SB> with)? To squash those early-in-the-boot-process i915 messages?
In the Message;
Subject : Re: TW: boot problem kernel 5.18.9-2 and higher Message-ID : <8b7827c580db80b0678a2fbd0a4291d339f2c1da.camel@suse.com> Date & Time: Fri, 19 Aug 2022 15:30:22 +0000
[SB] == Scott Bradnick
has written: [...] SB> My main issue, which had persisted for at least 6mos, was that it'd boot to a SB> black screen (on what I assume was vt7). Using the .run always worked fine (w/o SB> X11 running of course) and I'd `sudo systemctl restart display- manager.service` SB> and be greeted with a lightdm login screen. But subsequent reboots always SB> yielded a black screen. That was solved with a CTRL+ALT+F4, login, `sudo SB> modprobe nvidia_drm` and `sudo systemctl restart display-manager.service` ; Very SB> simple, but I wanted to know why it was always the case.
Sorry, I was distracted by this sentence.
The i915.modesete=0 is a setting that does not allow Intel drivers to be loaded.
In the Message;
Subject : Re: TW: boot problem kernel 5.18.9-2 and higher Message-ID : <8b7827c580db80b0678a2fbd0a4291d339f2c1da.camel@suse.com> Date & Time: Fri, 19 Aug 2022 15:30:22 +0000
[SB] == Scott Bradnick
has written: [...] Now at [re]boot I'm greeted with lightdm consistently. [...]
You seem to be using two GPUs, one Intel and one NVIDIA. Of course, this is possible.
What settings are you using?
Regards.
--- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ "Bill! You married with Computer. Not with Me!" "No..., with money."
I probably wasn't explicit enough. I'm not having an issue I'm looking for advice on - I'm sharing my experience with 'the hard way' (which I prefer) and [maybe wrongfully] assuming it could help here or someone else. This Dell Precision 5540 is an Optimus laptop w/ an nvidia T1000 & intel iGPU. The prime and bbswitch stuff seems to make usage harder or inconsistent w/ my expectations, so I'm not using prime in any way and have stopped bbswitch module from loading. 'dmesg' does report something around the i915 driver(s) being loaded, but the T1000 is definitely active according to `glxinfo -B` using 'nvidia_drm' according to 'lsmod'. The settings I'm using were outlined in my initial email w/ .conf files under /etc/{modprobe.d,modules-load.d} & /usr/lib/{modprobe.d,modules-load.d}; I'm not using 1-off items that'd show up under /proc/cmdline or adjusting grub config(s). Here's 'glxinfo -B' and 'inxi --graphics' output: ``` name of display: :0 display: :0 screen: 0 direct rendering: Yes Memory info (GL_NVX_gpu_memory_info): Dedicated video memory: 4096 MB Total available memory: 4096 MB Currently available dedicated video memory: 3778 MB OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: Quadro T1000/PCIe/SSE2 OpenGL core profile version string: 4.6.0 NVIDIA 515.65.01 OpenGL core profile shading language version string: 4.60 NVIDIA OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL version string: 4.6.0 NVIDIA 515.65.01 OpenGL shading language version string: 4.60 NVIDIA OpenGL context flags: (none) OpenGL profile mask: (none) OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 515.65.01 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 Graphics: Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel Device-2: NVIDIA TU117GLM [Quadro T1000 Mobile] driver: nvidia v: 515.65.01 Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3 driver: X: loaded: modesetting,nvidia gpu: i915 resolution: 1920x1080~60Hz OpenGL: renderer: Quadro T1000/PCIe/SSE2 v: 4.6.0 NVIDIA 515.65.01 ``` No more black screen on vt7 and manually loading nvidia_drm followed by `$ sudo systemctl restart display-manager.service` 😀️ -- ~ Scott Bradnick |- Windows Subsystem for Linux (WSL) Developer |-- Tumbleweed: |--- Dell Precision 5540 [NVIDIA Quadro T1000] (x86_64) |--- O-DROID H2+ [UHD Graphics 600] (x86_64) |--- IceWhale ZimaBoard 832 [Intel HD Graphics 500] (x86_64) |--- 2x Raspberry Pi 4 Model B Rev 1.2 (aarch64) |--- 1x Raspberry Pi 3 Model B Rev 1.2 (aarch64) |--- WinBook TW100 (x86_64) https://keys.openpgp.org/ :: DBC5AA9A2D2BAEBC