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/
> ⠈⠳⣄⠀⠀
>

Reply via email to