gm45_lcd.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <style type="text/css">
  7. @import url('../css/main.css');
  8. </style>
  9. <title>LCD compatibility on GM45 laptops</title>
  10. </head>
  11. <body>
  12. <div class="section">
  13. <h1 id="pagetop">LCD compatibility on GM45 laptops</h1>
  14. <p>
  15. On the T400 and T500 (maybe others), some of the higher resolution panels
  16. (e.g. 1440x900, 1680x1050, 1920x1200) fail in libreboot.
  17. </p>
  18. <p>
  19. <b>All X200/X200S/X200T LCD panels are believed to be compatible.</b>
  20. </p>
  21. <p>
  22. <a href="index.html">Back to previous index</a>.
  23. </p>
  24. </div>
  25. <div class="section">
  26. <h1>The problem</h1>
  27. <p>
  28. In some cases, backlight turns on during boot, sometimes not. In all cases,
  29. no display is shown in GRUB, nor in GNU/Linux.
  30. </p>
  31. <h1>
  32. Current workaround:
  33. </h1>
  34. <p>
  35. Libreboot (git, and releases after 20150518) now automatically detect whether
  36. to use single or dual link LVDS configuration. If you're using an older version,
  37. use the instructions below. In practise, this means that you'll get a visual
  38. display when booting GNU/Linux, but not in GRUB (payload).
  39. </p>
  40. <p>
  41. The i915 module in the Linux kernel also provides an option to set the LVDS link configuration.
  42. i915.lvds_channel_mode:Specify LVDS channel mode (0=probe BIOS [default], 1=single-channel, 2=dual-channel) (int)
  43. - from /sbin/modinfo i915 - use <b>i915.lvds_channel_mode=2</b> as a kernel option in grub.cfg.
  44. </p>
  45. </div>
  46. <div class="section">
  47. <h1>Differences in dmesg (kernel parameter added: )</h1>
  48. <p>
  49. <a href="https://01.org/linuxgraphics/documentation/how-report-bugs">https://01.org/linuxgraphics/documentation/how-report-bugs</a>
  50. </p>
  51. <p>
  52. These panels all work in the original firmware, so the idea is to see what differences there are in how coreboot handles them.
  53. </p>
  54. <p>
  55. <a href="http://www.coreboot.org/pipermail/coreboot/attachments/20150712/d2e214bb/attachment-0002.txt">dmesg with coreboot-libre</a> (coreboot) -
  56. See: <i>[drm:intel_lvds_init] detected single-link lvds configuration</i>
  57. </p>
  58. <p>
  59. <a href="http://www.coreboot.org/pipermail/coreboot/attachments/20150712/d2e214bb/attachment-0003.txt">dmesg with lenovobios</a> (lenovobios) -
  60. For the same line, it says dual-channel lvds configuration.
  61. </p>
  62. </div>
  63. <div class="section">
  64. <h2 id="edid">EDID</h2>
  65. <p>
  66. One T500 had a screen (1920x1200) that is currently incompatible. Working to fix it. EDID:
  67. </p>
  68. <pre>
  69. user@user-ThinkPad-T500:~/Desktop$ sudo i2cdump -y 2 0x50
  70. No size specified (using byte-data access)
  71. 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
  72. 00: XX ff ff ff ff ff ff 00 30 ae 55 40 00 00 00 00 X.......0?U@....
  73. 10: 00 11 01 03 80 21 15 78 ea ba 70 98 59 52 8c 28 .????!?x??p?YR?(
  74. 20: 25 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01 %PT...??????????
  75. 30: 01 01 01 01 01 01 e7 3a 80 8c 70 b0 14 40 1e 50 ???????:??p??@?P
  76. 40: 24 00 4b cf 10 00 00 19 16 31 80 8c 70 b0 14 40 $.K??..??1??p??@
  77. 50: 1e 50 24 00 4b cf 10 00 00 19 00 00 00 0f 00 d1 ?P$.K??..?...?.?
  78. 60: 0a 32 d1 0a 28 11 01 00 32 0c 00 00 00 00 00 fe ?2??(??.2?.....?
  79. 70: 00 4c 50 31 35 34 57 55 31 2d 54 4c 42 31 00 9a .LP154WU1-TLB1.?
  80. 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
  81. 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
  82. a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
  83. b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
  84. c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
  85. d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
  86. e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
  87. f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
  88. </pre>
  89. <p>
  90. What happens: backlight turns on at boot, then turns off. At no point is there
  91. a working visual display.
  92. </p>
  93. <p>
  94. Another incompatible screen (EDID) 1680 x 1050 with the same issue:
  95. </p>
  96. <pre>
  97. EDID:
  98. 00 ff ff ff ff ff ff 00 30 ae 53 40 00 00 00 00
  99. 00 11 01 03 80 21 15 78 ea cd 75 91 55 4f 8b 26
  100. 21 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01
  101. 01 01 01 01 01 01 a8 2f 90 e0 60 1a 10 40 20 40
  102. 13 00 4b cf 10 00 00 19 b7 27 90 e0 60 1a 10 40
  103. 20 40 13 00 4b cf 10 00 00 19 00 00 00 0f 00 b3
  104. 0a 32 b3 0a 28 14 01 00 4c a3 50 33 00 00 00 fe
  105. 00 4c 54 4e 31 35 34 50 33 2d 4c 30 32 0a 00 7e
  106. Extracted contents:
  107. header: 00 ff ff ff ff ff ff 00
  108. serial number: 30 ae 53 40 00 00 00 00 00 11
  109. version: 01 03
  110. basic params: 80 21 15 78 ea
  111. chroma info: cd 75 91 55 4f 8b 26 21 50 54
  112. established: 00 00 00
  113. standard: 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
  114. descriptor 1: a8 2f 90 e0 60 1a 10 40 20 40 13 00 4b cf 10 00 00 19
  115. descriptor 2: b7 27 90 e0 60 1a 10 40 20 40 13 00 4b cf 10 00 00 19
  116. descriptor 3: 00 00 00 0f 00 b3 0a 32 b3 0a 28 14 01 00 4c a3 50 33
  117. descriptor 4: 00 00 00 fe 00 4c 54 4e 31 35 34 50 33 2d 4c 30 32 0a
  118. extensions: 00
  119. checksum: 7e
  120. Manufacturer: LEN Model 4053 Serial Number 0
  121. Made week 0 of 2007
  122. EDID version: 1.3
  123. Digital display
  124. Maximum image size: 33 cm x 21 cm
  125. Gamma: 220%
  126. Check DPMS levels
  127. DPMS levels: Standby Suspend Off
  128. Supported color formats: RGB 4:4:4, YCrCb 4:2:2
  129. First detailed timing is preferred timing
  130. Established timings supported:
  131. Standard timings supported:
  132. Detailed timings
  133. Hex of detail: a82f90e0601a1040204013004bcf10000019
  134. Did detailed timing
  135. Detailed mode (IN HEX): Clock 122000 KHz, 14b mm x cf mm
  136. 0690 06b0 06f0 0770 hborder 0
  137. 041a 041b 041e 042a vborder 0
  138. -hsync -vsync
  139. Hex of detail: b72790e0601a1040204013004bcf10000019
  140. Detailed mode (IN HEX): Clock 122000 KHz, 14b mm x cf mm
  141. 0690 06b0 06f0 0770 hborder 0
  142. 041a 041b 041e 042a vborder 0
  143. -hsync -vsync
  144. Hex of detail: 0000000f00b30a32b30a281401004ca35033
  145. Manufacturer-specified data, tag 15
  146. Hex of detail: 000000fe004c544e31353450332d4c30320a
  147. ASCII string: LTN154P3-L02
  148. Checksum
  149. Checksum: 0x7e (valid)
  150. WARNING: EDID block does NOT fully conform to EDID 1.3.
  151. Missing name descriptor
  152. Missing monitor ranges
  153. bringing up panel at resolution 1680 x 1050
  154. Borders 0 x 0
  155. Blank 224 x 16
  156. Sync 64 x 3
  157. Front porch 32 x 1
  158. Spread spectrum clock
  159. Single channel
  160. Polarities 1, 1
  161. Data M1=2132104, N1=8388608
  162. Link frequency 270000 kHz
  163. Link M1=236900, N1=524288
  164. Pixel N=9, M1=24, M2=8, P1=1
  165. Pixel clock 243809 kHz
  166. waiting for panel powerup
  167. panel powered up
  168. </pre>
  169. <p>
  170. Another incompatible (T400) screen:
  171. </p>
  172. <pre>
  173. No size specified (using byte-data access)
  174. 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
  175. 00: XX ff ff ff ff ff ff 00 30 ae 33 40 00 00 00 00 X.......0?3@....
  176. 10: 00 0f 01 03 80 1e 13 78 ea cd 75 91 55 4f 8b 26 .??????x??u?UO?&amp;
  177. 20: 21 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01 !PT...??????????
  178. 30: 01 01 01 01 01 01 b0 27 a0 60 51 84 2d 30 30 20 ???????'?`Q?-00
  179. 40: 36 00 2f be 10 00 00 19 d5 1f a0 40 51 84 1a 30 6./??..????@Q??0
  180. 50: 30 20 36 00 2f be 10 00 00 19 00 00 00 0f 00 90 0 6./??..?...?.?
  181. 60: 0a 32 90 0a 28 14 01 00 4c a3 42 44 00 00 00 fe ?2??(??.L?BD...?
  182. 70: 00 4c 54 4e 31 34 31 57 44 2d 4c 30 35 0a 00 32 .LTN141WD-L05?.2
  183. 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
  184. 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
  185. a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
  186. b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
  187. c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
  188. d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
  189. e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
  190. f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
  191. </pre>
  192. <p>
  193. For comparison, here is a working display (T400 screen, but was
  194. connected to a T500. Some T500 displays also work, but no EDID
  195. available on this page yet):
  196. </p>
  197. <pre>
  198. EDID:
  199. 00 ff ff ff ff ff ff 00 30 ae 31 40 00 00 00 00
  200. 00 12 01 03 80 1e 13 78 ea b3 85 95 58 53 8a 28
  201. 25 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01
  202. 01 01 01 01 01 01 26 1b 00 7d 50 20 16 30 30 20
  203. 36 00 30 be 10 00 00 18 8b 16 00 7d 50 20 16 30
  204. 30 20 36 00 30 be 10 00 00 18 00 00 00 0f 00 81
  205. 0a 32 81 0a 28 14 01 00 30 e4 28 01 00 00 00 fe
  206. 00 4c 50 31 34 31 57 58 33 2d 54 4c 52 31 00 d8
  207. Extracted contents:
  208. header: 00 ff ff ff ff ff ff 00
  209. serial number: 30 ae 31 40 00 00 00 00 00 12
  210. version: 01 03
  211. basic params: 80 1e 13 78 ea
  212. chroma info: b3 85 95 58 53 8a 28 25 50 54
  213. established: 00 00 00
  214. standard: 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
  215. descriptor 1: 26 1b 00 7d 50 20 16 30 30 20 36 00 30 be 10 00 00 18
  216. descriptor 2: 8b 16 00 7d 50 20 16 30 30 20 36 00 30 be 10 00 00 18
  217. descriptor 3: 00 00 00 0f 00 81 0a 32 81 0a 28 14 01 00 30 e4 28 01
  218. descriptor 4: 00 00 00 fe 00 4c 50 31 34 31 57 58 33 2d 54 4c 52 31
  219. extensions: 00
  220. checksum: d8
  221. Manufacturer: LEN Model 4031 Serial Number 0
  222. Made week 0 of 2008
  223. EDID version: 1.3
  224. Digital display
  225. Maximum image size: 30 cm x 19 cm
  226. Gamma: 220%
  227. Check DPMS levels
  228. DPMS levels: Standby Suspend Off
  229. Supported color formats: RGB 4:4:4, YCrCb 4:2:2
  230. First detailed timing is preferred timing
  231. Established timings supported:
  232. Standard timings supported:
  233. Detailed timings
  234. Hex of detail: 261b007d502016303020360030be10000018
  235. Did detailed timing
  236. Detailed mode (IN HEX): Clock 69500 KHz, 130 mm x be mm
  237. 0500 0530 0550 057d hborder 0
  238. 0320 0323 0329 0336 vborder 0
  239. -hsync -vsync
  240. Hex of detail: 8b16007d502016303020360030be10000018
  241. Detailed mode (IN HEX): Clock 69500 KHz, 130 mm x be mm
  242. 0500 0530 0550 057d hborder 0
  243. 0320 0323 0329 0336 vborder 0
  244. -hsync -vsync
  245. Hex of detail: 0000000f00810a32810a2814010030e42801
  246. Manufacturer-specified data, tag 15
  247. Hex of detail: 000000fe004c503134315758332d544c5231
  248. ASCII string: LP141WX3-TLR1
  249. Checksum
  250. Checksum: 0xd8 (valid)
  251. WARNING: EDID block does NOT fully conform to EDID 1.3.
  252. Missing name descriptor
  253. Missing monitor ranges
  254. bringing up panel at resolution 1280 x 800
  255. Borders 0 x 0
  256. Blank 125 x 22
  257. Sync 32 x 6
  258. Front porch 48 x 3
  259. Spread spectrum clock
  260. Single channel
  261. Polarities 1, 1
  262. Data M1=1214600, N1=8388608
  263. Link frequency 270000 kHz
  264. Link M1=134955, N1=524288
  265. Pixel N=10, M1=14, M2=11, P1=1
  266. Pixel clock 138857 kHz
  267. waiting for panel powerup
  268. panel powered up
  269. </pre>
  270. <p>
  271. Another compatible T400 screen:
  272. </p>
  273. <pre>
  274. trisquel@trisquel:~$ sudo i2cdump -y 2 0x50
  275. No size specified (using byte-data access)
  276. 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
  277. 00: 00 ff ff ff ff ff ff 00 30 ae 31 40 00 00 00 00 ........0?1@....
  278. 10: 00 12 01 03 80 1e 13 78 ea b3 85 95 58 53 8a 28 .??????x????XS?(
  279. 20: 25 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01 %PT...??????????
  280. 30: 01 01 01 01 01 01 26 1b 00 7d 50 20 16 30 30 20 ??????&?.}P ?00
  281. 40: 36 00 30 be 10 00 00 18 8b 16 00 7d 50 20 16 30 6.0??..???.}P ?0
  282. 50: 30 20 36 00 30 be 10 00 00 18 00 00 00 0f 00 81 0 6.0??..?...?.?
  283. 60: 0a 32 81 0a 28 14 01 00 30 e4 28 01 00 00 00 fe ?2??(??.0?(?...?
  284. 70: 00 4c 50 31 34 31 57 58 33 2d 54 4c 52 31 00 d8 .LP141WX3-TLR1.?
  285. 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
  286. 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
  287. a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
  288. b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
  289. c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
  290. d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
  291. e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
  292. f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
  293. </pre>
  294. </div>
  295. <div class="section">
  296. <p>
  297. Copyright &copy; 2015 Leah Rowe &lt;info@minifree.org&gt;<br/>
  298. Permission is granted to copy, distribute and/or modify this document
  299. under the terms of the GNU Free Documentation License, Version 1.3
  300. or any later version published by the Free Software Foundation;
  301. with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
  302. A copy of the license can be found at <a href="../gfdl-1.3.txt">../gfdl-1.3.txt</a>
  303. </p>
  304. <p>
  305. Updated versions of the license (when available) can be found at
  306. <a href="https://www.gnu.org/licenses/licenses.html">https://www.gnu.org/licenses/licenses.html</a>
  307. </p>
  308. <p>
  309. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
  310. EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
  311. AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
  312. ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
  313. IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
  314. WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
  315. PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
  316. ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
  317. KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
  318. ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
  319. </p>
  320. <p>
  321. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
  322. TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
  323. NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
  324. INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
  325. COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
  326. USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
  327. ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
  328. DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
  329. IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
  330. </p>
  331. <p>
  332. The disclaimer of warranties and limitation of liability provided
  333. above shall be interpreted in a manner that, to the extent
  334. possible, most closely approximates an absolute disclaimer and
  335. waiver of all liability.
  336. </p>
  337. </div>
  338. </body>
  339. </html>