MindShow / USBDisplay

132 stars 49 forks source link

Never mirrors OR extends the iMac Display #15

Closed luni-moon closed 2 years ago

luni-moon commented 2 years ago

So I am running macOS 10.15.7, AND bought an HDMI dongle AND an HDMI to USB A cable, to extend, preferably my iMac display to my old touchscreen Windows Vista (now it runs Windows 7 Home Premium) running Dell PC from 2008-ish, and once I finally got the command to somewhat work (I had to even first go digging in my system files for about 3 hours to find the command prompt... It would be really nice if there was a macOS app or status bar icon or both), it never displayed on my Windows Dell. I have enabled screen recording in macOS, like other issues outcomes were said to be, but still to no avail. I think the problem is that it won't open or download DisplayX, and related software, as it says it cannot open DisplayX. It would be really nice if the driver actually worked, and did what it was said to be, which is extending the display. But nope, for some reason, that feature got removed, and now I cannot use this the way I intended. I have even tried different versions of this programme. I have a feeling this is a duplicate of another repository, that does not give any credit to the original authors, only because the software does not work, and from reading other issues, it does not do what it is said to do, even when it works. I am very disappointed with this software. Anyways, here is my terminal output from my most recent run (and no, I have only saved this one):

(base) LNBFilms@jakes-imac bin % ./screen_capture_msdisplay
[11/27/21 20:31:08.236] [thread 1225241] [info] MSDisplay V1.0.2.0 (Sep 26 2020 15:25:09)
[11/27/21 20:31:08.236] [thread 1225241] [info] debug: argc=1
[11/27/21 20:31:08.236] [thread 1225241] [info] argv[0]=./screen_capture_msdisplay
[11/27/21 20:31:08.236] [thread 1225241] [info] Parameters - run_mode=2, res_bpp=3
IORegisterForSystemPower
[11/27/21 20:31:08.236] [thread 1225241] [info] waiting...
Device attached: 534d:6021
Using libusb v1.0.22.11347

Opening device 534D:6021...

Reading device descriptor:
            length: 18
      device class: 239
               S/N: 3
           VID:PID: 534D:6021
         bcdDevice: 0110
   iMan:iProd:iSer: 1:2:3
          nb confs: 1

Reading first configuration descriptor:
             nb interfaces: 4
              interface[0]: id = 0
interface[0].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: 03.00.00
       endpoint[0].address: 81
           max packet size: 0004
          polling interval: 10
              interface[1]: id = 1
interface[1].altsetting[0]: num endpoints = 0
   Class.SubClass.Protocol: 01.01.00
              interface[2]: id = 2
interface[2].altsetting[0]: num endpoints = 0
   Class.SubClass.Protocol: 01.02.00
interface[2].altsetting[1]: num endpoints = 1
   Class.SubClass.Protocol: 01.02.00
       endpoint[0].address: 03
           max packet size: 0200
          polling interval: 04
              interface[3]: id = 3
interface[3].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: FF.00.00
       endpoint[0].address: 04
           max packet size: 0200
          polling interval: 00

Claiming interface 0...
   Failed.

Claiming interface 3...
nb_ifaces = 4
[11/27/21 20:31:09.241] [thread 1225241] [info] xusb_main ret = 4
bool ts::DisplayXFBInterface::open():no virtual display service running
[11/27/21 20:31:09.241] [thread 1225241] [info] [displayx] Unable to open the display interface - possible driver installation problem?

[usb] set_power_on power_on_enable = 1,value = 0
[11/27/21 20:31:10.243] [thread 1225241] [info] Video Port = 5
[usb] set_transfer_mode_manual_block: mode=3
[11/27/21 20:31:10.243] [thread 1225241] [info] Running display capturing
[11/27/21 20:31:10.243] [thread 1225241] [info] !!!createframegrabber!!!
[11/27/21 20:31:10.243] [thread 1225241] [info] Start t1 !!!!!
[11/27/21 20:31:10.526] [thread 1225267] [info] Library is requesting the list of monitors to capture!
[11/27/21 20:31:10.526] [thread 1225267] [info] Id=69992768 Index=0 Height=1440 Width=2560 OffsetX=0 OffsetY=0 Name=Monitor 1552 Scaling=1 OrigHeight=1440 OrigWidth=2560 OrigX=0 OrigY=0 Adapter=2147483647
[11/27/21 20:31:10.526] [thread 1225267] [info] Clone Mode
[11/27/21 20:31:10.526] [thread 1225267] [info] mon_x = 0, mon_y = 0, mon_w = 2560, mon_h = 1440, scale = 1.000000
[usb] set_video_on video_on_enable = 0,value = 0
[usb] set_video_in: width=1920, height=1080, color=0x22, colSel=0x0
[usb] set_video_out: timing_index=129, color=0x0, width=1920, height=1080
[11/27/21 20:31:10.546] [thread 1225267] [info] res_w = 1920, res_h = 1080, res_idx = 129, res_bpp = 2
[usb] set_video_on video_on_enable = 1,value = 0
[11/27/21 20:31:10.646] [thread 1225267] [info] Not support this video mode!!!
[11/27/21 20:31:10.668] [thread 1225268] [info] Send the black background - Start
[11/27/21 20:31:10.795] [thread 1225268] [info] *** ms2160_bulk_transfer - end.  ret = 0, size = 4147216
[11/27/21 20:31:10.922] [thread 1225268] [info] *** ms2160_bulk_transfer - end.  ret = 0, size = 4147216
[11/27/21 20:31:10.922] [thread 1225268] [info] Send the black background - End
[11/27/21 20:31:10.995] [thread 1225268] [info] fps = 0
[11/27/21 20:31:12.003] [thread 1225268] [info] fps = 46
[11/27/21 20:31:13.021] [thread 1225268] [info] fps = 46
[11/27/21 20:31:14.033] [thread 1225268] [info] fps = 46
[11/27/21 20:31:15.051] [thread 1225268] [info] fps = 45
[11/27/21 20:31:16.068] [thread 1225268] [info] fps = 44
[11/27/21 20:31:17.078] [thread 1225268] [info] fps = 45
[11/27/21 20:31:18.079] [thread 1225268] [info] fps = 44
[11/27/21 20:31:19.092] [thread 1225268] [info] fps = 45
[11/27/21 20:31:20.161] [thread 1225268] [info] fps = 47
[11/27/21 20:31:21.166] [thread 1225268] [info] fps = 45
[11/27/21 20:31:22.169] [thread 1225268] [info] fps = 45
[11/27/21 20:31:23.178] [thread 1225268] [info] fps = 46
[11/27/21 20:31:24.202] [thread 1225268] [info] fps = 46
[11/27/21 20:31:25.214] [thread 1225268] [info] fps = 45
[11/27/21 20:31:26.229] [thread 1225268] [info] fps = 45
[11/27/21 20:31:27.233] [thread 1225268] [info] fps = 45
[11/27/21 20:31:28.246] [thread 1225268] [info] fps = 46
^C[11/27/21 20:31:28.703] [thread 1225241] [info] !!!Crash handler!!!
[11/27/21 20:31:28.703] [thread 1225241] [info] [displayx] exit: framebuffer interface not open

EDIT: The fps stuff at the end, reverted to the programme crashing over and over, to try and find a device (which the iMac is already plugged in to), without ever succeeding. So, after restarting my iMac for the 7th time, it lost the progress I have made to get this crappy programme to work. It now displays the following:

(base) LNBFilms@jakes-imac bin % ./screen_capture_msdisplay
[11/28/21 16:27:30.170] [thread 380784] [info] MSDisplay V1.0.1.0 (Mar  9 2020 10:05:32)
[11/28/21 16:27:30.171] [thread 380784] [info] debug: argc=1
[11/28/21 16:27:30.171] [thread 380784] [info] argv[0]=./screen_capture_msdisplay
[11/28/21 16:27:30.171] [thread 380784] [info] Parameters - run_mode=2, res_bpp=3
IORegisterForSystemPower
[11/28/21 16:27:30.171] [thread 380784] [info] waiting...
Device attached: 534d:6021
Using libusb v1.0.22.11347

Opening device 534D:6021...

Reading device descriptor:
            length: 18
      device class: 239
               S/N: 3
           VID:PID: 534D:6021
         bcdDevice: 0110
   iMan:iProd:iSer: 1:2:3
          nb confs: 1

Reading first configuration descriptor:
             nb interfaces: 4
              interface[0]: id = 0
interface[0].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: 03.00.00
       endpoint[0].address: 81
           max packet size: 0004
          polling interval: 10
              interface[1]: id = 1
interface[1].altsetting[0]: num endpoints = 0
   Class.SubClass.Protocol: 01.01.00
              interface[2]: id = 2
interface[2].altsetting[0]: num endpoints = 0
   Class.SubClass.Protocol: 01.02.00
interface[2].altsetting[1]: num endpoints = 1
   Class.SubClass.Protocol: 01.02.00
       endpoint[0].address: 03
           max packet size: 0200
          polling interval: 04
              interface[3]: id = 3
interface[3].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: FF.00.00
       endpoint[0].address: 04
           max packet size: 0200
          polling interval: 00

Claiming interface 0...
   Failed.

Claiming interface 3...
   Failed.
nb_ifaces = 4
[11/28/21 16:27:31.173] [thread 380784] [info] xusb_main ret = 4
bool ts::DisplayXFBInterface::open():no virtual display service running
[11/28/21 16:27:31.173] [thread 380784] [info] [displayx] Unable to open the display interface - possible driver installation problem?

[usb] set_power_on power_on_enable = 1,value = 0
[11/28/21 16:27:32.177] [thread 380784] [info] Video Port = 5
[usb] set_transfer_mode_manual_block: mode=3
[11/28/21 16:27:32.177] [thread 380784] [info] Running display capturing
[11/28/21 16:27:32.177] [thread 380784] [info] !!!createframegrabber!!!
[11/28/21 16:27:32.177] [thread 380784] [info] Start t1 !!!!!
[11/28/21 16:27:32.290] [thread 380794] [info] Library is requesting the list of monitors to capture!
[11/28/21 16:27:32.291] [thread 380794] [info] Id=69992768 Index=0 Height=1440 Width=2560 OffsetX=0 OffsetY=0 Name=Monitor 1552 Scaling=1 OrigHeight=1440 OrigWidth=2560 OrigX=0 OrigY=0 Adapter=2147483647
[11/28/21 16:27:32.291] [thread 380794] [info] Clone Mode
[11/28/21 16:27:32.291] [thread 380794] [info] mon_x = 0, mon_y = 0, mon_w = 2560, mon_h = 1440, scale = 1.000000
[usb] set_video_on video_on_enable = 0,value = 0
[usb] set_video_in: width=1920, height=1080, color=0x22, colSel=0x0
[usb] set_video_out: timing_index=129, color=0x0, width=1920, height=1080
[11/28/21 16:27:32.310] [thread 380794] [info] res_w = 1920, res_h = 1080, res_idx = 129, res_bpp = 2
[usb] set_video_on video_on_enable = 1,value = 0
[11/28/21 16:27:32.412] [thread 380794] [info] Not support this video mode!!!
[11/28/21 16:27:32.438] [thread 380795] [info] Send the black background - Start
[11/28/21 16:27:32.438] [thread 380795] [info] *** ms2160_bulk_transfer - end.  ret = -5, size = 4147216
[11/28/21 16:27:32.438] [thread 380795] [info] *** ms2160_bulk_transfer - end.  ret = -5, size = 4147216
[11/28/21 16:27:32.438] [thread 380795] [info] Send the black background - End
[11/28/21 16:27:50.074] [thread 380795] [info] fps = 0
[11/28/21 16:27:50.074] [thread 380795] [warning] USB transfer error: -5 !!!
[11/28/21 16:27:50.097] [thread 380795] [warning] USB transfer error: -5 !!!
[11/28/21 16:27:50.120] [thread 380795] [warning] USB transfer error: -5 !!!
[11/28/21 16:27:50.141] [thread 380795] [warning] USB transfer error: -5 !!!
[11/28/21 16:27:50.163] [thread 380795] [warning] USB transfer error: -5 !!!
[11/28/21 16:27:50.182] [thread 380795] [warning] USB transfer error: -5 !!!
[11/28/21 16:27:50.182] [thread 380795] [error] USB transfer FAILED!!!
[usb] set_power_on power_on_enable = 0,value = 0
[11/28/21 16:27:50.182] [thread 380784] [info] Start t1 end !!!!!
[11/28/21 16:27:50.182] [thread 380784] [info] Destroy
Releasing interface 3...
Closing device...
[11/28/21 16:27:50.213] [thread 380784] [info] [displayx] exit: framebuffer interface not open

Using libusb v1.0.22.11347

Opening device 534D:6021...

Reading device descriptor:
            length: 18
      device class: 239
               S/N: 3
           VID:PID: 534D:6021
         bcdDevice: 0110
   iMan:iProd:iSer: 1:2:3
          nb confs: 1

Reading first configuration descriptor:
             nb interfaces: 4
              interface[0]: id = 0
interface[0].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: 03.00.00
       endpoint[0].address: 81
           max packet size: 0004
          polling interval: 10
              interface[1]: id = 1
interface[1].altsetting[0]: num endpoints = 0
   Class.SubClass.Protocol: 01.01.00
              interface[2]: id = 2
interface[2].altsetting[0]: num endpoints = 0
   Class.SubClass.Protocol: 01.02.00
interface[2].altsetting[1]: num endpoints = 1
   Class.SubClass.Protocol: 01.02.00
       endpoint[0].address: 03
           max packet size: 0200
          polling interval: 04
              interface[3]: id = 3
interface[3].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: FF.00.00
       endpoint[0].address: 04
           max packet size: 0200
          polling interval: 00

Claiming interface 0...
   Failed.

Claiming interface 3...
   Failed.
nb_ifaces = 4
[11/28/21 16:27:50.214] [thread 380784] [info] xusb_main ret = 4
[usb] set_power_on power_on_enable = 1,value = 0
[11/28/21 16:27:51.220] [thread 380784] [info] Video Port = 5
[usb] set_transfer_mode_manual_block: mode=3
[11/28/21 16:27:51.220] [thread 380784] [info] Running display capturing
[11/28/21 16:27:51.220] [thread 380784] [info] !!!createframegrabber!!!
[11/28/21 16:27:51.220] [thread 380784] [info] Start t1 !!!!!
[11/28/21 16:27:51.220] [thread 380927] [info] Library is requesting the list of monitors to capture!
[11/28/21 16:27:51.221] [thread 380927] [info] Id=69992768 Index=0 Height=1440 Width=2560 OffsetX=0 OffsetY=0 Name=Monitor 1552 Scaling=1 OrigHeight=1440 OrigWidth=2560 OrigX=0 OrigY=0 Adapter=2147483647
[11/28/21 16:27:51.221] [thread 380927] [info] Clone Mode
[11/28/21 16:27:51.221] [thread 380927] [info] mon_x = 0, mon_y = 0, mon_w = 2560, mon_h = 1440, scale = 1.000000
[usb] set_video_on video_on_enable = 0,value = 0
[usb] set_video_in: width=1920, height=1080, color=0x22, colSel=0x0
[usb] set_video_out: timing_index=129, color=0x0, width=1920, height=1080
[11/28/21 16:27:51.240] [thread 380927] [info] res_w = 1920, res_h = 1080, res_idx = 129, res_bpp = 2
[usb] set_video_on video_on_enable = 1,value = 0
[11/28/21 16:27:51.343] [thread 380927] [info] Not support this video mode!!!
[11/28/21 16:27:51.349] [thread 380928] [info] Send the black background - Start
[11/28/21 16:27:51.350] [thread 380928] [info] *** ms2160_bulk_transfer - end.  ret = -5, size = 4147216
[11/28/21 16:27:51.350] [thread 380928] [info] *** ms2160_bulk_transfer - end.  ret = -5, size = 4147216
[11/28/21 16:27:51.350] [thread 380928] [info] Send the black background - End
[11/28/21 16:27:51.350] [thread 380928] [info] fps = 6
[11/28/21 16:27:51.350] [thread 380928] [warning] USB transfer error: -5 !!!
[11/28/21 16:27:51.366] [thread 380928] [warning] USB transfer error: -5 !!!
[11/28/21 16:27:51.388] [thread 380928] [warning] USB transfer error: -5 !!!
[11/28/21 16:27:51.410] [thread 380928] [warning] USB transfer error: -5 !!!
[11/28/21 16:27:51.432] [thread 380928] [warning] USB transfer error: -5 !!!
[11/28/21 16:27:51.452] [thread 380928] [warning] USB transfer error: -5 !!!
[11/28/21 16:27:51.452] [thread 380928] [error] USB transfer FAILED!!!
[usb] set_power_on power_on_enable = 0,value = 0
[11/28/21 16:27:51.453] [thread 380784] [info] Start t1 end !!!!!
[11/28/21 16:27:51.453] [thread 380784] [info] Destroy
Releasing interface 3...
Closing device...
[11/28/21 16:27:51.516] [thread 380784] [info] [displayx] exit: framebuffer interface not open

Using libusb v1.0.22.11347

Opening device 534D:6021...

Reading device descriptor:
            length: 18
      device class: 239
               S/N: 3
           VID:PID: 534D:6021
         bcdDevice: 0110
   iMan:iProd:iSer: 1:2:3
          nb confs: 1

Reading first configuration descriptor:
             nb interfaces: 4
              interface[0]: id = 0
interface[0].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: 03.00.00
       endpoint[0].address: 81
           max packet size: 0004
          polling interval: 10
              interface[1]: id = 1
interface[1].altsetting[0]: num endpoints = 0
   Class.SubClass.Protocol: 01.01.00
              interface[2]: id = 2
interface[2].altsetting[0]: num endpoints = 0
   Class.SubClass.Protocol: 01.02.00
interface[2].altsetting[1]: num endpoints = 1
   Class.SubClass.Protocol: 01.02.00
       endpoint[0].address: 03
           max packet size: 0200
          polling interval: 04
              interface[3]: id = 3
interface[3].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: FF.00.00
       endpoint[0].address: 04
           max packet size: 0200
          polling interval: 00

Claiming interface 0...
   Failed.

Claiming interface 3...
   Failed.
nb_ifaces = 4
[11/28/21 16:27:51.517] [thread 380784] [info] xusb_main ret = 4
[usb] set_power_on power_on_enable = 1,value = 0
[11/28/21 16:27:52.521] [thread 380784] [info] Video Port = 5
[usb] set_transfer_mode_manual_block: mode=3
[11/28/21 16:27:52.521] [thread 380784] [info] Running display capturing
[11/28/21 16:27:52.521] [thread 380784] [info] !!!createframegrabber!!!
[11/28/21 16:27:52.521] [thread 380784] [info] Start t1 !!!!!
[11/28/21 16:27:52.522] [thread 380935] [info] Library is requesting the list of monitors to capture!
[11/28/21 16:27:52.522] [thread 380935] [info] Id=69992768 Index=0 Height=1440 Width=2560 OffsetX=0 OffsetY=0 Name=Monitor 1552 Scaling=1 OrigHeight=1440 OrigWidth=2560 OrigX=0 OrigY=0 Adapter=2147483647
[11/28/21 16:27:52.522] [thread 380935] [info] Clone Mode
[11/28/21 16:27:52.522] [thread 380935] [info] mon_x = 0, mon_y = 0, mon_w = 2560, mon_h = 1440, scale = 1.000000
[usb] set_video_on video_on_enable = 0,value = 0
[usb] set_video_in: width=1920, height=1080, color=0x22, colSel=0x0
[usb] set_video_out: timing_index=129, color=0x0, width=1920, height=1080
[11/28/21 16:27:52.541] [thread 380935] [info] res_w = 1920, res_h = 1080, res_idx = 129, res_bpp = 2
[usb] set_video_on video_on_enable = 1,value = 0
[11/28/21 16:27:52.644] [thread 380935] [info] Not support this video mode!!!
[11/28/21 16:27:52.652] [thread 380936] [info] Send the black background - Start
[11/28/21 16:27:52.652] [thread 380936] [info] *** ms2160_bulk_transfer - end.  ret = -5, size = 4147216
[11/28/21 16:27:52.652] [thread 380936] [info] *** ms2160_bulk_transfer - end.  ret = -5, size = 4147216
[11/28/21 16:27:52.652] [thread 380936] [info] Send the black background - End
[11/28/21 16:27:52.655] [thread 380936] [info] fps = 6
[11/28/21 16:27:52.655] [thread 380936] [warning] USB transfer error: -5 !!!
[11/28/21 16:27:52.667] [thread 380936] [warning] USB transfer error: -5 !!!
[11/28/21 16:27:52.689] [thread 380936] [warning] USB transfer error: -5 !!!
[11/28/21 16:27:52.712] [thread 380936] [warning] USB transfer error: -5 !!!
[11/28/21 16:27:52.733] [thread 380936] [warning] USB transfer error: -5 !!!
[11/28/21 16:27:52.755] [thread 380936] [warning] USB transfer error: -5 !!!
[11/28/21 16:27:52.755] [thread 380936] [error] USB transfer FAILED!!!
[usb] set_power_on power_on_enable = 0,value = 0
[11/28/21 16:27:52.755] [thread 380784] [info] Start t1 end !!!!!
[11/28/21 16:27:52.755] [thread 380784] [info] Destroy
Releasing interface 3...
Closing device...
[11/28/21 16:27:52.809] [thread 380784] [info] [displayx] exit: framebuffer interface not open

Using libusb v1.0.22.11347

Opening device 534D:6021...

Reading device descriptor:
            length: 18
      device class: 239
               S/N: 3
           VID:PID: 534D:6021
         bcdDevice: 0110
   iMan:iProd:iSer: 1:2:3
          nb confs: 1

Reading first configuration descriptor:
             nb interfaces: 4
              interface[0]: id = 0
interface[0].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: 03.00.00
       endpoint[0].address: 81
           max packet size: 0004
          polling interval: 10
              interface[1]: id = 1
interface[1].altsetting[0]: num endpoints = 0
   Class.SubClass.Protocol: 01.01.00
              interface[2]: id = 2
interface[2].altsetting[0]: num endpoints = 0
   Class.SubClass.Protocol: 01.02.00
interface[2].altsetting[1]: num endpoints = 1
   Class.SubClass.Protocol: 01.02.00
       endpoint[0].address: 03
           max packet size: 0200
          polling interval: 04
              interface[3]: id = 3
interface[3].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: FF.00.00
       endpoint[0].address: 04
           max packet size: 0200
          polling interval: 00

Claiming interface 0...
   Failed.

Claiming interface 3...
   Failed.
nb_ifaces = 4
[11/28/21 16:27:52.810] [thread 380784] [info] xusb_main ret = 4
[usb] set_power_on power_on_enable = 1,value = 0
^C[11/28/21 16:27:53.778] [thread 380784] [info] !!!Crash handler!!!
[11/28/21 16:27:53.778] [thread 380784] [info] [displayx] exit: framebuffer interface not open
luni-moon commented 2 years ago

Nice, this repo is also dead. What a scam!

luni-moon commented 2 years ago

I have concluded that this software is not workable. Anybody have any good software alternatives?

Kwamena-S commented 2 years ago

https://github.com/MindShow/USBDisplay/issues/8#issuecomment-938534399

luni-moon commented 2 years ago

#8 (comment)

What does this have to do with my issue??? Mine never even worked...

MindShow commented 2 years ago

It is rebuliding with a new frame,

luni-moon commented 2 years ago

It is rebuliding with a new frame,

Did you even read my whole issue, @MindShow? Your reply didn't answer my concerns, or help me in the least bit. How could it be rebuilding, when it never even launches?

MindShow commented 2 years ago

sorry for my poor English. I mean we are woking on new version driver with another framework.

luni-moon commented 2 years ago

sorry for my poor English.

I mean we are woking on new version driver with another framework.

Will it work with the physical USB to HDMI dongle I have now?

luni-moon commented 2 years ago

Well, I no longer need this to work, since I got something else. Waste of money!!!

viniciusbenicio commented 2 years ago

@Lukas-Batema What alternative?

luni-moon commented 2 years ago

@Lukas-Batema What alternative?

Just bought a new monitor and got a thunderbolt to hdmi cable.

jcodesss commented 2 years ago

@MindShow when is the driver will available for mac os?