Go Back   DisplayLink Forum > DisplayLink Graphics Technology > Linux and Open Source

Reply
 
Thread Tools Search this Thread Display Modes
Old 11-08-2016, 03:29 PM   #1
jepster
Junior Member
 
Join Date: Oct 2016
Posts: 28
Default NVIDIA Proprietary Driver supports KMS now - can the DisplayLink driver support it?

Hi,

as you can read in the announcement at https://devtalk.nvidia.com/default/t...nd-eglstreams/, the DisplayLink driver could work with the driver from Nvidia - the proprietary driver. As I was reading the KMS issue in the forum.

As the announcement said, I was executing

Quote:
sudo modprobe -r nvidia-drm
sudo modprobe nvidia-drm modeset=1
on Ubuntu 16.10. But with no success after restart. Has anyone succeed? I was reading that some guys got the displays somehow working with the proprietary driver and the docking station.

Please share your findings. I would like to use the "official" driver from Nvidia and not the "tinkerer" version.

Last edited by jepster; 11-09-2016 at 09:26 AM.
jepster is offline   Reply With Quote
Old 11-17-2016, 08:36 PM   #2
luiset83
Member
 
Join Date: Feb 2012
Posts: 48
Default

Quote:
Originally Posted by jepster View Post
with no success after restart.
Have not tried myself yet, but presumably adding the commands to your kernel options would work. something like... nvidia-drm.modeset=1

For ubuntu, I believe edit /etc/default/grub and add the parameter there and then: sudo update-grub
luiset83 is offline   Reply With Quote
Old 11-21-2016, 08:43 AM   #3
jepster
Junior Member
 
Join Date: Oct 2016
Posts: 28
Default

I have set the

Quote:
nvidia-drm modeset=1
option in the

Quote:
/etc/default/grub
file. This is the content of the grub-file:

Code:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.modset=1 log_buf_len=1M nvidia-drm.modeset=1"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
The

Quote:
sudo update-grub
command has been also executed.

However, the external screens are not found via the Dell USB Dock 3.0 D3100 after a restart of the system.
jepster is offline   Reply With Quote
Old 11-21-2016, 10:12 AM   #4
mlukaszek
Senior Member
 
mlukaszek's Avatar
 
Join Date: Feb 2010
Posts: 386
Default

What's the output of
Code:
xrandr --listproviders
What happens if you use
Code:
xrandr --setprovideroutputsource 1 0
?

Cheers,
Michal
mlukaszek is offline   Reply With Quote
Old 11-22-2016, 08:06 AM   #5
jepster
Junior Member
 
Join Date: Oct 2016
Posts: 28
Default

Quote:
peter@computer:~$ xrandr --listproviders
Providers: number : 3
Provider 0: id: 0x206 cap: 0x1, Source Output crtcs: 4 outputs: 2 associated providers: 1 name:NVIDIA-0
Provider 1: id: 0x46 cap: 0x2, Sink Output crtcs: 3 outputs: 4 associated providers: 1 name:modesetting
Provider 2: id: 0x46 cap: 0x2, Sink Output crtcs: 3 outputs: 4 associated providers: 1 name:modesetting
peter@computer:~$
Quote:
peter@computer:~$ xrandr --setprovideroutputsource 1 0
peter@computer:~$
After I insert this command, there is no signal sent to the 2 screens. There is only the laptop screen recognized in the display settings.
jepster is offline   Reply With Quote
Old 11-22-2016, 09:05 AM   #6
mlukaszek
Senior Member
 
mlukaszek's Avatar
 
Join Date: Feb 2010
Posts: 386
Default

Looks like there's yet another provider number 2. I guess 0 and 1 are for NVIDIA optimus setup, probably 2 will be evdi. So, try with 2 and 0.

Cheers,
Michal
mlukaszek is offline   Reply With Quote
Old 11-22-2016, 12:15 PM   #7
jepster
Junior Member
 
Join Date: Oct 2016
Posts: 28
Default

I have tried

Quote:
xrandr --setprovideroutputsource 2 0
There is still none of the displays recognized.
jepster is offline   Reply With Quote
Old 11-22-2016, 12:52 PM   #8
mlukaszek
Senior Member
 
mlukaszek's Avatar
 
Join Date: Feb 2010
Posts: 386
Default

What's the output of `xrandr` after doing the above? Do you see a DVI-*-* connector, if yes, does it look connected or not? Does `xrandr --auto` trigger any change?

Cheers,
Michal
mlukaszek is offline   Reply With Quote
Old 11-22-2016, 05:15 PM   #9
jepster
Junior Member
 
Join Date: Oct 2016
Posts: 28
Default

Quote:
What's the output of `xrandr` after doing the above?
This is the output:

Quote:
peter@computer:~$ xrandr --setprovideroutputsource 2 0
peter@computer:~$ xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected
eDP-1 connected primary 1920x1080+0+0 344mm x 194mm
1920x1080 60.02*+ 59.93 47.99
1680x1050 59.95 59.88
1600x1024 60.17
1400x1050 59.98
1280x1024 60.02
1440x900 59.89
1280x960 60.00
1360x768 59.80 59.96
1152x864 60.00
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
960x600 60.00
960x540 59.99
800x600 60.00 60.32 56.25
840x525 60.01 59.88
800x512 60.17
700x525 59.98
640x512 60.02
720x450 59.89
640x480 60.00 59.94
680x384 59.80 59.96
576x432 60.06
512x384 60.00
400x300 60.32 56.34
320x240 60.05
HDMI-1 disconnected
HDMI-2 disconnected
peter@computer:~$
Quote:
Do you see a DVI-*-* connector, if yes, does it look connected or not?
"xrandr" does not report any "DVI-" text.

Quote:
Does `xrandr --auto` trigger any change?
Unfortunately not.

Any further ideas? It would be a real improvement, if the "official" driver from Nvidia would be supported.
jepster is offline   Reply With Quote
Old 11-23-2016, 05:08 PM   #10
mlukaszek
Senior Member
 
mlukaszek's Avatar
 
Join Date: Feb 2010
Posts: 386
Default

I don't see any connector that would be related to evdi; so I'm curious what would it log from the machine boot, with verbose logging on. (try passing "initial_loglevel=6" via /etc/modprobe.d/evdi.conf)

Regards,
Michal

Last edited by mlukaszek; 11-25-2016 at 08:40 AM. Reason: Parameter name typo (after checking modinfo evdi)
mlukaszek is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:12 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.