Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gnome-shell fails to load evdi driver with displaylink #299141

Open
Oddly opened this issue Mar 26, 2024 · 0 comments
Open

gnome-shell fails to load evdi driver with displaylink #299141

Oddly opened this issue Mar 26, 2024 · 0 comments

Comments

@Oddly
Copy link

Oddly commented Mar 26, 2024

Describe the bug

I've got a Thinkpad dock with a displayport connected display, connected to my laptop via USB-C. When connecting this display, it shows up in settings with the right resolutions and available settings, but the display does not receive any input.
When looking in journalctl, when plugging in the USB-C cable, you can see that MESA-LOADER fails to load the evdi driver which could explain the above issue.

I'm running NixOS on the unstable channel with Gnome on Wayland. I installed the Displaylink drivers and am using my discrete Nvidia card in my laptop exclusively (turned off igpu and blacklisted i915). I'm using the latest kernel.

Xrandr shows the following when the dock is connected:
$ xrandr --listactivemonitors
Monitors: 2
0: +*eDP-1 2560/340x1600/220+0+0 eDP-1
1: +DVI-I-1 3440/800x1440/340+2560+0 DVI-I-1

$ xrandr --listproviders
Providers: number : 0

Steps To Reproduce

Steps to reproduce the behavior:

  1. Start up Gnome in Wayland
  2. Plug in the USB-C cable to the dock.
  3. Watch the monitor go on, to go off again with "no signal".

Expected behavior

The monitor connected through the dock should just work.

Screenshots (logging)

These are the relevant logs from journalctl output:

mrt 26 10:32:17 SC-X1 kernel: evdi: [I] (card1) Opened by Task 8130 (DesktopManagerE) of process 8118 (.DisplayLinkMan)
mrt 26 10:32:17 SC-X1 kernel: evdi: [I] (card1) Added i2c adapter bus number 8
mrt 26 10:32:17 SC-X1 kernel: evdi: [I] (card1) Connected with Task 8130 (DesktopManagerE) of process 8118 (.DisplayLinkMan)
mrt 26 10:32:17 SC-X1 kernel: evdi: [I] (card1) Connector state: connected
mrt 26 10:32:17 SC-X1 kernel: evdi: [I] (card1) Connector state: connected
mrt 26 10:32:17 SC-X1 .gnome-shell-wr[7215]: g_hash_table_steal_extended: assertion 'hash_table != NULL' failed
mrt 26 10:32:17 SC-X1 gnome-shell[7215]: MESA-LOADER: failed to open evdi: /run/opengl-driver/lib/dri/evdi_dri.so: cannot open shared object file: No such file or directory (search paths /run/opengl-driver/lib/dri, suffix _dri)
mrt 26 10:32:17 SC-X1 .gnome-shell-wr[7215]: Failed to initialize accelerated iGPU/dGPU framebuffer sharing: Not hardware accelerated
mrt 26 10:32:17 SC-X1 .gnome-shell-wr[7215]: Created gbm renderer for '/dev/dri/card1'
mrt 26 10:32:17 SC-X1 .gnome-shell-wr[7215]: Failed to allocate onscreen framebuffer for /dev/dri/card1: Failed to allocate surface

Additional context

Notify maintainers

@drupol @illustris

Metadata

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.8.1, NixOS, 24.05 (Uakari), 24.05pre601756.44d0940ea560`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - channels(root): `"nixos, nixpkgs-unstable"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a 👍 reaction to issues you find important.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant