Installing the (malcolmlewis) DisplayLink openSUSE-LEAP-42.1 driver?

Could someone who knows-how guide me to properly install the DisplayLink openSUSE-Leap-42.1 driver on my system?

I have installed, deleted and reinstalled the DisplayLink openSUSE-Leap-42.1 driver a few times but with only half success. I say half success, because I can see all two monitors attached to the ‘(DisplayLink ) USB Graphic Adapters’ but there is no video signal on the monitors.

Also, whenever I activate any of the two monitors in the openSUSE ‘Display Configuration’, the system closes the ‘Display Configuration’ window and issues the following error:

** “could not start ksmserver check your installation”**

I have already spend 16-man hours to try to get it to work but without success. Maybe it is not feasible, in which case, I would like to hear from those who have tried and failed, so that I can decide whether to stop wasting my time or try something else.

Thanks in advance.


Other details:

HP DL385 G6
openSUSE-Leap-42.1
2 x USB Graphic Adapters
2 x Asus 24" monitors (1920x1080 max resolution)
1 x Packard Bell 24" monitors (1920x1080 max resolution)

On Tue 03 May 2016 12:06:01 PM CDT, netweight wrote:

Could someone who knows-how guide me to properly install the DisplayLink
openSUSE-Leap-42.1 driver on my system?

I have installed, deleted and reinstalled the DisplayLink
openSUSE-Leap-42.1 driver a few times but with only half success. I say
half success, because I can see all two monitors attached to the
‘(DisplayLink ) USB Graphic Adapters’ but there is no video signal on
the monitors.

Also, whenever I activate any of the two monitors in the openSUSE
‘Display Configuration’, the system closes the ‘Display Configuration’
window and issues the following error:

"COULD NOT START KSMSERVER CHECK YOUR INSTALLATION"

I have already spend 16-man hours to try to get it to work but without
success. Maybe it is not feasible, in which case, I would like to hear
from those who have tried and failed, so that I can decide whether to
stop wasting my time or try something else.

Thanks in advance.


Other details:

HP DL385 G6
openSUSE-Leap-42.1
2 x USB Graphic Adapters
2 x Asus 24" monitors (1920x1080 max resolution)
1 x Packard Bell 24" monitors (1920x1080 max resolution)

Hi
The driver is only part, there are the proprietary bits as well…

Have you read this thread?
https://forums.opensuse.org/showthread.php/509518-Porting-the-DisplayLink-Ubuntu-driver-to-other-Linux-distributions?highlight=displaylink

Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.20-11-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Malcolm, thanks for your response,

Yes, I have read the discussions on the aforementioned pages a few times, but
the discussions lead into different directions. I can do with simpler steps, like:

  1. What do I do after I had installed your driver? Do I need to load additional
    software beside your driver? If so, what are they?

For example, from my previous attempts, after installing your driver, I then
used xrandr or arandr (xrandr + GUI) to set the X Display:

$ xrandr --listproviders

From information above:
$ xrandr --setprovideroutputsource 1 0
$ xrandr --setprovideroutputsource 2 0

cvt 1920 1080
**
From information above:**
xrandr --newmode “1920x1080_6-.00” …-hsync +vsync

xrandr --addmode DVI-1-0 1920x1080
xrandr --addmode DVI-2-1 1920x1080

What am doing wrong or not doing?

Thanks

On Tue 03 May 2016 10:06:02 PM CDT, netweight wrote:

malcolmlewis;2777300 Wrote:
> Hi
> The driver is only part, there are the proprietary bits as well…
>
> Have you read this thread?
> http://tinyurl.com/gqhvc9e
> –
>

Malcolm, thanks for your response,

Yes, I have read the discussions on the aforementioned pages a few
times, but
the discussions lead into different directions. I can do with simpler
steps, like:

  1. What do I do after I had installed your driver? Do I need to load
    additional
    software beside your driver? If so, what are they?

For example, from my previous attempts, after installing your driver, I
then
used xrandr or arandr (xrandr + GUI) to set the X Display:

$ xrandr --listproviders

From information above:
$ xrandr --setprovideroutputsource 1 0
$ xrandr --setprovideroutputsource 2 0

cvt 1920 1080
*
From information above:*
xrandr --newmode “1920x1080_6-.00” …-hsync +vsync

xrandr --addmode DVI-1-0 1920x1080
xrandr --addmode DVI-2-1 1920x1080

What am doing wrong or not doing?

Thanks

Hi
Did you download and run the Displaydriver, that’s a third party binary
blob and libs…

I must admit I don’t have a USB display, so can’t really test :frowning:


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.20-11-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

I only downloaded and installed evdi-kmp-default-1.0.453_k4.1.20_11-2.3.x86_64.rpm

Where might I find the DisplayDriver? and which one do I install first?–The evdi first?

Thanks.

On Tue 03 May 2016 11:26:02 PM CDT, netweight wrote:

malcolmlewis;2777341 Wrote:
> Hi
> Did you download and run the Displaydriver, that’s a third party
> binary blob and libs…
>
>

I only downloaded and installed
‘evdi-kmp-default-1.0.453_k4.1.20_11-2.3.x86_64.rpm’
(http://tinyurl.com/hvzjw26)

Where might I find the DisplayDriver? and which one do I install
first?–The ‘evdi’ (http://tinyurl.com/hvzjw26) first?

Thanks.

Hi
Install the kmp rpm I built, then you download the DisplayLink USB
Graphics Software file from http://www.displaylink.com/downloads/ubuntu
it’s version 1.0.335 Dec 2015.

Now you need to extract that file somewhere (as you user) then change
permissions on the run file. extract and run the DisplayLinkManager
file in the x64 folder eg;


unzip DisplayLink_Ubuntu_1.0.335.zip -d DisplayLink
cd DisplayLink/
chmod 0755 displaylink-driver-1.0.335.run
../displaylink-driver-1.0.335.run --target .
Verifying archive integrity... All good.
Uncompressing DisplayLink Linux Driver 1.0.335  100%
You need to be root to use this script.
cd x64
../DisplayLinkManager

Just do the above as your user to start with, hopefully things should
kick into life…


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.20-11-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Thanks again, Malcolm for your help,

I ran displaylink-driver-1.0.335.run as below but I am getting fatal error:

linux-eb7d:/home/dt/Downloads/displaylink # ./displaylink-driver-1.0.335.run --target .

Verifying archive integrity… All good.
Uncompressing DisplayLink Linux Driver 1.0.335 100%
DisplayLink Linux Software 1.0.335 install script called: install
Distribution discovered: “openSUSE Leap 42.1 (x86_64)”
WARNING: Kernel version 4.1.20-11-default is not supported. Highest supported version is 3.19.
Unsatisfied dependencies. Missing component: Linux headers for running kernel, 4.1.20-11-default.
This is a fatal error, cannot install DisplayLink Linux Software.

Do I need to edit some script?

Thanks.

Hi
You ran as root user!!! Download and do everything as your normal user not root… we don’t want it to run like that… :wink:

Thanks Malcolm.

At

**./DisplayLinkManager

**
It seems to run (or hang) forever and no message. Is this a normal behaviour or something is wrong? Last time, I allowed it to run for 10 minutes before I stopped it.

**
>>You need to be root to use this script.

**Also, this trace appears ahead of the **DisplayLinkManager; **do I need to change to root to run ‘**DisplayLinkManager’ **or continue as user?
Thanks, I am almost there.

Hi
Yes, leave it running like that in it’s own terminal, now can you see/configure your screens?

If not, then in a terminal switch (as in su - ) to root user, cd to the directory and run the ./DisplayLinkManager command as you did for your user, then as your user can you see/configure your screens?

I can see all my tree monitors in the openSUSE Display Configuration and ARandR (xrandr GUI), but after activating them and pressing “apply”, I get:

(1) the following error in one dialog box

**“Could not start ksmserver. Check your installation”
**

(2) And in another dialog box:
**
“Ksmserver closed unexpectedly
Executable: ksmserver PID 2010 Signal: Segmentation fault(11) Time :<timestamp>”
**
(3) System logout and return to the login screen.

Thanks.

Hi
Both as you user then running as root user? If so, not sure where to go from here :frowning: What if you try just one screen, any different, again one screen as user and then as root user…

Yes I have tried the following:

One monitor unattached to USB Display Adapter – PASS
One monitor unattached + One monitor attached – FAIL
One monitor unattached + Two monitors attached – FAIL
One monitor attached – FAIL
Two monitors attached – FAIL

Same outcomes for user and root.

Thanks

On Thu 05 May 2016 08:16:01 AM CDT, netweight wrote:

malcolmlewis;2777484 Wrote:
> Hi
> Both as you user then running as root user? If so, not sure where to
> go from here :frowning: What if you try just one screen, any different, again
> one screen as user and then as root user…

Yes I have tried the following:

One monitor unattached to USB Display Adapter – PASS
One monitor unattached + One monitor attached – FAIL
One monitor unattached + Two monitors attached – FAIL
One monitor attached – FAIL
Two monitors attached – FAIL

Same outcomes for user and root.

Thanks

Hi
When you say fail, just don’t work or does the program fail in some
way? I’m guessing the evdi module is loaded?


lsmod|grep evdi

If it’s not then as root user;


modprobe evdi

And test again.


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.20-11-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Just contributing to the subject… I was successful in installing the driver found in https://github.com/sinfomicien/displaylink-evdi-opensuse/issues/4 inTumbleweed with kernel 4.9.0-2 and I tried configuring my desktop to a decent configuration. It seems that I can get a decent performance only when I extend the 2 monitors. If I try to use only the external one and bypass completely my laptop’s monitor I get a very sluggish performance (as if the refresh rate is very low). Any ideas?

How are you driving the external display (i.e. what are you using as a rendering source)?

What steps did you take to configure your setup?