![]() |
[Gentoo] DisplayManager userland crashing, no displays
Hi All,
I've been trying the display link driver on Gentoo: Kernel: 3.18.14 Xorg: 1.16.4 Module works (usb, ethernet) but I get no new displays in xrandr and DisplayManager userland is crashing with segmentation fault after a minute or two. There is nothing useful in the log, which seems binary data. Anything I can do to get it work? Thanks Mike |
Quote:
If you have a core dump from the crashing app somewhere (exact location depends on a distribution), please compress it and send to us as well. Thanks, Michal |
Log file
1 Attachment(s)
attached log directory, I will reproduce the crash later to get a core dump, where shall I send it, file going to be bigger I guess.
|
Quote:
If you have a file to send that's too big for this forum, it's probably the easiest to use one of the file sharing sites and let us know what the link is. Thanks, Michal |
2 Attachment(s)
I ran it as root in 64bit both inside xsession and in a separate terminal. 64bit crashes nearly immediately. core dump and new log attached as zip here.
|
1 Attachment(s)
more logs, this time with running it prior to kde-session start, no difference in seg fault, but logs where in install directory as I made it writable for coredump
|
Thanks for these. I raised it internally to have a deeper look.
|
Are you sure you are running DisplayLink Manager application as a root? It looks like it cannot communicate with evdi kernel driver through the libevdi library.
Thanks, Michal |
I did both, user and root, but I'll try again.
|
run as root
2 Attachment(s)
# loaded module and verified
evdi 23854 0 drm_kms_helper 61022 2 i915,evdi drm 233198 8 i915,evdi,drm_kms_helper # ran ran DisplayManager as root, but the xsession was of course already running when I did that. # connected displaylink via USB, lsusb shows its there # connected the screen via displayport on the dock, roughly 10-20 seconds later crash. This time I also see an edid file which represents the screen that I plugged in. part of log.zip |
any update on this?
|
The application is crashing as it would when evdi kernel module is not loaded. We have already fixed the crash for next release, but this does not explain why you experience this if the evdi is indeed loaded.
Can you check if you can access /sys/devices/evdi folder? The application will try to write to files which are exposed there. Any problems with sysfs would be fatal - maybe it is a read-only filesystem? Also, could you attach your dmesg log - preferably with maximum logging level set for evdi following instructions in http://displaylink.org/forum/showpos...30&postcount=5 . Thanks, Michal |
directory is readable by users. Writable by root
Code:
ls -la /sys/devices/evdi I'll do another try of evdi in a bit with increased log level and dmesg log |
dmesg log
1 Attachment(s)
attached find the dmesg log, it does contain several errors
|
any update on this? did the last logs reveal anything?
|
Ran with new version...
2 Attachment(s)
I ran with the new version 138. Good news its no longer crashing, but no display in xrandr, no provider. dmesg seems to indicate that the display is not found although I get the correct edid logged again.
new logs and new dmesg |
So, I am own a D3100 and using Gentoo, too.
After building and loading evdi.ko and starting DisplayLinkManager I got a few lines in my system log (after a few seconds): Loading evdi.ko Code:
Sep 02 22:41:13 m3800 kernel: [ ] evdi_init Initialising logging on level 5 Code:
Sep 02 22:41:23 m3800 kernel: [D] add_store increasing device count to 1 Code:
Sep 02 22:41:35 m3800 kernel: [W] evdi_painter_disconnect (dev=0) An unknown connection to ffff880461ca2e00 tries to close us - ignoring
In the top-directory I also got a file that seems to be the EDID of my attached monitor:
So, no further success, the monitor is kept blank. Could I provide you further log stuff (files, ...)? |
I would like to use strace to show what is going on.
So I stopped the running DisplayLinkManager while X is still running and started it again using "strace -f ...". Now I see an additional provider and could use xrandr to activate the monitor output. So at least it is working, but need to have a further look at the order of the commands. Log: Code:
Sep 02 23:05:00 m3800 kernel: [D] add_store increasing device count to 2 |
I rebooted my machine to find the simple steps:
Now xrandr shows the provider (listproviders). Code:
$ xrandr --listproviders Code:
xrandr --setprovideroutputsource 1 0 All fine. |
ok I can confirm that after loading module prior to X and of course installing the modesetting driver ;) it works now.
|
Just elaborating in case anyone needs easier steps for systemd like me as I didn't know xrandr really well. This post got me on the right track however. I'm happy the displaylink made the effort and released a driver for the D3x because I can't work with Windows efficiently. I tried for 2 months...
If the driver is installed (in my case using a gentoo overlay from maggu2810) you can start the displaylink service with systemctl and add the "evdi" to /etc/modules-load/evdi.conf. By guessing that you now loaded evdi and started the displaylink service automatically, you may not be able to guess what the display device is called using xrandr. The output and steps for my 3 monitor setup, both connected via HDMI on the D3100 is here: Code:
% xrandr --listproviders Code:
% xrandr -q Code:
xrandr --setprovideroutputsource 1 0 Code:
% xrandr -q Code:
xrandr --output DVI-1-0 --auto --right-of eDP1 |
All times are GMT. The time now is 08:38 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.