• Re: [gentoo-user] Can't get the GUI to stay up for more than a minute o

    From Michael@21:1/5 to All on Sat Jun 22 12:49:06 2024
    On Friday, 21 June 2024 20:02:22 BST Dale wrote:
    Howdy,

    On my new rig, I've got everything installed. I mostly been on a
    console which has worked without issue. Now I've started using the GUI,
    KDE, and I'm having issues. I wanted to run a command to generate a xorg.conf file and it generate all the needed info regarding hardware
    and such since the GUI wasn't working right without a config file. The
    only one I found is the nvidia one. It is minimal at best. Anyway,
    when I try to start display-manager, with or without a config file, I
    get the sddm login. I login and if I just let it sit there, after a
    minute or so, the monitor goes black. It is still powered up but
    nothing on the screen at all. I've moved the mouse and pressed buttons
    on the keyboard to make sure it isn't powering off but nothing. Also,
    the resolution is pretty low too. It should run in 1080P easily. The
    card supports 4K I think. The monitor tho has ran 1080P on my main rig before, for years I might add.

    I used tail -f to watch a few error logs. I watched sddm, messages and Xorg.0.log. The only thing that got added when the monitor went black
    was this:



    Jun 21 13:27:41 Gentoo-1 kernel: nvidia-modeset: WARNING: GPU:0: Unable
    to read EDID for display device DP-3
    Jun 21 13:29:01 Gentoo-1 kernel: nvidia-modeset: WARNING: GPU:0: Unable
    to read EDID for display device LG Electronics W2253 (DP-3)
    Jun 21 13:29:02 Gentoo-1 kernel: nvidia-modeset: WARNING: GPU:0: Unable
    to read EDID for display device DP-3
    Jun 21 13:29:03 Gentoo-1 kernel: nvidia-modeset: WARNING: GPU:0: Unable
    to read EDID for display device LG Electronics W2253 (DP-3)

    There are reports in the interwebs about LG monitors having buggy EDID tables:

    https://gist.github.com/kj800x/be3001c07c49fdb36970633b0bc6defb

    What is connected at DP-1 and is the problem resolved if you change the port you connect your monitor on the card?

    Do you get an EDID table shown in your Xorg.0.log, or with xrandr --verbose?

    Does your ~/.local/share/sddm/xorg-session.log reveal anything more?


    If I let it sit for a good while, it comes back on, sort of. The plasma panel thing on the bottom, where the app menu, clock and all is, doesn't
    come back tho. Also, the background is just black, no picture like
    usual. The only thing that shows up is gkrellm. I'm pretty sure plasma died. I thought maybe it was heat, the fan isn't running on the video
    card or something. Nvidia shows the card between 25 and 30C. The fan
    nvidia says is at 34%. If that is correct, then the fan is running and
    heat is not a issue. Out comes the flashlight and a mirror. Yep, fan spinning. According to IR temp thingy, nothing even gets into the 90F
    area. I think if it was heat, I'd see something getting hot with the IR
    temp thing.

    There is two versions of Nvidia driver for this card in the tree. I've
    tried both, no change at all. Screen goes black and after a while comes
    back but most of the desktop has crashed.

    By the way, I ran the tail command over ssh. Sometimes when the monitor
    goes black, it doesn't come back. I can use ssh to reboot and repeat tho.

    Did I miss something during the install? Does the error above cause
    this problem? If so, how do I fix it? If you need info, just let me
    know the command to run. I monitored all I could think of. The one
    above is all I saw that showed a problem exists. Given this rig is
    still in testing, I can reboot or anything else as needed.

    Thanks.

    Dale

    :-) :-)

    If this is a buggy EDID, or monitor chip, you should be able to extract the EDID table and store it as a firmware blob for the video card to load. -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmZ2ujIACgkQseqq9sKV Zxn2oQ/+N9V8ks7RU9I0KKB/Max6R5uPYwAckkq+ddnG6+DZF9kBzJ8RbJE9ODuC R9Kbo6le5RYBgaxJyuiv0VtBjVRgm+rszhyQF3o1c29ywxlwPvQyGT5eJQh2QOqU ux7eBm0+sjUMaT64W5vJgSOjAuUTGaOQMZvP5JXrRqdEIMApW2cjdHyCu++WyuCS aNygx1pSNtWQNz2/6aHxkZbXm8zfUiLfjT7IuY1CgrCLNDcC+4JHbkAJhxnxNArs Cf/hKDrJOjEFkesFyojhWy28PWt1E0YeKW5PcdlOoQ46RY18HaYZG0gswjPLL0ay yfVuJaJwdgAWk29j8OC2tCWQySyhCrsF1LuS5MvK2v/Sn/Rvpql6ypYTpNFgHa4O WGzZ8xbR5+Q4OvJSbrZJEmD3sSvUej/8h8fTsbkvlWRebj9ZKoqSLI0Zp7rJgPMZ Vqtyacs8kRNGOrX1ZMoA/y+aEnBQ012AyrIw4hxtApkZykSLzS8iHAkU3JupGQMw XGPy/ZGekRkrV0sLzjrbD3iOxfPraZWwUZdKeowj58CJZG4/BxD+IyE4Nras6QtV sYyhrUSq1etahWebavA8tolvTyrnMXooMJ2wbkx0LQxp++7CaPMtaCDlz5eHZNqe wd4/O8O5I7SN7cp5Y1RXKgwC8pfAbIhBl6oaFEOvImXahLZ6k1Y=
    =bxnZ
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jude DaShiell@21:1/5 to Michael on Sat Jun 22 15:40:01 2024
    kde hasn't been accessible enough for screen reader users like me to
    install it and use it. That out of the way, could that be kde locking
    your screen for you using a 1 minute time limit? If so, maybe that can be adjusted. The gsettings app likely isn't on your machine so it won't help
    for me to go through my braille notes and send you the two lines for
    disabling screen locking with gsettings.


    --
    Jude <jdashiel at panix dot com>
    "There are four boxes to be used in defense of liberty:
    soap, ballot, jury, and ammo.
    Please use in that order."
    Ed Howdershelt 1940.

    On Sat, 22 Jun 2024, Michael wrote:

    On Friday, 21 June 2024 20:02:22 BST Dale wrote:
    Howdy,

    On my new rig, I've got everything installed. I mostly been on a
    console which has worked without issue. Now I've started using the GUI, KDE, and I'm having issues. I wanted to run a command to generate a xorg.conf file and it generate all the needed info regarding hardware
    and such since the GUI wasn't working right without a config file. The only one I found is the nvidia one. It is minimal at best. Anyway,
    when I try to start display-manager, with or without a config file, I
    get the sddm login. I login and if I just let it sit there, after a
    minute or so, the monitor goes black. It is still powered up but
    nothing on the screen at all. I've moved the mouse and pressed buttons
    on the keyboard to make sure it isn't powering off but nothing. Also,
    the resolution is pretty low too. It should run in 1080P easily. The
    card supports 4K I think. The monitor tho has ran 1080P on my main rig before, for years I might add.

    I used tail -f to watch a few error logs. I watched sddm, messages and Xorg.0.log. The only thing that got added when the monitor went black
    was this:



    Jun 21 13:27:41 Gentoo-1 kernel: nvidia-modeset: WARNING: GPU:0: Unable
    to read EDID for display device DP-3
    Jun 21 13:29:01 Gentoo-1 kernel: nvidia-modeset: WARNING: GPU:0: Unable
    to read EDID for display device LG Electronics W2253 (DP-3)
    Jun 21 13:29:02 Gentoo-1 kernel: nvidia-modeset: WARNING: GPU:0: Unable
    to read EDID for display device DP-3
    Jun 21 13:29:03 Gentoo-1 kernel: nvidia-modeset: WARNING: GPU:0: Unable
    to read EDID for display device LG Electronics W2253 (DP-3)

    There are reports in the interwebs about LG monitors having buggy EDID tables:

    https://gist.github.com/kj800x/be3001c07c49fdb36970633b0bc6defb

    What is connected at DP-1 and is the problem resolved if you change the port you connect your monitor on the card?

    Do you get an EDID table shown in your Xorg.0.log, or with xrandr --verbose?

    Does your ~/.local/share/sddm/xorg-session.log reveal anything more?


    If I let it sit for a good while, it comes back on, sort of. The plasma panel thing on the bottom, where the app menu, clock and all is, doesn't come back tho. Also, the background is just black, no picture like
    usual. The only thing that shows up is gkrellm. I'm pretty sure plasma died. I thought maybe it was heat, the fan isn't running on the video
    card or something. Nvidia shows the card between 25 and 30C. The fan nvidia says is at 34%. If that is correct, then the fan is running and heat is not a issue. Out comes the flashlight and a mirror. Yep, fan spinning. According to IR temp thingy, nothing even gets into the 90F area. I think if it was heat, I'd see something getting hot with the IR temp thing.

    There is two versions of Nvidia driver for this card in the tree. I've tried both, no change at all. Screen goes black and after a while comes back but most of the desktop has crashed.

    By the way, I ran the tail command over ssh. Sometimes when the monitor goes black, it doesn't come back. I can use ssh to reboot and repeat tho.

    Did I miss something during the install? Does the error above cause
    this problem? If so, how do I fix it? If you need info, just let me
    know the command to run. I monitored all I could think of. The one
    above is all I saw that showed a problem exists. Given this rig is
    still in testing, I can reboot or anything else as needed.

    Thanks.

    Dale

    :-) :-)

    If this is a buggy EDID, or monitor chip, you should be able to extract the EDID table and store it as a firmware blob for the video card to load.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Sat Jun 22 21:04:11 2024
    On Saturday, 22 June 2024 19:13:42 BST Dale wrote:
    Dale wrote:
    Michael wrote:


    root@Gentoo-1 ~ # xrandr --verbose
    Can't open display
    root@Gentoo-1 ~ #


    That's after I started display-manager but this time, it did nothing.
    The screen stayed on a console. I did move the cable to another port
    before booting up.

    The xerver is not running.


    This is the other info except nothing xorg there, just wayland. See
    below for more on that.


    root@Gentoo-1 ~ # cat /home/dale/.local/share/sddm/wayland-session.log

    I thought you said you were having a problem starting a X session, not
    starting a Wayland session. What desktop session are you selecting in your SDDM?

    [snip ...]
    dbus-daemon[2766]: [session uid=1000 pid=2766 pidfd=5] Successfully
    activated service 'org.freedesktop.portal.Documents'
    fuse: device not found, try 'modprobe fuse' first
    error: fuse init failed: Can't mount path /run/user/1000/doc

    It can't find the path /run/user/1000/ for your user to be able to set up desktop environment variables, user authentication and other desktop related files. Is your fs mounted fully?

    [snip ...]
    No backend specified, automatically choosing drm
    kwin_wayland_drm: No suitable DRM devices have been found
    [snip ...]

    It should have found and listed your video card here ^^^^ and its drivers.

    Can it not detect your card at all? :-/


    The Wayland connection broke. Did the Wayland compositor die?
    The Wayland connection broke. Did the Wayland compositor die?
    The Wayland connection broke. Did the Wayland compositor die?
    qt.qpa.wayland: Creating a fake screen in order for Qt not to crash dbus-daemon[2766]: [session uid=1000 pid=2766 pidfd=5] Activated service 'org.freedesktop.impl.portal.desktop.kde' failed: Process org.freedesktop.impl.portal.desktop.kde exited with status 1

    (/usr/libexec/xdg-desktop-portal:2787): xdg-desktop-portal-WARNING **: 03:20:14.512: Failed to create settings proxy: Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.kde: Process org.freedesktop.impl.portal.desktop.kde exited with status 1

    (/usr/libexec/xdg-desktop-portal:2787): xdg-desktop-portal-WARNING **: 03:20:14.512: No skeleton to export
    kdeinit5: Communication error with launcher. Exiting!
    dbus-daemon[2766]: [session uid=1000 pid=2766 pidfd=5] Activating
    service name='org.freedesktop.impl.portal.desktop.kde' requested by
    ':1.5' (uid=1000 pid=2787 comm="/usr/libexec/xdg-desktop-portal" label="kernel")
    Error: could not determine $DISPLAY.
    Error: Can not contact kdeinit5!
    org.kde.startup: "kdeinit5_shutdown" () exited with code 255 startplasma-wayland: Shutting down...
    startplasmacompositor: Shutting down...
    startplasmacompositor: Done.
    root@Gentoo-1 ~ #


    Since it complains about DRM. Here's this.


    root@Gentoo-1 ~ # lsmod
    Module Size Used by
    nvidia_drm 102400 0
    nvidia_modeset 1544192 1 nvidia_drm
    nvidia 59744256 1 nvidia_modeset
    root@Gentoo-1 ~ #

    I have no experience with Nvidia to know what modules are needed.


    What's that about fuse???

    It seems it can't find the fs containing the /run directory and it tries to launch fuse to probe & mount block devices.


    To add to this, this is a new video card. It's a P1000, Nvidia of
    course. Could it be a bad card that works to a point but then dies? I
    got a older PCIe V2 card I'm going to try. That was the card that was
    in during the early stages. The P1000 was the one that got hung up by
    the post office and arrived days late. I'm going to test the other
    slower card shortly, got to remember to downgrade nvidia-drivers to
    tho. ;-)

    You may want to walk through the Gentoo wiki for Nvidia to make sure you have all necessary drivers installed. Then you may be more productive if you try
    to solve either Xorg, or Wayland desktop session problems separately.

    If the problem is with your hardware, neither desktop session type will work.


    On the above wayland info, I recall some having issues with wayland. I
    tried to disable wayland by putting -wayland in make.conf and
    rebuilding. Since it wanted to rebuild a lot, I removed everything GUI related from the world file and then ran --depclean to clean house.
    Then I emerge everything I removed from the world file again, while I
    napped. The output above could be old but may still provide a clue. If
    I could figure out how to go back to KDE V5 instead of the new V6, I
    would, to eliminate a wayland issue if nothing else. I removed
    everything from /etc/portage/package.keyword file but I think KDE V6 is stable now. The odd part, right now, even sddm isn't coming up.

    kde-plasma/plasma-meta-6.1.0 is still in testing - I sync'ed earlier today:

    ~ $ eshowkw kde-plasma/plasma-meta
    Keywords for kde-plasma/plasma-meta:
    | | u |
    | a a p s l r a | n |
    | m r h p p i o i s l m m | e u s | r
    | d a m p p c a x a o s 3 p 6 i | a s l | e
    | 6 r 6 p p 6 r 8 6 n c 9 h 8 p | p e o | p
    | 4 m 4 a c 4 c 6 4 g v 0 a k s | i d t | o --------------+-------------------------------+-------+-------
    [I]5.27.11-r1 | + ~ + o o ~ o + o ~ ~ o o o o | 8 o 5 | gentoo --------------+-------------------------------+-------+-------
    6.1.0 | ~ o o o o o o o o o o o o o o | 8 o 6 | gentoo


    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmZ3LjsACgkQseqq9sKV ZxnEww//at/ijRiIHc/s01Q1m6bQ7IxazDPtuaT0e+U2kA0MelKzVeGDkviUj6PI S9Ivw3ewR9I2phX5eBPT0a5MWnk3iR4No58vn0+27VudFlrSbZhZP1zFAoQYP8V6 G8iPPVN9igFzfnTaLlNitqWeFnxx2B0q7Efid4agrpvnKertmfVU/7uVRoXDhBu/ OQpuEV8bFyfGBtIsyp+CXJTCb/2xrKBlIsIp+YCNfV6tJB+4KjRn8pdhO+rw/obA LCuprCtbEiYq+mlO7a8DiLmel9hRHihtGpMI55rMPFztanXXqrmJ3Q+oTPMJqIbe 2mGiYT/tAA6HhMb3Z5NvOHSiAygK1+EYT8a58DmTl8+BNRyqPdnIHZUuyBO4+q0f EsnWuHNMEWrFJOza/WdKxH/KfZb0LS96p3lDmv2MippCBeRDwvRgOOcuydS/sVgq k9/5JbpghtMHdIM1sypafNGvAzTPv9ywvkiW/0OeymsELIfuDF3f20SPLWCZX9KF kFrbEnEi3ZijH+8niA6MqMPLlNySyiY4CNhR/AGByY3wBA4rd0gOS3/I89PNfxRx YK7Xi559eNS7QQfYV0VySzgxO0Gonl0ni/XbYXeGLjsP7Tkdqs7bzC8/JUV0MTMC S2l6SlsJLHbaFS71kTpApHoCWe0J5BO9KjCOA1rd9FnPYKw5kpc=
    =5rDG
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wols Lists@21:1/5 to Michael on Sun Jun 23 09:30:01 2024
    On 22/06/2024 21:04, Michael wrote:
    This is the other info except nothing xorg there, just wayland. See
    below for more on that.


    root@Gentoo-1 ~ # cat/home/dale/.local/share/sddm/wayland-session.log
    I thought you said you were having a problem starting a X session, not starting a Wayland session. What desktop session are you selecting in your SDDM?

    This may well not be relevant, but I tried to get plasma on wayland
    running. I had it completely fail on me too.

    Then I discovered that sddm needs X.

    Even if you want to run wayland, you need X if you want sddm.

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Sun Jun 23 10:13:52 2024
    On Sunday, 23 June 2024 02:21:11 BST Dale wrote:
    Michael wrote:
    On Saturday, 22 June 2024 19:13:42 BST Dale wrote:
    Dale wrote:
    Michael wrote:
    root@Gentoo-1 ~ # xrandr --verbose
    Can't open display
    root@Gentoo-1 ~ #


    That's after I started display-manager but this time, it did nothing.
    The screen stayed on a console. I did move the cable to another port
    before booting up.

    The xerver is not running.

    How do I start it? I did a /etc/init.d/ <tab twice> and I see display-manager and xdm. I been using display-manager. I have sddm set
    for display-manager. Like this.


    root@Gentoo-1 ~ # cat /etc/conf.d/xdm

    What you show below is the content of /etc/conf.d/display-manager, NOT of xdm.

    # We always try and start X on a static VT. The various DMs normally default # to using VT7. If you wish to use the xdm init script, then you should ensure
    # that the VT checked is the same VT your DM wants to use. We do this
    check to
    # ensure that you haven't accidentally configured something to run on the VT # in your /etc/inittab file so that you don't get a dead keyboard.
    CHECKVT=7

    # What display manager do you use ? [ xdm | gdm | sddm | gpe | lightdm

    | entrance ]

    # NOTE: If this is set in /etc/rc.conf, that setting will override this one. DISPLAYMANAGER="sddm"

    Make sure you do not start both xdm and sddm as an rc service concurrently. Just display-manager will do.


    This is the other info except nothing xorg there, just wayland. See
    below for more on that.


    root@Gentoo-1 ~ # cat /home/dale/.local/share/sddm/wayland-session.log

    I thought you said you were having a problem starting a X session, not starting a Wayland session. What desktop session are you selecting in
    your
    SDDM?

    [snip ...]

    That made me think. After a few attempts, I got the sddm login screen
    to come up. I checked and it was logging me into a KDE wayland session,
    as a default.

    Wayland has been having problems with sddm for some time now - on some
    systems. I have had to stay with sddm-0.18.1-r8 on this box to be able to start Wayland, or I end up with a black screen and a blinking cursor on the
    top left corner:

    https://bugs.gentoo.org/913862
    https://bugs.gentoo.org/915483


    I changed it to x11.

    Good, let's have some consistency! :-)


    The first time, it logged in but
    nothing plasma showed up. No panel at the bottom and a black screen for
    the background. The only thing there was gkrellm. I leave it there so
    I can tell if it is working, to some degree at least. Otherwise, it is
    just a black screen.

    OK, partial progress at least.

    What happens if you drop into a console and restart display-manager? Will it load a full and functioning X11 plasma session?


    kde-plasma/plasma-meta-6.1.0 is still in testing - I sync'ed earlier
    today:

    ~ $ eshowkw kde-plasma/plasma-meta

    Keywords for kde-plasma/plasma-meta:
    | | u |
    |
    | a a p s l r a | n |
    | m r h p p i o i s l m m | e u s | r
    | d a m p p c a x a o s 3 p 6 i | a s l | e
    | 6 r 6 p p 6 r 8 6 n c 9 h 8 p | p e o | p
    | 4 m 4 a c 4 c 6 4 g v 0 a k s | i d t | o

    --------------+-------------------------------+-------+------- [I]5.27.11-r1 | + ~ + o o ~ o + o ~ ~ o o o o | 8 o 5 | gentoo --------------+-------------------------------+-------+-------

    6.1.0 | ~ o o o o o o o o o o o o o o | 8 o 6 | gentoo

    I see some qt stuff that is version 6. KDE has gotten pretty
    confusing. It depends on qt so much that KDE depends heavily on
    versions matching up somehow.

    Best you stick with a stable portage for now, at least until you get your GUI working.


    Is there a guide about installing the GUI parts, including KDE? I found
    a Xorg guide. I'm good all the way down to startx. At that point,
    nothing. I installed xterm just so startx should show some windows on
    the screen. Nothing. Monitor goes to sleep.

    I don't have a clear understanding of what you try, what results you obtain
    and what you change in your approach:

    - display-manager with sddm, selecting a plasma X11 session?
    - display-manager with sddm, selecting a plasma Wayland session?
    - startx with xserver?
    - startx with wayland?
    - startx with something else?

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmZ351AACgkQseqq9sKV ZxkvMg//aZMFiDErKN1zNKDVPMRl8VmVJs9z5by4qjI/1GPDzIGItEsZxiPPFiz4 A0UCVVXLQl+88VtCo1aE5PaGZVxNwczry7tI6yZLVkVEVCGFwfg+IoLvdZPTkTKq umP4NeV5HfqgaCZqOGGE6P42zEwvgGDYTgD6RCA9myyJIW7Duh5K58HldEI0aj2z 2fUxNZ/CCZNmpsE4mFOLdfQNzQwg95Gg4+S+ZGv1lEcYQEQnSyOVEBm33FaEaUa/ GG5CgQ8BTmgHFNXC6vvp/t85eJO9qDbloy0bwKoRCbQuevuaw9LDeX59HDW8SwfW 2HgzG7mkroYH64gG6h0yiIjf6sB6GQWo1pKu0a74Qlr4WnhhsDgWR8dwU7i/5GVi v28zUQppIQO2KfP5ucb1l/ZGic8AP0PgMGFN/yWlOQU8qX0TTQAZnNJDMWY1Arf+ NUZNOzcYF8zGytoNSc8KxyiX7j0oRnTBKlQm0VC9RSvacs+BvKleQ6Jvq3Nm+jq3 uYFG2L3BLwjWykhQbTYnZtZpc6yd7L5cP5okzlnGqe+eytxvqvFq+2Uy3MGirNkl Zi5ptg8f3Cf8FwVr4CFhVSamqSsOFg7W8xFCmPSaTan7ShyMQQwinj+flOQfb7CZ ZtFVYgTZFSqHXBw4KgsAYf7w3WyYG4LHF8qwwczo7PfqA+GJKJA=
    =TRWL
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Sun Jun 23 10:20:12 2024
    On Sunday, 23 June 2024 08:53:01 BST Dale wrote:
    Top posting for consistency.

    I booted the Gentoo GUI media. I opened a window just in case it
    rebooted or something while I took a little nap. The resolution is
    1080P which is what I expected the monitor to run at. When I got back
    up a few minutes ago, the same window was there. It ran for hours
    without the monitor powering off. I think this eliminates hardware.

    Yes! :-)

    I also found something new. I can go in the BIOS menu and boot a USB
    stick directly from that by just clicking on it. O_O WOW!!! I said
    the new BIOS had improved by a lot. Can that thing wash dishes too???
    LOL

    It is the same as the legacy BIOS in this respect, only the GUI is different. With the old BIOS you would press F2 or Delete at POST and then go into the boot menu to select 'Removable Media' or some such.

    Still open to ideas if anyone has any. If not, I may safe key files and start over, and fix my partition layout too.

    Diff the settings used by the LiveUSB and the settings you have configured on your installation. Starting over with your installation, only to follow the same path and without *knowing* what you need to change, will not necessarily resolve your issue.
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmZ36MwACgkQseqq9sKV ZxmZZA/+PMeVr67wmrr4TZ9iQMNhn+1eRT2NNNhd6brUfhFcePV7L0NLiqLIER4p 8wtbAAlRD9bEDIayXaU56/3YMVUsF9Cxg/NS0HBkwHz2KNzJ0P5OtwOY2PdUL6UL U9To0RcTGXvJ0+QX0Bo591eRFJetM62AM5Svr2OLG8kwk0fc9fpJEUnQBL6lj92i VQ6eA3e8tVl0KyVXD5cnvY19WhlvFnqTLR0a4CbspVYzso8Pl5cNid8P6Ya4OQD1 O9NETVVK7kwsiqCTsiCqbTaFFQvCSUBlB6cQ1M32DPAGEVd1tHd9wfuCY9o4VawQ xn4O9mrEymmpDz1vQb2TRwGgYXE/c8QMWhmw1FWE322hsA8Yxz5XIoX9qY9QuSzu wlaKNzy1VKK1IbLqI9trdjiQzEvf9t2ijBhdElvMdBFX5X/sWB3EIVpyUofFwj49 oS6K9mkacNbxtiTlVP8SYxWxFmOomA/svd2olYDb/66/wS60GD/wfAAB7RdTiT0U 3wLOh5otTEr+KQzXgkTpzBq76sHpBW5yvShP5kha2D4AZGbRb82aeLizE1d+PuJH 4EZeFS+vgZboPyufOLvCvNNp48tt9u6ODZKs5LSiUGf5Txl0XEUeKvvvi1jvA9F2 v0GfMPEeSgquX8iMePlgpmZfiGYUznBxs6psk8C0269wnHuz1xM=
    =dRLB
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Sun Jun 23 15:22:35 2024
    On Sunday, 23 June 2024 13:19:18 BST Dale wrote:
    Michael wrote:
    On Sunday, 23 June 2024 08:53:01 BST Dale wrote:
    Top posting for consistency.

    I booted the Gentoo GUI media. I opened a window just in case it
    rebooted or something while I took a little nap. The resolution is
    1080P which is what I expected the monitor to run at. When I got back
    up a few minutes ago, the same window was there. It ran for hours
    without the monitor powering off. I think this eliminates hardware.

    Yes! :-)

    I was worried that $100 video card I bought, most I ever spent on a
    video card, was for nothing. I'd hate for it to be defective somehow.

    I also found something new. I can go in the BIOS menu and boot a USB
    stick directly from that by just clicking on it. O_O WOW!!! I said
    the new BIOS had improved by a lot. Can that thing wash dishes too???
    LOL

    It is the same as the legacy BIOS in this respect, only the GUI is different. With the old BIOS you would press F2 or Delete at POST and
    then go into the boot menu to select 'Removable Media' or some such.

    Well, on this one, I thought I was going to select it for a temporary
    boot after exiting the BIOS, one time thing, but when I clicked it, the
    menu screen for Knoppix popped up. I didn't exit the BIOS or anything.
    Just click and off it went to boot what I clicked. o_O

    Still open to ideas if anyone has any. If not, I may safe key files and >> start over, and fix my partition layout too.

    Diff the settings used by the LiveUSB and the settings you have configured on your installation. Starting over with your installation, only to
    follow the same path and without *knowing* what you need to change, will not necessarily resolve your issue.

    That's my thinking. The only benefit to reinstalling is correcting the partition boo boo.

    What in particular are you referring to? I thought you created an ESP, / and /home partitions, if I recall.


    I also might learn something, maybe. Of course,
    there is that blind squirrel tho. I think I'll get the config file info
    from the Gentoo media tho.

    Since my last message, it's been sitting on a Knoppix screen. It's
    still sitting there just like I left it for my second nap. So, hardware
    is certainly in the clear. A config issue is the problem, which means I
    was right, I missed something. Somewhere.

    Now to go find it. ;?

    See what config files (if any) may have been created for Xorg, what drivers
    are loaded for your graphics, what kernel modules are in play.

    lspci -knn

    for other drivers too.

    Also save dmesg to compare with your kernel's output.

    PS. It's getting warmer and noticed on an older PC the temperatures were creeping up a bit and the fans were getting louder. Last time I applied thermal paste on its CPU was in 2017. So, I took it apart, cleaned it and re- applied fresh, very expensive, thermal paste. Well, I fell off my seat after
    I restarted it and run cpuburn on it for 10 minutes on all cores. A 19% reduction in CPU temperature!! 0_0
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmZ4L6sACgkQseqq9sKV Zxk7jQ/+P/qZYBh0ZCUGpPyOB8+nIXp7BLMwYxSXrJaFBuq1uI+HwmzVxC37GhH6 rszFE7G1lfuUyP9GyEP43Wf9UeE1gMdaYmXsn8P91WDx5wbgDPJE2Z4GN1vX9GL9 UxwoxeDpru7V6kJRsHsxH3fPifuoSKCsV1Z5qb4vos7XQimreeK9RgMaCS3mKZd5 UgxYv2bnyxBx9lxWxD84v7PPluKCth1ADp2LFfOwf1A3aPIsXp1vrNZ0D4HizIax 9V3Zfx2jwZCD4zMVjk3CtubLbmKOkwVvr0c4M6+vF+7P4rDzhlWonHlApGw/Ejce p7/hjNyjyD29dy3gjAUfqwsDvalgi0B56pucetMtR6rLv36mrhGYjC3MDoMbHmIc 6f9GavWgZ/moOUN/JqAJpO7otgsSHzXM2E/NhVzBgytrE79JamKg6mG4bGR0LdFL yJ1ajWjp1pZwhA9m/wmNCzcBUuCnvccYVFkGuUjmrqdTJfe0xGKB9vkUlbaNyQPm yrLroX/Oao7xNFJ4zvBHlQ6ttpajn6v7oHEPwvMjkGMSQn4qrqo7ds8zHUUFzDir rkbEH2yUR7orKomFEMGL6OHBt/Drfit6J7N5JnZ0VwjaQobkCzpHT3gneTJtdIZl uspDCXbvYNScPdt1dUGnmcDwxYkZVoDMkh5jE0ypp2hP4bNS/Fk=
    =5dei
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Mon Jun 24 01:01:17 2024
    On Sunday, 23 June 2024 23:37:15 BST Dale wrote:
    Michael wrote:
    On Sunday, 23 June 2024 13:19:18 BST Dale wrote:
    That's my thinking. The only benefit to reinstalling is correcting the
    partition boo boo.

    What in particular are you referring to? I thought you created an ESP, / and /home partitions, if I recall.

    I was thinking the EFI partition, ef02, and /boot were the same
    partition. I only created one that was huge. I made the ef02 partition
    8GBs I think when 8MBs would have been more than enough from what I've
    read.

    OK, the "EFI System Partition" is type ef00. You need this partition type to be able to boot a UEFI MoBo using its (BIOS) firmware. This is where GRUB, or any other boot manager will install its UEFI executable image.

    ef02 is the partition code type for the "BIOS Boot Partition". You do NOT need one of these, since you are not trying to boot a GPT disk on a legacy BIOS MoBo.

    Your new /boot partition can be a normal linux partition, type 8300 and you can format this as ext2/3/4, or whatever GRUB can read.


    I kinda like /boot on its own partition. If /boot gets corrupted
    somehow, I can get the kernel and config again from /usr/src/linux.
    Building the init thingy again is trivial. So is reinstalling grub. If
    I were to lose root somehow, I'd have to reinstall but I got the kernel
    and its config file. It ain't much but it's something. As it is, /boot
    is on the same partition as root. If root goes bad, all is lost, except
    for any backup copies I might have. If I redo the install, I'd have a
    EFI partition and a separate /boot partition as well. The EFI would be
    like 8MBs or so and the /boot partition would be ext2 and 8GBs or so.
    Plenty of room for expansion.

    I see. I don't think you need to redo the install. All you need to do is:

    1. Back up the ESP contents, just in case.
    2. Shrink the ESP partition, down to a reasonable size. 500M or 1G would be more than enough.
    3. Create a new partition, say ~7G in the space your just freed up, of type 8300.
    4. Check if the content of the ESP fs is intact (it should be, but we're talking about FAT here) and if not reformat as FAT32 and copy over the files from the ESP backup.
    5. Format the new /boot partition and copy over the files from your current / boot tdirectory to the new /boot partition you created.
    6. Adjust your fstab and reboot.

    NOTE: The GPT partition numbering order will be messed up, but this does not alter their functionality. If it annoys you, then use gdisk to re-order them.


    I saved messages, sddm log and the Xorg log. Honestly tho, they will be different because the live DVD uses the kernel drivers, nouveau, where I
    use Nvidia. Still, I got them anyway.

    Several years ago, I took the CPU cooler off my main rig. I dunked the
    fin part into some heavy duty cleaner that cleans off dirt and dust.
    They wasn't to bad really since I blow them clean with compressed air
    from my compressor pretty regular. Still, it looked new when I was
    done. I used alcohol and a toothbrush to clean the old paste off of the base. The original paste was what came with the CPU I think. I'm
    pretty sure I put Arctic Silver on the second time. I can't remember
    the exact amount but it did cool better after a few updates and some compiling. I don't know if it was the fin cleaning or the thermal paste
    or both tho. I think Arctic Silver is still considered a good brand and
    very good product. I'm pretty sure it never dries out. Even some
    cheaper generic brands are quite good.

    Ha! I thought my low temperatures were too good to be true! The Mobo had lost its settings (it reminds me I need to replace the CMOS battery) and consequently the CPU was underclocked. I reconfigured everything and on a second run the temperature was cooler, but only by 2-3°C cooler. Still, grateful for small mercies. :-)


    I'm going to compare some data between the Gentoo live DVD and my
    install. If I don't see something obvious, I'm going to fix my
    partition boo boo with a fresh start. While at it. What is the best
    way to wipe the partition data from a m.2 stick? They not spinning rust
    so don't want to try to dd or use shred on the whole thing. Doesn't
    gdisk have a wipe partition option? Curious what you think is the best
    way to do that. Don't want to shorten the life of my m.2 stick.

    In this case do not reinstall. Most of it, if not all, would be unnecessarily deleting and rewriting the same data.

    gdisk can destroy all the GPT data structures on a disk. Press x, then z. However, I suggest you don't this. Use Gparted to shrink your ESP and add a new partition for /boot as I explained above. The focus on sorting out your graphic card.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmZ4t00ACgkQseqq9sKV Zxmlig/+PbidyRg3w+xFY9IkjOccMhE6Es311gFVMz+HHxMZT/yXEDMsKzrMGie5 rtKOlW286OYuPeO0+7wWslbt331HCiDLb4RNFWVJRdr6on3rgQv912HHztUxs1Em CQBP4Sxl9QvVLhdx0lhHCRy4LCHfB/FY6ljLtYOLW5zglnFn7Hqc/AU4A5Qo9fgR UnfUWQ5Ua7a6+57yVZ/7O5Uo9f8h9xoYZ6uctgWQYfGcVAS9xa4boDh7sUvplScn MYhSyJKPpSTb8/3gCp7zq7PI0FJhsBQVsYJRcTbqHRGfP6a3+HZWl98KkpstPM1J WTTHhvoAiwpn/y1J2WxXcDbeL6cSZOeaC0jlhUd36xhqC8Klv+qXaUFalh+ReEnS kXETyYO6sSD/hER6pMpEKTFKOrttkyuoHrLTYBdNWXRTKjPg/Gzi9W10A0yBzMTz cdZ4wQYGZDxzZc+Qd+8mTHOzXUxuM1abJ2j5/ogrNjpj3jddHpl1D6ZUwDhKZj7L ngygYJU7s/hmC+aOU9atByTFpGQ5E/d0h2SAdJWVErf1/CFQDI4RBFh5AquOIEWS dS72bKcwpj66ZYvsd6cmyjCwVC7Vf10/VY6UQeddz9yTJZZBpNRXbuRmGOtfhpLc o4+44GmMkFQ3CGGF+RUfkVU8Yxy1HFn4R2Fj+1e3olu1ntcn2FA=
    =4BGd
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From William Kenworthy@21:1/5 to All on Mon Jun 24 05:00:01 2024
    This is a multi-part message in MIME format.
    ...
    Now to ponder what comes next.

    Dale

    :-)  :-)

    Hi Dale, did I see in one of your early emails you created an xorg.conf
    for nvidia?  Have you followed the gentoo Xorg guide where it says to
    try first without that file?  I doubt the knoppix etc use a conf file
    and so must depend on the auto detection.

    Based on my own experience I can say using an xorg.conf (though it was a
    radeon card) is an easy way to shoot yourself in the foot!

    BillK


    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
    ...<span style="white-space: pre-wrap">
    </span>
    <blockquote type="cite"
    cite="mid:7d0efea3-8791-5f98-1313-8a59e5f7f7c4@gmail.com">
    <pre class="moz-quote-pre" wrap="">
    Now to ponder what comes next. 

    Dale

    :-)  :-) 

    </pre>
    </blockquote>
    <p>Hi Dale, did I see in one of your early emails you created an
    xorg.conf for nvidia?  Have you followed the gentoo Xorg guide
    where it says to try first without that file?  I doubt the knoppix
    etc use a conf file and so must depend on the auto detection.</p>
    <p>Based on my own experience I can say using an xorg.conf (though
    it was a radeon card) is an easy way to shoot yourself in the
    foot!</p>
    <p>BillK</p>
    <p><br>
    </p>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wols Lists@21:1/5 to Dale on Mon Jun 24 09:20:01 2024
    On 24/06/2024 02:55, Dale wrote:
    Now to ponder what comes next.

    Stibbons?

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Mon Jun 24 10:03:45 2024
    On Monday, 24 June 2024 06:19:10 BST Dale wrote:
    William Kenworthy wrote:
    ...

    Now to ponder what comes next.

    Dale

    :-) :-)

    Hi Dale, did I see in one of your early emails you created an
    xorg.conf for nvidia? Have you followed the gentoo Xorg guide where
    it says to try first without that file? I doubt the knoppix etc use a
    conf file and so must depend on the auto detection.

    Based on my own experience I can say using an xorg.conf (though it was
    a radeon card) is an easy way to shoot yourself in the foot!

    BillK

    At first I did not have a xorg.conf file. When it didn't work right, I
    tried creating one to see if it would work. It didn't work with or
    without one.

    Yes, but at first you were trying to launch a Wayland session.

    Did you also try to launch an X11 session without an xorg.conf file? Any changes you need to include non-default settings should be added under /etc/ X11/xorg.conf.d/.

    https://wiki.gentoo.org/wiki/Xorg/Guide#Configuration

    You should at least try to launch a X11 session using a console and see what
    is printed out on the CLI after you exit (or if it crashes).

    ~ $ exec dbus-launch --exit-with-session startplasma-x11

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmZ5NnEACgkQseqq9sKV ZxkXDg//YMT3Z0zMl6wuICgApQPyOyXGdtp3qiJgFX/R/hvpz2ZU/QpDJDxKYBq7 L7ErrZWDuYg3SUge6pWfqL81FhP6Q2WcLR7dMHX8HWkclTo7B2qJPV76Cfc0YKSA yO/7f5g18ieG7TCUu7gJ65q//Kj6vTYZ5BFmhXRiNE7h1SQQkRALtMDrIpJDPbtX f34xJdXmIynSD6KCyrFWqEpENS6Ap7IrQfSOefs48mKU714BngsbmpjGi1BL5k7a uheySgkgteYcExEbr1msztSimVsyWUStAezX0fNf9X02q6c3H7hkD9GTVEJ7ZHFm sgOuS1YeuwXTTVz7NfWh7lny8EgbSX8StA2InSae0miRRRzi5+jfiJU8b4gjzfOB XFWru0cwgupWOoAXExBExn2dbVQ1LhgC7MI46D5H2OqffxFopsZNrYDdHU+TCzZc VSjBz2qEG3oq7kmiHN5c4jT+HOo/wwkvkTEUeYPfutMp0I01isjqFakthWCyTQ0D pVFNMjil2d3iAnWZlf7MxfQBoAHsOyl/HeCE1kT3fIPCJ75glSajt/TYU11ygvQp PyWL+HQ9GqBwefCI2vBDTa7OYuicr97YXIkB45OLEUqlCo2lnw72eV5JUndLcv+k npEmzUa3crQTeyak/Lzt6RPRLX5eY4Nh7Fu5HoqQgdj00zrSiu0=
    =xm4e
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Mon Jun 24 09:38:36 2024
    On Monday, 24 June 2024 02:55:33 BST Dale wrote:
    Michael wrote:
    On Sunday, 23 June 2024 23:37:15 BST Dale wrote:
    Michael wrote:
    On Sunday, 23 June 2024 13:19:18 BST Dale wrote:

    I kinda like /boot on its own partition. If /boot gets corrupted
    somehow, I can get the kernel and config again from /usr/src/linux.
    Building the init thingy again is trivial. So is reinstalling grub. If >> I were to lose root somehow, I'd have to reinstall but I got the kernel
    and its config file. It ain't much but it's something. As it is, /boot >> is on the same partition as root. If root goes bad, all is lost, except >> for any backup copies I might have. If I redo the install, I'd have a
    EFI partition and a separate /boot partition as well. The EFI would be
    like 8MBs or so and the /boot partition would be ext2 and 8GBs or so.
    Plenty of room for expansion.

    I see. I don't think you need to redo the install. All you need to do
    is:

    1. Back up the ESP contents, just in case.
    2. Shrink the ESP partition, down to a reasonable size. 500M or 1G would be more than enough.
    3. Create a new partition, say ~7G in the space your just freed up, of
    type
    8300.
    4. Check if the content of the ESP fs is intact (it should be, but we're talking about FAT here) and if not reformat as FAT32 and copy over the files from the ESP backup.
    5. Format the new /boot partition and copy over the files from your
    current / boot tdirectory to the new /boot partition you created.
    6. Adjust your fstab and reboot.

    NOTE: The GPT partition numbering order will be messed up, but this does not alter their functionality. If it annoys you, then use gdisk to re-order them.
    Oh, I'd mess that up quick. o_O

    Unlikely. :-)

    Press s to ... sort.

    Check 'man gdisk' for the 3 menus of gdisk and their commands. Anyway, the numbering of partitions as stored in the GPT tables is of less importance if you use UUIDs in your fstab.


    I'm going to compare some data between the Gentoo live DVD and my
    install. If I don't see something obvious, I'm going to fix my
    partition boo boo with a fresh start. While at it. What is the best
    way to wipe the partition data from a m.2 stick? They not spinning rust >> so don't want to try to dd or use shred on the whole thing. Doesn't
    gdisk have a wipe partition option? Curious what you think is the best
    way to do that. Don't want to shorten the life of my m.2 stick.

    In this case do not reinstall. Most of it, if not all, would be unnecessarily deleting and rewriting the same data.

    gdisk can destroy all the GPT data structures on a disk. Press x, then z. However, I suggest you don't this. Use Gparted to shrink your ESP and add a new partition for /boot as I explained above. The focus on sorting out your graphic card.
    [snip ...]

    Now to ponder what comes next.

    Dale

    :-) :-)

    Well, before you consider what comes next, you should consider what comes first. If you must reinstall, then you may want to erase securely all data on the NVMe disk instead of just deleting the GPT tables. You can use nvme-cli for secure deletion of your data; e.g. for /dev/nvme0n1:

    nvme format /dev/nvme0 --namespace-id=1 --ses=1 --pi=1

    Wait until it completes and do not interrupt it.

    (man nvme-format for more information).

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmZ5MIwACgkQseqq9sKV Zxmt1BAAsZXq3D2t25NXjhtSAUJtWeHD4EGJO0rXdUx8oulZk4jpd+D/yvAjLP3v 1yoTInHeLfEMCvorGKlje4If3b5RcESPwHzOkguwRAtvlnFOiS0BF5xvEQLtybbT lvsCXS+h90RyoLLTpUaSA6Y/hDjpyT/Lp0Jyk+vteU3fjOe43sBu02U1w4PzSLsN AWP/k3bdhbRCVATWZzefYg2h+mRday/BNosP3nd9RrAx1DuIaVmRnDRtJgD2750x +ERTUT8WBQtHE1mxn9e4kyQYri2sNXdPoWGxoon4+TDpd2hqe1E3WkpPUtTigjAr 3gia7oDI/c+mYmN0/mpfslWIKgBr9B5DjAsc43zcEBw0e070VhrKI6WZYncejFa/ XwLAeIAX4Q/0BqkYyhsKp1nihTRssj1pYCwo7UaidnEy9kebQtlu6fuX4ekzakz2 UjbqyuL7inzUf8WQbo4sYwRxMdVKOdVOmucy7fqaYtV8yyCWbf/2Q6+Llz1NpStB 2ZTEvCuRnJkYUVacA9rvOreVZi8yX+3a/UPGk5dXx3uenWLi5k+36YRnxHEYk9tf H5X90RUkF1KuIlqM5pQaUNO6EXWlTY0K9+D08KHkpnGBHSAXRhxcENUqi6L3HtZo UUrN9uzfQVX42BsRzWgzKnHGuxKlhhXkk2tRX5yF4E6xzbYUVB0=
    =Yczo
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Humphrey@21:1/5 to All on Mon Jun 24 17:00:02 2024
    On Monday, 24 June 2024 15:29:21 BST Dale wrote:

    If a person is trying to copy another install and runs into a failure in
    a package to compile, skip ahead and deal with the locale section first
    then come back.

    Yes, I've been doing that for some time now, having tripped over something as you describe.

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Mon Jun 24 16:38:35 2024
    On Monday, 24 June 2024 14:25:47 BST Dale wrote:
    Michael wrote:

    You should at least try to launch a X11 session using a console and see what is printed out on the CLI after you exit (or if it crashes).

    ~ $ exec dbus-launch --exit-with-session startplasma-x11

    I tried every combination I could think of. It seems the more I tried,
    the worse the failure got.

    Anyway, I've started a fresh install. I fixed my partition boo boo. I didn't need much of anything except to just get a fresh start so I used
    the zap feature of gdisk. After that, I used cgdisk to set up
    everything else, making sure the efi partition was ef00 and had the old
    fat type partition on it. Or was it vfat? Whatever the docs said. I
    copy and paste some of it except for the partition info.

    For an ESP on a disk partition, it would be FAT32 (while FAT12 or FAT16 can be used for removable media). VFAT is an extension to FAT allowing long filenames. In any case it's just a symlink:

    ~ $ ls -la /usr/bin/mkfs.vfat
    lrwxrwxrwx 1 root root 8 Mar 24 08:52 /usr/bin/mkfs.vfat -> mkfs.fat


    I did notice one thing, I copied some USE flags over from my current
    rig. I found some that might not should have been copied over before.
    I wonder if that could have caused a problem or two. I realized I chose
    the merged /usr stage3 but had split-usr USE flag in make.conf. That
    was one I remembered. There was a couple others as well.

    Some of the USE flags will be dictated by the make.profile you used. If you selected the merged /usr profile 23.0 and the corresponding non-legacy stage 3 archive for desktop plasma 23.0, you shouldn't have USE="split-usr".

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmZ5kvsACgkQseqq9sKV ZxloeQ/6Ahxx9EV8Qa3Wy8rHWo6+nIk58h4k+tWjnU3KmawOBt4wkmJVClI8v+pI Amzpzcd12Tz/KQwJCU3HVyHwRvQix6zAhjtIGbIuZ3CDM543V0p2Le42OQCG3HKL YrZ6OqnxZZrxd3b3mnF7I2StpUdMUhFIXYGtJ8dtO0O69wG5ru/kdqnO4wfKoRR7 yMznU9V3LGCn/tCXkwroGb8bC2isbgGMnrezI78TpzsDi4xYpqPCdiFihf28cJCQ Jr0AcM05qJBoZjYHctGxAP0hoB9X+8i1hB6AJqj+33JXUvkdRj5VRZsb6QdEeL0x MFieFGzW+8DSPtFE3bZHWVAytsDuCYGYums3GudTiFLiAuOsbRai/3ZqLQp4VID1 oi4PqZ29uBk3PD08cRzsOsoyzaMj1KfX5r2fNs+XGDe58p+7uBEhY+gBz1FvR5mr DbuFN3IbLmM6GTecbOA/Jo8ht8nzEP68zGY/wZucRsrFe/LX4bOXNxVGE7Hjb3si LiifpiyLbxfbgskwq5F5xwP0poMjKkVzIAMnJWAgXzY9U28OfFVT/ceQl20Jd99y b70Ne2jrIVJsvQ312QTB6TUkqk1ku6vhHPKAwYMqOUHJTM45upmdXaPYczszaUTg aNv4EJNzbeh4ZEuaCRwVDIovr3tEX556an2ZAhHOudimk9AThx4=
    =LWZC
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Mon Jun 24 17:00:10 2024
    On Monday, 24 June 2024 15:29:21 BST Dale wrote:
    Dale wrote:

    If a person is trying to copy another install and runs into a failure in
    a package to compile, skip ahead and deal with the locale section first
    then come back. This failure is between syncing the tree and during the Optional: Updating the @world set section. I moved the USE line over
    from my old system with some changes so I expected quite a few updates.
    I ran into libdrm failing, no matter what USE flags I try. It failed
    with this:


    ninja: build stopped: subcommand failed.
    * ERROR: x11-libs/libdrm-2.4.120::gentoo failed (compile phase):
    * ninja -v -j16 -l10 failed
    [snip ...]

    * Working directory: '/var/tmp/portage/x11-libs/libdrm-2.4.120/work/libdrm-2.4.120-abi_x86_64.amd 64' * S: '/var/tmp/portage/x11-libs/libdrm-2.4.120/work/libdrm-2.4.120' /var/tmp/portage/x11-libs/libdrm-2.4.120/temp/environment: line 87:
    warning: setlocale: LC_MESSAGES: cannot change locale (en_US.UTF8): No such file or directory
    /var/tmp/portage/x11-libs/libdrm-2.4.120/temp/environment: line 90:
    warning: setlocale: LC_NUMERIC: cannot change locale (en_US.UTF8): No
    such file or directory /var/tmp/portage/x11-libs/libdrm-2.4.120/temp/environment: line 93:
    warning: setlocale: LC_TIME: cannot change locale (en_US.UTF8): No such
    file or directory
    *
    * The following package has failed to build, install, or execute postinst:
    *
    * (x11-libs/libdrm-2.4.120:0/0::gentoo, ebuild scheduled for merge),
    Log file:
    * '/var/log/portage/x11-libs:libdrm-2.4.120:20240624-140627.log'


    The key part is that part about 8 lines or so up. If the locale is not
    set, it will fail. Once it is set, it compiles just fine.

    You mentioned this in your previous install and I suggested you checked your locale. You had specified (well, you had copied over from you old system) a non-empty LC_ALL in that case.


    I don't know if the docs should be changed or not. It could be that in
    most cases, doing it early could cause other problems.

    The handbook is written for all sort of different profiles, inc. users of the musl libc - see note under the section "Configure locales".

    However, I think setting an appropriate locale earlier should not be a problem and as you have identified it would actually avoid any failures when updating
    a relatively full @world set like yours. You can raise a bug in BGO to this effect. Select /product/ "Documentation" and then /component/ "Handbook".

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmZ5mAoACgkQseqq9sKV Zxk+Gg//cxwnnp56doSq30wyeoaBD5A7Q0pyIfVw4M1z4mgXXXAVPhsdFIJ7V1Bn LHE4dvavvaa0xD3mdDaZt+/Y/+q8ml03wiq8/NlqQP9LrqN+Ayz4bQANtPHFUql9 cLcEq6WNIMDUNiz396NYN1VVhIdzm3TXyU2/PLx3LoMiVN+rqjeia0r8bUrhpZx5 WDijthywXeq//1QpMQi+gzDUe3kQfo0WzGiUoW3Frj0PLrMEW1dYBY1TF7Mmmikh SYp2aoDPo7fRToWaVMeHSWUVuqvr8+8FS8uCi8InuCnIxV7xzC+6LHBqUaSx4l6x zMrn1yXpMsoGT0SXdmDioibq6K4w8KtD4YctZQlggRinNffwj8YdYF/Kwu39QAVg FNjGTrAM5i8jjTmtixHdvhublXQCjsOQDoOsiMsa3t4iydlW6KXoG+zgXrjHVM0o MmaSC1cfXM7wKG16/xBX0Ygd0tQ7LHn1HMgY6jKgJ4qGNFifUoFdMTg20sXbUyC4 gRvIc4R1WLSeJs63zNyQVaMhXACKqAHckHGhVQggKW59IVgkPUtxL1LWKK4xw/Fu AWK69DNOPNQrbH+iAXJGYt+9lhKNIabB8/WBqKZihVkNDWQjyYkuMUeaucn9sDrc sfyl8nS+8s4JLRy+l2oYFvu+Su4xWJOCBytPjfsbYqI3xOklhBo=
    =ehyY
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Mon Jun 24 18:31:51 2024
    On Monday, 24 June 2024 17:54:44 BST Dale wrote:
    Michael wrote:

    For an ESP on a disk partition, it would be FAT32 (while FAT12 or FAT16
    can be used for removable media). VFAT is an extension to FAT allowing long filenames. In any case it's just a symlink:

    ~ $ ls -la /usr/bin/mkfs.vfat
    lrwxrwxrwx 1 root root 8 Mar 24 08:52 /usr/bin/mkfs.vfat -> mkfs.fat

    I followed the guide. I copied the mkfs command and the option then
    replaced with my partition info. The command in the docs was a sda
    drive not nvme. This part of the docs worked fine last time. I just repeated the same.

    Good. You'll have the correct filesystem format for your EFI system
    partition. :-)


    [snip ...]
    I also ran into that locale thing again. Using your export command,
    fixed it, again. I find it odd that the commands to reset the
    environment does not reset that somehow. Anyway, it works. I have that LC_ALL set on my main rig. It's been that way for years. Should I
    change it or leave it since it works??

    It is recommended to leave the LC_ALL unset, because it overrides all other settings. Check the 'Warning' under the section "Environment variables for locales" on this Guide:

    https://wiki.gentoo.org/wiki/Localization/Guide

    If you have it in your /etc/env.d/02locale, or your bashrc, or any other startup script, unset it. When you call:

    ~ $ locale

    at the end it should have an empty LC_ALL:

    LC_ALL=


    My CPU seems to be running about 20F cooler now.

    Cool! Ha! Quite literally. ;-)

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmZ5rYcACgkQseqq9sKV Zxm8NxAA0Hj0ykh4IZ1tpHcS6k3MVr0eahm2dvMRtgDOH9+H0lmIQMb4KWRyVFJ7 MPcQrxKoUzJhhTOBci6c55gCu3Z6Q3FaiRZCTYokCoPFzmgzkh2rI1iZoicDof45 ah43tjf27z6/dOTAr/HOUhvj3VUq2Jkkuz0+6sIvve1q/9KqLYkM/AoxYc3Vudd2 bRqGMd9yLm9Ko43IGlhFD4ju1/F8bjV7aVJeI7AFFtKScBz37v0hf1KRMi4ELMZ1 RNNKo8ahPEYj6ELL7Lx7RfaObC8eP9H8K6I6gjGXHtWOgS//KspPDkl+coHaaIjD Qpk4rzPuCX+UuqsPFkata7ctfmG8SsbrrzsbY4Ha3p6OQ8zs6Z+vjW27JjaKZNaA y96AoEFPSuctQXQVNn3URdl3s1uCkN950iCzHChed9CwCodIOzSZzfyKfdQi+5id i5iJxh6kqXbQYUgnpeOfZEeLPWtBIfocGjNUAZT+gojGrYddSrvJsVrjYno1UY6Z Nva2JB7QiDDGJSKOGWYptYg3HgUxJw0axraRrcXmPDOk15VFpOBXyolC93qavEpd aFqQL1Xpzh40p2Uxebu9/H3wRjHqckgAfQtmvGL28YMciZXZxuavws1LdycrRRyB aKVKxl64htF1ZXl4VJxWuw5m13NGd2Rr14nd2HSnrqUEojJbRVk=
    =pmBQ
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Mon Jun 24 21:43:11 2024
    On Monday, 24 June 2024 20:47:15 BST Dale wrote:

    Have you seen this before?

    No, because I've never used dracut.


    (chroot) livecd /usr/src/linux # dracut --kver=$(cat include/config/kernel.release)
    dracut[I]: Executing: /usr/bin/dracut --kver=6.9.4-gentoo
    dracut[F]: Can't write to
    /efi/dba652170b7a716f303c3c5966799436/6.9.4-gentoo: Directory /efi/dba652170b7a716f303c3c5966799436/6.9.4-gentoo does not exist or is
    not accessible.
    (chroot) livecd /usr/src/linux #


    The directory inside /efi does not exist.

    The long string is either a PARTUUID, or a fs UUID.

    Run blikid to find out what it is.


    This is from the boot media,
    not the chroot environment.


    livecd ~ # mount | grep efi
    /dev/nvme0n1p1 on /mnt/gentoo/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mi xed,errors=remount-ro) livecd ~ #

    That's find as is.


    I removed the efi parts for the live media that is booted. The efi
    partition is mounted rw and is vfat. Right?

    Right.


    I used touch to create a
    test file and it created the file in /efi from within the chroot
    environment just fine. It seems dracut has a issue tho. I went back
    through the docs and don't see anything I missed but I don't see what it
    is that creates what dracut is looking for either. This is the correct
    file structure??


    (chroot) livecd / # ls -al /
    total 447012
    drwxr-xr-x 17 root root 4096 Jun 23 12:06 .
    drwxr-xr-x 17 root root 4096 Jun 23 12:06 ..
    lrwxrwxrwx 1 root root 7 Jun 23 12:06 bin -> usr/bin
    drwxr-xr-x 4 root root 4096 Jun 24 14:29 boot
    drwxr-xr-x 19 root root 4760 Jun 24 11:58 dev
    drwxr-xr-x 3 root root 4096 Dec 31 1969 efi
    drwxr-xr-x 49 root root 4096 Jun 24 14:32 etc
    drwxr-xr-x 2 root root 4096 Jun 23 12:06 home
    lrwxrwxrwx 1 root root 7 Jun 23 12:06 lib -> usr/lib
    lrwxrwxrwx 1 root root 9 Jun 23 12:06 lib64 -> usr/lib64
    drwxr-xr-x 2 root root 4096 Jun 23 12:06 media
    drwxr-xr-x 2 root root 4096 Jun 23 12:06 mnt
    drwxr-xr-x 5 root root 4096 Jun 24 05:19 opt
    dr-xr-xr-x 461 root root 0 Jun 24 04:39 proc
    drwx------ 2 root root 4096 Jun 23 12:06 root
    drwxr-xr-x 3 root root 60 Jun 24 04:40 run
    lrwxrwxrwx 1 root root 7 Jun 23 12:06 sbin -> usr/bin
    -rw-r--r-- 1 root root 457688576 Jun 23 12:44 stage3-amd64-desktop-openrc-20240623T164908Z.tar.xz
    dr-xr-xr-x 13 root root 0 Jun 24 04:44 sys
    drwxrwxrwt 3 root root 60 Jun 24 14:32 tmp
    drwxr-xr-x 11 root root 4096 Jun 23 12:09 usr
    drwxr-xr-x 10 root root 4096 Jun 24 10:19 var

    That's all fine as is.


    Thoughts? I miss something??

    Dale

    :-) :-)

    Do you have a directory called EFI in your /efi partition?

    Have you mounted your /mnt/gentoo/boot partition when you called dracut? -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmZ52l8ACgkQseqq9sKV ZxnjbRAApg7LJTn8YXOl7WxD2OxGo9IOubaVqVPqbyxbni+Tij2pd1TaTjFokSJx aNGBxJmlOeqpV7TWDF0IYC0Q5YissPgC0Nyvhcy6gP5DBjnJgzgSYdVWYyjH/MiW uY/p19DFsbS/UzHP0sgeEoa0MEUjy3TRPQy1hc25Dz1LICbyZO1rQPNrOmd8EBWl ixJH1oGun513jwzQZYi+UfVS2U645ynXr8Av2heqWYBFJwnkzrhagNmsqNDAC+tW 2ktt0phHeMddf9M+XE78bI7TTzh6ikTSGHd96YZ4l55BwGmdj24ndRixAQmffFKd 7JR/xem500kTJVPotbKbauZLTooYZBAccB35R2bX2dlxJ+SeOkDofq1Fv7VUAkfo 0OOEHhibBAB4gDAzvUccZ8OKCZ7TU5mpJVhZuY/rN3R0GXyCqp6MYPNSEA+jIHCZ Fhtl7W19cHI9SLzzPi6ej2DTE3g7il/LnThiHMbZ1XMDFerTLD8/CcAfA66ZpxTi 665uzJ+QTtvRdNxDGn57EJrl4/Tx+gJovuutktBaHxoF1BExeD50uagDRwdJPgVT aaMH37c7ktV/uKia2SNh5l/l8vamyADImIvv7pCLD/3c+UhUwBGij64RjqN5zXMS kFiayq11boS5H+k17+FrORW+1Gi6Joh1x4wQnzcTdTsN1vH7csA=
    =WkTs
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Mon Jun 24 23:48:11 2024
    On Monday, 24 June 2024 22:03:14 BST Dale wrote:
    Michael wrote:
    On Monday, 24 June 2024 20:47:15 BST Dale wrote:
    Have you seen this before?

    No, because I've never used dracut.

    I just had a thought. I have /usr on the root partition now. Do I even
    need a init thingy?

    Only you can answer this.

    You don't need it if your kernel image has all the drivers it requires built- in to mount / and start initializing your hardware.

    Binary distros tend to built a lot of kernel drivers as modules and these will not be accessible until / has been mounted. Therefore initrd/initramfs will include necessary modules, as well as firmware, CPU microcode, etc. to be able to run in memory enough of a temporary initial / fs, until the real / becomes accessible.

    This is explained briefly here:

    https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/ Kernel#Building_an_initramfs


    (chroot) livecd /usr/src/linux # dracut --kver=$(cat
    include/config/kernel.release)
    dracut[I]: Executing: /usr/bin/dracut --kver=6.9.4-gentoo
    dracut[F]: Can't write to
    /efi/dba652170b7a716f303c3c5966799436/6.9.4-gentoo: Directory
    /efi/dba652170b7a716f303c3c5966799436/6.9.4-gentoo does not exist or is
    not accessible.
    (chroot) livecd /usr/src/linux #


    The directory inside /efi does not exist.

    The long string is either a PARTUUID, or a fs UUID.

    Run blikid to find out what it is.

    /dev/nvme0n1p1: UUID="6488-1019" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="efi-part" PARTUUID="50add3c0-4ab3-4453-85e5-93af643a586e"

    I don't see anything, UUID or anything else that starts with dba6 for
    any partition. I don't know why dracut is looking for that.

    Hmm ... I wonder if it is implementing a systemd-boot UUID for each OS kernel. :-/


    Do you have a directory called EFI in your /efi partition?

    Have you mounted your /mnt/gentoo/boot partition when you called dracut?

    Yep. There is. Should that be there? This is what is there.

    (chroot) livecd / # ls -al /efi/
    total 12
    drwxr-xr-x 3 root root 4096 Dec 31 1969 .
    drwxr-xr-x 17 root root 4096 Jun 23 12:06 ..
    drwxr-xr-x 3 root root 4096 Jun 24 14:29 EFI
    -rwxr-xr-x 1 root root 0 Jun 24 14:01 test
    (chroot) livecd / # ls -al /efi/EFI/gentoo/grubx64.efi
    -rwxr-xr-x 1 root root 143360 Jun 24 14:33 /efi/EFI/gentoo/grubx64.efi

    That's all as it should be.


    I mounted /boot when I mounted the others. I already have a kernel and
    such in /boot. When I did a search, I found where someone posted they
    used force with dracut to get it to install a init thingy. I used it
    and it did build and put one in /boot. Thing is, I've never had to use
    force before and figure something is wrong somewhere.

    The first option in the man page explains what you did:

    https://linux.die.net/man/8/dracut

    -f, --force
    overwrite existing initramfs file.

    Did you have an initramfs already in there?

    This is /boot.


    (chroot) livecd / # ls -al /boot/
    total 22512
    drwxr-xr-x 4 root root 4096 Jun 24 14:29 .
    drwxr-xr-x 17 root root 4096 Jun 23 12:06 ..
    -rw-r--r-- 1 root root 77312 Jun 24 11:40 amd-uc.img
    -rw-r--r-- 1 root root 158391 Jun 24 12:02 config-6.9.4-6
    drwxr-xr-x 6 root root 4096 Jun 24 14:29 grub
    -rw------- 1 root root 7740012 Jun 24 14:06 initramfs-6.9.4-6.img -rw-r--r-- 1 root root 15000576 Jun 24 12:02 kernel-6.9.4-6
    drwx------ 2 root root 16384 Jun 24 04:03 lost+found

    This looks good.


    That give you any clues? Or am I starting over again. ROFL

    Dale

    :-) :-)

    No don't start over! Have you read through this:

    https://wiki.gentoo.org/wiki/Dracut


    I don't use an initramfs, dracut, or systemd, wherever I can avoid them and I do avoid them on my Gentoo. Someone more clued up in these and their peculiarities should chime in here.
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmZ596sACgkQseqq9sKV Zxk2bxAAnVeOIIlgaZJ+S0mHXOC6Un1sNXToNpaOYZsqN9CVWul5oZ1MRafNt1Vj F/kso+F8lvYrTK8UKVsxcys6tr/5ICtdi4M1wtp8l6+PSU170pRZjpSRtUXC5Zcp Z6Cus+O0S0SuIvNQ6tQdMISOL869KtAaWEizL31C3hXLYP+4wPp5VJroa+m10ma1 2drkMeZMIoiuaaYs2VzigQ9rJpwJmF6j24pgWbSKFcJ5CfanOnkS7tDrbPdRI3ps dvjmCOl9MewkFZV0Lx6bO21CHhFfpCW1JSNOK5ywRG1WT1DTiPszOR5Zss+jzmrR Nol3bEgkMAxB7K+bk7R97qlvmLPUXR4pUDC3j7r1OUy5tqSOt02yiYCJEgvd4kw2 7z2Bn2QT+Xaf7IuQf/l6mgFNourcZ4UVMA9Q6/vokaKEnqlC5xB7i27H1LoAa80g TO+mlTki6NGgjtSgCTSghPCvL2FOB286G3V8MVM6fV3B4JxseLH/MAQJvuP89mcR LsST45UQdEtC764gXqq2xXTZEpDy0yASggDFxkdPZKYwDQyh/4vZrIWvpXQYvhDa 2z3xEAaOLf8wHAi4cct4ix1nQbXlO5auBo/4CoI/Sj9BgkzxtdpafewW58t0wGZj kJl8BMs8nFyIOaXK8c5tuTKGtLMxUry+9zy2aIX5qFXPVHcc5XA=
    =cgXw
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Tue Jun 25 10:34:20 2024
    On Tuesday, 25 June 2024 00:47:07 BST Dale wrote:
    Michael wrote:

    The first option in the man page explains what you did:

    https://linux.die.net/man/8/dracut

    -f, --force
    overwrite existing initramfs file.

    Did you have an initramfs already in there?

    I had the kernel and the config file on /boot.

    Did these files arrived in /boot/ by installing them yourself manually, or by having them installed automatically by calling 'make install', which utilised 'sys-kernel/installkernel' to do it with?

    If the latter, did 'sys-kernel/installkernel' have the right USE flags set for your system?


    I did not have anything
    else there except grub and the CPU microcode file. I didn't save the
    init thingy when I was copying files over from previous install. I just saved the config and kernel.

    I suspect you may have overlaid manual and automated kernel installation procedures, resulting in one trying to over-write the other. Then you run dracut and it complained, until you used --force to overwrite whatever files had already been installed in /boot.


    No don't start over! Have you read through this:

    https://wiki.gentoo.org/wiki/Dracut
    [snip ...]

    Yep. I saw that too. Thing is, it confuses me. On the main install
    page, it shows /efi mounted on the / partition. In other words, the
    same place /boot, /usr and /var are mounted too. In the page you link
    to it seems to show the efi partition mounted inside /boot. Like this: /boot/efi. The main page I think says this is no longer recommended.
    Which am I to follow? If it being inside /boot is discouraged, someone
    needs to update the page.

    Err ... you lost me there. Where in the 'https://wiki.gentoo.org/wiki/Dracut' wiki page does it state what you mention above?! o_O

    The ESP partition's mountpoint is /efi. Some time ago the ESP mountpoint used to be /boot/efi, but this is no longer recommended.

    The boot partition's mountpoint for your installation is /boot.

    The directories for /usr, /var, et al. will be found in the / partition. If you have chosen for your /var directory to be stored on a different partition, then its mountpoint would be /var.


    I'm continuing on with the install but still puzzled about the dracut
    error. Is this what /efi should look like?


    (chroot) livecd / # tree /efi/
    /efi/
    └── EFI
    └── gentoo
    └── grubx64.efi

    3 directories, 1 file
    (chroot) livecd / #

    Yes, this looks good. The MoBo's UEFI firmware will load grubx64.efi, which in turn will fetch your kernel & initrd images from /boot.


    I never looked in the directory on the last install. Nothing reported a error so I just went with it. ;-)

    I'm guessing, in your last install you had not mixed up manual and automated kernel installation steps, but in this one you did. ;-)

    You probably want to spend some quality time reading this at your leisure:

    https://wiki.gentoo.org/wiki/Installkernel

    Regarding the microcode file '/boot/amd-uc.img', this is created by the 'sys- kernel/linux-firmware' package if it has USE="initramfs" set. GRUB will find pick up this image file and include it along with any other initramfs images when you run grub-mkconfig, or when grub-mkconfig is run by 'make install'. Then GRUB will load it at boot time. However, you can built both the AMD CPU microcode and any other firmware needed by your machine in the kernel. Just add them in your kernel:

    # Firmware loader
    CONFIG_EXTRA_FIRMWARE="....."

    before you build it.

    Regarding Nvidia's module, I don't think you need an initramfs for this. When the kernel loads it will fetch the Nvidia module from /lib/modules/, provided it can mount the root partition.
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmZ6jxwACgkQseqq9sKV Zxm05w//RQFpspPjdbt11cOqlZu+1pkX9tY4Cqkh04pK3vVUlIFPlQYPk8/LLD2Y Ne64nzhEJsTwFupaexNdGraV8V4b4OuT8+i75l4c1zGtVuXBNOcEVkNjsVfROSXJ hu6KDf5KyMkwqy8M17yaHVVn7+45RfeMdRUPSiYCK/NagrcwjV1XozZNCTqdJKoE mLX7YXqi3Rmfc8YFfMKj6Mya2vi1V67iko/vycFs7jC2cCTcfoQ7LEB5Q/SqLF95 0fFJEQx3qbUg/K0zbKQ87ljjgEK7wvwDJ1mtCT96hy7WZBkUA+0wIU5f7MQGfWeW KWbxs6Fli7H3RL63mnCDtxi4V8c9+LuMS6DBvDOObG2FiuR6C5c14+3yjlU60Fzc esdEJZrbQ5J7Z0esU8HBtwPnDFxxWMzlJ4FN0qKAkMba6V9HS0C6ytDTOB5+oM2b EnbC+ueo5jsKEFBxytC86kbVQnDk/kXoW0rgz+vQzi306ZOTcyx9+g2pLIaTIhZc HH06Yeb3cK8ulGb1UB18XMY3ZT0iAwSpPZzTExV1uhOdIcL7HY1Vxzd/a9Kq1IW0 uMKmU97vEISyGOPVbBGnSERMUCl4DQ6/SWRTvl14ehq8gr9cPXieI5yVDC+ClHu2 TaQqjrTRObE2h8J9EHwzu403zLwEbCb8IoTux7SXD32+FlP8rY8=
    =7Gj4
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Tue Jun 25 17:23:25 2024
    On Tuesday, 25 June 2024 15:27:00 BST Dale wrote:
    Picking here to get a fresh sub thread going. Attempt two.

    I got all the packages installed. Made sure the Nvidia video drivers
    were loaded. I remembered to make sure elogind was running. It wasn't,
    so I started it. Why doesn't display-manager pull that in???

    You need to have USE="elogind -systemd" in your make.conf, then add the
    elogind service to the *boot* runlevel as shown here:

    https://wiki.gentoo.org/wiki/Elogind


    Anyway, I
    started display-manager and got the sddm screen. I selected Plasma x11 instead of Plasma wayland. I then logged in. It took a little bit but finally the screen came up. All I get is the 'Welcome to KDE plasma"
    window. Everything else is black. I like the screen that says "simple
    by default". It's simple alright. A black screen is pretty simple.

    LOL!


    The mouse pointer moves so it sees the mouse. Right click should bring
    up a menu. Nothing. The little panel thing that is usually at the
    bottom, nothing. Once I close the welcome window, it's black.

    This is the messages file from the point of me starting display-manager.
    [snip ..]

    Does this yield any clues?

    Not yet.

    Can you please save and attach as plain text files your:

    1. dmesg
    2. Xorg.0.log
    3. ~/.local/share/sddm/xorg-session.log
    4. /var/log/sddm.log

    after you end up in a black screen, in case they reveal something.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmZ67v0ACgkQseqq9sKV ZxlbdQ//V3I6KVeRFUKmw3pISMZflkdqvm0Y07+1aStKMFJEbD7YeqzCrra6VzVf jLkxGyezRuOWlWyaqoCsrMO0fWs2gjDh8hxqJfwFXtWChmNI8H3wubtPsxWWqJ+G XVT2zJIIEcNdepTkqQOWgu/+4yL+0gf5mrZC6YbfSAX6hUtSyoIFekBW9jIQwb/G XL1W3Jw0M8+MjR2wTlCM/J5Jv1W4SLGFU0kV3sSajicZfnmFBxFIfy87HvnMU34O qdZMen3tbmXX/jVyHvmqPiqXVcL94Osby4t+/0r9ar5JHE8CLwPo6zJnkzTTImoE DZlub2hICDp6LPpCti4vg+dHqMg+FXZy0YTkv5/HhyU38CWrzS5YpNVTy9VXAouP HdlE/oeXgp0Iy4fmD7m+buDAiq3my2DpAHepgf5Jlq0yiGozTtZ7cML4G7MqboP+ HPYIgycNEM/8HEbM/PXVhK9G2J8lYsoT5FBvUPnLZUsY5e+4T/NX+hmTzrBur8cQ cWoa13J0/YQvw6cg9lFXYGyqfKlxq+08wFsTuk1mGDE+cV2rHCnE1pHvKKdv4U8y 85SgdOlKNGpj6VfJptov23b5IAjLf0uASy/pk1H66LOFJKwgtd3FeiPQ8uOn0tIZ ntNm0kxMfJhSFxw7x6XLYAaYF9W7rpvtoNt4ITpafNiPhPkKhbA=
    =BR+x
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Wed Jun 26 00:23:05 2024
    On Tuesday, 25 June 2024 19:54:33 BST Dale wrote:
    Michael wrote:

    You need to have USE="elogind -systemd" in your make.conf, then add the elogind service to the *boot* runlevel as shown here:

    https://wiki.gentoo.org/wiki/Elogind

    I read down through that. I did find that acl had made it into the USE
    flag line. I removed it.

    You shouldn't have.


    It's not on my main rig so no idea where that
    came from.

    It is enabled by the profile defaults:

    ~ $ euse -I acl
    global use flags (searching: acl) ************************************************************
    [+ CD ] /var/db/repos/gentoo/profiles/use.desc:acl - Add support for Access Control Lists
    [snip ...]


    Can you please save and attach as plain text files your:

    1. dmesg
    2. Xorg.0.log
    3. ~/.local/share/sddm/xorg-session.log
    4. /var/log/sddm.log

    after you end up in a black screen, in case they reveal something.

    Should be attached. I blanked the files and then rebooted and started display-manager, (DM). You should have only the most recent info. I'm
    also putting a chunk of messages below. It might help. It isn't much.
    Same as before it seems. I still say this is something simple but hard
    to find. :/

    Dale

    :-) :-)

    Messages:
    [snip ...]

    Jun 25 13:31:18 Gentoo-1 kernel: nvidia-modeset: WARNING: GPU:0: Unable
    to read EDID for display device DP-3

    The above message indicates the same problem you had experienced before you reinstalled. The monitor is not sending its EDID table, or the card can't
    read it.

    Your Xorg sets a default dummy resolution of 640 x 480, because it can't find anything connected to the card.

    Things I would try, until someone who can grok nvidia contributes better
    ideas:

    Eliminate the hardware being the cause of the problem, e.g.: try a different cable, different monitor, then try the same card (with same drivers and same kernel settings) on your other PC. If this proves there's nothing wrong with the cable, card, or kernel settings:

    1. Try different ports and restart display-manager each time.

    2. Add these two lines at the bottom of /usr/share/sddm/scripts/Xsetup:

    xrandr --setprovideroutputsource modesetting NVIDIA-0
    xrandr --auto

    Again restart display-manager.

    3. Add a file /etc/X11/xorg.conf.d/20nvidia.conf

    Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:9:0:0"
    Option "UseEDID" "false" ## Try this too ##
    EndSection

    Again restart display-manager.

    Every time you try a setting and it doesn't produce the goods, revert it
    before you try the next thing. Make notes and keep an eye on your logs in
    case you spot a difference.

    If none of these tweaks work, then you can try capturing the EDID table and creating a file for the card to load.

    HTH.
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmZ7UVkACgkQseqq9sKV ZxlP5RAAksE+odzHdZwGSIA7s62KvUVisSRfmcqnSZjU7Bhm9imJiQlFq1ORkISp 2xpgU4huTA0ZEBflE8Uxr5tf26F14sgUiM0ejAYYXd1vUsyG0nQ7lZ6m8AFTQ7mH SImcuUWObxD8Slnps15UfuPvtzWqjEo3LnHnsYHEFmmiGVAUPXkA83dP43oeLqfI Cw+sMG4sPcJXDe3ASoz6/msjQhFAa5nPA0w5kfEe53jwzeupXCLFjM4lDOXlOq2L yhFHTeJj7U2X0c14/TeRlNjy0XTNaSXZvjfmV6fKyeWN47SBBOrjKU9Q8w9jdubt ribzQvbehQAM5ghHRpiTBM4VSq9Rde6fgYl+U1Wy2hwYUY5BkJyWt0QvqCpANAzo MDH2uQTllY3qbGn+cYH6+y10V7DFMSqi/2LTBWUTsANTfRaApstsIK9erdipVXQj 1A0oJ5/icpy7ZWamwukDnK5/3wT3iUR6420JqMqW+IRGB1nisTKu1J0e0vJl29je fNf3NCJ4J6OfLz0DTZ/bqEjixOIAjwFBKSWHWSfZmk6VwEwXUoWQmBt3X8kSxscp 64ksyps7FS/kRmJhCR7pvjE4guyjZQ7P4+Ok7dlvam9t/oIp/mboDN1vQStxw+py /LKsnwJZox7bZwau8mKBwnOFI9JoRdROFZroSXpRkhq4oq/XS80=
    =73DX
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Thu Jun 27 19:27:34 2024
    On Thursday, 27 June 2024 07:54:43 BST Dale wrote:
    Update. I played around a bit. I figured I didn't have a lot to lose
    here. It either works, or it doesn't. After playing around a bit, I
    got it to work. I have not restarted it to see if it will work again,
    yet. I wanted to grab some log info first, while it is working. So,
    this part is about when KDE comes up completely but could include some attempts that failed. Comes up completely means, in the correct
    resolution, background image and the panel thing on the bottom, which
    means plasma is running as it should. I'm doing these inside the email instead of as attachments. Sorry for the length. I just want to share
    this while I have it available.

    Your Display Manager (SDDM) works fine. There is no problem with the the DM.

    Your system log does not reveal anything untoward. The driver components are loading fine. No problem with this either.

    Your Xorg.0.log now shows a different port (DP-5) and the monitor bobs up & down. My money is on a buggy EDID.


    [ 1236.810] (--) NVIDIA(GPU-0):
    [ 1237.031] (--) NVIDIA(GPU-0): LG Electronics W2253 (DFP-5): connected
    [ 1237.031] (--) NVIDIA(GPU-0): LG Electronics W2253 (DFP-5): Internal TMDS [ 1237.031] (--) NVIDIA(GPU-0): LG Electronics W2253 (DFP-5): 300.0 MHz maximum pixel clock
    [Snip ...]

    Are you still plugged into the same physical port on the video card?

    If yes, then its designation DFP-? is allocated dynamically.

    The monitor is shown to be disconnected a couple of times and eventually reconnected. Again on port DP-5. Normally this should be on port DP-0 if you have plugged it into the first port.


    This is xorg.conf.

    At which point did you originally generate this file? While the monitor was
    on and running, or after it went sideways?


    Gentoo-1 ~ # cat /etc/X11/xorg.conf
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig: version 550.90.07
    [Snip ...]

    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Unknown"
    Option "DPMS"
    EndSection

    Regenerate the file while the monitor is working and check what/if its details come up in the above section.

    #Section "Device"
    # Identifier "Device0"
    # Driver "nvidia"
    # VendorName "NVIDIA Corporation"
    #EndSection

    Section "Device"

    Identifier "Device0"
    # Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:9:0:0"
    Option "UseEDID" "false" ## Comment out this entry for now <==

    EndSection

    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection

    Gentoo-1 ~ #


    I took the info you sent and sort of combined it with what
    nvidia-xconfig created. This is when it worked, this time anyway.
    Other things I tried did nothing. Now that I have documented all this,
    I'm going to reboot the rig and see if it works again. I think we
    already have failed logs but will share what happens.

    Comment out the line: Option "UseEDID" "false"

    Let's see if the Monitor shows up in the recreated config file, otherwise you'll need to fill in its Model name and sync frequencies to take probing and guessing out of the equation.

    If this still doesn't work, then you should try to feed its EDID file to the card.


    Given I get different results even with the same settings, I'm wondering about that monitor. I've changed video cards so that should eliminate
    that. The only common thing is the monitor. Thing is, that monitor
    worked for a long time on my main rig, it also has worked fine on the
    NAS box and the old Dell system as well. That was very recent I might
    add. This new system is the only one that has issues with that monitor.

    Were the other PCs using the same DP cable, or HDMI/DVI? What xorg.conf files did they have generated?


    The new monitor should give us clues. If it just works when it gets
    here, then it is the monitor acting weird. If it does the same thing,
    there is a config error somewhere. I can't think of anything else.

    I can think of a buggy monitor EDID. There are a lot of cheap monitors being churned out with average display panels, but bottom dollar chip, bezel and stand. Power saving features introduce their own bugs. You could check the monitor's own menu to disable eco modes and what not, if you keep your monitor running 24-7.


    Open to ideas still. I'd like to get this working. If for no other
    reason, the new monitor could have the same issue and require some
    special settings somewhere.

    Thanks for all the help. Sorry to have so much info in one email. :/
    At least we have details of when it is working now tho. :-D

    The email line wrap makes things difficult to read. You can redirect the Xorg.0.log to a txt file and take it off the PC via SSH even if the monitor goes to sleep.

    Some other things to try, beyond finding DP-0 on the card and using it:

    - See what config files worked on the other PCs and compare them with what you are using now.
    - Unplug/replug the monitor.
    - Power down/up the monitor.
    - Use the monitor's OSD to reset it, or disable eco mode, or set it to
    standard resolution/frequency.

    Finally, see how the new monitor suits your needs and if it works as expected.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmZ9rxYACgkQseqq9sKV ZxkOdRAA71An+q7w4lC1xvZpZhVf/LXsNUCieRHSRdCg3urT7E8UpSbF48zDpc8q p/Dw0nPbVQh9HeR8k7iG5akywYkEdLibFhaZwYhLLui3bIneK2kQ0Xjh6YPIKz89 8P+75wRhsBFJB+FDvd35EdlX8wYuqkZAbcKg2T98BZTcAdGAOdreiyVvyFDjldNE DiTaJKB+/KbdhkfvFGcHvyGMB4iOp3MmSyOLXAxQLi883RGCjwwS96C69Y+DdWpE PXUhwwng9zFEGB/X5fwBkdORJCouzlNmKDkqlE2Hp1adFu2t79DEWXfXR3s34qY7 TksXIntKCuAuq2d6HN8/bKTEIEb85fYh6+4R4PwV+yTi7RXY3ak5qeGRMZPcD3Af bbNicLRnvi7ISnUAKPWjA2bIU/QUVFOrsX7KBLITdkDVWh3woWh1V1LwkQNAI+Gi U21bchK9g/u4FZwRrmrOyhg2L80rsengkoytTu/gQndb6rNldnCmxXSf3CxZ+cn7 e3WHFuCrl81ahj8nTWn065tg15UmTlPnWWGqBtYAkip0uWfghwwiSbryWUIm4NNI LETmPPiR/lfhvb7fay/s9CaQt2D8nOAxkYX5f/gweMw6uTC7a9bJ6wycDQTVjxMU p/ZI0HrnCfmr6w4+CD4NXOA9SAtO5HyinM0LTHc5YZ3uc28cRek=
    =yWSo
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Thu Jun 27 22:45:27 2024
    On Thursday, 27 June 2024 22:06:36 BST Dale wrote:
    Mark Knecht wrote:
    On Thu, Jun 27, 2024 at 12:03 AM Dale <rdalek1967@gmail.com

    <mailto:rdalek1967@gmail.com>> wrote:
    Update. I played around a bit. I figured I didn't have a lot to lose here. It either works, or it doesn't. After playing around a bit, I
    got it to work. I have not restarted it to see if it will work again, yet. I wanted to grab some log info first, while it is working. So, this part is about when KDE comes up completely but could include some attempts that failed. Comes up completely means, in the correct resolution, background image and the panel thing on the bottom, which means plasma is running as it should. I'm doing these inside the email instead of as attachments. Sorry for the length. I just want to share this while I have it available.

    This first one, I had a few failures before it succeeded. I couldn't figure out when the working bit started so it is the complete log.

    Hi Dale,
    I have returned home and can once again bottom post.

    There's no way I'm going to read and understand this
    whole thread but I did have one question and one comment:

    1) Did you ever actually try the Kubunu option that didn't
    require an install? I saw you mentions Knoppix and maybe
    one other option. Just curious as to what the results were.

    2) I see you discussing xorg.conf file which I don't use
    here but did you generate this file - if you are really using
    it - using the nvidia-settings app, or by hand?

    If your system will stay up I believe nvidia-settings is
    recommended by NVidia, or was anyway. It does a good
    job of showing the layout and handling options that NVidia
    says make their cards work better.

    Good luck,
    Mark

    I booted the Gentoo live image and Knoppix. Knoppix is old. I don't
    think it is being maintained anymore but even on this new hardware, even
    it worked. I've booted other things to and all work fine except the
    Gentoo install, the one thing I need to work. I checked, I did download Kubuntu but I don't remember trying it. With my memory tho, I may have
    and just don't remember it. :/ I'll add it to my Ventoy stick and try
    it shortly. It's hot, humid and my energy level isn't much. The family visit to the hospital drained me good. And she is still sick. I took
    her some tomatoes this morning and she likes the peaches I got for her
    too. Not much she can eat.

    I've tried with no xorg.conf at first. Then I tried with one that tells
    it to use the nvidia driver, even tho lsmod shows it loaded and lspci -k shows it being used. Then I used nvidia-xconfig to create a conf file.
    Then I tried some options that Michael suggested. On occasion, it
    works. Most of the time, it doesn't. To be honest, I'm not sure if
    anything we do is affecting it. I think sometimes things just drop into place and it works. Most of the time, things don't drop into place and
    it fails or only partially works.

    Given I've used different boot media, a different video card and
    different config options, I'm thinking it is the monitor and it just
    clashes with this one install but works with others, which may figure
    out to ignore what the monitor fails to do. I find it odd but it is
    logical.

    I've tried to use nvidia-settings but the man page is like Greek. The
    one thing I did figure out, -q all. On my main rig, it spits out TONS
    of info. On the new rig, it just says something like no display found
    or something. It's like two lines, maybe one.

    Had several interruptions so managed to try Kubuntu "Try" option. It
    comes up just fine, correct resolution, plasma is working and all. I'm attaching the Xorg log from Kubuntu.

    Maybe the Kubuntu log will shed some light.

    Dale

    :-) :-)

    [snip ...]
    [ 30.345] (II) modeset(0): [DRI2] DRI driver: nouveau <== Not nvidia ==

    [snip ...]
    [ 30.295] (II) modeset(0): Output DP-1 disconnected
    [ 30.295] (II) modeset(0): Output DP-2 disconnected
    [ 30.295] (II) modeset(0): Output DP-3 disconnected
    [ 30.295] (II) modeset(0): Output DP-4 connected

    What does it take to connect the cable on the FIRST port of the video card?

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmZ93XcACgkQseqq9sKV ZxlyxBAArxa17IH4Kl3wQo4LbpbeHOHwT6rU6DDt3T3vZfI6VN7VoWpGWanmh5Hh l4OC+l60dul5pq/INh34tuh7dNIL83AEe8b3DhE4LXJ+h9CnZMPlyj2KF58lqMmY KoJKxM+EjZ6O9mh0BAlj/lXrBl6LNZzWydhuZoyHlrZec/tpNYSXhXsrtpiWyEbK SokAQVmAD/ROeB79HAfWHeGl8+ufS9RVvml6Zj6VNnX7O8Tx3vWPg6NXoFOeJP7b CSCpMFZOINlgsOLNBt0FCU10cZ75ULCdTtWPoVl2pZhuQilFE6qcMEDwXvavthdt 12qiRp1uFY363KSrr5AcxMMe3wzbZ9voJbGvpkRAouxveD/rmqYLe/Jn3XYHt7P6 omMMlNKDMye+Fraxgyz6kkYiNiVkDHwbpevbX+uLhm77pdpO88I55opqi1G/xsZp CS+OhgxZBEpqcLrlQR99P+EyrSBlFMX6jHYRtfmmwAP1M5vzSE2coAatO/KFZcao PyszdekRfuCp1JK09f4YUDYJ3GqZZiczLTFP0znKpO407bnEQ+PNFBiVbQu45/hS nY71hJd8TZI4cMX1XNE6kmcNGTAqG2JyuC85uOSSlRDSAtT9A5E+9alVd8U7mVHT B0jQlP0s/IPDONBiFphrfvUiDukPOObx3M8X8t2TJNMHSXXvqIs=
    =or7A
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Fri Jun 28 12:01:11 2024
    On Thursday, 27 June 2024 23:52:25 BST Dale wrote:
    Michael wrote:

    [snip ...]
    [ 30.345] (II) modeset(0): [DRI2] DRI driver: nouveau <== Not nvidia ==

    [snip ...]
    [ 30.295] (II) modeset(0): Output DP-1 disconnected
    [ 30.295] (II) modeset(0): Output DP-2 disconnected
    [ 30.295] (II) modeset(0): Output DP-3 disconnected
    [ 30.295] (II) modeset(0): Output DP-4 connected

    What does it take to connect the cable on the FIRST port of the video
    card?

    This reply may be a little odd. I wrote some then went back and tried
    some stuff and added info to it. Trying to make it make sense.

    My apologies, I didn't meant to add to your frustration. Working with a headless system is no fun when you expect to run a desktop on this thing!

    I was just making a remark on the fact the card detects the monitor as being connected to DFP-3 or DFP-5 when using the proprietary nvidia driver, but the DP-4 when you used the open source nouveau driver.


    At first, when it really wouldn't work, I had it on the bottom port. At
    some point we thought that was the last port, #4 or DP-3 in the logs,
    and not the first port. I moved it to the top port which is #1, we
    thought. It's still on that port but that port did work once and
    resulted in "solved" being added to the subject line. I just double
    checked. It is plugged in the top port. Unless the bottom port is #1
    like I originally thought, then it should be on port #1. I did a search
    and found a image that shows it puts the port number on the metal
    bracket. I removed the card so I could see the numbers. The bottom
    port is number 1 like I originally thought. So, I had it in the right
    port to begin with, which wasn't working either. I'll put it back on
    what the metal bracket says is port #1, or bottom port. I booted up,
    started DM, correct resolution but no plasma and background is black.
    Still not a functional desktop. Partially works tho. Time to reboot.
    On reboot, sddm and KDE are low resolution. It does have a background
    image and plasma is working. Keep in mind, all I did is reboot. I
    didn't change any config file or run any commands. Reboot again. This
    time, correct resolution but no plasma. Again, all I did was reboot.
    No changes to anything at all. As you can see, each time I reboot, it
    is like rolling dice. I suspect if I keep rebooting it will eventually
    do the black screen and power the monitor off.

    It seems to me the card is probing the monitor to find out what settings it prefers/will work with. This probing of the driver scrolls through a number
    of potential Modelines, but if the monitor does not respond in a timely manner with its preferred resolution and frequency you get a broken result.

    Here are some hypotheses of mine, in absence of more concrete evidence. The old box is slower and the initialisation process takes longer. In this longer processing time the monitor responds with its EDID and what not. The card receives it in a timely fashion and sets the driver accordingly.

    With your new box things happen faster on the PC side, but not on the monitor side. Two times out of three the synchronisation between driver and monitor fails and you end up with reports of EDID not found and monitor shown as disconnected in your Xorg.0.log.

    Having the monitor plugged in any port on the card, first or last, should not make a difference, but if milli/nano-seconds count then it /might/ make a difference, assuming the ports are tried sequentially by the driver. Hence I had suggested stick with the first port. Some user reports on the interwebs mentioned it, so I thought it is worth trying it.

    What else worth trying is to set fixed directives for the "Monitor" section
    in your xorg config file, or capture the EDID table into a file and feed it to the driver. The former ought to work, the latter may not if the EDID itself
    is buggy, but that's a problem to solve later if it even exists. Either way, setting explicit directives for the monitor Modeline(s) and preferred resolution/frequency ought to take auto-probing out of the equation.


    I did originally try to use the nouveau drivers. It kinda worked, once
    at least, but the screen was very slow to respond and the mouse was very jerky. It just wasn't good enough for whatever reason. I recompiled
    the kernel without those drivers and emerged nvidia.

    It's your call which drivers you should try to get it to work with first.

    Slow GUI response with the nouveau driver would indicate the kernel configuration/firmware loading was not 100% when you trying initially, because it works fine when you tried it again with Kubuntu's kernel.

    People who use Nvidia prefer the nvidia driver in terms of performance, CUDA, etc. so you may want to stick with the nvidia driver initially. In this case, walk through this guide and cross-check you followed all suggestions in there to configure your kernel, including disabling the nouveau driver.

    https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers

    If you intend to have both nouveau and nvidia drivers and switch between them, then you can build nouveau as a module and implement the more convoluted switching methods suggested in the next guide, but I suggest you leave this
    for later and not confuse the two drivers:

    https://wiki.gentoo.org/wiki/Nouveau_%26_nvidia-drivers_switching

    Having checked your kernel against the nvidia-driver guide, installed your updated kernel & initramfs images you should reboot. Use 'lspci -k' and scan dmesg to make sure nvidia is loaded and there were no hiccups.

    You've tried not having an xorg.conf and didn't work, or at least it did not work reliably. Mind you, you also tried with a xorg.conf and this didn't make things better. LOL! However, I think this was because the "Monitor" section was mostly empty:

    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Unknown"
    Option "DPMS"
    EndSection

    Restart, if you need to, the display-manager until you eventually arrive at a fully loaded and functioning desktop. nvidia-smi should reveal if the driver is loaded and working fully. You can run nvidia-settings, (emerge x11- drivers/nvidia-drivers with USE="tools") to tweak resolution and frequency for your monitor, which will then be stored in your config file:

    https://download.nvidia.com/XFree86/Linux-x86_64/1.0-6106/nvidia-settings-user-guide.txt

    O, while all is working as desired 'xrandr -q' will provide you with some useful information for your xorg.conf:

    Identifier - e.g. "DisplayPort-0", or "LG Electronics W2253"

    Modeline - e.g. Modeline 1920x1080_60.0 138.50 1920 1968 2000 2080 1080
    1083 1088 1111 +hsync +vsync

    and you can set a preferred option in your xorg.conf; e.g.

    HorizSync 15.0 - 67.0
    VertRefresh 59.0 - 60.0
    Modeline "1920x1080_60.0 138.50 1920 1968 2000 2080 1080 1083 1088 1111 +hsync +vsync"
    Option "PreferredMode" "1920x1080"_60.0"

    or some such.

    If the above won't do it, you can capture the monitor's EDID while it is working - you can use nvidia-settings again:

    https://nvidia.custhelp.com/app/answers/detail/a_id/3571/~/managing-a-display-edid-on-linux

    There's a more manual way to do this too:

    find /sys |grep -i edid

    then copy the corresponding file to /lib/firmware/LG/W2253_edid.bin

    and add it to your kernel before you recompile it:

    https://docs.kernel.org/admin-guide/edid.html#

    See if the above helps you to a stable monitor, or post back with xorg.0.log results.
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmZ+l/cACgkQseqq9sKV ZxniMRAAwK7C7PRI5wAP+f4rOG6JZeMkTdUt47UqMWHP4UCUpPyj2fmhsszFrmhk TU0WnQrhIleBGP/R1QLuGGkz7iGUea+cUAHBeB7IWZ+mSh+qhAnRppzj+l2KYzJH TxUsySGy8s0UkX7KEeMqdCT1HZVbMIatHfDPcTy61/IT2X6zWm1GIe16jkEQGELI 3Nz/a2nW68ENm7ElcaAAEpwAYfGiyWyx1AkQUXxfCG52SJjUVB0U/WwBt2Z5gY2J +NsrFxKuW/bnTiAi0E6WlDD4LVWLoAHyQn4M4DfIJPF3NdXQl8OWRE4ceyXclbDb xSsGzlml4TjhfwwD1XRmLUBBmO/lIGusN55tIseqZIzTTpt5VNwxqYRpi+4DEXgr VskUJS2BYrH2c/QuvB5kAjXwS7WiDTIx5Ai1ngQjZG5tACB+6NMGMSbWwwbQdH6q UsfDXFpSkAdbcRzLr+S4JXb3KF/FUUqmvJgvpdcX0J2uUME3YUCe7GVZUW173gCk ZUO6f2MeK/6m9PGxRazuzYjO5OsqCWGpA5udAtzWJ5ztEUa4zDJyYMM+RUQKGgHr ZIJM2JWhoPju8Vm1tUP6TZPmvdTmXvgiH4mY7bjut+XbSyng4azVYnNCnOuhSa6u kRewGXk1cLWTu1hpc1J16Hvd92/5qcDKhOhi+0weTYMhbUn3FJ0=
    =jnMp
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jack@21:1/5 to Dale on Sat Jun 29 23:20:01 2024
    Have you tried downloading the EDID from the monitor so it can be loaded
    as firmware from disk, so the response speed of the monitor isn't a
    factor?  I had to do that once for a similar reason, but it was so many
    years ago I don't actually remember the details - in fact it might have
    been a big glass CRT  monitor where I had to get the edid from off the interwebs somewhere.

    On 6/29/24 4:30 PM, Dale wrote:
    I booted the rig up and decided to try something.  Once it was booted, I logged in from my main rig via ssh.  I then typed in the command to
    start DM.  It started and looked OK.  Then I just up arrow and changed
    it to restart the DM.  I restarted DM back to back several times, more
    than a dozen.  Sometimes it wouldn't work, sometimes it would be low resolution and sometimes it would come up and look like it should, hi
    res and all.  I also tried logging in when it was working and I could login.  The biggest thing I noticed, it never came up fully.  Most of
    the time it came up in hi res but no plasma.  A few times it was a low
    res screen and no plasma.  Looked like maybe 720P or less.

    The thing is, it didn't fully come up even once.  It was always lacking plasma at least.  Some of the time, it was low res.  Several times, the monitor would go black and cut off completely.  It would go to sleep.
    If the new monitor works, I'm thinking Micheal is right.  The monitor
    works with slower systems and the nouveau drivers on boot media.  With Nvidia on the install, hit or miss, mostly miss.  I think it has only
    worked fully twice.

    The last update showed the monitor a couple states away.  FedEx is
    pretty speedy.  I think if things move well, it could be here Monday.
    It still shows Tuesday tho.  Given I been dealing with this for a week
    or so now, another few days isn't a big deal.  Plus, I'll have a really
    nice large monitor for these old eyes.  o_o

    I took meds last night.  I didn't wake up in time to pick my basil
    again.  I got three planters of it that need picking.  It's hot and
    humid outside.  Try again in the morning.  That basil sure is good.
    Even opening the jar smells awesome.  Nothing like the store bought stuff.

    I finally uploaded some pics.  Some are while the rig is running.  You
    can see the LEDs on the memory stick lit up.  Some are components.
    Also, there is a couple of the little m.2 stick cooler.  I think that
    little thing is so cute.  Kinda looks like the CPU cooler, just
    smaller.  m.2 sticks runs at just above 100F even when pretty busy.
    Very effective.  :-D  This is a link to the gallery or whatever.

    https://postimg.cc/gallery/w6HQp83

    Just imagine that in a Fractal Design Define XL case now.  Dang that
    case is big.  It's a hair larger than my Cooler Master HAF-932 which is
    a awesome case.  Oh, I also finally fixed the power on light on the
    front.  I hooked the wires up backwards.  LEDs never work well when connected up wrong.  LOL

    Dale

    :-)  :-)


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Sat Jun 29 23:14:41 2024
    On Saturday, 29 June 2024 21:30:59 BST Dale wrote:
    I booted the rig up and decided to try something. Once it was booted, I logged in from my main rig via ssh. I then typed in the command to
    start DM. It started and looked OK. Then I just up arrow and changed
    it to restart the DM. I restarted DM back to back several times, more
    than a dozen. Sometimes it wouldn't work, sometimes it would be low resolution and sometimes it would come up and look like it should, hi
    res and all. I also tried logging in when it was working and I could
    login. The biggest thing I noticed, it never came up fully. Most of
    the time it came up in hi res but no plasma. A few times it was a low
    res screen and no plasma. Looked like maybe 720P or less.

    The thing is, it didn't fully come up even once. It was always lacking plasma at least. Some of the time, it was low res. Several times, the monitor would go black and cut off completely. It would go to sleep.
    If the new monitor works, I'm thinking Micheal is right. The monitor
    works with slower systems and the nouveau drivers on boot media. With
    Nvidia on the install, hit or miss, mostly miss. I think it has only
    worked fully twice.

    I think after all these attempts you have proven this monitor with this nvidia card just won't work on its own, unless and until you try changing the "Monitor" settings as I suggested in my previous message, or extract, store
    and feed the monitor's EDID file to your card.

    However, you have your hands full and may want to leave this for now and wait for the next larger and more modern monitor to show up. Hopefully that will work better! :-)

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmaAh1EACgkQseqq9sKV ZxmYYQ//ec2j44fmDPkK7tizBDj2/JIF3pIPkkiUXB13puaDw2t82pj5EkhS8w7r ztZmv1E5qPl60qz8TbFBshe0TXE/SSiC1roKojZ1fY253D1WjXj6nRCvbms55QzA wZPialu+GMGZ0NdINJfzfWNwgl9TRZXY7TrCd0ap6NHy6LJ7zWm/t3M3SDRf5nSJ JWfHWinvK/L/AHM9bQIGbQtmpuKParr1zcKPUqyNv1ENYZAsj5ss20xoxEzy/vaT 63ggb6tA9Oz8Scxr/UMp4wROJr7JHvOrODat0nf58rjQo5QHqOn5YfkVP2EV5iwV Z7U1ZMBMJjASJG2968hDri7Fne0JwEk59jiKepgPBZ78HXZxEpIoxmm+7XeWJK7w KAbfaU2pjp48u2imOFZb9fbci75bYUzhJ4zN+qBRFAV1ty5/UMDrbV7F+Tst6Ysk coUIXjq/WsYO4nBOKJDU8+HE1PkhZSwvQKoBDKp9b1Cdm8Ow0ihAabSHkH6dUP8A 6xMCsbyTI4jJU5T1pwJ94KRgnpGV4U0m1/KfQT30MOzJa++50DXltKZG60hMJdSL ymrV5Obr4wniXDTExWY5AAGFbYgeCEr+RTfjSCXMLq9STyVNUgGYNlEgiDWn3ED5 fsE6cHzAxb90zUxi+g2P9+JSklPTDq1ftIcMar34egy4UYxLgGI=
    =atsv
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Sun Jun 30 11:51:30 2024
    On Sunday, 30 June 2024 10:36:16 BST Dale wrote:

    Here's a little update. First, Kubuntu wiped my Gentoo install from
    being able to boot it. I had to boot the Gentoo USB image, mount
    everything and reinstall grub/EFI stuff. I got it back and now I can
    boot either one by selecting it in the BIOS.

    Second. I decided to annoy the heck out of that thing. I logged in
    over ssh and I kept restarting DM. Took me several dozen tries but eventually I got KDE to come up, plasma and all. I opened the Nvidia
    GUI and got it to save the xorg.conf file. It's different but it has a
    lot of info now.

    This is good! :D

    Edit the section below by adding the PreferredMode line:

    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "LG Electronics W2253"
    HorizSync 30.0 - 83.0
    VertRefresh 56.0 - 61.0
    Option "PreferredMode" "1920x1080_60.00"
    Option "DPMS"
    EndSection

    Save it, then check if you get a consistent result when you restart the DM, or reboot.

    If it is still playing up you need to show the Xorg.0.log while the monitor is working with the nvidia driver, to see which Modeline it uses and add this in the "Monitor" section too, above the "PreferredMode" entry.

    If none of this works reliably, then you have to capture the EDID table while the monitor is working, save it in a file and set nvidia-settings to use it hereafter. However, if you will NOT be using this monitor for much longer
    this would be an exercise only to make you feel good for beating it into submission! LOL!

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmaBOLIACgkQseqq9sKV ZxmXyQ//Zrau02aSiU6EKED6zb+U/uupsjN/9tJDvGNsgtrMM8EvC+g6WrSyAG9Y nCdcHQkzR262kwzIHNsxMXecxSKtkhj3ACt7CuHIQ05eNbzyxuQVtkx+5wcrV4hN GZsYJbu28LODM/SLNknvltn5EKhNGOmxtMQLr5aii6fUBO7Nk/NjtdrmaPzs8dKl dHTbT1WYNy7J9hiYOuvNxTz/kDfvB9cw67ezc+SJ6IYUjcpKvhfLqC3uk/dGzCtt NImnElIg0zSaMe6DpS8GUsdxnT4aXZb8MldhUjs9Gpw4dQnmstLF4uuWKunTp1uw E4QZCriP+sIDQBb3cPOVwbZEENE+dXUJ4DbXVYk7dlJEwMyuKbSBqyWmnqlDPUxl KIYWd7RZtHQ7G9k9iq76JRVdeKd8FvoiO46mJNmslG2qWf+aVApauxfXhi4mcMFC /Jgng375rjIxggagNveCA8+NiI8KrzICmxNd8j1CRHXxcU9BedOebYKur3VlmIia Ge4PHsBK3vCsFjl8LB0Ok3L8phvA1LHRcegFqotkl/gMzfJZLxExg006FxgO43S2 +rA1+8FSxTn0htL1/AbP/bFA0GRgY6EAew0pgwVBw6QjwV8+oDGPCB35eAIQG67W VyiYY5mIsw8FyKPg+4xPPSP4AD0/H5mEqUXjyyAQ5L8/tFw+S7c=
    =DQee
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Mon Jul 1 14:24:17 2024
    On Sunday, 30 June 2024 23:56:40 BST Dale wrote:
    Michael wrote:
    This is good! :D
    Edit the section below by adding the PreferredMode line:

    Section "Monitor"

    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "LG Electronics W2253"
    HorizSync 30.0 - 83.0
    VertRefresh 56.0 - 61.0
    Option "PreferredMode" "1920x1080_60.00"
    Option "DPMS"

    EndSection

    Save it, then check if you get a consistent result when you restart the
    DM, or reboot.

    If it is still playing up you need to show the Xorg.0.log while the
    monitor is working with the nvidia driver, to see which Modeline it uses and add this in the "Monitor" section too, above the "PreferredMode"
    entry.

    If none of this works reliably, then you have to capture the EDID table while the monitor is working, save it in a file and set nvidia-settings
    to use it hereafter. However, if you will NOT be using this monitor for much longer this would be an exercise only to make you feel good for beating it into submission! LOL!

    OK. First time, it worked. Second time, it came up but in low res.
    Plasma was working to, both times. So, I opened the Nvidia GUI and told
    it to safe a new config with it in hi res mostly just to see what it
    would add if anything. It did. The only change I could see was it
    added metamodes options like this:

    Section "Screen"

    # Removed Option "metamodes" "nvidia-auto-select +0+0"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "Stereo" "0"
    Option "nvidiaXineramaInfoOrder" "DP-3"
    Option "metamodes" "1920x1080 +0+0"
    # Option "metamodes" "1920x1080 +0+0; 1024x768_60 +0+0"
    Option "SLI" "Off"
    Option "MultiGPU" "Off"
    Option "BaseMosaic" "off"
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection


    As you can see, I removed the low res part, don't want that anyway, and
    it seems to work more often but still fails a lot. So, I removed the metamodes Nvidia added. Then it didn't come up at all, sddm or
    anything, when I restarted DM. I thought it adding your setting to
    another section might help. Guess not. With the following removed, it
    seems to do a little better but still can't depend on it to work.

    Section "Screen"
    # Option "nvidiaXineramaInfoOrder" "DP-3"
    # Option "metamodes" "1920x1080 +0+0"
    # Option "metamodes" "1920x1080 +0+0; 1024x768_60 +0+0"

    You can add back:

    Option "metamodes" "1920x1080_60 +0+0"


    Basically, it is doing like it always has. Most of the time, it doesn't work. Sometimes it does. To be honest tho, I still wonder if it even
    reads the file. When I change something, I'd expect something
    different. Generally, it doesn't seem to affect anything unless I
    reboot completely. Sometimes I'm not sure it does then either. So, I
    think this old monitor just has a issue. Maybe I need to rebuild some
    more of the power supply or something in case it is providing bad power
    to the parts that talks to the puter. Either way, if the new one works,
    I just don't think this old monitor is going to work correctly no matter
    what we throw at it.

    The last thing left to try is to capture the EDID table with nvidia-settings, configure it to stop trying to load it from the monitor and instead feed the captured file to it. If that doesn't work either, then there is no solution I can think of ...


    I will saw this, we threw the kitchen sink at it. I think this is one
    of the longest threads I've seen in a long while. o_O

    Dale

    :-)

    P. S. Monitor updated. Now it says tomorrow. It's in the right place
    to do so. It's at the Memphis hub. Usually, it comes from there to the local distribution point and on the truck. They sometimes deliver by
    noon. Could be a little late given it is Monday.

    Hopefully this won't be the start of a new loooooong thread on yet another monitor! LOL!

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmaCrgEACgkQseqq9sKV ZxlAhRAAiyol+7mDue8NzClwSbEQJUvWUzfkWqH+P+94iIXrt7HogYLgi25WMrJ9 sfEcvmFLlX6edopMIHhctZcOUK+v+pI5G36v4oQm/I12BFqfICs0/U/zYtTb/szZ Id/A+M7Q75snXyqCYzDhKSdYqfz+YVDh8xRPoold1+zih+2xqygX+8599v850cNt 2sypgnvSbiqsKQFmphB6TGRLY02X4mC6TFN//7lhKN229QGlhBgquzinOXO/Vfxm jn1Utik+3UT6anDRAbetU74xdhs0c62BS3IzLa25tFQCoydBvegx+F0R4pP/Xg0G QTn27tda3Sykf3O94iB2M76rW29nY84Bt3LXE+7Ov9xKv+B2zDSceT5LaoBZjcaJ XGMyGW6m5+i6+zVIlTLfV9oSixK3z9yH2wE5yTLRF4Pi+egX5qS+++lZvP8ZbNF7 Tv1sWBo2RthQtT4jlur6FQwtSuAwO2J6P6JuWzyuVX5QEt3CzRDBN9Qh5ICkvGmk RXRPRB2E0AUJJOL3n/tMiIkq5XKjv9IvcAT3RKWiOYph3PyO8ilXq4a7Y4RkH1/c KQPC5igT6pFHkeAS70a2VEZPs/vVfbob1XxMArv63QMyu7UhJMhdDxUy2YPzPLJ8 90L4oA4TlydJTsM0kQ7zSRgs2Y220BwWarCNHcDteLtdZH5piTE=
    =PYMr
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)