Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
framebuffer not working in new installation
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
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1604

PostPosted: Sun Feb 02, 2025 8:55 am    Post subject: framebuffer not working in new installation Reply with quote

I'm installing gentoo on a cherrytrail tablet, I cannot however seem to be able to get the framebuffer working so I can debug kernel panic issues, if I use the livecd kernel and initrd framebuffer works fine and so does the root file system mounting, so it looks like a kernel config issue.
dmesg from the livecd:
Code:
[    0.753010] efifb: probing for efifb
[    0.753133] efifb: framebuffer at 0xc0000000, using 1876k, total 1875k
[    0.753177] efifb: mode is 800x600x32, linelength=3200, pages=1
[    0.753208] efifb: scrolling: redraw
[    0.753225] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    0.754045] Console: switching to colour frame buffer device 100x37
[    0.758452] fb0: EFI VGA frame buffer device

complete dmesg:
https://p.defau.lt/?YXjI1qi2vOW_OVtSzWWAtgkernel config:
https://p.defau.lt/?3c8HvPxgoKFvduYdGdu3QQ


what option have i fogotten here?
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5365
Location: Bavaria

PostPosted: Sun Feb 02, 2025 11:20 am    Post subject: Re: framebuffer not working in new installation Reply with quote

Adel Ahmed wrote:
what option have i fogotten here?

Your kernel .config looks like to be a 6.12.x config because there are still settings which are removed in 6.13:
Code:
CONFIG_FB_SYSMEM_HELPERS=y
CONFIG_FB_SYSMEM_HELPERS_DEFERRED=y

... and you dont have the new ones:
Code:
CONFIG_DRM_CLIENT=y
CONFIG_DRM_CLIENT_LIB=y
CONFIG_DRM_CLIENT_SETUP=y
CONFIG_DRM_FBDEV_EMULATION=y

Have you made a "make oldconfig" ? It looks like you have only copied your old kernel into 6.13 and used it for the "make" without doing a "make oldconfig" before.
( https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration#What_is_.22make_oldconfig.22_.3F )

BTW: There are many settings which you miss or are wrong, e.g.:
Code:
# CONFIG_X86_INTEL_LPSS is not set

# CONFIG_MFD_INTEL_LPSS_ACPI is not set
# CONFIG_MFD_INTEL_LPSS_PCI is not set

# CONFIG_IRQ_REMAP is not set

CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y

...

Maybe read this for 6.13: https://wiki.gentoo.org/wiki/User:Pietinger/Experimental/Manual_Configuring_Current_Kernel

... and if you want to start a new config choose this way:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration#Before_you_start
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration#Starting_with_a_clean_environment


(TBH I recommend to read the whole article: https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration )
_________________
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