• Re: SID KDE Plasma 6.2 - KDE Testing VMs with either QXL or Virtio driv

    From George at Clug@21:1/5 to All on Mon Dec 2 09:20:01 2024
    On Monday, 02-12-2024 at 14:56 Timothy M Butterworth wrote:
    On Sun, Dec 1, 2024 at 9:42 PM George at Clug wrote:

    On Monday, 02-12-2024 at 03:20 Timothy M Butterworth wrote:
    On Sun, Dec 1, 2024 at 10:12 AM George at Clug
    wrote:



    On Sunday, 01-12-2024 at 21:40 Timothy M Butterworth wrote:
    All,

    You may want to avoid upgrading KDE Plasma to 6.2 in sid. I
    upgraded
    it
    earlier and after a reboot I only get a black screen when
    logging in.

    Whenever someone says, KDE Plasma and black screen together, I
    think
    "nvidia drivers".

      I doubt that is your issue. But do you have an Nvidia GPU
    in the
    computer?

    George.


    No, I do not have Nvidia. I have Sid in a VM. The black screen
    is strange
    because I have a visible mouse pointer. I also get crash
    reporter popups.


    "A black screen with only a visible mouse pointer" is one of the
    issues I
    have seen on computers with an Nvidia GPU, hence to me it was
    likely you
    had an Nvidia GPU, since you do not, then I suspect that the issue
    is
    related to the Graphics type that you have selected for your VM,
    maybe
    changing this to virtio and enabling OpenGL?

    FYI: My Debian Testing VM with KDE Plasma Wayland is working well
    after
    updates.

    What GPU does your computer have?, and what Graphics system is
    your VM
    using? (Which graphics driver and Display protocol do you use ?)


    I have AMD with OpenAMD GPU Driver.

    I am not familiar with the OpenAMD GPU Driver so I cannot comment on
    them.

    I am using the proprietary, non-free-firmware firmware-amd-graphics
    packaged drivers on the Debian Bookworm computer that I was testing a
    VM of KDE Testing.

    $ inxi -G
    Graphics:
      Device-1: AMD Navi 23 [Radeon RX 6600/6600 XT/6600M] driver:
    amdgpu

    https://wiki.debian.org/AtiHowTo
    Proprietary, binary-only firmware (also known as microcode) is not
    allowed in the main Debian repository as per the Debian Free Software Guidelines.   The firmware can be obtained by installing the firmware-amd-graphics package, as long as the non-free-firmware
    component is enabled in your SourcesList file.

    Being curious about Wayland, KDE, and graphic drivers, I did further
    testing.


    On a PC with an Nvidia RTX 2070 and Nvidia proprietary drivers,
    running KDE in X11 (because at this stage Wayland will not load), in Virt-Manager, I created a  VM of Debian Testing, installing KDE
    Plasma, using Virtio video drivers (no OpenGL support). I was able to
    log in with session of Wayland. I changed the virtual video drive to
    QXL and was still able to log in. 


    So both QXL and Virtio drivers work when using Nvidia or AMD
    proprietary drivers (at least for the GPU versions I was testing
    with). 


    I could test with older models of Nvidia or AMD graphics cards but for
    now, I have done enough testing.



    George.





    Were you using a Wayland session or an X11 session?


    Wayland



    Do you get to see the SDDM login screen or is that black with a
    mouse
    pointer, too?


    SDDM works fine



    I use a Radeon RX 6600 GPU. In Virt-Manager, my Display is Spice
    server,
    Address, Hypervisor default, Port set to Auto. OpenGL is not
    selected.

    On my Debian Bookworm i7 Intel computer, I had a Debian Testing VM
    with
    Cinnamon, so I cloned this VM, ran updates and then installed
    kde-full.
    During the installation I selected "sddm" for the default display
    manager.

    When I rebooted I could see the SDDM login screen, and for the
    "Session",
    I selected Plasma (Wayland), then logged in normally. Everything
    was
    working as expected.

    If I selected the QXL video type, then when I booted up, the VM
    hung
    during loading and no mouse pointer. 



    I need to correct my above statement, after discovering that QXL
    drivers worked in a VM running on a PC with an Nvidia card, I retested
    and discovered that on a PC with a Radeon RX 6600 GPU, and using AMD
    firmware drivers, VM of Debian Testing using Wayland worked well with
    QXL drivers and/or with Virtio drivers.



    On Radeon GPU PC, running a VM which is using QXL drivers:

    # lspci -k | grep -A 2 -E '(3D|VGA)'
    00:01.0 VGA compatible controller: Red Hat, Inc. QXL paravirtual
    graphic card (rev 05)
            Subsystem: Red Hat, Inc. QEMU Virtual Machine
            Kernel driver in use: qxl

    # env | grep -E -i 'vga|x11|xorg|wayland|plasma'
    DESKTOP_SESSION=plasmawayland MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/plasma-plasmashell.service/memory.pressure
    WAYLAND_DISPLAY=wayland-0
    PLASMA_USE_QT_SCALING=1
    QT_WAYLAND_FORCE_DPI=96




    When I changed back to the virtio
    driver, all worked well and I was able log in and watch youtube
    videos.

    Please let me know if I can help.


    I just use the VM to do testing of the installer and updates. I am
    just
    going to waite a week or so then do a clean install.



    Here are my VM settings for the display


      
    *
      



      
      
       > function="0x0"/>


    ----------------------------------

    When using Cinnamon I usually enable "OpenGL" too, so I tried this
    too.


      
        
      
       > function="0x0"/>



      
    *
      
      



    ===========================================================================

    # apt update && apt update && apt full-upgrade --autoremove -y &&
    apt
    autoremove -y && apt clean
    Hit:1 http://security.debian.org/debian-security testing-security
    InRelease
    Hit:2 http://deb.debian.org/debian testing InRelease
    Hit:3 http://deb.debian.org/debian testing-updates InRelease
    Hit:4 http://deb.debian.org/debian testing-backports InRelease
    All packages are up to date.
    Hit:1 http://security.debian.org/debian-security testing-security
    InRelease
    Hit:2 http://deb.debian.org/debian testing InRelease
    Hit:3 http://deb.debian.org/debian testing-updates InRelease
    Hit:4 http://deb.debian.org/debian testing-backports InRelease
    All packages are up to date.
    Summary:
       Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
    Summary:
       Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0

    # lsb_release -a
    No LSB modules are available.
    Distributor ID: Debian
    Description:    Debian GNU/Linux trixie/sid
    Release:        n/a
    Codename:       trixie

    # uname -r
    6.11.10-amd64

    # env | grep -E -i 'x11|xorg|wayland|plasma'
    DESKTOP_SESSION=plasmawayland


    MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1004.slice/user@1004.service
    /session.slice/plasma-plasmashell.service/memory.pressure WAYLAND_DISPLAY=wayland-0
    PLASMA_USE_QT_SCALING=1
    QT_WAYLAND_FORCE_DPI=96

    # lspci -k | grep -A 2 -E '(3D|VGA)'
    00:01.0 VGA compatible controller: Red Hat, Inc. Virtio 1.0 GPU
    (rev 01)
             Subsystem: Red Hat, Inc. Device 1100
             Kernel driver in use: virtio-pci



    ===========================================================================





    --
    ⢀⣴⠾⠻⢶⣦⠀
    ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
    ⠈⠳⣄⠀⠀


    <html>
    <head>
    <style type="text/css">
    body,p,td,div,span{
    font-size:13px; font-family:Arial, Helvetica, sans-serif;
    };
    body p{
    margin:0px;
    }
    </style>
    </head>
    <body>
    On Monday, 02-12-2024 at 14:56 Timothy M Butterworth wrote:<br>
    &gt; On Sun, Dec 1, 2024 at 9:42 PM George at Clug &lt;Clug@goproject.info&gt; wrote:<br>
    &gt; <br>
    &gt; &gt; On Monday, 02-12-2024 at 03:20 Timothy M Butterworth wrote:<br>
    &gt; &gt; &gt; On Sun, Dec 1, 2024 at 10:12 AM George at Clug &lt;Clug@goproject.info&gt;<br>
    &gt; &gt; wrote:<br>
    &gt; &gt; &gt;<br>
    &gt; &gt; &gt; &gt;<br>
    &gt; &gt; &gt; &gt;<br>
    &gt; &gt; &gt; &gt; On Sunday, 01-12-2024 at 21:40 Timothy M Butterworth wrote:<br>
    &gt; &gt; &gt; &gt; &gt; All,<br>
    &gt; &gt; &gt; &gt; &gt;<br>
    &gt; &gt; &gt; &gt; &gt; You may want to avoid upgrading KDE Plasma to 6.2 in sid. I upgraded<br>
    &gt; &gt; it<br>
    &gt; &gt; &gt; &gt; &gt; earlier and after a reboot I only get a black screen when logging in.<br>
    &gt; &gt; &gt; &gt;<br>
    &gt; &gt; &gt; &gt; Whenever someone says, KDE Plasma and black screen together, I think<br>
    &gt; &gt; &gt; &gt; "nvidia drivers".<br>
    &gt; &gt; &gt; &gt;<br>
    &gt; &gt; &gt; &gt;&nbsp;&nbsp;I doubt that is your issue. But do you have an Nvidia GPU in the<br>
    &gt; &gt; computer?<br>
    &gt; &gt; &gt; &gt;<br>
    &gt; &gt; &gt; &gt; George.<br>
    &gt; &gt; &gt; &gt;<br>
    &gt; &gt; &gt;<br>
    &gt; &gt; &gt; No, I do not have Nvidia. I have Sid in a VM. The black screen is strange<br>
    &gt; &gt; &gt; because I have a visible mouse pointer. I also get crash reporter popups.<br>
    &gt; &gt; &gt;<br>
    &gt; &gt;<br>
    &gt; &gt; "A black screen with only a visible mouse pointer" is one of the issues I<br>
    &gt; &gt; have seen on computers with an Nvidia GPU, hence to me it was likely you<br>
    &gt; &gt; had an Nvidia GPU, since you do not, then I suspect that the issue is<br>
    &gt; &gt; related to the Graphics type that you have selected for your VM, maybe<br>
    &gt; &gt; changing this to virtio and enabling OpenGL?<br>
    &gt; &gt;<br>
    &gt; &gt; FYI: My Debian Testing VM with KDE Plasma Wayland is working well after<br>
    &gt; &gt; updates.<br>
    &gt; &gt;<br>
    &gt; &gt; What GPU does your computer have?, and what Graphics system is your VM<br>
    &gt; &gt; using? (Which graphics driver and Display protocol do you use ?)<br> &gt; &gt;<br>
    &gt; <br>
    &gt; I have AMD with OpenAMD GPU Driver.<br>

    I am not familiar with the OpenAMD GPU Driver so I cannot comment on them.<br>

    I am using the proprietary, non-free-firmware firmware-amd-graphics packaged drivers on the Debian Bookworm computer that I was testing a VM of KDE Testing.<br>

    $ inxi -G<br>
    Graphics:<br>
    &nbsp;&nbsp;Device-1: AMD Navi 23 [Radeon RX 6600/6600 XT/6600M] driver: amdgpu<br>

    <a target="_blank" class="blue" href="https://wiki.debian.org/AtiHowTo">https://wiki.debian.org/AtiHowTo</a><br>
    Proprietary, binary-only firmware (also known as microcode) is not allowed in the main Debian repository as per the Debian Free Software Guidelines.&nbsp;&nbsp; The firmware can be obtained by installing the firmware-amd-graphics package, as long as the
    non-free-firmware component is enabled in your SourcesList file. <br> <br><div>Being curious about Wayland, KDE, and graphic drivers, I did further testing.</div><div><br></div><div>On a PC with an Nvidia RTX 2070 and Nvidia&nbsp;proprietary drivers, running KDE in X11 (because at this stage Wayland will not load), in Virt-
    Manager, I created a&nbsp; VM of Debian Testing, installing KDE Plasma, using Virtio video drivers (no OpenGL support). I was able to log in with session of Wayland. I changed the virtual video drive to QXL and was still able to log in.&nbsp;</div><div><
    </div><div>So both QXL and Virtio drivers work when using Nvidia or AMD proprietary drivers (at least for the GPU versions I was testing with).&nbsp;</div><div><br></div><div>I could test with older models of Nvidia or AMD graphics cards but for now,
    I have done enough testing.<br></div><div><br>
    </div><div>George.</div>


    &gt; <br>
    &gt; <br>
    &gt; &gt;<br>
    &gt; &gt; Were you using a Wayland session or an X11 session?<br>
    &gt; &gt;<br>
    &gt; <br>
    &gt; Wayland<br>
    &gt; <br>
    &gt; <br>
    &gt; &gt;<br>
    &gt; &gt; Do you get to see the SDDM login screen or is that black with a mouse<br>
    &gt; &gt; pointer, too?<br>
    &gt; &gt;<br>
    &gt; <br>
    &gt; SDDM works fine<br>
    &gt; <br>
    &gt; <br>
    &gt; &gt;<br>
    &gt; &gt; I use a Radeon RX 6600 GPU. In Virt-Manager, my Display is Spice server,<br>
    &gt; &gt; Address, Hypervisor default, Port set to Auto. OpenGL is not selected.<br>
    &gt; &gt;<br>
    &gt; &gt; On my Debian Bookworm i7 Intel computer, I had a Debian Testing VM with<br>
    &gt; &gt; Cinnamon, so I cloned this VM, ran updates and then installed kde-full.<br>
    &gt; &gt; During the installation I selected "sddm" for the default display manager.<br>
    &gt; &gt;<br>
    &gt; &gt; When I rebooted I could see the SDDM login screen, and for the "Session",<br>
    &gt; &gt; I selected Plasma (Wayland), then logged in normally. Everything was<br>
    &gt; &gt; working as expected.<br>
    &gt; &gt;<br>
    &gt; &gt; If I selected the QXL video type, then when I booted up, the VM hung<br><div>
    &gt; &gt; during loading and no mouse pointer.&nbsp; <br></div><div><br></div><div>I need to correct my above statement, after discovering that QXL drivers worked in a VM running on a PC with an Nvidia card, I retested and discovered that on a PC with a
    Radeon RX 6600 GPU, and using AMD firmware drivers, VM of Debian Testing using Wayland worked well with QXL drivers and/or with Virtio drivers. <br></div><div><br></div><div>On Radeon GPU PC, running a VM which is using QXL drivers:<br><br># lspci -k |
    grep -A 2 -E '(3D|VGA)'<br>00:01.0 VGA compatible controller: Red Hat, Inc. QXL paravirtual graphic card (rev 05)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Subsystem: Red Hat, Inc. QEMU Virtual Machine<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    Kernel driver in use: qxl<br><br># env | grep -E -i 'vga|x11|xorg|wayland|plasma'<br>DESKTOP_SESSION=plasmawayland<br>MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/plasma-plasmashell.service/memory.
    pressure<br>WAYLAND_DISPLAY=wayland-0<br>PLASMA_USE_QT_SCALING=1<br>QT_WAYLAND_FORCE_DPI=96</div><div><br></div><div><br></div><div>&gt; &gt; When I changed back to the virtio</div>
    &gt; &gt; driver, all worked well and I was able log in and watch youtube videos.<br>
    &gt; &gt;<br>
    &gt; &gt; Please let me know if I can help.<br>
    &gt; &gt;<br>
    &gt; <br>
    &gt; I just use the VM to do testing of the installer and updates. I am just<br>
    &gt; going to waite a week or so then do a clean install.<br>
    &gt; <br>
    &gt; <br>
    &gt; &gt;<br>
    &gt; &gt; Here are my VM settings for the display<br>
    &gt; &gt;<br>
    &gt; &gt; &lt;graphics type="spice" port="5900" autoport="yes" listen="127.0.0.1"&gt;<br>
    &gt; &gt;&nbsp;&nbsp; &lt;listen type="address" address="127.0.0.1"/&gt;<br> &gt; &gt;&nbsp;&nbsp; &lt;image compression="off"/&gt;<br>
    &gt; &gt; &lt;/graphics&gt;<br>
    &gt; &gt;<br>
    &gt; &gt; &lt;video&gt;<br>
    &gt; &gt;&nbsp;&nbsp; &lt;model type="virtio" heads="1" primary="yes"/&gt;<br> &gt; &gt;&nbsp;&nbsp; &lt;alias name="video0"/&gt;<br>
    &gt; &gt;&nbsp;&nbsp; &lt;address type="pci" domain="0x0000" bus="0x00" slot="0x01"<br>
    &gt; &gt; function="0x0"/&gt;<br>
    &gt; &gt; &lt;/video&gt;<br>
    &gt; &gt;<br>
    &gt; &gt; ----------------------------------<br>
    &gt; &gt;<br>
    &gt; &gt; When using Cinnamon I usually enable "OpenGL" too, so I tried this too.<br>
    &gt; &gt;<br>
    &gt; &gt; &lt;video&gt;<br>
    &gt; &gt;&nbsp;&nbsp; &lt;model type="virtio" heads="1" primary="yes"&gt;<br> &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;acceleration accel3d="yes"/&gt;<br>
    &gt; &gt;&nbsp;&nbsp; &lt;/model&gt;<br>
    &gt; &gt;&nbsp;&nbsp; &lt;address type="pci" domain="0x0000" bus="0x00" slot="0x01"<br>
    &gt; &gt; function="0x0"/&gt;<br>
    &gt; &gt; &lt;/video&gt;<br>
    &gt; &gt;<br>
    &gt; &gt; &lt;graphics type="spice"&gt;<br>
    &gt; &gt;&nbsp;&nbsp; &lt;listen type="none"/&gt;<br>
    &gt; &gt;&nbsp;&nbsp; &lt;image compression="off"/&gt;<br>
    &gt; &gt;&nbsp;&nbsp; &lt;gl enable="yes" rendernode="/dev/dri/by-path/pci-0000:03:00.0-render"/&gt;<br>
    &gt; &gt; &lt;/graphics&gt;<br>
    &gt; &gt;<br>
    &gt; &gt; ===========================================================================<br>
    &gt; &gt;<br>
    &gt; &gt; # apt update &amp;&amp; apt update &amp;&amp; apt full-upgrade --autoremove -y &amp;&amp; apt<br>
    &gt; &gt; autoremove -y &amp;&amp; apt clean<br>
    &gt; &gt; Hit:1 <a target="_blank" class="blue" href="http://security.debian.org/debian-security">http://security.debian.org/debian-security</a> testing-security<br>
    &gt; &gt; InRelease<br>
    &gt; &gt; Hit:2 <a target="_blank" class="blue" href="http://deb.debian.org/debian">http://deb.debian.org/debian</a> testing InRelease<br>
    &gt; &gt; Hit:3 <a target="_blank" class="blue" href="http://deb.debian.org/debian">http://deb.debian.org/debian</a> testing-updates InRelease<br>
    &gt; &gt; Hit:4 <a target="_blank" class="blue" href="http://deb.debian.org/debian">http://deb.debian.org/debian</a> testing-backports InRelease<br>
    &gt; &gt; All packages are up to date.<br>
    &gt; &gt; Hit:1 <a target="_blank" class="blue" href="http://security.debian.org/debian-security">http://security.debian.org/debian-security</a> testing-security<br>
    &gt; &gt; InRelease<br>
    &gt; &gt; Hit:2 <a target="_blank" class="blue" href="http://deb.debian.org/debian">http://deb.debian.org/debian</a> testing InRelease<br>
    &gt; &gt; Hit:3 <a target="_blank" class="blue" href="http://deb.debian.org/debian">http://deb.debian.org/debian</a> testing-updates InRelease<br>
    &gt; &gt; Hit:4 <a target="_blank" class="blue" href="http://deb.debian.org/debian">http://deb.debian.org/debian</a> testing-backports InRelease<br>
    &gt; &gt; All packages are up to date.<br>
    &gt; &gt; Summary:<br>
    &gt; &gt;&nbsp;&nbsp; Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0<br>
    &gt; &gt; Summary:<br>
    &gt; &gt;&nbsp;&nbsp; Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0<br>
    &gt; &gt;<br>
    &gt; &gt; # lsb_release -a<br>
    &gt; &gt; No LSB modules are available.<br>
    &gt; &gt; Distributor ID: Debian<br>
    &gt; &gt; Description:&nbsp;&nbsp;&nbsp;&nbsp;Debian GNU/Linux trixie/sid<br> &gt; &gt; Release:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;n/a<br>
    &gt; &gt; Codename:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; trixie<br>
    &gt; &gt;<br>
    &gt; &gt; # uname -r<br>
    &gt; &gt; 6.11.10-amd64<br>
    &gt; &gt;<br>
    &gt; &gt; # env | grep -E -i 'x11|xorg|wayland|plasma'<br>
    &gt; &gt; DESKTOP_SESSION=plasmawayland<br>
    &gt; &gt;<br>
    &gt; &gt; MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1004.slice/user@1004.service<br>
    &gt; &gt; /session.slice/plasma-plasmashell.service/memory.pressure<br>
    &gt; &gt; WAYLAND_DISPLAY=wayland-0<br>
    &gt; &gt; PLASMA_USE_QT_SCALING=1<br>
    &gt; &gt; QT_WAYLAND_FORCE_DPI=96<br>
    &gt; &gt;<br>
    &gt; &gt; # lspci -k | grep -A 2 -E '(3D|VGA)'<br>
    &gt; &gt; 00:01.0 VGA compatible controller: Red Hat, Inc. Virtio 1.0 GPU (rev 01)<br>
    &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Subsystem: Red Hat, Inc. Device 1100<br>
    &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Kernel driver in use: virtio-pci<br>
    &gt; &gt;<br>
    &gt; &gt;<br>
    &gt; &gt; ===========================================================================<br>
    &gt; &gt;<br>
    &gt; &gt;<br>
    &gt; &gt;<br>
    &gt; &gt;<br>
    &gt; <br>
    &gt; -- <br>
    &gt; ⢀⣴⠾⠻⢶⣦⠀<br>
    &gt; ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system<br>
    &gt; ⢿⡄⠘⠷⠚⠋⠀ <a target="_blank" class="blue" href="https://www.debian.org">https://www.debian.org</a>/<br>
    &gt; ⠈⠳⣄⠀⠀<br>
    &gt;
    </body></html>

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