This is sort of working -- but I can't get it to do a 4k output. Not sure how the monitor resolution is detected - This monitor is supposed to do 3480x1200 60hz 4:4:4 But the info I get from hwinfo is different. How does nouveau get this information? If it is from an ID - with a list - the list is probably is wrong. # hwinfo --monitor 95: None 00.1: 10002 LCD Monitor [Created at monitor.97] Unique ID: jyhG.h9Zsh40fFW2 Hardware Class: monitor Model: "SONY TV *00" Vendor: SNY "SONY" Device: eisa 0xf303 "SONY TV *00" Resolution: 640x480 at 60Hz Resolution: 800x600 at 60Hz Resolution: 1024x768 at 60Hz Resolution: 1280x1024 at 60Hz Resolution: 1600x900 at 60Hz Resolution: 1152x864 at 75Hz Resolution: 1280x720 at 60Hz Resolution: 1920x1080 at 60Hz Size: 1085x610 mm Year of Manufacture: 2016 Week of Manufacture: 1 Detailed Timings #0: Resolution: 1920x1080 Horizontal: 1920 2008 2052 2200 (+88 +132 +280) +hsync Vertical: 1080 1084 1089 1125 (+4 +9 +45) +vsync Frequencies: 148.50 MHz, 67.50 kHz, 60.00 Hz Year of Manufacture: 2016 Week of Manufacture: 1 Running : libdrm-nouveau2:amd64 2.4.74-1 xserver-xorg-video-nouveau 1:1.0.13-3 linux-image-4.9.0-2-amd64 -- -------------------------------------------------------------------------------- Karl Schmidt EMail Karl at xtronics.com Transtronics, Inc. WEB http://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434 Coordination does not run in my family, it stumbles. --------------------------------------------------------------------------------
First things first -- I've alluded to this before, but let me be clear -- there is no global database that contains monitor-specific information which is used by any linux drivers. Please forget any notions you had of such a thing existing or being used. The information comes from the EDID blob supplied by the monitor. Presumably hwinfo has a primitive EDID parser, which is where that information comes from. A more complete EDID parser is available at https://cgit.freedesktop.org/xorg/app/edid-decode/ For example, $ ./src/edid-decode/edid-decode /sys/class/drm/card0-DVI-D-1/edid Prints the full EDID information for the monitor connected on that connector. Note that some monitors require special settings in order to expose the higher resolution modes, and others only make them available on some inputs but not others. No idea if yours is that way or not. It's quite likely that nouveau doesn't support using YUV outputs though (which I'm guessing is what the 4:4:4 thing is referring to... I always get confused by such notation), only RGB. Also there's no HDMI 2.0 support in nouveau as yet, mostly due to lack of interest and hardware. However you should still see a 4k at 30 mode exposed (probably). Cheers, -ilia On Thu, May 4, 2017 at 1:17 AM, Karl Schmidt <karl at xtronics.com> wrote:> This is sort of working -- but > > I can't get it to do a 4k output. > > Not sure how the monitor resolution is detected - > This monitor is supposed to do 3480x1200 60hz 4:4:4 > > But the info I get from hwinfo is different. > > How does nouveau get this information? > > If it is from an ID - with a list - the list is probably is wrong. > > > # hwinfo --monitor > 95: None 00.1: 10002 LCD Monitor > [Created at monitor.97] > Unique ID: jyhG.h9Zsh40fFW2 > Hardware Class: monitor > Model: "SONY TV *00" > Vendor: SNY "SONY" > Device: eisa 0xf303 "SONY TV *00" > Resolution: 640x480 at 60Hz > Resolution: 800x600 at 60Hz > Resolution: 1024x768 at 60Hz > Resolution: 1280x1024 at 60Hz > Resolution: 1600x900 at 60Hz > Resolution: 1152x864 at 75Hz > Resolution: 1280x720 at 60Hz > Resolution: 1920x1080 at 60Hz > Size: 1085x610 mm > Year of Manufacture: 2016 > Week of Manufacture: 1 > Detailed Timings #0: > Resolution: 1920x1080 > Horizontal: 1920 2008 2052 2200 (+88 +132 +280) +hsync > Vertical: 1080 1084 1089 1125 (+4 +9 +45) +vsync > Frequencies: 148.50 MHz, 67.50 kHz, 60.00 Hz > Year of Manufacture: 2016 > Week of Manufacture: 1 > > Running : > libdrm-nouveau2:amd64 2.4.74-1 > xserver-xorg-video-nouveau 1:1.0.13-3 > linux-image-4.9.0-2-amd64 > > > > -- > -------------------------------------------------------------------------------- > Karl Schmidt EMail Karl at xtronics.com > Transtronics, Inc. WEB > http://secure.transtronics.com > 3209 West 9th Street Ph (785) 841-3089 > Lawrence, KS 66049 FAX (785) 841-0434 > > Coordination does not run in my family, > it stumbles. > -------------------------------------------------------------------------------- > _______________________________________________ > Nouveau mailing list > Nouveau at lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/nouveau
On 05/06/2017 12:38 PM, Ilia Mirkin wrote:> The information comes from the EDID blob supplied by the monitor. > Presumably hwinfo has a primitive EDID parser, which is where that > information comes from. A more complete EDID parser is available at > > https://cgit.freedesktop.org/xorg/app/edid-decode/ > > For example, > > $ ./src/edid-decode/edid-decode /sys/class/drm/card0-DVI-D-1/edidThanks for you useful reply. That did the trick - I got quite different information than I did with hwinfo or get-edid but more important - different than what I see in the Xorg.0.log. ( I think deid-decode is the most complete). So I'm guessing that nouveau computes the modelines from the combination of what the card and edid claim they support.> It's quite likely that nouveau doesn't support using YUV outputs > though (which I'm guessing is what the 4:4:4 thing is referring to... > I always get confused by such notation),Sadly, it is a throw back to 'Chroma subsampling' (my days designing with NTSC editing hardware still haunt me.) They reduce the color information so there is less bandwidth in the cable. (thus displayport and thunderbolt3 are headed to 40G (need 18G+overhead or 20G for 12bit 3840x2160 60hz RGB or only 12G+ for 8bit(24))> only RGB. Also there's no > HDMI 2.0 support in nouveau as yet, mostly due to lack of interest and > hardware. However you should still see a 4k at 30 mode exposed > (probably).HDMI2 does support RGB - see: http://www.hdmi.org/manufacturer/hdmi_2_0/hdmi_2_0_faq.aspx#146 The main wiki page probably ought to say what subsets of HDMI nouveau supports. Some of the chip sets from back in the 900 series support hdmi2.0 - so to say nouveau supports that chip sort of implies that it does hdmi2.0. Anyway - 4k monitors/TVs are getting cheaper and really helpful for someone coding - soon will be common. I've got another card coming that I can test with. -------------------------------------------------------------------------------- Karl Schmidt EMail Karl at xtronics.com WEB https://secure.transtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-3089 The government can print money - they can't print wealth. kps --------------------------------------------------------------------------------