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: 1606

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: 5370
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
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1606

PostPosted: Sun Feb 02, 2025 3:10 pm    Post subject: Reply with quote

I did do a make oldconfig, very strange!.
anyway I removed the config altogether and tried running the defconfig, I enabled the 3 frambuffer options in the wiki(efi,vesa and vga16) and I am still getting the same result, I do not think it is related to the framebuffer config at all now.
yes I have left out alot of kernel options that I intend to add later once I have the macine booting, it is a pain to get anything done on this machine at the moment.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5370
Location: Bavaria

PostPosted: Sun Feb 02, 2025 4:31 pm    Post subject: Reply with quote

Adel Ahmed wrote:
[...]and tried running the defconfig, I enabled the 3 frambuffer options in the wiki(efi,vesa and vga16) and I am still getting the same result, [...]

Oh no ... please no "make defconfig" ... you have not read the links I gave you ... I guess you have now framebuffer but no console ... I have explained it here:
https://forums.gentoo.org/viewtopic-t-1168856.html

If you dont like to do the config-odyssey you can use:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration#Easy_Takeover

but please read before:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration#Is_a_.22make_defconfig.22_required_before_starting.3F
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1606

PostPosted: Sun Feb 02, 2025 4:44 pm    Post subject: Reply with quote

I actually have neither, i will read the link now
The note on using make menuconfig is critical to me thanks for the heads up
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5370
Location: Bavaria

PostPosted: Sun Feb 02, 2025 4:52 pm    Post subject: Reply with quote

Adel Ahmed wrote:
[...] The note on using make menuconfig is critical to me thanks for the heads up

You are very Welcome! :D
_________________
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