Re: [Nouveau] NV130 - gtx 1050 ti

2017-05-06 Thread Ilia Mirkin
On Sat, May 6, 2017 at 5:32 PM, Karl Schmidt  wrote:
> 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.

> 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
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] NV130 - gtx 1050 ti

2017-05-06 Thread Karl Schmidt

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




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@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 k...@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

___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] NV130 - gtx 1050 ti

2017-05-06 Thread Ilia Mirkin
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

On Thu, May 4, 2017 at 1:17 AM, Karl Schmidt  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@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:amd642.4.74-1
> xserver-xorg-video-nouveau   1:1.0.13-3
> linux-image-4.9.0-2-amd64
>
>
>
> --
> 
> Karl Schmidt  EMail k...@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@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/nouveau
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] NV130 - gtx 1050 ti

2017-05-04 Thread Ilia Mirkin
On May 4, 2017 6:44 PM, "Karl Schmidt"  wrote:

On 05/04/2017 04:00 AM, Pierre Moreau wrote:

> Hello,
>
> Acceleration for Pascal cards is coming in Linux 4.12, support for Pascal
> cards
> in xorg-video-nouveau is in 1.0.15, and if I remember correctly, on the
> Mesa-side, you will need >=17.0.
>

Thanks - I suspected it was too new.

I'm finding the monitor capabilities miss identified even if I use an older
card - I'm guessing that nouveau talks to the monitor to get the an ID?
And then passes that to some part of xorg or something that looks up the id
number?

There have been several hardware detection bits over the years - I did a
dependency tree on xorg and still don't know where to find it.

Who should I contact to get them the correct monitor info?



The monitors store this info themselves in an i2c-accessible blob. Nouveau
will just read that out and pass it on, like all other drivers do. The EDID
contains info about modeline, etc.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] NV130 - gtx 1050 ti

2017-05-04 Thread Karl Schmidt

On 05/04/2017 04:00 AM, Pierre Moreau wrote:

Hello,

Acceleration for Pascal cards is coming in Linux 4.12, support for Pascal cards
in xorg-video-nouveau is in 1.0.15, and if I remember correctly, on the
Mesa-side, you will need >=17.0.


Thanks - I suspected it was too new.

I'm finding the monitor capabilities miss identified even if I use an older card - I'm guessing that 
nouveau talks to the monitor to get the an ID?  And then passes that to some part of xorg or 
something that looks up the id number?


There have been several hardware detection bits over the years - I did a dependency tree on xorg and 
still don't know where to find it.


Who should I contact to get them the correct monitor info?






Pierre

On 02:04 am - May 04 2017, Karl Schmidt wrote:

This is probably the problem
May  3 16:44:45 kernel: [7.068336] nouveau E[  DEVICE][:08:00.0] 
unknown chipset, 0x137000a1
May  3 16:44:45 kernel: [7.068401] nouveau E[ DRM] failed to create 
0x8080, -22
May  3 16:44:45 kernel: [7.068723] nouveau: probe of :08:00.0 failed 
with error -22

I can make this card available - if you can tell me an older card that can do 
the
hdmi2 480x1200 60hz 4:4:4 output that is in

xserver-xorg-video-nouveau 1:1.0.13-3





Link to our website and get free US-48 shipping on your next order.

Karl Schmidt  EMail k...@xtronics.com
Transtronics, Inc.  WEB 
https://secure.transtronics.com
3209 West 9th Street Ph (785) 841-3089
Lawrence, KS 66049  FAX (785) 841-3089

Believe those who are seeking the truth; doubt those who find it.
-Andre Gide

___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] NV130 - gtx 1050 ti

2017-05-04 Thread Pierre Moreau
Hello,

Acceleration for Pascal cards is coming in Linux 4.12, support for Pascal cards
in xorg-video-nouveau is in 1.0.15, and if I remember correctly, on the
Mesa-side, you will need >=17.0.

Pierre

On 02:04 am - May 04 2017, Karl Schmidt wrote:
> This is probably the problem
> May  3 16:44:45 kernel: [7.068336] nouveau E[  DEVICE][:08:00.0] 
> unknown chipset, 0x137000a1
> May  3 16:44:45 kernel: [7.068401] nouveau E[ DRM] failed to create 
> 0x8080, -22
> May  3 16:44:45 kernel: [7.068723] nouveau: probe of :08:00.0 failed 
> with error -22
> 
> I can make this card available - if you can tell me an older card that can do 
> the
> hdmi2 480x1200 60hz 4:4:4 output that is in
> 
> xserver-xorg-video-nouveau 1:1.0.13-3
> 
> -- 
> 
> Karl Schmidt  EMail k...@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@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/nouveau


signature.asc
Description: PGP signature
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau