AdnanHodzic / displaylink-debian

DisplayLink driver installer for Debian and Ubuntu based Linux distributions.
https://foolcontrol.org/?p=1777
GNU General Public License v3.0
1.23k stars 228 forks source link

Displaylink not working on Ubuntu 24.04 (getting error on xrandr --setprovideroutputsource) #925

Open rodmba opened 2 months ago

rodmba commented 2 months ago

Hey guys, could someone help me with this setup?

I'm getting the following error while running xrandr --setprovideroutputsource 1 0:

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  35 (RRSetProviderOutputSource)
  Value in failed request:  0x43
  Serial number of failed request:  20
  Current serial number in output stream:  21

My system details:

- **Hardware Model:**                              Acer Aspire A515-54G
- **Memory:**                                      20.0 GiB
- **Processor:**                                   Intel® Core™ i5-10210U × 8
- **Graphics:**                                    Software Rendering
- **Graphics 1:**                                  NVIDIA GeForce MX250
- **Disk Capacity:**                               256.1 GB

## Software Information:
- **Firmware Version:**                            V1.21
- **OS Name:**                                     Ubuntu 24.04 LTS
- **OS Build:**                                    (null)
- **OS Type:**                                     64-bit
- **GNOME Version:**                               46
- **Windowing System:**                            X11
- **Kernel Version:**                              Linux 6.8.0-31-generic

My debug stuff:

--------------- Linux system info ----------------

Distro: Ubuntu
Release: noble
Kernel: 6.8.0-31-generic

---------------- DisplayLink info ----------------

Driver version: 1.14.2
DisplayLink service status: up and running
EVDI service version: 1.14.2

------------------ Graphics card -----------------

Vendor: i915
Subsystem: CometLake-U
VGA: Intel Corporation CometLake-U GT2 [UHD Graphics] (rev 02)
VGA (3D): NVIDIA Corporation GP108M [GeForce MX250] (rev a1)
X11 version: 21.1.12-1ubuntu1
X11 configs: /etc/X11/xorg.conf.d/20-displaylink.conf

-------------- DisplayLink xorg.conf -------------

File: /etc/X11/xorg.conf.d/20-displaylink.conf
Contents:
 Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
    Inactive "intel"
EndSection

Section "Device"
    Identifier "intel"
    Driver "modesetting"
    Option "AccelMethod" "None"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    Option "ConstrainCursor" "off"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Option "AllowEmptyInitialConfiguration" "on"
    Option "IgnoreDisplayDevices" "CRT"
EndSection

-------------------- Monitors --------------------

Providers: number : 6
Provider 0: id: 0x43 cap: 0x0 crtcs: 3 outputs: 2 associated providers: 0 name:modesetting
Provider 1: id: 0x102 cap: 0x6, Sink Output, Source Offload crtcs: 1 outputs: 1 associated providers: 0 name:modesetting
Provider 2: id: 0xe1 cap: 0x6, Sink Output, Source Offload crtcs: 1 outputs: 1 associated providers: 0 name:modesetting
Provider 3: id: 0xc0 cap: 0x6, Sink Output, Source Offload crtcs: 1 outputs: 1 associated providers: 0 name:modesetting
Provider 4: id: 0x9f cap: 0x6, Sink Output, Source Offload crtcs: 1 outputs: 1 associated providers: 0 name:modesetting
Provider 5: id: 0x7e cap: 0x0 crtcs: 0 outputs: 0 associated providers: 0 name:modesetting

-------------------------------------------------------------------
darren051 commented 1 month ago

Breaks on every upgrade

kegeg commented 3 weeks ago

Did you manage to make it work? Mine also broke when upgrading to 24.04.