{"id":749,"date":"2017-12-02T16:23:00","date_gmt":"2017-12-02T16:23:00","guid":{"rendered":"https:\/\/www.geekmungus.co.uk\/?p=749"},"modified":"2022-11-05T10:53:18","modified_gmt":"2022-11-05T10:53:18","slug":"unknown-display-on-centos-7-desktop","status":"publish","type":"post","link":"https:\/\/geekmungus.co.uk\/?p=749","title":{"rendered":"&#8220;Unknown Display&#8221; on Centos 7 (Desktop)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In a continued bid to build a desktop Linux machine, I was working on getting the three monitors working. One of the monitors uses the onboard graphics, the other two are plugged into a PCI-E riser card. The issue was that the monitor type is not detected by the onboard graphics, so reports the incorrect resolution back. Changing this was proving very difficult. I&#8217;m using GNOME on Centos 7 desktop.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To fix I did the following to get the correct modeline I needed:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">cvt 1440 900 60<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Modeline &#8220;1440x900_60.00&#8221; 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">All my monitors will be running at 1440x900_60.00.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now I ran an: xrandr to get the list of all the monitor\/adapter names. In my case these were VGA-1-1 (the unknown display, on the motherboard graphics), VGA-2 and DVI-I-1 (the latter two were on the riser PCI-E card).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Finally I created a file called: \/etc\/X11\/xorg.conf.d\/10-monitor.conf and adding the following contents:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Section &#8220;Monitor&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Identifier &#8220;VGA-1-1&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Modeline &#8220;1440x900_60.00&#8221; 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Option &#8220;PreferredMode&#8221; &#8220;1440x900_60.00&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">EndSection<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Section &#8220;Monitor&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Identifier &#8220;VGA-2&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Modeline &#8220;1440x900_60.00&#8221; 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Option &#8220;PreferredMode&#8221; &#8220;1440x900_60.00&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">EndSection<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Section &#8220;Monitor&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Identifier &#8220;DVI-I-1&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Modeline &#8220;1440x900_60.00&#8221; 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Option &#8220;PreferredMode&#8221; &#8220;1440x900_60.00&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">EndSection<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once this was done I rebooted, but the third monitor was not using the correct resolution.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Using &#8220;Settings&#8221;-&gt;&#8221;Display&#8221; I set the problem third monitor (VGA-1-1) to 1440&#215;900 which was now an available option and ensured the monitors were in the correct positions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One more reboot and all was then in order.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a continued bid to build a desktop Linux machine, I was working on getting the three monitors working. One of the monitors uses the onboard graphics, the other two are plugged into a PCI-E riser card. The issue was that the monitor type is not detected by the onboard graphics, so reports the incorrect &#8230; <a title=\"&#8220;Unknown Display&#8221; on Centos 7 (Desktop)\" class=\"read-more\" href=\"https:\/\/geekmungus.co.uk\/?p=749\" aria-label=\"Read more about &#8220;Unknown Display&#8221; on Centos 7 (Desktop)\">Read more<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-749","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/749","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=749"}],"version-history":[{"count":1,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/749\/revisions"}],"predecessor-version":[{"id":1388,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/749\/revisions\/1388"}],"wp:attachment":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=749"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=749"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}