{"id":747,"date":"2017-11-29T16:22:00","date_gmt":"2017-11-29T16:22:00","guid":{"rendered":"https:\/\/www.geekmungus.co.uk\/?p=747"},"modified":"2022-11-05T10:53:18","modified_gmt":"2022-11-05T10:53:18","slug":"unknown-display-on-ubuntu","status":"publish","type":"post","link":"https:\/\/geekmungus.co.uk\/?p=747","title":{"rendered":"&#8220;Unknown Display&#8221; on Ubuntu"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Whilst building a new home machine I came across this issue where the third screen in my three screen setup was only seen as an &#8220;Unknown Display&#8221;. My machine has an on-board graphics card and a 2 port PCI-E riser graphics card, the monitors connected to the 2 port riser were working correctly, and the OS saw them as the LG Monitors, the third was showing as &#8220;Unknown Display&#8221;. The problem this caused was that the screen&#8217;s resolution should be 1440&#215;900@60Hz, but the unknown display was only giving me the option of 1024&#215;768@60 or lower.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So to fix I used xrandr to set the monitor to a resolution I know it supported as follows:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First run cvt to generate a mode, where the 1440 is the Width, 900 the Height and 60 the frequency.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"># cvt 1440 900 60<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This returned the following:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"># 1440&#215;900 59.89 Hz (CVT 1.30MA) hsync: 55.93 kHz; pclk: 106.50 MHz<\/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\">The modeline is what we want, so copy this line and create the following line and hit enter to create a new mode based on these settings:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"># xrandr &#8211;newmode &#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\">Now it is all set you just need to run randr to find out the name of the graphics output you are looking to set to this new mode.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"># xrandr<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#8230; output omitted&#8230;..<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">VGA-1-1 connected 1024&#215;768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1024&#215;768 60.00*<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">800&#215;600 60.32 56.25<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">848&#215;480 60.00<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">640&#215;480 59.94<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#8230;.output omitted&#8230;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In my case it was VGA-1-1, so now I have this information I can apply the new mode to the monitor as follows:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"># xrandr &#8211;addmode VGA-1-1 1440x900_60.00<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now if you go into the &#8220;Settings&#8221; and &#8220;Display&#8221; and click on the unknown monitor you&#8217;ll notice a new resolution available from the drop down. Select it and click on &#8220;Apply&#8221; and hey presto, your monitor should now be showing the correct resolution.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The only issue is that the next time you reboot, the changes will be gone. To resolve this create a file called .xprofile in your home directory and add the following contents all on a single line:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">xrandr &#8211;newmode &#8220;1440x900_60.00&#8221; 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync &amp;&amp; xrandr &#8211;addmode VGA-1-1 1440x900_60.00<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then finally make it executable with:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"># chmod +x .xprofile<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/askubuntu.com\/questions\/860735\/unknown-display-in-ubuntu-16-04\">https:\/\/askubuntu.com\/questions\/860735\/unknown-display-in-ubuntu-16-04<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/askubuntu.com\/questions\/754231\/how-do-i-save-my-new-resolution-setting-with-xrandr\">https:\/\/askubuntu.com\/questions\/754231\/how-do-i-save-my-new-resolution-setting-with-xrandr<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/wiki.archlinux.org\/index.php\/xrandr#Adding_undetected_resolutions\">https:\/\/wiki.archlinux.org\/index.php\/xrandr#Adding_undetected_resolutions<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.centos.org\/forums\/viewtopic.php?t=62575\">https:\/\/www.centos.org\/forums\/viewtopic.php?t=62575<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Whilst building a new home machine I came across this issue where the third screen in my three screen setup was only seen as an &#8220;Unknown Display&#8221;. My machine has an on-board graphics card and a 2 port PCI-E riser graphics card, the monitors connected to the 2 port riser were working correctly, and the &#8230; <a title=\"&#8220;Unknown Display&#8221; on Ubuntu\" class=\"read-more\" href=\"https:\/\/geekmungus.co.uk\/?p=747\" aria-label=\"Read more about &#8220;Unknown Display&#8221; on Ubuntu\">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-747","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/747","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=747"}],"version-history":[{"count":1,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/747\/revisions"}],"predecessor-version":[{"id":1389,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/747\/revisions\/1389"}],"wp:attachment":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=747"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=747"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=747"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}