[Nouveau] GM206 [GeForce GTX 960] with 4k display

2017-05-08 Thread Karl Schmidt

I was getting a glicthy checkerboard mess at the cursor in some programs 
(konsol+) with
# cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.9.0-2-amd64 
root=UUID=4107d1db-62a3-427c-8515-c954a103ce25 ro text quiet


changed the command line in a blind attempt to:

$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.9.0-2-amd64 root=UUID=4107d1db-62a3-427c-8515-c954a103ce25 ro 
nouveau.config=NvForcePost=1 acpi_osi=Linux text quiet


The cursor bug disappeared. 


My understanding of the command-line bits is not perfect - but I think that acpi_osi=Linux tells 
acpi to get along with linux - not understanding what nouveau.config=NvForcePost=1 does - google 
failed me.


If someone can explain what I did - you will make an old man smile..

nouveau still complains a bit - not sure it is important.


May  8 22:26:51 singapore kernel: [6.410185] nouveau :08:00.0: DRM: Pointer to flat panel 
table invalid

May  8 22:26:51 singapore kernel: [6.418002] nouveau :08:00.0: DRM: 
unknown connector type 70
May  8 22:26:51 singapore kernel: [6.418054] nouveau :08:00.0: DRM: failed to create encoder 
1/8/0: -19
May  8 22:26:51 singapore kernel: [6.418056] nouveau :08:00.0: DRM: Unknown-1 has no 
encoders, removing
May  8 22:26:51 singapore kernel: [6.418098] [drm] Supports vblank timestamp caching Rev 2 
(21.10.2013).

May  8 22:26:51 singapore kernel: [6.418099] [drm] Driver supports precise 
vblank timestamp query.
May  8 22:26:51 singapore kernel: [6.448895] iTCO_vendor_support: 
vendor-support=0
May  8 22:26:51 singapore kernel: [6.452446] iTCO_wdt: Intel TCO WatchDog 
Timer Driver v1.11
May  8 22:26:51 singapore kernel: [6.452499] iTCO_wdt: unable to reset NO_REBOOT flag, device 
disabled by hardware/BIOS
May  8 22:26:51 singapore kernel: [6.464947] kvm: VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL does not 
work properly. Using workaround
May  8 22:26:51 singapore kernel: [6.528616] nouveau :08:00.0: DRM: MM: using COPY for 
buffer copies


I've attached bits if it might be of use.

Can dig up more if anyone needs it.

$ xrandr -q
Screen 0: minimum 320 x 200, current 3840 x 2160, maximum 16384 x 16384
DVI-I-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected primary 3840x2160+0+0 (normal left inverted right x axis y 
axis) 1085mm x 610mm
   1920x1080 60.00 +  50.0059.9459.9330.0024.0029.97
23.98
   4096x2160 24.0023.98
   3840x2160 30.00*   25.0024.0029.9723.98





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


Extracted contents:
header:  00 ff ff ff ff ff ff 00
serial number:   4d d9 03 f3 01 01 01 01 01 1a
version: 01 03
basic params:80 6c 3d 78 0a
chroma info: 0d c9 a0 57 47 98 27 12 48 4c
established: 21 08 00
standard:81 80 a9 c0 71 4f b3 00 01 01 01 01 01 01 01 01
descriptor 1:02 3a 80 18 71 38 2d 40 58 2c 45 00 3d 62 42 00 00 1e
descriptor 2:01 1d 00 72 51 d0 1e 20 6e 28 55 00 3d 62 42 00 00 1e
descriptor 3:00 00 00 fc 00 53 4f 4e 59 20 54 56 20 20 2a 30 30 0a
descriptor 4:00 00 00 fd 00 30 3e 0e 46 1e 00 0a 20 20 20 20 20 20
extensions:  01
checksum:7f

Manufacturer: SNY Model f303 Serial Number 16843009
Made week 1 of 2016
EDID version: 1.3
Digital display
Maximum image size: 108 cm x 61 cm
Gamma: 2.20
Supported color formats: RGB 4:4:4, YCrCb 4:4:4
First detailed timing is preferred timing
Established timings supported:
  640x480@60Hz
  800x600@60Hz
  1024x768@60Hz
Standard timings supported:
  1280x1024@60Hz
  1600x900@60Hz
  1152x864@75Hz
  1680x1050@60Hz
Detailed mode: Clock 148.500 MHz, 1085 mm x 610 mm
   1920 2008 2052 2200 hborder 0
   1080 1084 1089 1125 vborder 0
   +hsync +vsync 
Detailed mode: Clock 74.250 MHz, 1085 mm x 610 mm
   1280 1390 1430 1650 hborder 0
720  725  730  750 vborder 0
   +hsync +vsync 
Monitor name: SONY
Monitor ranges (GTF): 48-62Hz V, 14-70kHz H, max dotclock 300MHz
Has 1 extension blocks
Checksum: 0x7f (valid)

CEA extension block
Extension version: 3
73 bytes of CEA data
  Video data block
VIC  93 3840x2160@24Hz 
VIC  94 3840x2160@25Hz 
VIC  95 3840x2160@30Hz 
VIC  98 4096x2160@24Hz 
VIC  31 1920x1080@50Hz 
VIC  16 1920x1080@60Hz 
VIC  20 1920x1080i@50Hz 
VIC   5 1920x1080i@60Hz 
VIC  19 1280x720@50Hz

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


[Nouveau] NV130 - gtx 1050 ti

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


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


[Nouveau] NV130 - gtx 1050 ti

2017-05-04 Thread Karl Schmidt

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