Re: New machine - no virtual terminals
On Wed, 22 Mar 2023 12:12:42 -0400 "Steven A. Falco" wrote: > 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! You're welcome. And I learned something from Dominik's response. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: New machine - no virtual terminals
On 3/23/23 06:14 AM, Dominik 'Rathann' Mierzejewski wrote: On Wednesday, 22 March 2023 at 17:12, Steven A. Falco wrote: On 3/22/23 11:23 AM, stan via devel wrote: On Tue, 21 Mar 2023 17:14:44 -0400 "Steven A. Falco" 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! For future reference and for others who bump into similar issue, you can use the fbcon=map:1 kernel option to map the second fb to the console. See https://www.kernel.org/doc/html/latest/fb/fbcon.html for more details. Thanks, Dominik. I've added that to my kernel cheat-sheet. Very good information to keep handy. Steve ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: New machine - no virtual terminals
On Wednesday, 22 March 2023 at 17:12, Steven A. Falco wrote: > On 3/22/23 11:23 AM, stan via devel wrote: > > On Tue, 21 Mar 2023 17:14:44 -0400 > > "Steven A. Falco" 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! For future reference and for others who bump into similar issue, you can use the fbcon=map:1 kernel option to map the second fb to the console. See https://www.kernel.org/doc/html/latest/fb/fbcon.html for more details. Regards, Dominik -- Fedora https://getfedora.org | RPM Fusion http://rpmfusion.org There should be a science of discontent. People need hard times and oppression to develop psychic muscles. -- from "Collected Sayings of Muad'Dib" by the Princess Irulan ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: New machine - no virtual terminals
On 3/22/23 11:23 AM, stan via devel wrote: On Tue, 21 Mar 2023 17:14:44 -0400 "Steven A. Falco" 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@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: New machine - no virtual terminals
On Tue, 21 Mar 2023 17:14:44 -0400 "Steven A. Falco" 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. 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@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: New machine - no virtual terminals
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. Steve On 3/21/23 03:26 PM, Steven A. Falco wrote: On 3/21/23 02:26 PM, stan via devel wrote: On Tue, 21 Mar 2023 10:25:36 -0400 "Steven A. Falco" wrote: I recently put a new machine together using an AMD Radeon PRO W6600 Graphics Card. CPU is a threadripper pro. Motherboard is an ASUS Pro WS WRX80E-SAGE SE WIFI II sWRX8 E-ATX. Software is the KDE spin of Fedora 37. It mostly works perfectly, but if I try to access a virtual terminal with Ctrl-Alt-F3 my monitors go to sleep, so apparently the video sync shuts off. Typing Ctrl-Alt-F2 brings me back to my KDE session. Also Ctrl-Alt-F1 shows me the text that occurred during boot - I have rhgb and quiet disabled in my grub configuration. So Ctrl-Alt-F1 and F2 work, but F3 and above do not. I don't see anything in /var/log/messages that would give me a hint as to where to start with debugging this. I've tried running SDDM in wayland and in x11 modes, but that doesn't make a difference. I'd like to write a bug for this, but I'm not sure how to gather enough data for a meaningful report. Are there some kernel options I can try, or other ways to get more data? > Is the number of consoles in /etc/systemd/logind.conf set to more than 2? The default is 6, and so systemd should set up 6 virtual consoles for use. They usually don't actuate until visited, but they should still be available to a Ctrl-Alt-[3-6]. This is good info - thanks! Everything is commented out in logind.conf, so I should be getting the default of 6 virtual consoles. I tried booting to multi-user using a 3 at the end of the boot line, as you suggested. I had a login prompt on virtual console 1 and was able to log in. Then I switched to virtual console 5, which was completely blank, but I carefully typed a user name and password and started a "top" running (all without being able to see what I was typing), went back to virtual console 1, did a ps, and saw that the top was running. So the problem is that the video output is only working in the first virtual console, but the others are functional - they just don't show any text or cursor! One other experiment that I tried: I put Fedora-KDE-Live-x86_64-38-20230320.n.0.iso on a USB drive, booted that, and saw that the virtual consoles were work perfectly. I could switch between them, and they displayed properly. But if I repeat that experiment with an F37 live USB drive, then I have the no-display problem. So it looks like something has been corrected in F38 that is broken in F37. I'm tempted to upgrade to F38, but this is my main machine, so I'm a little hesitant. I'll see if I can load an F38 kernel; it should be easy to back that out if it doesn't help. I boot to multiuser and start X from there, and I always get virtual consoles. If you do a journalctl -r and then a /vcon do you see lines like fedora dracut[128053]: -rwxr-xr-x 1 root root 20528 Mar 13 13:01 usr/lib/systemd/systemd-vconsole-setup fedora dracut[128053]: -rw-r--r-- 1 root root 650 Mar 13 12:59 usr/lib/systemd/system/systemd-vconsole-setup.service For completeness, yes, I do see those lines. If the setup isn't occurring it would be a systemd bug. But check if systemd is reporting errors when it tries to set the vconsoles up. And try booting into multiuser by hitting a key during boot, and putting a 3 at the end of the boot line options to see if that sets them up. Fedora recently dropped support from the kernel for the old fbcon and replaced it with the new simple version. Might be related if it wasn't taken into account. Or KDE might have decided virtual consoles were obsolete and dropped support for them (unlikely). Anyway some things to try, and a confirmation that it does work. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue ___ devel mailing list --
Re: New machine - no virtual terminals
On 3/21/23 02:26 PM, stan via devel wrote: On Tue, 21 Mar 2023 10:25:36 -0400 "Steven A. Falco" wrote: I recently put a new machine together using an AMD Radeon PRO W6600 Graphics Card. CPU is a threadripper pro. Motherboard is an ASUS Pro WS WRX80E-SAGE SE WIFI II sWRX8 E-ATX. Software is the KDE spin of Fedora 37. It mostly works perfectly, but if I try to access a virtual terminal with Ctrl-Alt-F3 my monitors go to sleep, so apparently the video sync shuts off. Typing Ctrl-Alt-F2 brings me back to my KDE session. Also Ctrl-Alt-F1 shows me the text that occurred during boot - I have rhgb and quiet disabled in my grub configuration. So Ctrl-Alt-F1 and F2 work, but F3 and above do not. I don't see anything in /var/log/messages that would give me a hint as to where to start with debugging this. I've tried running SDDM in wayland and in x11 modes, but that doesn't make a difference. I'd like to write a bug for this, but I'm not sure how to gather enough data for a meaningful report. Are there some kernel options I can try, or other ways to get more data? > Is the number of consoles in /etc/systemd/logind.conf set to more than 2? The default is 6, and so systemd should set up 6 virtual consoles for use. They usually don't actuate until visited, but they should still be available to a Ctrl-Alt-[3-6]. This is good info - thanks! Everything is commented out in logind.conf, so I should be getting the default of 6 virtual consoles. I tried booting to multi-user using a 3 at the end of the boot line, as you suggested. I had a login prompt on virtual console 1 and was able to log in. Then I switched to virtual console 5, which was completely blank, but I carefully typed a user name and password and started a "top" running (all without being able to see what I was typing), went back to virtual console 1, did a ps, and saw that the top was running. So the problem is that the video output is only working in the first virtual console, but the others are functional - they just don't show any text or cursor! One other experiment that I tried: I put Fedora-KDE-Live-x86_64-38-20230320.n.0.iso on a USB drive, booted that, and saw that the virtual consoles were work perfectly. I could switch between them, and they displayed properly. But if I repeat that experiment with an F37 live USB drive, then I have the no-display problem. So it looks like something has been corrected in F38 that is broken in F37. I'm tempted to upgrade to F38, but this is my main machine, so I'm a little hesitant. I'll see if I can load an F38 kernel; it should be easy to back that out if it doesn't help. I boot to multiuser and start X from there, and I always get virtual consoles. If you do a journalctl -r and then a /vcon do you see lines like fedora dracut[128053]: -rwxr-xr-x 1 root root20528 Mar 13 13:01 usr/lib/systemd/systemd-vconsole-setup fedora dracut[128053]: -rw-r--r-- 1 root root 650 Mar 13 12:59 usr/lib/systemd/system/systemd-vconsole-setup.service For completeness, yes, I do see those lines. If the setup isn't occurring it would be a systemd bug. But check if systemd is reporting errors when it tries to set the vconsoles up. And try booting into multiuser by hitting a key during boot, and putting a 3 at the end of the boot line options to see if that sets them up. Fedora recently dropped support from the kernel for the old fbcon and replaced it with the new simple version. Might be related if it wasn't taken into account. Or KDE might have decided virtual consoles were obsolete and dropped support for them (unlikely). Anyway some things to try, and a confirmation that it does work. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: New machine - no virtual terminals
On Tue, 21 Mar 2023 10:25:36 -0400 "Steven A. Falco" wrote: > I recently put a new machine together using an AMD Radeon PRO W6600 > Graphics Card. CPU is a threadripper pro. Motherboard is an ASUS > Pro WS WRX80E-SAGE SE WIFI II sWRX8 E-ATX. Software is the KDE spin > of Fedora 37. > > It mostly works perfectly, but if I try to access a virtual terminal > with Ctrl-Alt-F3 my monitors go to sleep, so apparently the video > sync shuts off. Typing Ctrl-Alt-F2 brings me back to my KDE session. > > Also Ctrl-Alt-F1 shows me the text that occurred during boot - I have > rhgb and quiet disabled in my grub configuration. So Ctrl-Alt-F1 and > F2 work, but F3 and above do not. > > I don't see anything in /var/log/messages that would give me a hint > as to where to start with debugging this. I've tried running SDDM in > wayland and in x11 modes, but that doesn't make a difference. > > I'd like to write a bug for this, but I'm not sure how to gather > enough data for a meaningful report. Are there some kernel options I > can try, or other ways to get more data? Is the number of consoles in /etc/systemd/logind.conf set to more than 2? The default is 6, and so systemd should set up 6 virtual consoles for use. They usually don't actuate until visited, but they should still be available to a Ctrl-Alt-[3-6]. I boot to multiuser and start X from there, and I always get virtual consoles. If you do a journalctl -r and then a /vcon do you see lines like fedora dracut[128053]: -rwxr-xr-x 1 root root20528 Mar 13 13:01 usr/lib/systemd/systemd-vconsole-setup fedora dracut[128053]: -rw-r--r-- 1 root root 650 Mar 13 12:59 usr/lib/systemd/system/systemd-vconsole-setup.service If the setup isn't occurring it would be a systemd bug. But check if systemd is reporting errors when it tries to set the vconsoles up. And try booting into multiuser by hitting a key during boot, and putting a 3 at the end of the boot line options to see if that sets them up. Fedora recently dropped support from the kernel for the old fbcon and replaced it with the new simple version. Might be related if it wasn't taken into account. Or KDE might have decided virtual consoles were obsolete and dropped support for them (unlikely). Anyway some things to try, and a confirmation that it does work. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
New machine - no virtual terminals
I recently put a new machine together using an AMD Radeon PRO W6600 Graphics Card. CPU is a threadripper pro. Motherboard is an ASUS Pro WS WRX80E-SAGE SE WIFI II sWRX8 E-ATX. Software is the KDE spin of Fedora 37. It mostly works perfectly, but if I try to access a virtual terminal with Ctrl-Alt-F3 my monitors go to sleep, so apparently the video sync shuts off. Typing Ctrl-Alt-F2 brings me back to my KDE session. Also Ctrl-Alt-F1 shows me the text that occurred during boot - I have rhgb and quiet disabled in my grub configuration. So Ctrl-Alt-F1 and F2 work, but F3 and above do not. I don't see anything in /var/log/messages that would give me a hint as to where to start with debugging this. I've tried running SDDM in wayland and in x11 modes, but that doesn't make a difference. I'd like to write a bug for this, but I'm not sure how to gather enough data for a meaningful report. Are there some kernel options I can try, or other ways to get more data? Steve ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue