Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Intel Graphics micro HDMI to VGA adapter not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
_dolan
n00b
n00b


Joined: 14 Mar 2018
Posts: 1

PostPosted: Wed Mar 14, 2018 2:32 pm    Post subject: Intel Graphics micro HDMI to VGA adapter not working Reply with quote

I have been struggling to get a micro HDMI to VGA adapter I recently bought working with my laptop. It is running gentoo kernel 4.12.12, with Intel HD Graphics 520 (Skylake). Everything works fine on my laptop's screen, but when I try to plug the micro HDMI adapter, connected to a monitor, into the micro HDMI port on my laptop, it doesn't get detected. What's weird is that if I put video=HDMI-A-1:D on the kernel command line, the output works perfectly fine, and I can manipulate it using xrandr, however with that enabled, xrandr always shows it as connected, even if the adapter is disconnected, which I don't want.
Output of xrandr --verbose
Code:

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
eDP-1 connected primary 1920x1080+0+0 (0x45) normal (normal left inverted right x axis y axis) 293mm x 165mm
   Identifier: 0x42
   Timestamp:  138027
   Subpixel:   unknown
   Gamma:      1.0:1.0:1.0
   Brightness: 1.0
   Clones:   
   CRTC:       0
   CRTCs:      0 1 2
   Transform:  1.000000 0.000000 0.000000
               0.000000 1.000000 0.000000
               0.000000 0.000000 1.000000
              filter:
   EDID:
      00ffffffffffff0006af2d2700000000
      10190104951d117802bc05a2554c9a25
      0e505400000001010101010101010101
      010101010101143780b8703824401010
      3e0025a5100000180000000000000000
      00000000000000000000000000fe0041
      554f0a202020202020202020000000fe
      004231333348414e30322e37200a0082
   scaling mode: Full aspect
      supported: None, Full, Center, Full aspect
   Broadcast RGB: Automatic
      supported: Automatic, Full, Limited 16:235
   audio: auto
      supported: force-dvi, off, auto, on
   link-status: Good
      supported: Good, Bad
  1920x1080 (0x45) 141.000MHz -HSync -VSync *current +preferred
        h: width  1920 start 1936 end 1952 total 2104 skew    0 clock  67.02KHz
        v: height 1080 start 1083 end 1097 total 1116           clock  60.05Hz
  1400x1050 (0x46) 122.000MHz +HSync +VSync
        h: width  1400 start 1488 end 1640 total 1880 skew    0 clock  64.89KHz
        v: height 1050 start 1052 end 1064 total 1082           clock  59.98Hz
  1280x1024 (0x47) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1280x960 (0x48) 108.000MHz +HSync +VSync
        h: width  1280 start 1376 end 1488 total 1800 skew    0 clock  60.00KHz
        v: height  960 start  961 end  964 total 1000           clock  60.00Hz
  1024x768 (0x49) 133.475MHz -HSync +VSync DoubleScan
        h: width  1024 start 1100 end 1212 total 1400 skew    0 clock  95.34KHz
        v: height  768 start  768 end  770 total  794           clock  60.04Hz
  1024x768 (0x4a) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  960x720 (0x4b) 117.000MHz -HSync +VSync DoubleScan
        h: width   960 start 1024 end 1128 total 1300 skew    0 clock  90.00KHz
        v: height  720 start  720 end  722 total  750           clock  60.00Hz
  928x696 (0x4c) 109.150MHz -HSync +VSync DoubleScan
        h: width   928 start  976 end 1088 total 1264 skew    0 clock  86.35KHz
        v: height  696 start  696 end  698 total  719           clock  60.05Hz
  896x672 (0x4d) 102.400MHz -HSync +VSync DoubleScan
        h: width   896 start  960 end 1060 total 1224 skew    0 clock  83.66KHz
        v: height  672 start  672 end  674 total  697           clock  60.01Hz
  800x600 (0x4e) 81.000MHz +HSync +VSync DoubleScan
        h: width   800 start  832 end  928 total 1080 skew    0 clock  75.00KHz
        v: height  600 start  600 end  602 total  625           clock  60.00Hz
  800x600 (0x4f) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x50) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  700x525 (0x51) 61.000MHz +HSync +VSync DoubleScan
        h: width   700 start  744 end  820 total  940 skew    0 clock  64.89KHz
        v: height  525 start  526 end  532 total  541           clock  59.98Hz
  640x512 (0x52) 54.000MHz +HSync +VSync DoubleScan
        h: width   640 start  664 end  720 total  844 skew    0 clock  63.98KHz
        v: height  512 start  512 end  514 total  533           clock  60.02Hz
  640x480 (0x53) 54.000MHz +HSync +VSync DoubleScan
        h: width   640 start  688 end  744 total  900 skew    0 clock  60.00KHz
        v: height  480 start  480 end  482 total  500           clock  60.00Hz
  640x480 (0x54) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
  512x384 (0x55) 32.500MHz -HSync -VSync DoubleScan
        h: width   512 start  524 end  592 total  672 skew    0 clock  48.36KHz
        v: height  384 start  385 end  388 total  403           clock  60.00Hz
  400x300 (0x56) 20.000MHz +HSync +VSync DoubleScan
        h: width   400 start  420 end  484 total  528 skew    0 clock  37.88KHz
        v: height  300 start  300 end  302 total  314           clock  60.32Hz
  400x300 (0x57) 18.000MHz +HSync +VSync DoubleScan
        h: width   400 start  412 end  448 total  512 skew    0 clock  35.16KHz
        v: height  300 start  300 end  301 total  312           clock  56.34Hz
  320x240 (0x58) 12.587MHz -HSync -VSync DoubleScan
        h: width   320 start  328 end  376 total  400 skew    0 clock  31.47KHz
        v: height  240 start  245 end  246 total  262           clock  60.05Hz
HDMI-1 disconnected (normal left inverted right x axis y axis)
   Identifier: 0x43
   Timestamp:  138027
   Subpixel:   unknown
   Clones:   
   CRTCs:      0 1 2
   Transform:  1.000000 0.000000 0.000000
               0.000000 1.000000 0.000000
               0.000000 0.000000 1.000000
              filter:
   aspect ratio: Automatic
      supported: Automatic, 4:3, 16:9
   Broadcast RGB: Automatic
      supported: Automatic, Full, Limited 16:235
   audio: auto
      supported: force-dvi, off, auto, on
   link-status: Good
      supported: Good, Bad


Device according to lspci -v
Code:

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 520 (rev 07) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. HD Graphics 520
   Flags: bus master, fast devsel, latency 0, IRQ 123
   Memory at de000000 (64-bit, non-prefetchable) [size=16M]
   Memory at c0000000 (64-bit, prefetchable) [size=256M]
   I/O ports at f000 [size=64]
   [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
   Capabilities: <access denied>
   Kernel driver in use: i915
   Kernel modules: i915


Output of cat /sys/class/drm/card0-HDMI-A-1/status
Code:

disconnected


What seems weird to me is the output of cat /sys/class/drm/card0-HDMI-A-1/enabled
Code:

disabled

which seems to me like the output is being actively disabled by something?

My xorg.conf
Code:

Section "Device"
   Identifier "Device0"
   BusID   "PCI:00:02:0"
   Driver "modesetting"
EndSection


I have tried manually enabling the output with xrandr
Code:

dylan@dylan-laptop ~ % xrandr --addmode HDMI-1 1920x1080
dylan@dylan-laptop ~ % xrandr --output HDMI-1 --mode 1920x1080 --right-of eDP-1
xrandr: Configure crtc 1 failed

(1920x1080 is a supported mode on this monitor)

Some additional information:
I am using i3wm gaps. My laptop is an ASUS ZenBook UX305LA.

Any help with this would be greatly appreciated! Thanks in advance!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum