You are not logged in.

#1 2021-08-20 22:05:55

DexTi
Member
Registered: 2021-08-20
Posts: 7

[Solved] Black Screen in Shell

It's my first Post and Im new to Arch | OK

Important Information
   - To start i3 I used xinit, not DispManager
   - I can enter i3

After installing the NVIDIA drivers and removing the Nouveau drivers, I restarted the pc and the screen went black, but I could blindly type into the shell. big_smile

Last edited by DexTi (2021-08-24 14:47:04)

Offline

#2 2021-08-21 06:24:31

seth
Member
Registered: 2012-09-03
Posts: 62,998

Re: [Solved] Black Screen in Shell

https://wiki.archlinux.org/title/GRUB/T … ramebuffer
Or try to force an output/resolution (if you already do, the output name likely changed w/ the driver)
https://raw.githubusercontent.com/torva … modedb.rst

Offline

#3 2021-08-23 14:05:51

DexTi
Member
Registered: 2021-08-20
Posts: 7

Re: [Solved] Black Screen in Shell

seth - Try both options to disable framebuffer but shell still not showing

Last edited by DexTi (2021-08-23 14:08:08)

Offline

#4 2021-08-23 14:39:55

seth
Member
Registered: 2012-09-03
Posts: 62,998

Re: [Solved] Black Screen in Shell

Do you get output when booting "nomodeset"?
https://wiki.archlinux.org/title/Kernel_parameters

Offline

#5 2021-08-23 15:47:15

DexTi
Member
Registered: 2021-08-20
Posts: 7

Re: [Solved] Black Screen in Shell

seth - Do I have to put "nomodeset" in GRUB_CMDLINE_LINUX_DEFAULT ? or what do you mean

Offline

#6 2021-08-23 15:51:54

seth
Member
Registered: 2012-09-03
Posts: 62,998

Re: [Solved] Black Screen in Shell

It's better to test this by editing the kernel command line in grub.

Offline

#7 2021-08-23 17:08:33

DexTi
Member
Registered: 2021-08-20
Posts: 7

Re: [Solved] Black Screen in Shell

After putting "nomodeset" Now the Shell is shown, but is there any way that the resolution adapts to the screen?

will there be a conflict with "nvidia-drm.modeset = 1"?

Last edited by DexTi (2021-08-23 17:11:21)

Offline

#8 2021-08-23 20:41:42

seth
Member
Registered: 2012-09-03
Posts: 62,998

Re: [Solved] Black Screen in Shell

Booting nomodeset will especially not allow you to run a graphical session, but it also kinda suggests that a vga console should™ work.
(Not necessarily, there could be a weird bug)

Did you re-generate the grub.cfg after editing /etc/default/grub? (because otherwise that doesn't do anything)
https://wiki.archlinux.org/title/GRUB#G … d_grub.cfg

Offline

#9 2021-08-23 21:11:54

DexTi
Member
Registered: 2021-08-20
Posts: 7

Re: [Solved] Black Screen in Shell

Yes I generated the grub, but what I don't like is the resolution of the shell since I want to use a Console Display Manager

Offline

#10 2021-08-23 21:22:20

seth
Member
Registered: 2012-09-03
Posts: 62,998

Re: [Solved] Black Screen in Shell

No. 1 question would be: does this work (ie. do you get a visible textshell and can you start X11 afterwards)
The VGA shell is restricted to this resolution, the best you could to is to have the display stretch it out (external outputs likely have an OSD setting for that, internal notebook displays rather not - maybe a BIOS setting)

The next question would be whether you tried enforcing a resolution, which - and the output of "xrandr -q" (for a sanity check)

Offline

#11 2021-08-23 23:27:41

DexTi
Member
Registered: 2021-08-20
Posts: 7

Re: [Solved] Black Screen in Shell

Yes, I can start X
But I think at this point I would leave it, thanks for helping me with this problem.

Offline

#12 2021-08-24 05:29:40

seth
Member
Registered: 2012-09-03
Posts: 62,998

Re: [Solved] Black Screen in Shell

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB