On 3/22/23 11:23 AM, stan via devel wrote:
On Tue, 21 Mar 2023 17:14:44 -0400
"Steven A. Falco" <stevenfalco@xxxxxxxxx> wrote:
I think I'm finally getting somewhere with this problem.
My motherboard has a built-in VGA interface, which shows up as
"astdrmfb" on fb0. My AMD video card is "amdgpudrmfb" on fb1.
For some reason, the kernel uses fb1 for the graphical desktop, but
when I type Ctrl-Alt-F3 it switches to the VGA interface on fb0.
So my question is now probably simpler - I need to find a way to tell
the kernel to ignore fb0 completely, and just use fb1 for everything.
I'll do some searching to see if I can figure that out, but if
someone knows off the top of their head how to force a framebuffer to
be ignored, I'd appreciate it.
Is there a way to turn off the fb0 in the BIOS? Hit F2 or Del to get
into the bios while booting. Yours might be different, but I think
these are pretty standard.
I read through the motherboard manual and while I don't see a way to turn off the on-board VGA hardware from the BIOS, there is a physical switch on the motherboard to disable it completely.
I tried that, and it worked. Now the kernel only sees my AMD video card and assigns it to fb0. And all the virtual consoles now work properly.
Thanks again for your help, Stan. I appreciate it!
Steve
Check the frame buffer configs in your kernel, /boot/config*.
Mine are
CONFIG_SYSFB=y
CONFIG_SYSFB_SIMPLEFB=y
CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_DRM_FBDEV_OVERALLOC=200
CONFIG_FB_CMDLINE=y
CONFIG_FB_NOTIFY=y
CONFIG_FB=y
CONFIG_FB_DDC=m
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_SYS_FILLRECT=m
CONFIG_FB_SYS_COPYAREA=m
CONFIG_FB_SYS_IMAGEBLIT=m
CONFIG_FB_SYS_FOPS=m
CONFIG_FB_DEFERRED_IO=y
CONFIG_FB_BACKLIGHT=m
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_VGA16=m
CONFIG_FB_VESA=y
CONFIG_FB_RADEON=m
CONFIG_FB_RADEON_I2C=y
CONFIG_FB_RADEON_BACKLIGHT=y
CONFIG_FB_SIMPLE=m
but I run a custom kernel, so yours could be significantly different.
You could compare a grep of the f38 kernel config that works with a
grep of the f37 kernel config that doesn't to see if there is a
difference in their framebuffer configuration.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue