The xorg server not detecting any monitor , but a Nvidia drivers detecting one monitor

Goal: To use two monitors for development.
specs - GIGABYTE G5 KF5 13620h i7, mesa intel graphics, and rtx 4060gb. using one hdmi port and other with usbc to hdmi.,
kde 22.04

When I am using NVidia 535


this version it shows one monitor.

when click on use xorg server no monitors are detected.
and this whole list becomes greyed out saying using custom software.

  • I have tried Optimus , it does not work ends as core dumped.
  • xrandr shows disconnected HDMI on xorg.

I have tried everything it only detects one monitor in nvidia and no monitors in xorg.

I am using kde for a while, but still naive in this situation , I have tried almost everything couldn’t find any resolution.
Any help is greatly appreciated

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update

then reopen the driver manager. You should now see newer drivers. 535 is slightly broken and a bit old.

So far 550 works best with X11 but has issues with Wayland, and 555 works best with Wayland but has issues with X11. Choose which session type you want to use (with Nvidia its always recommended to use X11) and stick with it.

Switch to nouveau before updating drivers, and reboot. Give nouveau a little bit to sort itself out upon first boot. Then login, open an terminal and purge the old nvidia drivers before installing the new ones. Installing over existing drivers will often lead to problems:

sudo apt purge nvidia*

After its purged, then do

sudo apt clean
sudo apt autoremove

Then use the driver manager to install the new driver.


still only shows one monitor

I missed the fact that the secondary monitor was running via USBC. I cannot help you with that. It seems you need a driver called displaylink. Perhaps try the steps in this:

sudo ./displaylink-driver-6.0.0-24.run
Verifying archive integrity… 100% MD5 checksums are OK. All good.
Uncompressing DisplayLink Linux Driver 6.0.0 100%
Distribution discovered: No LSB modules are available.
Ubuntu 24.04.1 LTS
‘evdi’ Debian package appears to be installed.
This installer is incompatible with the packaged driver.

Yeah, just took a look at the displaylink website and its 10 years out of date. All the general websites I have found on the topic are ancient. LSB is long depreciated. Perhaps search for your specific device? Not sure how to help you other than suggest maybe posting in the Kubuntu forum to see if anybody there uses a USB display. I do not think the Plasma version would effect it that much, and the rest of Neon is pretty much standard Kubuntu 22.04.

Hi i was able to install it successfully but its still not showing up the connected monitor via usb c ? What to do

~$ sudo displaylink-installer uninstall
[sudo] password for apoorv_pca:
Distribution discovered: No LSB modules are available.
Ubuntu 24.04.1 LTS

Uninstalling

[ Removing EVDI from kernel tree, DKMS, and removing sources. ]
make: Entering directory ‘/tmp/tmp.8mLHbQR5yb/module’
dkms remove evdi/1.14.4 --all
Module evdi-1.14.4 for kernel 6.8.0-41-generic (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

evdi.ko.zst:

  • Uninstallation
    • Deleting from: /lib/modules/6.8.0-41-generic/updates/dkms/
  • Original module
    • No original module was found for this module on this kernel.
    • Use the dkms install command to reinstall any previous module version.
      depmod…
      Deleting module evdi-1.14.4 completely from the DKMS tree.
      rm -f -rf /usr/src/evdi-1.14.4
      make: Leaving directory ‘/tmp/tmp.8mLHbQR5yb/module’
      Stopping displaylink-driver systemd service
      The unit files have no installation config (WantedBy=, RequiredBy=, UpheldBy=,
      Also=, or Alias= settings in the [Install] section, and DefaultInstance= for
      template units). This means they are not meant to be enabled or disabled using systemctl.

Possible reasons for having these kinds of units are:

  • A unit may be statically enabled by being symlinked from another unit’s
    .wants/, .requires/, or .upholds/ directory.
  • A unit’s purpose may be to act as a helper for some other unit which has
    a requirement dependency on it.
  • A unit may be started when needed via activation (socket, path, timer,
    D-Bus, udev, scripted systemctl call, …).
  • In case of template units, the unit is meant to be enabled with some
    instance name specified.
    [ Removing suspend-resume hooks ]
    [ Removing udev rule ]
    [ Removing Core folder ]

Uninstallation steps complete.
Please note that the evdi kernel module is still in the memory.
A reboot is required to fully complete the uninstallation process.

https:// askubuntu .com /questions/1440281/displaylink-not-detecting-monitor

rc  evdi                                                     1.14.6-100                                  amd64        Extensible Virtual Display Interface (EVDI) is a Linux® kernel module that enables management of multiple screens.
ii  evdi-dkms                                                1.14.2+dfsg-1build1                         all          Extensible Virtual Display Interface driver kernel module
ii  libevdi1                                                 1.14.2+dfsg-1build1                         amd64        Extensible Virtual Display Interface driver client library
sudo displaylink-installer version
sudo: displaylink-installer: command not found
 sudo ./displaylink-driver-6.0.0-24.run 
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing DisplayLink Linux Driver 6.0.0  100%  
Distribution discovered: No LSB modules are available.
Ubuntu 24.04.1 LTS
WARNING: Version 1.14.6 of EVDI kernel module is already running.
Please reboot before attempting to re-install DisplayLink Linux Software.
Installation terminated.
xrandr 
Screen 0: minimum 320 x 200, current 2560 x 1080, maximum 16384 x 16384
eDP-1 connected (normal left inverted right x axis y axis)
   1920x1080    144.00 +  60.02 +  60.02  
   1680x1050     60.02  
   1400x1050     60.02  
   1600x900      60.02  
   1280x1024     60.02  
   1400x900      60.02  
   1280x960      60.02  
   1440x810      60.02  
   1368x768      60.02  
   1280x800      60.02  
   1152x864      60.02  
   1280x720      60.02  
   1024x768      60.02  
   1024x768i     60.02  
   960x720       60.02  
   928x696       60.02  
   896x672       60.02  
   1024x576      60.02  
   960x600       60.02  
   832x624       60.02  
   960x540       60.02  
   800x600       60.02  
   840x525       60.02  
   864x486       60.02  
   700x525       60.02  
   800x450       60.02  
   640x512       60.02  
   700x450       60.02  
   640x480       60.02  
   720x405       60.02  
   720x400       60.02  
   684x384       60.02  
   640x400       60.02  
   576x432       60.02  
   640x360       60.02  
   640x350       60.02  
   512x384       60.02  
   512x384i      60.02  
   512x288       60.02  
   416x312       60.02  
   480x270       60.02  
   400x300       60.02  
   432x243       60.02  
   320x240       60.01  
   360x202       60.02  
   360x200       60.02  
   320x200       60.01  
   320x180       60.01  
   320x175       60.01  
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DVI-I-5-4 disconnected (normal left inverted right x axis y axis)
DVI-I-4-3 disconnected (normal left inverted right x axis y axis)
DVI-I-3-2 disconnected (normal left inverted right x axis y axis)
DVI-I-2-1 disconnected (normal left inverted right x axis y axis)
DP-1-0 disconnected (normal left inverted right x axis y axis)
DP-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-0 connected primary 2560x1080+0+0 (normal left inverted right x axis y axis) 798mm x 334mm
   2560x1080     59.98 +  74.99*   50.00  
   3840x2160     29.97    25.00    23.98  
   2560x1440     59.95  
   1920x1080     75.00    60.00    59.94    50.00  
   1680x1050     59.95  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1152x864      60.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    59.94    59.93  

Did you follow the instructions and install it from the apt repo somebody posted?

Seems the .run does not work on ubuntu based systems. Follow the instructions to add the PPA and install it. Do not install the standalone.

I also recommend that you give Kubuntu a try, not Neon. As far as user experience goes, it is nearly identical, with the exception Kubuntu is a bit more compatible out of the box and a lot more polished. While Kubuntu wont be getting Plasma 6 until the end of October, there is actually no compelling need for P6 as its not really that different from P5.