Fedora 41 | X-cursor shown and black screen after logging in

The issue started after installing a Huion tablet driver. I was able to access my desktop environment by accessing it in a TTY2 command line startx, but it seems like it’s not the long term solution.

Basically after booting the laptop, an X-cursor is shown before showing the log in screen. Once logged in, the screen is black but whenever I unplug my mouse or anything from my laptop, there is a sound that plays which means my desktop is present but visually it shows a black screen.
I searched the internet and I couldn’t find the long term solution to this issue. Please help…
also I have a NVIDIA GPU GeForce MX110, and I installed Nvidia akmod-drivers as shown here:

dnf list installed \*nvidia\*

Updating and loading repositories:

Repositories loaded.

Installed packages

akmod-nvidia.x86_64 3:565.77-1.fc41 <unknown>

kmod-nvidia-6.11.11-300.fc41.x86_64.x86_64 3:565.77-1.fc41 @commandline

kmod-nvidia-6.12.4-200.fc41.x86_64.x86_64 3:565.77-1.fc41 @commandline

kmod-nvidia-6.12.5-200.fc41.x86_64.x86_64 3:565.77-1.fc41 @commandline

nvidia-gpu-firmware.noarch 20241210-1.fc41 updates

nvidia-modprobe.x86_64 3:565.77-1.fc41 <unknown>

nvidia-persistenced.x86_64 3:565.77-1.fc41 rpmfusion-nonfree-updates

nvidia-settings.x86_64 3:565.77-1.fc41 <unknown>

xorg-x11-drv-nvidia.x86_64 3:565.77-3.fc41 rpmfusion-nonfree-nvidia-dri

xorg-x11-drv-nvidia-cuda.x86_64 3:565.77-3.fc41 rpmfusion-nonfree-nvidia-dri

xorg-x11-drv-nvidia-cuda-libs.i686 3:565.77-3.fc41 rpmfusion-nonfree-nvidia-dri

xorg-x11-drv-nvidia-cuda-libs.x86_64 3:565.77-3.fc41 rpmfusion-nonfree-nvidia-dri

xorg-x11-drv-nvidia-kmodsrc.x86_64 3:565.77-3.fc41 rpmfusion-nonfree-nvidia-dri

xorg-x11-drv-nvidia-libs.i686 3:565.77-3.fc41 rpmfusion-nonfree-nvidia-dri

xorg-x11-drv-nvidia-libs.x86_64 3:565.77-3.fc41 rpmfusion-nonfree-nvidia-dri

xorg-x11-drv-nvidia-power.x86_64 3:565.77-3.fc41 rpmfusion-nonfree-nvidia-dri

xorg-x11-drv-nvidia-xorg-libs.x86_64 3:565.77-3.fc41 rpmfusion-nonfree-nvidia-dri

Available packages

akmod-nvidia-390xx.x86_64 3:390.157-14.fc41 rpmfusion-nonfree-updates

akmod-nvidia-470xx.x86_64 3:470.256.02-5.fc41 rpmfusion-nonfree-updates

golang-github-nvidia-container-toolkit.x86_64 1.16.2-1.fc41 updates

golang-github-nvidia-container-toolkit-devel.noarch 1.16.2-1.fc41 updates

golang-github-nvidia-nvlib-devel.noarch 0.6.1-1.fc41 fedora

golang-github-nvidia-nvml-devel.noarch 0.12.4.0-3.fc41 fedora

kmod-nvidia.x86_64 3:565.77-1.fc41 rpmfusion-nonfree-nvidia-dri

kmod-nvidia.x86_64 3:565.77-1.fc41 rpmfusion-nonfree-updates

kmod-nvidia-390xx.x86_64 3:390.157-14.fc41 rpmfusion-nonfree-updates

kmod-nvidia-470xx.x86_64 3:470.256.02-5.fc41 rpmfusion-nonfree-updates

libva-nvidia-driver.i686 0.0.13^20241108git259b7b7-2.fc41 updates

libva-nvidia-driver.x86_64 0.0.13^20241108git259b7b7-2.fc41 updates

nvidia-query-resource-opengl.x86_64 1.0.0-18.fc41 fedora

nvidia-query-resource-opengl-lib.i686 1.0.0-18.fc41 fedora

nvidia-query-resource-opengl-lib.x86_64 1.0.0-18.fc41 fedora

nvidia-settings-390xx.x86_64 390.157-4.fc41 rpmfusion-nonfree

nvidia-settings-470xx.x86_64 3:470.256.02-2.fc41 rpmfusion-nonfree

nvidia-texture-tools.i686 2.1.2-10.fc41 fedora

nvidia-texture-tools.x86_64 2.1.2-10.fc41 fedora

nvidia-texture-tools-devel.i686 2.1.2-10.fc41 fedora

nvidia-texture-tools-devel.x86_64 2.1.2-10.fc41 fedora

nvidia-xconfig.x86_64 3:565.77-1.fc41 rpmfusion-nonfree-updates

nvidia-xconfig.x86_64 3:565.77-1.fc41 rpmfusion-nonfree-nvidia-dri

pcp-pmda-nvidia-gpu.x86_64 6.3.2-2.fc41 updates

xorg-x11-drv-nvidia-390xx.x86_64 3:390.157-4.fc40 rpmfusion-nonfree

xorg-x11-drv-nvidia-390xx-cuda.x86_64 3:390.157-4.fc40 rpmfusion-nonfree

xorg-x11-drv-nvidia-390xx-cuda-libs.i686 3:390.157-4.fc40 rpmfusion-nonfree

xorg-x11-drv-nvidia-390xx-cuda-libs.x86_64 3:390.157-4.fc40 rpmfusion-nonfree

xorg-x11-drv-nvidia-390xx-devel.i686 3:390.157-4.fc40 rpmfusion-nonfree

xorg-x11-drv-nvidia-390xx-devel.x86_64 3:390.157-4.fc40 rpmfusion-nonfree

xorg-x11-drv-nvidia-390xx-kmodsrc.x86_64 3:390.157-4.fc40 rpmfusion-nonfree

xorg-x11-drv-nvidia-390xx-libs.i686 3:390.157-4.fc40 rpmfusion-nonfree

xorg-x11-drv-nvidia-390xx-libs.x86_64 3:390.157-4.fc40 rpmfusion-nonfree

xorg-x11-drv-nvidia-470xx.x86_64 3:470.256.02-1.fc41 rpmfusion-nonfree

xorg-x11-drv-nvidia-470xx-cuda.x86_64 3:470.256.02-1.fc41 rpmfusion-nonfree

xorg-x11-drv-nvidia-470xx-cuda-libs.i686 3:470.256.02-1.fc41 rpmfusion-nonfree

xorg-x11-drv-nvidia-470xx-cuda-libs.x86_64 3:470.256.02-1.fc41 rpmfusion-nonfree

xorg-x11-drv-nvidia-470xx-devel.i686 3:470.256.02-1.fc41 rpmfusion-nonfree

xorg-x11-drv-nvidia-470xx-devel.x86_64 3:470.256.02-1.fc41 rpmfusion-nonfree

xorg-x11-drv-nvidia-470xx-kmodsrc.x86_64 3:470.256.02-1.fc41 rpmfusion-nonfree

xorg-x11-drv-nvidia-470xx-libs.i686 3:470.256.02-1.fc41 rpmfusion-nonfree

xorg-x11-drv-nvidia-470xx-libs.x86_64 3:470.256.02-1.fc41 rpmfusion-nonfree

xorg-x11-drv-nvidia-470xx-power.x86_64 3:470.256.02-1.fc41 rpmfusion-nonfree

xorg-x11-drv-nvidia-devel.i686 3:565.77-3.fc41 rpmfusion-nonfree-updates

xorg-x11-drv-nvidia-devel.i686 3:565.77-3.fc41 rpmfusion-nonfree-nvidia-dri

xorg-x11-drv-nvidia-devel.x86_64 3:565.77-3.fc41 rpmfusion-nonfree-updates

xorg-x11-drv-nvidia-devel.x86_64 3:565.77-3.fc41 rpmfusion-nonfree-nvidia-dri

Is there anything in the output of inxi -Fzx may be the culprit to this issue?

Display: unspecified server: X.Org v: 21.1.14 with: Xwayland v: 24.1.4

driver: X: loaded: modesetting,nvidia unloaded: nouveau dri: iris gpu: i915

resolution: 1: 1366x768~60Hz 2: N/A

API: OpenGL v: 4.6.0 vendor: nvidia v: 565.77 glx-v: 1.4

direct-render: yes renderer: NVIDIA GeForce MX110/PCIe/SSE2