Re: Debian 11, Nvidia Quadro P400, 2xiiyama 2560x1440, nvidia driver

2021-09-16 Thread Roger Price

On Thu, 16 Sep 2021, Andrei POPESCU wrote:

On Mi, 15 sep 21, 15:26:12, Roger Price wrote:

nouveau froze after 11 minutes.  dmesg reports;

 [  145.357954] nouveau :03:00.0: firmware: failed to load 
nouveau/nvd9_fuc084 (-2)



Where can I get the required nouveau/nvd9_fuc084 ?


A quick DDG found #990662, which suggests it's not available in a Debian
package (yet?).

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990662


Thanks for the link and thanks to ma...@debian.org for reporting it.

Roger



Re: Debian 11, Nvidia Quadro P400, 2xiiyama 2560x1440, nvidia driver

2021-09-15 Thread Andrei POPESCU
On Mi, 15 sep 21, 15:26:12, Roger Price wrote:
> 
> I got a perfect 2880x2560 screen across the two monitors.  I can slide
> windows from one monitor to another. but I didn't get much work done.
> 
> nouveau froze after 11 minutes.  dmesg reports;
> 
>  [  145.357954] nouveau :03:00.0: firmware: failed to load 
> nouveau/nvd9_fuc084 (-2)
>  [  145.357959] firmware_class: See https://wiki.debian.org/Firmware for 
> information about missing firmware
>  [  145.357962] nouveau :03:00.0: Direct firmware load for 
> nouveau/nvd9_fuc084 failed with error -2
>  [  145.357973] nouveau :03:00.0: firmware: failed to load 
> nouveau/nvd9_fuc084d (-2)
>  [  145.357975] nouveau :03:00.0: Direct firmware load for 
> nouveau/nvd9_fuc084d failed with error -2
>  [  145.357977] nouveau :03:00.0: msvld: unable to load firmware data
>  [  145.357979] nouveau :03:00.0: msvld: init failed, -19
> 
> I searched at https://www.debian.org/distrib/packages#search_contents for
> nvd9_fuc084 but found nothing.
> 
> I downloaded file firmware.tar.gz from
> https://cdimage.debian.org/cdimage/unofficial/non-free/firmware/bullseye/current/
> but couldn't find any nvidia firmware.
> 
> Where can I get the required nouveau/nvd9_fuc084 ?

A quick DDG found #990662, which suggests it's not available in a Debian 
package (yet?).

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990662


Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Debian 11, Nvidia Quadro P400, 2xiiyama 2560x1440, nvidia driver

2021-09-15 Thread Roger Price

On Mon, 6 Sep 2021, Felix Miata wrote:


Roger Price composed on 2021-09-06 22:39 (UTC+0200):

Felix Miata wrote:



The in-use X/display driver:

Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting


Available, but not in-use, X/display drivers:

unloaded: fbdev,vesa


Unloaded X/display could have listed also nouveau, but didn't because
xserver-xorg-video-nouveau was not installed.

Modesetting is the default X/display driver, which generally will not be used if
xserver-xorg-video-nouveau is installed. Modesetting is newer technology than 
the
reverse-engineered xserver-xorg-video-nouveau.

Which "nouveau" did you determine to be not ready for a >3 year old P400?


Sorry, I missed your message.

By "not ready" I meant an incomprehensible jumble which I didn't note in detail. 
I now suspect that the Quadro P400 card has problems, but I don't have a second 
card to substitute as a test.


Currently installed:
 xserver-xorg-video-nouveau 1:1.0.17-1
 libdrm-nouveau22.4.104-1

Roger



Re: Debian 11, Nvidia Quadro P400, 2xiiyama 2560x1440, nvidia driver

2021-09-15 Thread Roger Price

On Mon, 6 Sep 2021, Felix Miata wrote:


FOSS drivers and xrandr work for me:
# xrandr --output DP-1 --mode 2560x1440 --primary --rotate left --output DP-2 
--mode 2560x1080 --rotate left --right-of DP-1



Graphics:
 Device-1: NVIDIA GF119 [NVS 310] vendor: Hewlett-Packard driver: nouveau


I've been trying many combinations of xorg.conf variants and output connections. 
I found a setup which starts correctly with one 2880x2560 screen across two 
2560x1440 monitors in portrait mode.


  ,---,
 Left monitor   DP-4  3   |
 Right monitor  DP-0  2   Quadro P400 |
DP-2  1   |
  MMM Motherboard

But this is unstable.  Without activity on my part the screens blank, and when I 
hit a key, the setup is now 1440x2560 on the left monitor only. File 
/var/log/Xorg.0.log reports:


 [  7706.762] (WW) NVIDIA(0): MetaMode "DP-0:nvidia-auto-select" could not be 
re-validated
 [  7706.762] (WW) NVIDIA(0): against the current hardware configuration; 
removing.
 [  7706.762] (WW) NVIDIA(0): MetaMode "DP-0:2560x1440_70" could not be 
re-validated against
 [  7706.762] (WW) NVIDIA(0): the current hardware configuration; removing.
 [  7706.762] (WW) NVIDIA(0): MetaMode "DP-0:2048x1280" could not be 
re-validated against
 [  7706.762] (WW) NVIDIA(0): the current hardware configuration; removing.
 ...
 [  7706.762] (WW) NVIDIA(0): MetaMode "DP-0:640x480_60_0" could not be 
re-validated against
 [  7706.762] (WW) NVIDIA(0): the current hardware configuration; removing.

There seems to be a basic instability in Quadro P400 + Nvidia 460.91.03.  I have 
seen spontaneous changes from 1440x2560 to 2560x900 or 480x640, spontaneous 
rotations, and refusals to return from power-saving blanking.  Ctl-Alt-Keypad-+ 
has no effect


I followed your example, bought an Nvidia GF119 [NVS 310] for 41€, removed all 
the nvidia packages, removed xorg.conf, installed the NVS 310 and restarted the 
machine.


I got a perfect 2880x2560 screen across the two monitors.  I can slide windows 
from one monitor to another. but I didn't get much work done.


nouveau froze after 11 minutes.  dmesg reports;

 [  145.357954] nouveau :03:00.0: firmware: failed to load 
nouveau/nvd9_fuc084 (-2)
 [  145.357959] firmware_class: See https://wiki.debian.org/Firmware for 
information about missing firmware
 [  145.357962] nouveau :03:00.0: Direct firmware load for 
nouveau/nvd9_fuc084 failed with error -2
 [  145.357973] nouveau :03:00.0: firmware: failed to load 
nouveau/nvd9_fuc084d (-2)
 [  145.357975] nouveau :03:00.0: Direct firmware load for 
nouveau/nvd9_fuc084d failed with error -2
 [  145.357977] nouveau :03:00.0: msvld: unable to load firmware data
 [  145.357979] nouveau :03:00.0: msvld: init failed, -19

I searched at https://www.debian.org/distrib/packages#search_contents for 
nvd9_fuc084 but found nothing.


I downloaded file firmware.tar.gz from
https://cdimage.debian.org/cdimage/unofficial/non-free/firmware/bullseye/current/
but couldn't find any nvidia firmware.

Where can I get the required nouveau/nvd9_fuc084 ?

Roger

Re: Debian 11, Nvidia Quadro P400, 2xiiyama 2560x1440, nvidia driver

2021-09-06 Thread Felix Miata
Roger Price composed on 2021-09-06 22:39 (UTC+0200):

> Felix Miata wrote:

>> FOSS drivers and xrandr work for me:
>> # inxi -Gay
>> Graphics:
>>  Device-1: NVIDIA GF119 [NVS 310] vendor: Hewlett-Packard driver: nouveau


That's the kernel/device driver, on which X/display drivers depend, and which
lsmod would show.

> I too would prefer a FOSS driver. I tried nouveau, but it is not currently 
> ready 
> for the Quadro P400.

The in-use X/display driver:
>> Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting

Available, but not in-use, X/display drivers:
>> unloaded: fbdev,vesa

Unloaded X/display could have listed also nouveau, but didn't because
xserver-xorg-video-nouveau was not installed.

Modesetting is the default X/display driver, which generally will not be used if
xserver-xorg-video-nouveau is installed. Modesetting is newer technology than 
the
reverse-engineered xserver-xorg-video-nouveau.

Which "nouveau" did you determine to be not ready for a >3 year old P400?
-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata



Re: Debian 11, Nvidia Quadro P400, 2xiiyama 2560x1440, nvidia driver

2021-09-06 Thread Roger Price

On Mon, 6 Sep 2021, Anssi Saari wrote:


Roger Price  writes:


Before I plunge into the details, does anyone have a working xorg.conf
for such a setup?  I would prefer to start with something that works
rather than describe in detail something that doesn't work.


Maybe just dump the xorg.conf? If you use a desktop environment then it
likely has a GUI tool to set the monitors up. Or use xrandr?


I attach a report from inxi -Gay showing incorrect DP-0 monitor resolution plus 
my xorg.conf and parts of Xorg.0.conf


When I move to run level 5 in a fresh system start, the result is not always the 
same.  Sometimes DP-0 (on the right) is receiving signal for a short time. 
After 15-30 minutes DP-2 (on the left) goes dark and I have to reboot. Sometimes 
one or the other monitor will change to 900x1600 on its own without any user 
action.


Roger


Graphics:
  Device-1: NVIDIA GP107GL [Quadro P400] driver: nvidia v: 460.91.03
  bus ID: 03:00.0 chip ID: 10de:1cb3 class ID: 0300
  Display: server: X.Org 1.20.11 driver: loaded: nvidia
  display ID: localhost:10.0 screens: 1
  Screen-1: 0 s-res: 1440x2560 s-dpi: 96 s-size: 381x677mm (15.0x26.7")
  s-diag: 777mm (30.6")
  Monitor-1: DP-0 res: 900x1600 hz: 60
  Monitor-2: DP-2 res: 1440x2560 hz: 60
  OpenGL: renderer: Quadro P400/PCIe/SSE2 v: 4.6.0 NVIDIA 460.91.03
  direct render: Yes


# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 460.91.03

Section "ServerLayout"
Identifier "Layout0"
Screen  0  "Screen0" 0 0
InputDevice"Keyboard0" "CoreKeyboard"
InputDevice"Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "Module"
Load   "dbe"
Load   "extmod"
Load   "type1"
Load   "freetype"
Load   "glx"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName  "Idek Iiyama PL2783Q"
HorizSync   120.0 - 120.0
VertRefresh 48.0 - 70.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName  "Quadro P400"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor"Monitor0"
DefaultDepth24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-2"
Option "metamodes" "DP-2: nvidia-auto-select +0+0 {rotation=left}, DP-0: 
nvidia-auto-select +1440+0 {rotation=left}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth   24
EndSubSection
EndSection


Parts of Xorg.0.log :

[61.700] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Sep  6 18:54:06 
2021
[61.702] (==) Using config file: "/etc/X11/xorg.conf"
[61.702] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[61.704] (==) ServerLayout "Layout0"
[61.704] (**) |-->Screen "Screen0" (0)
[61.704] (**) |   |-->Monitor "Monitor0"
[61.705] (**) |   |-->Device "Device0"
[61.705] (**) |-->Input Device "Keyboard0"
[61.705] (**) |-->Input Device "Mouse0"
[61.705] (**) Option "Xinerama" "0"

[61.755] (**) NVIDIA(0): Option "nvidiaXineramaInfoOrder" "DFP-2"
[61.755] (**) NVIDIA(0): Option "SLI" "Off"
[61.755] (**) NVIDIA(0): Option "MultiGPU" "Off"
[61.755] (**) NVIDIA(0): Option "BaseMosaic" "off"
[61.755] (**) NVIDIA(0): Stereo disabled by request
[61.755] (**) NVIDIA(0): NVIDIA SLI disabled.
[61.755] (**) NVIDIA(0): NVIDIA Multi-GPU disabled.
[61.755] (**) NVIDIA(0): Option "MetaModes" "DP-2: nvidia-auto-select +0+0 
{rotation=left}, DP-0: nvidia-auto-select +1440+0 {rotation=left}"
[61.755] (**) NVIDIA(0): Enabling 2D acceleration
[61.755] (II) Loading sub module "glxserver_nvidia"
[61.755] (II) LoadModule: "glxserver_nvidia"
[61.755] (II) Loading 
/usr/lib/xorg/modules/extensions/libglxserver_nvidia.so
[61.833] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[61.833]compiled for 1.6.99.901, module version = 1.0.0
[61.833]Module class: X.Org Server Extension
[61.833] 

Re: Debian 11, Nvidia Quadro P400, 2xiiyama 2560x1440, nvidia driver

2021-09-06 Thread Roger Price

On Mon, 6 Sep 2021, Felix Miata wrote:


FOSS drivers and xrandr work for me:
# inxi -Gay
Graphics:
 Device-1: NVIDIA GF119 [NVS 310] vendor: Hewlett-Packard driver: nouveau


I too would prefer a FOSS driver. I tried nouveau, but it is not currently ready 
for the Quadro P400.


Roger



Re: Debian 11, Nvidia Quadro P400, 2xiiyama 2560x1440, nvidia driver

2021-09-06 Thread Anssi Saari
Roger Price  writes:

> Before I plunge into the details, does anyone have a working xorg.conf
> for such a setup?  I would prefer to start with something that works
> rather than describe in detail something that doesn't work.

Maybe just dump the xorg.conf? If you use a desktop environment then it
likely has a GUI tool to set the monitors up. Or use xrandr?

For me I don't need any setup, just luck I guess. Two displays connected
to HDMI-1 and DP-1, the right thing happens automagically. Video card is
a newish RTX3070Ti with the Nvidia driver.



Re: Debian 11, Nvidia Quadro P400, 2xiiyama 2560x1440, nvidia driver

2021-09-06 Thread Felix Miata
Roger Price composed on 2021-09-06 10:45 (UTC+0200):

> Debian 11, Nvidia Quadro P400 card, 2xiiyama 2560x1440 monitors, and the 
> nvidia 
> driver.
 
> I am trying to get 2 iiyama monitors rotated to portrait mode to show a 
> single 
> 2880x2560 screen, but so far only the left monitor lights up with a 1440x2560 
> screen.
 
> The Quadro P400 has 3 mini-DisplayPort connectors numbered 1, 2 and 3 
> starting 
> from the motherboard.
>,---,
>  DP-4  3   |
>   Right monitor  DP-0  2   Quadro P400 |
>   Left monitor   DP-2  1   |
>MMM Motherboard
 
> xrandr reports that these ports are seen as 1 -> DP-2, 2 -> DP-0, 3 -> DP-4.
 
> I connect mini-DisplayPort 1 (DP-2) to the left side monitor and 
> mini-DisplayPort 2 (DP-0) to the right monitor.  There is nothing connected 
> to 
> port 3.   
> 
FOSS drivers and xrandr work for me:
# cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: No such file or directory
# xrandr --output DP-1 --mode 2560x1440 --primary --rotate left --output DP-2 
--mode 2560x1080 --rotate left --right-of DP-1
# xrandr | egrep 'onnect|creen|\*' | grep -v disconn | sort -r
Screen 0: minimum 320 x 200, current 2520 x 2560, maximum 16384 x 16384
DP-2 connected 1080x2560+1440+0 left (normal left inverted right x axis y axis) 
673mm x 284mm
DP-1 connected primary 1440x2560+0+0 left (normal left inverted right x axis y 
axis) 598mm x 336mm
   2560x1440 59.95*+
   2560x1080 60.00*+
# inxi -S
System:
  Host: p5bse Kernel: 5.10.0-8-amd64 x86_64 bits: 64 Desktop: Trinity R14.0.11
  Distro: Debian GNU/Linux 11 (bullseye)
# inxi -Gay
Graphics:
  Device-1: NVIDIA GF119 [NVS 310] vendor: Hewlett-Packard driver: nouveau
  v: kernel bus-ID: 01:00.0 chip-ID: 10de:107d class-ID: 0300
  Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting
  unloaded: fbdev,vesa display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2520x2560 s-dpi: 120 s-size: 533x541mm (21.0x21.3")
  s-diag: 759mm (29.9")
  Monitor-1: DP-1 res: 1440x2560 hz: 60
  Monitor-2: DP-2 res: 1080x2560 hz: 60
  OpenGL: renderer: NVD9 v: 4.3 Mesa 20.3.5 direct render: Yes
-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata



Re: Debian 11, Nvidia Quadro P400, 2xiiyama 2560x1440, nvidia driver

2021-09-06 Thread deloptes
Roger Price wrote:

> Before I plunge into the details, does anyone have a working xorg.conf for
> such a setup?  I would prefer to start with something that works rather
> than describe in detail something that doesn't work.

I'm not an expert but shouldn't be there only one screen with 2 monitors
configured?



-- 
FCD6 3719 0FFB F1BF 38EA 4727 5348 5F1F DCFE BCB0



Debian 11, Nvidia Quadro P400, 2xiiyama 2560x1440, nvidia driver

2021-09-06 Thread Roger Price
Debian 11, Nvidia Quadro P400 card, 2xiiyama 2560x1440 monitors, and the nvidia 
driver.


I am trying to get 2 iiyama monitors rotated to portrait mode to show a single 
2880x2560 screen, but so far only the left monitor lights up with a 1440x2560 
screen.


The Quadro P400 has 3 mini-DisplayPort connectors numbered 1, 2 and 3 starting 
from the motherboard.

  ,---,
DP-4  3   |
 Right monitor  DP-0  2   Quadro P400 |
 Left monitor   DP-2  1   |
  MMM Motherboard

xrandr reports that these ports are seen as 1 -> DP-2, 2 -> DP-0, 3 -> DP-4.

I connect mini-DisplayPort 1 (DP-2) to the left side monitor and 
mini-DisplayPort 2 (DP-0) to the right monitor.  There is nothing connected to 
port 3.  I used nvidia-select to try to set up the screen.  This produces a file 
/etc/X11/xorg.conf in which I have


screen 0:
 Option"metamodes" "DP-2: nvidia-auto-select +0+0 {rotation=left}"

screen 1:
 Option"metamodes" "DP-0: nvidia-auto-select +1440+0 {rotation=left, 
AllowGSYNC=Off}"

This uses only the left monitor.  The right is not even powered on.

Before I plunge into the details, does anyone have a working xorg.conf for such 
a setup?  I would prefer to start with something that works rather than describe 
in detail something that doesn't work.


Roger

Quadro P400 data sheet:
https://www.nvidia.com/content/dam/en-zz/Solutions/design-visualization/productspage/quadro/quadro-desktop/quadro-pascal-p400-data-sheet-us-nv-704503-r1.pdf