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

Reply
 
Thread Tools Search this Thread Display Modes
Old 06-14-2016, 02:05 PM   #1
samjam
Junior Member
 
Join Date: May 2016
Posts: 22
Default plugable USB 3.0 UGA not working in Linux VM

I have a USB 3.0 UGA display adaptor. It works fine plugged into my android devices using HDMI or DVI adaptor; but does not work with LinuxMint 17.3 on an ESXi guest with the DVi adaptor.

When re-inserting (while in a text console and then switching back to graphics), dmesg shows:

Code:
Jun 14 13:53:32 HOSTNAME kernel: [  335.021322] usb 5-1.5: new high-speed USB device number 5 using ehci-pci
Jun 14 13:53:32 HOSTNAME kernel: [  335.115139] usb 5-1.5: New USB device found, idVendor=17e9, idProduct=4301
Jun 14 13:53:32 HOSTNAME kernel: [  335.115145] usb 5-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun 14 13:53:32 HOSTNAME kernel: [  335.115149] usb 5-1.5: Product: Plugable USB3-HDMI-DVI
Jun 14 13:53:32 HOSTNAME kernel: [  335.115152] usb 5-1.5: Manufacturer: DisplayLink
Jun 14 13:53:32 HOSTNAME kernel: [  335.115155] usb 5-1.5: SerialNumber: PLUG412120903041460172
Jun 14 13:53:32 HOSTNAME kernel: [  335.121012] usb 5-1.5: Warning! Unlikely big volume range (=511), cval->res is probably wrong.
Jun 14 13:53:32 HOSTNAME kernel: [  335.121018] usb 5-1.5: [14] FU [Digital In Playback Volume] ch = 6, val = -8176/0/16
Jun 14 13:53:32 HOSTNAME mtp-probe: checking bus 5, device 5: "/sys/devices/pci0000:00/0000:00:17.0/0000:13:00.0/usb5/5-1/5-1.5"
Jun 14 13:53:32 HOSTNAME mtp-probe: bus: 5, device: 5 was not an MTP device
Jun 14 13:53:32 HOSTNAME pulseaudio[12917]: [pulseaudio] alsa-util.c: Disabling timer-based scheduling because running inside a VM.
Jun 14 13:53:32 HOSTNAME pulseaudio[12917]: [pulseaudio] sink.c: Default and alternate sample rates are the same.
Jun 14 13:53:32 HOSTNAME rtkit-daemon[12921]: Successfully made thread 13974 of process 12917 (n/a) owned by '1000' RT at priority 5.
Jun 14 13:53:32 HOSTNAME rtkit-daemon[12921]: Supervising 2 threads of 1 processes of 1 users.
Jun 14 13:53:32 HOSTNAME kernel: [  335.400515] evdi: [D] evdi_painter_connect:433 (dev=-1) Connected with           (null)
Jun 14 13:53:32 HOSTNAME kernel: [  335.400524] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
Jun 14 13:53:32 HOSTNAME kernel: [  335.402454] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
Jun 14 13:54:45 HOSTNAME kernel: [  408.502672] evdi: [D] evdi_painter_crtc_state_notify:359 (dev=1) Notifying crtc state: 3
Jun 14 13:54:45 HOSTNAME kernel: [  408.502703] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
Jun 14 13:54:45 HOSTNAME kernel: [  408.502709] evdi: [D] evdi_painter_get_edid_copy:186 (dev=1) 00 ff ff
Jun 14 13:54:45 HOSTNAME kernel: [  408.528583] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
Jun 14 13:54:45 HOSTNAME kernel: [  408.528594] evdi: [D] evdi_painter_get_edid_copy:186 (dev=1) 00 ff ff
Jun 14 13:54:45 HOSTNAME kernel: [  408.529473] evdi: [D] evdi_detect:69 (dev=1) Painter is connected
Jun 14 13:54:45 HOSTNAME kernel: [  408.529480] evdi: [D] evdi_painter_get_edid_copy:186 (dev=1) 00 ff ff
xrandr does not detect a new device.
udlfb is blacklisted and not loaded, udl and evdi are loaded.

/dev/fb1 appears, some modeset's return without error but do not affect the display output which remains black screen, no signal.

e.g.

Code:
$ sudo fbset -fb /dev/fb1 -g 1024 768 1024 768 16
$
$ sudo fbset -fb /dev/fb1 -g 1920 1200 1920 1200 32
ioctl FBIOPUT_VSCREENINFO: Invalid argument
$ sudo fbset -fb /dev/fb1 -g 1920 1200 1920 1200 16
ioctl FBIOPUT_VSCREENINFO: Invalid argument
The whole X screen does blink/redraw if I remove/re-insert the USB, but xrandr never offers or detects it as a device.

I also notice that /dev/fb1 won't appear unless X has already started (or something like that) which is weird, meaning I can't use a fixed xorg.conf on /dev/fb1.

I notice this in the logs relating to X starting:
Code:
                 
[  199.134112] usb 5-1.8: new high-speed USB device number 4 using ehci-pci                         
[  199.227527] usb 5-1.8: New USB device found, idVendor=17e9, idProduct=4301                       
[  199.227533] usb 5-1.8: New USB device strings: Mfr=1, Product=2, SerialNumber=3                  
[  199.227536] usb 5-1.8: Product: Plugable USB3-HDMI-DVI                                           
[  199.227539] usb 5-1.8: Manufacturer: DisplayLink                                                 
[  199.227541] usb 5-1.8: SerialNumber: PLUG412120903041460172                                      
[  199.231897] usb 5-1.8: Warning! Unlikely big volume range (=511), cval->res is probably wrong.   
[  199.231902] usb 5-1.8: [14] FU [Digital In Playback Volume] ch = 6, val = -8176/0/16             
[  199.498676] evdi: [D] add_store:195 Increasing device count to 1                                 
[  199.499023] evdi: [D] evdi_crtc_init:304 drm_crtc_init: 0                                        
[  199.499189] evdi: [W] evdi_painter_crtc_state_notify:362 Painter does not exist!                 
[  199.499194] evdi: [D] evdi_detect:72 Painter is disconnected                                     
[  199.499200] evdi evdi.0: No connectors reported connected with modes                             
[  199.499203] [drm] Cannot find any crtc or sizes - going 1024x768                                 
[  199.500280] evdi evdi.0: fb1: evdidrmfb frame buffer device                                      
[  199.500283] evdi evdi.0: registered panic notifier                                               
[  199.514084] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).                          
[  199.514088] [drm] No driver support for vblank timestamp query.                                  
[  199.514090] [drm] evdi: evdi_stats_init                                                          
[  199.514097] [drm] Initialized evdi 1.1.61 20160510 on minor 1
It is plugged into a 1920x1200 DVI monitor but claims not to find any crtc or sizes.

Last edited by samjam; 06-14-2016 at 02:23 PM.
samjam is offline   Reply With Quote
Old 06-14-2016, 03:53 PM   #2
samjam
Junior Member
 
Join Date: May 2016
Posts: 22
Default

I tried using a fixed xorg.conf with /dev/fb1 as I use for my series-1 HP usb docking station, after I have managed to force /dev/fb1 to be created.

It seems to work underneath but nothing is shown on the monitor, just black screen.

It really seems like it doesn't detect the monitor or resolution.

However it works fine on 2 android devices on the same DVI monitor (Dell U2412M), and works fine on my Dell TV with HDMI

xorg.conf
Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/X11/misc"
	FontPath     "/usr/share/fonts/X11/cyrillic"
	FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/Type1"
	FontPath     "/usr/share/fonts/X11/100dpi"
	FontPath     "/usr/share/fonts/X11/75dpi"
	FontPath     "built-ins"
EndSection

Section "Module"
	Load  "glx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# [<bool>]
        #Option     "kmsdev"             	# <str>
        #Option     "ShadowFB"           	# [<bool>]
	Identifier  "Card1"
	#Driver      "modesetting"
	#BusID       "PCI:3:0:0"
	Driver	"fbdev"
	BusID	"USB"
	Option	"fbdev"	"/dev/fb1"
	Option	"ReportDamage"	"true"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card1"
	Monitor    "Monitor0"
	DefaultDepth	16
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
EndSection
samjam is offline   Reply With Quote
Old 06-14-2016, 03:58 PM   #3
samjam
Junior Member
 
Join Date: May 2016
Posts: 22
Default

relevant parts of X0rg.0.log are:

Code:
[   328.393] 
X.Org X Server 1.15.1
Release Date: 2014-04-13
[   328.393] X Protocol Version 11, Revision 0
[   328.393] Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
[   328.393] Current Operating System: Linux sojojojo 3.19.0-59-generic #66~14.04.1-Ubuntu SMP Fri May 13 17:27:10 UTC 2016 x86_64
[   328.393] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.19.0-59-generic root=UUID=25e636ac-092d-4710-b2b7-d5aac7ba96eb ro quiet splash
[   328.393] Build Date: 12 February 2015  02:49:29PM
[   328.393] xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support) 
[   328.393] Current version of pixman: 0.30.2
[   328.393] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   328.393] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   328.394] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jun 14 15:41:43 2016
[   328.394] (==) Using config file: "/etc/X11/xorg.conf"
[   328.394] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   328.394] (==) ServerLayout "X.org Configured"
[   328.394] (**) |-->Screen "Screen0" (0)
[   328.394] (**) |   |-->Monitor "Monitor0"
[   328.395] (**) |   |-->Device "Card1"
[   328.395] (**) |-->Input Device "Mouse0"
[   328.395] (**) |-->Input Device "Keyboard0"
[   328.395] (==) Automatically adding devices
[   328.395] (==) Automatically enabling devices
[   328.395] (==) Automatically adding GPU devices
[   328.395] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   328.395] 	Entry deleted from font path.
[   328.395] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[   328.395] 	Entry deleted from font path.
[   328.395] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[   328.395] 	Entry deleted from font path.
[   328.395] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[   328.395] 	Entry deleted from font path.
[   328.395] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[   328.395] 	Entry deleted from font path.
[   328.395] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   328.395] 	Entry deleted from font path.
[   328.395] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[   328.395] 	Entry deleted from font path.
[   328.395] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[   328.395] 	Entry deleted from font path.
[   328.395] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[   328.395] 	Entry deleted from font path.
[   328.395] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[   328.395] 	Entry deleted from font path.
[   328.395] (**) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/Type1,
	built-ins,
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/Type1,
	built-ins
[   328.395] (**) ModulePath set to "/usr/lib/xorg/modules"
[   328.395] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   328.395] (WW) Disabling Mouse0
[   328.395] (WW) Disabling Keyboard0
[   328.395] (II) Loader magic: 0x564ce722ad40
[   328.395] (II) Module ABI versions:
[   328.395] 	X.Org ANSI C Emulation: 0.4
[   328.395] 	X.Org Video Driver: 15.0
[   328.395] 	X.Org XInput driver : 20.0
[   328.395] 	X.Org Server Extension : 8.0
[   328.396] (II) xfree86: Adding drm device (/dev/dri/card0)
[   328.396] (II) xfree86: Adding drm device (/dev/dri/card1)
[   328.425] (--) PCI:*(0:0:15:0) 15ad:0405:15ad:0405 rev 0, Mem @ 0xec000000/67108864, 0xfe000000/8388608, I/O @ 0x00001070/16, BIOS @ 0x????????/32768
[   328.425] (--) PCI: (0:3:0:0) 102b:0534:1028:04fa rev 0, Mem @ 0xea000000/16777216, 0xfd4f8000/16384, 0xfc800000/8388608
[   328.425] Initializing built-in extension Generic Event Extension
[   328.425] Initializing built-in extension SHAPE
[   328.425] Initializing built-in extension MIT-SHM
[   328.425] Initializing built-in extension XInputExtension
[   328.425] Initializing built-in extension XTEST
[   328.425] Initializing built-in extension BIG-REQUESTS
[   328.425] Initializing built-in extension SYNC
[   328.425] Initializing built-in extension XKEYBOARD
[   328.425] Initializing built-in extension XC-MISC
[   328.425] Initializing built-in extension SECURITY
[   328.425] Initializing built-in extension XINERAMA
[   328.425] Initializing built-in extension XFIXES
[   328.425] Initializing built-in extension RENDER
[   328.425] Initializing built-in extension RANDR
[   328.425] Initializing built-in extension COMPOSITE
[   328.425] Initializing built-in extension DAMAGE
[   328.425] Initializing built-in extension MIT-SCREEN-SAVER
[   328.425] Initializing built-in extension DOUBLE-BUFFER
[   328.425] Initializing built-in extension RECORD
[   328.425] Initializing built-in extension DPMS
[   328.425] Initializing built-in extension Present
[   328.425] Initializing built-in extension DRI3
[   328.426] Initializing built-in extension X-Resource
[   328.426] Initializing built-in extension XVideo
[   328.426] Initializing built-in extension XVideo-MotionCompensation
[   328.426] Initializing built-in extension SELinux
[   328.426] Initializing built-in extension XFree86-VidModeExtension
[   328.426] Initializing built-in extension XFree86-DGA
[   328.426] Initializing built-in extension XFree86-DRI
[   328.426] Initializing built-in extension DRI2
[   328.426] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[   328.426] (WW) "xmir" is not to be loaded by default. Skipping.
[   328.426] (II) LoadModule: "glx"
[   328.426] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   328.427] (II) Module glx: vendor="X.Org Foundation"
[   328.427] 	compiled for 1.15.1, module version = 1.0.0
[   328.427] 	ABI class: X.Org Server Extension, version 8.0
[   328.427] (==) AIGLX enabled
[   328.428] Loading extension GLX
[   328.428] (II) LoadModule: "fbdev"
[   328.428] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[   328.428] (II) Module fbdev: vendor="X.Org Foundation"
[   328.428] 	compiled for 1.15.0, module version = 0.4.4
[   328.428] 	Module class: X.Org Video Driver
[   328.428] 	ABI class: X.Org Video Driver, version 15.0
[   328.428] (II) FBDEV: driver for framebuffer: fbdev
[   328.428] (++) using VT number 8

[   328.433] (WW) Falling back to old probe method for fbdev
[   328.433] (II) Loading sub module "fbdevhw"
[   328.433] (II) LoadModule: "fbdevhw"
[   328.433] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[   328.433] (II) Module fbdevhw: vendor="X.Org Foundation"
[   328.433] 	compiled for 1.15.1, module version = 0.0.2
[   328.433] 	ABI class: X.Org Video Driver, version 15.0
[   328.433] (II) FBDEV(0): using /dev/fb1
[   328.433] (**) FBDEV(0): Depth 16, (--) framebuffer bpp 16
[   328.433] (==) FBDEV(0): RGB weight 565
[   328.433] (==) FBDEV(0): Default visual is TrueColor
[   328.433] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[   328.433] (II) FBDEV(0): hardware: evdidrmfb (video memory: 3072kB)
[   328.434] (**) FBDEV(0): Option "fbdev" "/dev/fb1"
[   328.434] (II) FBDEV(0): checking modes against framebuffer device...
[   328.434] (II) FBDEV(0): checking modes against monitor...
[   328.434] (--) FBDEV(0): Virtual size is 1024x768 (pitch 1024)
[   328.434] (**) FBDEV(0):  Built-in mode "current"
[   328.434] (==) FBDEV(0): DPI set to (96, 96)
[   328.434] (II) Loading sub module "fb"
[   328.434] (II) LoadModule: "fb"
[   328.434] (II) Loading /usr/lib/xorg/modules/libfb.so
[   328.434] (II) Module fb: vendor="X.Org Foundation"
[   328.434] 	compiled for 1.15.1, module version = 1.0.0
[   328.434] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   328.434] (**) FBDEV(0): using shadow framebuffer
[   328.434] (II) Loading sub module "shadow"
[   328.434] (II) LoadModule: "shadow"
[   328.434] (II) Loading /usr/lib/xorg/modules/libshadow.so
[   328.435] (II) Module shadow: vendor="X.Org Foundation"
[   328.435] 	compiled for 1.15.1, module version = 1.1.0
[   328.435] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   328.436] (==) FBDEV(0): Backing store enabled
[   328.436] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[   328.436] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[   328.436] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[   328.436] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
...
[   328.436] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[   328.436] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[   328.436] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[   328.436] (==) FBDEV(0): DPMS enabled
[   328.436] (==) RandR enabled
[   328.436] (II) Found 2 VGA devices: arbiter wrapping enabled
[   328.445] (II) SELinux: Disabled on system
[   328.446] (II) AIGLX: Screen 0 is not DRI2 capable
[   328.446] (EE) AIGLX: reverting to software rendering
[   328.467] (II) AIGLX: Loaded and initialized swrast
[   328.467] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[   328.497] (II) XKB: reuse xkmfile /var/lib/xkb/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm
[   328.502] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[   328.502] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   328.502] (II) LoadModule: "evdev"
[   328.502] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
...
samjam is offline   Reply With Quote
Old 06-15-2016, 09:39 AM   #4
samjam
Junior Member
 
Join Date: May 2016
Posts: 22
Default

I installed from displaylink-driver-1.1.62.run

With kernel uname -ar:
Linux HOSTNAME 3.19.0-59-generic #66~14.04.1-Ubuntu SMP Fri May 13 17:27:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
samjam is offline   Reply With Quote
Old 08-23-2016, 11:22 AM   #5
asghaier
Junior Member
 
Join Date: Jan 2016
Posts: 5
Default Did this work for you?

Hi there,
Did this work for you?
asghaier 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 02:30 PM.


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