All of lore.kernel.org
 help / color / mirror / Atom feed
* NV130 - gtx 1050 ti
@ 2017-05-04  5:17 Karl Schmidt
       [not found] ` <810799e9-865a-2c87-b28b-c0350ff67e8c-WH+jy8H4ZDlWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Karl Schmidt @ 2017-05-04  5:17 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

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 Karl@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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: NV130 - gtx 1050 ti
       [not found] ` <810799e9-865a-2c87-b28b-c0350ff67e8c-WH+jy8H4ZDlWk0Htik3J/w@public.gmane.org>
@ 2017-05-06 17:38   ` Ilia Mirkin
       [not found]     ` <CAKb7UvgZwdY=T5iXU0Mfu0VJdwyy6v570wTV5T5PBUsA28DSqA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Ilia Mirkin @ 2017-05-06 17:38 UTC (permalink / raw)
  To: Karl Schmidt; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

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 <karl@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@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 Karl@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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: NV130 - gtx 1050 ti
       [not found]     ` <CAKb7UvgZwdY=T5iXU0Mfu0VJdwyy6v570wTV5T5PBUsA28DSqA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2017-05-06 21:32       ` Karl Schmidt
       [not found]         ` <eeaca15a-c3cf-f4ee-82f5-5af469ed2fc4-WH+jy8H4ZDlWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Karl Schmidt @ 2017-05-06 21:32 UTC (permalink / raw)
  To: Ilia Mirkin; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

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 Karl@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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: NV130 - gtx 1050 ti
       [not found]         ` <eeaca15a-c3cf-f4ee-82f5-5af469ed2fc4-WH+jy8H4ZDlWk0Htik3J/w@public.gmane.org>
@ 2017-05-06 21:59           ` Ilia Mirkin
  0 siblings, 0 replies; 8+ messages in thread
From: Ilia Mirkin @ 2017-05-06 21:59 UTC (permalink / raw)
  To: Karl Schmidt; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

On Sat, May 6, 2017 at 5:32 PM, Karl Schmidt <karl@xtronics.com> 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: NV130 - gtx 1050 ti
       [not found]         ` <4e019d05-4e63-cde0-aa89-8b8eb1ea94bc-WH+jy8H4ZDlWk0Htik3J/w@public.gmane.org>
@ 2017-05-04 23:33           ` Ilia Mirkin
  0 siblings, 0 replies; 8+ messages in thread
From: Ilia Mirkin @ 2017-05-04 23:33 UTC (permalink / raw)
  To: Karl Schmidt; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 1003 bytes --]

On May 4, 2017 6:44 PM, "Karl Schmidt" <karl-WH+jy8H4ZDlWk0Htik3J/w@public.gmane.org> 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.

[-- Attachment #1.2: Type: text/html, Size: 1607 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: NV130 - gtx 1050 ti
       [not found]     ` <20170504090040.xnlpegbhp6jbwalp-WLoDKDh+7sdAfugRpC6u6w@public.gmane.org>
@ 2017-05-04 22:44       ` Karl Schmidt
       [not found]         ` <4e019d05-4e63-cde0-aa89-8b8eb1ea94bc-WH+jy8H4ZDlWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Karl Schmidt @ 2017-05-04 22:44 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

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][0000:08:00.0] unknown chipset, 0x137000a1
>> May  3 16:44:45 kernel: [    7.068401] nouveau E[     DRM] failed to create 0x80000080, -22
>> May  3 16:44:45 kernel: [    7.068723] nouveau: probe of 0000: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 Karl@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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: NV130 - gtx 1050 ti
       [not found] ` <160646ee-8f7f-7a5d-b703-dd951b1d815b-WH+jy8H4ZDlWk0Htik3J/w@public.gmane.org>
@ 2017-05-04  9:00   ` Pierre Moreau
       [not found]     ` <20170504090040.xnlpegbhp6jbwalp-WLoDKDh+7sdAfugRpC6u6w@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Pierre Moreau @ 2017-05-04  9:00 UTC (permalink / raw)
  To: Karl Schmidt; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 1527 bytes --]

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][0000:08:00.0] unknown chipset, 0x137000a1
> May  3 16:44:45 kernel: [    7.068401] nouveau E[     DRM] failed to create 0x80000080, -22
> May  3 16:44:45 kernel: [    7.068723] nouveau: probe of 0000: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 Karl-WH+jy8H4ZDlWk0Htik3J/w@public.gmane.org
> 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-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
> https://lists.freedesktop.org/mailman/listinfo/nouveau

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* NV130 - gtx 1050 ti
@ 2017-05-04  7:04 Karl Schmidt
       [not found] ` <160646ee-8f7f-7a5d-b703-dd951b1d815b-WH+jy8H4ZDlWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Karl Schmidt @ 2017-05-04  7:04 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

This is probably the problem
May  3 16:44:45 kernel: [    7.068336] nouveau E[  DEVICE][0000:08:00.0] unknown chipset, 0x137000a1
May  3 16:44:45 kernel: [    7.068401] nouveau E[     DRM] failed to create 0x80000080, -22
May  3 16:44:45 kernel: [    7.068723] nouveau: probe of 0000: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 Karl@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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-05-06 21:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-04  5:17 NV130 - gtx 1050 ti Karl Schmidt
     [not found] ` <810799e9-865a-2c87-b28b-c0350ff67e8c-WH+jy8H4ZDlWk0Htik3J/w@public.gmane.org>
2017-05-06 17:38   ` Ilia Mirkin
     [not found]     ` <CAKb7UvgZwdY=T5iXU0Mfu0VJdwyy6v570wTV5T5PBUsA28DSqA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-05-06 21:32       ` Karl Schmidt
     [not found]         ` <eeaca15a-c3cf-f4ee-82f5-5af469ed2fc4-WH+jy8H4ZDlWk0Htik3J/w@public.gmane.org>
2017-05-06 21:59           ` Ilia Mirkin
2017-05-04  7:04 Karl Schmidt
     [not found] ` <160646ee-8f7f-7a5d-b703-dd951b1d815b-WH+jy8H4ZDlWk0Htik3J/w@public.gmane.org>
2017-05-04  9:00   ` Pierre Moreau
     [not found]     ` <20170504090040.xnlpegbhp6jbwalp-WLoDKDh+7sdAfugRpC6u6w@public.gmane.org>
2017-05-04 22:44       ` Karl Schmidt
     [not found]         ` <4e019d05-4e63-cde0-aa89-8b8eb1ea94bc-WH+jy8H4ZDlWk0Htik3J/w@public.gmane.org>
2017-05-04 23:33           ` Ilia Mirkin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.