wayland/weston on displaylink?

Sander wayland at humilis.net
Mon Apr 30 12:23:11 PDT 2012


Hello All,

Would it be possible to run weston on a displaylink device?

I compiled a 3.4-rc5 kernel with:

x301:/usr/src/linux-3.4-rc5# grep DRM.*=y .config
CONFIG_DRM=y
CONFIG_DRM_USB=y
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_UDL=y

And get a text console on a Samsung Syncmaster 2243qw, connected to an
Openrd-client with Debian Sid/experimental.

Executing 'weston 2>weston.error' on that console gives a frozen screen
without clearing it (so all previous types text is there).

'weston.error' contains:
no drm device found
failed to create compositor


As far as I understand, a displaylink device would be the only possible
way to get weston running on an arm device, as arm gpu's are hardly
supported with opensourcesoftware, correct?

	Sander


root at usb:~# dpkg -l | egrep 'wayland|weston|mesa'
ii  libegl1-mesa:armel         8.0.2-1               free implementation of the EGL API -- runtime
ii  libegl1-mesa-drivers:armel 8.0.2-1               free implementation of the EGL API -- hardware drivers
ii  libglapi-mesa:armel        8.0.2-1               free implementation of the GL API -- shared library
ii  libgles2-mesa:armel        8.0.2-1               free implementation of the OpenGL|ES 2.x API -- runtime
ii  libopenvg1-mesa:armel      8.0.2-1               free implementation of the OpenVG API -- runtime
ii  libwayland0                0.85.0-1              wayland compositor infrastructure - shared libraries
ii  weston                     0.85.0-1              reference implementation of a wayland compositor



[   13.753569] usb 1-1.7.2: new high-speed USB device number 5 using orion-ehci
[   13.888682] usb 1-1.7.2: New USB device found, idVendor=17e9, idProduct=0102
[   13.895785] usb 1-1.7.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   13.903300] usb 1-1.7.2: Product: Samsung UbiSync Monitor
[   13.908744] usb 1-1.7.2: Manufacturer: DisplayLink
[   13.913564] usb 1-1.7.2: SerialNumber: 0102-HVNS40102800000
[   13.931790] [drm:udl_parse_vendor_descriptor] *ERROR* Unrecognized vendor firmware descriptor
[   14.105764] [drm:udl_submit_urb] *ERROR* usb_submit_urb error fffffffe
[   14.105782] [drm:udl_submit_urb] *ERROR* usb_submit_urb error fffffffe

... snip loads of these ...

[   14.323647] [drm:udl_submit_urb] *ERROR* usb_submit_urb error fffffffe
[   14.323684] [drm:udl_submit_urb] *ERROR* usb_submit_urb error fffffffe
[   15.270440] fb0: udldrmfb frame buffer device
[   15.278939] [drm] Initialized udl 0.0.1 20120220 on minor 0
[   15.284841] [drm:udl_submit_urb] *ERROR* usb_submit_urb error fffffffe
[   15.369062] usb 1-1.7.3: new low-speed USB device number 6 using orion-ehci
[   15.463449] [drm:udl_submit_urb] *ERROR* usb_submit_urb error fffffffe
[   15.491761] usb 1-1.7.3: New USB device found, idVendor=046d, idProduct=c025
[   15.498866] usb 1-1.7.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   15.506412] usb 1-1.7.3: Product: USB-PS/2 Optical Mouse
[   15.511748] usb 1-1.7.3: Manufacturer: B16_b_02
[   15.522135] input: B16_b_02 USB-PS/2 Optical Mouse as /devices/platform/orion-ehci.0/usb1/1-1/1-1.7/1-1.7.3/1-1.7.3:1.0/input/input0
[   15.535058] generic-usb 0003:046D:C025.0001: input,hidraw0: USB HID v1.10 Mouse [B16_b_02 USB-PS/2 Optical Mouse] on usb-orion-ehci.0-1.7.3/input0
[   15.643573] usb 1-1.7.4: new full-speed USB device number 7 using orion-ehci
[   15.665138] [drm:udl_submit_urb] *ERROR* usb_submit_urb error fffffffe
[   15.765190] usb 1-1.7.4: New USB device found, idVendor=04b3, idProduct=301a
[   15.772330] usb 1-1.7.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   15.779855] usb 1-1.7.4: Product: USB 1.1 2port downstream low power hub
[   15.786609] usb 1-1.7.4: Manufacturer: Lite-On Technology
[   15.796241] hub 1-1.7.4:1.0: USB hub found
[   15.863443] [drm:udl_submit_urb] *ERROR* usb_submit_urb error fffffffe
[   16.063466] [drm:udl_submit_urb] *ERROR* usb_submit_urb error fffffffe
[   16.083707] usb 1-1.7.4.1: new full-speed USB device number 8 using orion-ehci
[   16.197565] usb 1-1.7.4.1: New USB device found, idVendor=04b3, idProduct=301b
[   16.204859] usb 1-1.7.4.1: New USB device strings: Mfr=1, Product=3, SerialNumber=0
[   16.212552] usb 1-1.7.4.1: Product: USB Productivity Option Keyboard( has the hub in # 1 )
[   16.220875] usb 1-1.7.4.1: Manufacturer: Lite-On Technology
[   16.230291] input: Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ) as /devices/platform/orion-ehci.0/usb1/1-1/1-1.7/1-1.7.4/1-1.7.4.1/1-1.7.4.1:1.0/input/input1
[   16.253644] generic-usb 0003:04B3:301B.0002: input,hidraw1: USB HID v1.10 Keyboard [Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 )] on usb-orion-ehci.0-1.7.4.1/input0
[   16.271205] [drm:udl_submit_urb] *ERROR* usb_submit_urb error fffffffe
[   16.284575] input: Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ) as /devices/platform/orion-ehci.0/usb1/1-1/1-1.7/1-1.7.4/1-1.7.4.1/1-1.7.4.1:1.1/input/input2
[   16.301726] generic-usb 0003:04B3:301B.0003: input,hidraw2: USB HID v1.10 Device [Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 )] on usb-orion-ehci.0-1.7.4.1/input1
[   16.463671] [drm:udl_submit_urb] *ERROR* usb_submit_urb error fffffffe
[   16.663530] [drm:udl_submit_urb] *ERROR* usb_submit_urb error fffffffe

... snip some more ...

[   20.863458] [drm:udl_submit_urb] *ERROR* usb_submit_urb error fffffffe
[   21.063453] [drm:udl_submit_urb] *ERROR* usb_submit_urb error fffffffe
[   21.180430] udlfb: DisplayLink Samsung UbiSync Monitor - serial #0102-HVNS40102800000
[   21.188316] udlfb: vid_17e9&pid_0102&rev_0001 driver's dlfb_data struct at df23e000
[   21.196030] udlfb: console enable=1
[   21.199535] udlfb: fb_defio enable=1
[   21.203118] udlfb: shadow enable=1
[   21.208383] udlfb: vendor descriptor not available (-32)
[   21.214146] udlfb: allocated 4 65024 byte urbs
[   21.304242] udlfb: 1680x1050 @ 59 Hz valid mode
[   21.308799] udlfb: 720x400 @ 70 Hz valid mode
[   21.313174] udlfb: 640x480 @ 60 Hz valid mode
[   21.317562] udlfb: 640x480 @ 67 Hz valid mode
[   21.321938] udlfb: 640x480 @ 72 Hz valid mode
[   21.326349] udlfb: 640x480 @ 75 Hz valid mode
[   21.330720] udlfb: 800x600 @ 56 Hz valid mode
[   21.335105] udlfb: 800x600 @ 60 Hz valid mode
[   21.339483] udlfb: 800x600 @ 72 Hz valid mode
[   21.343869] udlfb: 800x600 @ 75 Hz valid mode
[   21.348247] udlfb: 832x624 @ 75 Hz valid mode
[   21.352624] udlfb: 1024x768 @ 60 Hz valid mode
[   21.357096] udlfb: 1024x768 @ 70 Hz valid mode
[   21.361562] udlfb: 1024x768 @ 75 Hz valid mode
[   21.366034] udlfb: 1280x1024 @ 75 Hz valid mode
[   21.370588] udlfb: 1152x864 @ 75 Hz valid mode
[   21.375096] udlfb: 1280x1024 @ 60 Hz valid mode
[   21.379648] udlfb: 1280x960 @ 60 Hz valid mode
[   21.384120] udlfb: 1152x864 @ 75 Hz valid mode
[   21.388585] udlfb: 1280x800 @ 60 Hz valid mode
[   21.393050] udlfb: 1280x800 @ 75 Hz valid mode
[   21.397523] udlfb: 1440x900 @ 60 Hz valid mode
[   21.401988] udlfb: 1440x900 @ 75 Hz valid mode
[   21.406462] udlfb: Reallocating framebuffer. Addresses will change!
[   21.419758] udlfb: 1680x1050 @ 59 Hz valid mode
[   21.424335] udlfb: set_par mode 1680x1050
[   21.472623] udlfb: open /dev/fb0 user=0 fb_info=df0e8c00 count=1
[   21.478927] udlfb: set_par mode 1680x1050
[   21.565854] udlfb: set_par mode 1680x1050
[   21.631706] udlfb: DisplayLink USB device /dev/fb0 attached. 1680x1050 resolution. Using 6896K framebuffer memory


More information about the wayland-devel mailing list