AdnanHodzic / displaylink-debian

DisplayLink driver installer for Debian and Ubuntu based Linux distributions.
https://foolcontrol.org/?p=1777
GNU General Public License v3.0
1.29k stars 229 forks source link

Kali Linux doesnt detect display #204

Closed jf6921668 closed 5 years ago

jf6921668 commented 5 years ago

I finally got it to install correctly but now my issue is i cant seem to get it to detect the display. There are no errors i can give you. Any help would be appreciated Thanks @AdnanHodzic

AdnanHodzic commented 5 years ago

Have you referred to Post Installation Guide?

jf6921668 commented 5 years ago

@AdnanHodzic I had kali kde installed i edited the script to support it which may be a problem as well as i had the uefi installation so ill have to make some adjustments then ill get back to you

AdnanHodzic commented 5 years ago

What kind of changes did you have to make to support KDE?

As it's suggested in referred to Post Installation Guide UEFI/secure boot should be disabled.

jf6921668 commented 5 years ago

It was detected as kali n/a so i changed 2018.4 in the script to n/a so it would let the script run.

AdnanHodzic commented 5 years ago

Ah, okay good to know. Feel free to create a pull request with changes you made, I'll be happy to review them and pull them to master.

jf6921668 commented 5 years ago

@AdnanHodzic Ok i will when i get home tonight. Ill also let you know if it works when i change uefi. I also love the idea of this project so i plan to help develope this script so others like myself can do this.

mjdisano commented 5 years ago

I had similar problem with install but also modified script to include 2019.1 of Kali. Installed worked fine, but still cannot get displays to work. Using a Dell D6000 displaylink device. output of debug: I]nstall [D]ebug [R]e-install [U]ninstall [Q]uit

Select a key: [i/d/r/u/q]: d


Starting Debug ...

Did you read Post Installation Guide? http://bit.ly/2TbZleK [y/N] y

Did you read Troubleshooting most common issues? http://bit.ly/2Rofd0x [y/N] y

--------------- Linux system info ----------------

Distro: Kali Release: 2019.1 Kernel: 4.19.0-kali1-amd64

---------------- DisplayLink info ----------------

Driver version: 4.4 EVDI service status: up and running EVDI service version:

------------------ Graphics card -----------------

Vendor: i915 Subsystem: 620 VGA: Intel Corporation UHD Graphics 620 (rev 07) X11 version: 1.20.3-1

-------------- DisplayLink xorg.conf -------------

File: /etc/X11/xorg.conf.d/20-displaylink.conf Contents: Section "OutputClass" Identifier "DisplayLink" MatchDriver "evdi" Driver "modesetting" Option "AccelMethod" "none" EndSection

-------------------- Monitors --------------------

Providers: number : 3 Provider 0: id: 0xa1 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 4 associated providers: 2 name:modesetting Provider 1: id: 0x7a cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting Provider 2: id: 0x41 cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting


Use this information when submitting an issue (http://bit.ly/2GLDlpY)

jf6921668 commented 5 years ago

@mjdisano Did you do a non uefi install Dont use kde try the default Other than that im at a loss

mjdisano commented 5 years ago

Legacy mode does not work, not using kde Interesting is when i list providers my man display on laptop does not show intel root@kali:~# xrandr --listproviders Providers: number : 3 Provider 0: id: 0xa1 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 4 associated providers: 0 name:modesetting Provider 1: id: 0x7a cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 0 name:modesetting Provider 2: id: 0x41 cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 0 name:modesetting

AdnanHodzic commented 5 years ago

@mjdisano what happens if you put following as contents of your /etc/X11/xorg.conf.d/20-displaylink.conf file:

Section "Device"
    Identifier  "DisplayLink"
    Driver      "modesetting"
    Option      "PageFlip" "false"
EndSection
lagordon70 commented 5 years ago

I had a very similar problem and nothing seemed to work on kubuntu 18.04.1. I solved it by trashing my etc/X11/xorg.conf and installing the nvidia-driver-390 package. Hope this helps someone.

AdnanHodzic commented 5 years ago

@lagordon70 displaylink-debian will remove/etc/X11/xorg.conf file in case NVIDIA card is detected. But from what I see here judging by debug info here graphic card in this case is Intel.

AdnanHodzic commented 5 years ago

As part of https://github.com/AdnanHodzic/displaylink-debian/commit/b57cea89cc2e97de071e417bdd39ddd374072dbd commit udl/udlf will be added to blacklist.conf automatically if >= 4.14.9 is detected.

I'm not sure if this will fix your problem, but I'd definitely advise you to pull the latest changes and perform reinstall and report back if there any changes.

AdnanHodzic commented 5 years ago

I'm closing this issue due to inactivity.

Feel free re-open the issue If you're still experiencing same problem after pulling latest updates and running reinstall.

ptspawn commented 5 years ago

Had a similar problem when installing in kali 2019.1 changed the script from 2018.4 to n/a to run the install but after the reboot, i had no more gui.

Had to uninstall. I'm running on a GeForce GTX 1050 Mobile and had to install hashcat-nivia over the nvidia driver to get the graphics card to work properly (otherwise it always freezes before shutting down). Always ran perfectly since.

debug file:


Starting Debug ...

--------------- Linux system info ----------------

Distro: Kali Release: n/a Kernel: 4.19.0-kali1-amd64

---------------- DisplayLink info ----------------

Driver version: 4.4 EVDI service status: up and running EVDI service version: 4.4.24

------------------ Graphics card -----------------

Vendor: i915 Subsystem: 630 VGA: Intel Corporation HD Graphics 630 (rev 04) VGA (3D): NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1) X11 version: 1.20.3-1 X11 configs: /etc/X11/xorg.conf.d/20-displaylink.conf

-------------- DisplayLink xorg.conf -------------

File: /etc/X11/xorg.conf.d/20-displaylink.conf Contents: Section "ServerLayout" Identifier "layout" Screen 0 "nvidia" Inactive "intel" EndSection

Section "Device" Identifier "intel" Driver "modesetting" Option "AccelMethod" "None" EndSection

Section "Screen" Identifier "intel" Device "intel" EndSection

Section "Device" Identifier "nvidia" Driver "nvidia" Option "ConstrainCursor" "off" EndSection

Section "Screen" Identifier "nvidia" Device "nvidia" Option "AllowEmptyInitialConfiguration" "on" Option "IgnoreDisplayDevices" "CRT" EndSection

-------------------- Monitors --------------------


Use this information when submitting an issue (http://bit.ly/2GLDlpY)


AdnanHodzic commented 5 years ago

@ptspawn thanks, that was a valuable information.

That's why as part of last commit (https://github.com/AdnanHodzic/displaylink-debian/commit/12cad8fed686ca16384adf79ff7faf8ec2a6bca0) I've added both Kali codename n\a and installation of hashcat-nvidia package if nvidia cards are detected.

rec1313 commented 3 years ago

Have you [referred to Post Installation Guide](https://github.com/AdnanHodzic/displaylink-debian/blob/master/post-install-gui Thank you so much i spent 4 days trying figure out what was the problem. after doing everything i stumbled on your post and i fixed issue with in seconds.

IhsanMowaket commented 3 years ago

hey you can try this tool: https://github.com/IhsanMowaket/Kali-Parrot_Dual_Monitor