Skip to contentSkip to conversation

NV130 - gtx 1050 ti

DISCUSSION Karl Schmidt 2 participants 4 messages May 4, 2017 – May 6, 2017 3 messages not in the archive

lore
Share & tools
lore
#0 lore raw

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@60Hz
  Resolution: 800x600@60Hz
  Resolution: 1024x768@60Hz
  Resolution: 1280x1024@60Hz
  Resolution: 1600x900@60Hz
  Resolution: 1152x864@75Hz
  Resolution: 1280x720@60Hz
  Resolution: 1920x1080@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

Signature · 13 lines
--------------------------------------------------------------------------------
Karl Schmidt                                  EMail [email protected]
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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): 810799e9-865a-2c87-b28b-c0350ff67e8c-WH+jy8H4ZDlWk0Htik3J/[email protected]

#2 lore raw

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@30 mode exposed (probably).

Cheers,

-ilia

Quoted 56 lines · Karl Schmidt

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@60Hz
  Resolution: 800x600@60Hz
  Resolution: 1024x768@60Hz
  Resolution: 1280x1024@60Hz
  Resolution: 1600x900@60Hz
  Resolution: 1152x864@75Hz
  Resolution: 1280x720@60Hz
  Resolution: 1920x1080@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 [email protected]
Transtronics, Inc. WEB
http://secure.transtronics.com
3209 West 9th Street Ph (785) 841-3089
Lawrence, KS 66049 FAX (785) 841-0434

Quoted 7 lines

Coordination does not run in my family,
it stumbles.
--------------------------------------------------------------------------------
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): CAKb7UvgZwdY=T5iXU0Mfu0VJdwyy6v570wTV5T5PBUsA28DSqA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#4 lore raw
Quoted 9 lines · Ilia Mirkin

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

Thanks 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.

Quoted 3 lines

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))

Quoted 4 lines

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@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 [email protected]
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
--------------------------------------------------------------------------------
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): eeaca15a-c3cf-f4ee-82f5-5af469ed2fc4-WH+jy8H4ZDlWk0Htik3J/[email protected]

#6 lore raw
Quoted 2 lines · Karl Schmidt

So I'm guessing that nouveau computes the modelines from the combination of what the card and edid claim they support.

With some limitations, it will take the list of modelines in the EDID (which, mind you, might be just VIC id's), and compare it to what it believes the hw capabilities are, and pass through only that list of modelines that it thinks the hw will generate. This is what you should see in the xrandr --verbose list. For HDMI, we currently have a hack to allow up to 297MHz pixel clocks for Kepler+ GPUs. However for HDMI 2.0, I think there's some more stuff. And it's not clear that we're parsing the capabilities correctly on such GPUs.

Quoted 3 lines

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.

If you have concrete suggestions for improving any specific page, I'd be happy to make the edits for you. Unfortunately many parts of the wiki are "too far gone" so to speak, in terms of inaccuracy/incompleteness.

Cheers,

-ilia
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau