Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Not getting a Framebuffer to use during boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
vrghost
n00b
n00b


Joined: 03 Oct 2003
Posts: 50
Location: London

PostPosted: Fri Nov 08, 2024 8:54 pm    Post subject: Not getting a Framebuffer to use during boot Reply with quote

Trying to install nvidia-driver (the proprietery one), and following this guide to the letter:
https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers

However, when I reboot my machine, Grub (or what comes after grub) does not manage to use or find a framebuffer, so the last thing that is updated to the screen is EFI Stub:
The machine does continue to start, and I assume it is fully up and running (newly installed system, so I know I can ping it, and SSH to it, but I cant get to a terminal via SSH, as I get the following error message:
PTY allocation request failed on channel 1

I've tried to rebuild the kernel a few times, and I think I've singled out the issue, as soon as I turn of the Simple FB
Quote:
Device Drivers --->
Graphics support --->
< > Simple framebuffer driver


And enable
Quote:
Device Drivers --->
Firmware Drivers --->
[*] Mark VGA/VBE/EFI FB as generic system framebuffer
Graphics support --->
Frame buffer Devices --->
<*> Support for frame buffer devices --->
[*] VESA VGA graphics support
[*] EFI-based Framebuffer Support
<*> Simple framebuffer support


This is when I seem to loose the ability to boot, or use a frame buffer after boot to be more precise, I've attached my kernel config if anyone has any suggestions,
Screen shot of the frame buffer settings:
https://app.screencast.com/PLKgisHnmCAtr
Screenshot of the Graphics settings:

https://app.screencast.com/4Nrq4JwpM5Bf9

OK, the kernel configuration file is to long to post...

The machine is a:

ASUS TUF GAMING B650-PLUS WIFI
AMD RYZEN 5 7600
ASUS 4060 TI DUAL OC EVO 16G


Anyone else faced this issue?
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5091
Location: Bavaria

PostPosted: Fri Nov 08, 2024 9:33 pm    Post subject: Reply with quote

vrghost,

you can use wgetpaste ( https://wiki.gentoo.org/wiki/Wgetpaste ) for your kernel .config. Maybe check before if you have enabled "Framebuffer Console support" and "Enable legacy fbdev support"

(see here: https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_Configuring_Kernel_Version_6.6#Part_3_-_Must_Haves )
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
vrghost
n00b
n00b


Joined: 03 Oct 2003
Posts: 50
Location: London

PostPosted: Fri Nov 08, 2024 10:12 pm    Post subject: Reply with quote

Amazing pietinger

Thank you so very much for that tip, should have checked that first

Also, I did notice that technically I think the EFI framebuffer does start, as its started at a higher resolution all of a sudden:
https://photos.app.goo.gl/7VMGLhzNXh9rPWVz5/

The strange resolution is because it uses half of a 49-inch screen

Kernel .config
http://dpaste.com/8TWGWME2Z

/var/log/messages
http://0x0.st/XDyR.2

/var/log/syslog
http://0x0.st/XDtr.2
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5091
Location: Bavaria

PostPosted: Fri Nov 08, 2024 11:14 pm    Post subject: Reply with quote

If you enable this:
Code:
General setup  --->
    [*] Configure standard kernel features (expert users)  --->

there is a little trap :lol:

You must re-enable block layer (already done) AND:
Code:
Device Drivers  --->
    Character devices  --->
        [*] Enable TTY
        [*]   Virtual terminal

Without TTY you have really a problem :lol:

(see also: https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_Configuring_Kernel_Version_6.6#Part_1_-_Main_Menu )

And framebuffer console depends on VT (and FB_CORE). Now try again to enable it ;-)
Code:
Device Drivers  --->
    Graphics support  --->
        Console display driver support  --->
            [*] Framebuffer Console support



BTW: It should be safe to enable also # CONFIG_AMD_IOMMU_V2 is not set
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum