On Tue, May 24, 2022 at 4:10 PM Dave Howorth
[ 20.026] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0 [ 20.026] (--) NVIDIA(0): CRT-0 (boot) [ 20.026] (--) NVIDIA(0): CRT-1 [ 20.026] (--) NVIDIA(0): DFP-0 [ 20.026] (--) NVIDIA(0): DFP-1 [ 20.027] (II) NVIDIA(0): NVIDIA GPU GeForce GT 610 (GF119) at PCI:1:0:0 (GPU-0) [ 20.027] (--) NVIDIA(0): Memory: 1048576 kBytes [ 20.027] (--) NVIDIA(0): VideoBIOS: 75.19.55.00.02 [ 20.027] (II) NVIDIA(0): Detected PCI Express Link width: 16X [ 20.040] (--) NVIDIA(GPU-0): CRT-0: disconnected [ 20.040] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock [ 20.040] (--) NVIDIA(GPU-0): [ 20.041] (--) NVIDIA(GPU-0): CRT-1: disconnected [ 20.041] (--) NVIDIA(GPU-0): CRT-1: 400.0 MHz maximum pixel clock [ 20.041] (--) NVIDIA(GPU-0): [ 20.057] (--) NVIDIA(GPU-0): DFP-0: disconnected [ 20.057] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS [ 20.057] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock [ 20.058] (--) NVIDIA(GPU-0): [ 20.058] (--) NVIDIA(GPU-0): DFP-1: disconnected [ 20.058] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS [ 20.058] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock [ 20.058] (--) NVIDIA(GPU-0): [ 20.058] (EE) NVIDIA(0): Failed to assign any connected display devices to X screen 0. [ 20.058] (EE) NVIDIA(0): Set AllowEmptyInitialConfiguration if you want the server [ 20.058] (EE) NVIDIA(0): to start anyway
Aren't the above three lines the important part? Just do what it says! It is described on https://download.nvidia.com/XFree86/Linux-x86_64/435.17/README/xconfigoption...
I don't use nvidia myself, so I can't speak to anything else.
Sort of. If I add that option, the X server and all then start (yeah!). But the display is very small. I had better luck adding a file called /etc/X11/xorg.conf.d/10-headless.conf in which I have put this: Section "Monitor" Identifier "dummy_monitor" HorizSync 28.0-80.0 VertRefresh 48.0-75.0 Modeline "1920x1080" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 EndSection Section "Device" Identifier "dummy_card" VideoRam 256000 Driver "dummy" EndSection Section "Screen" Identifier "dummy_screen" Device "dummy_card" # Option "AllowEmptyInitialConfiguration" "true" Monitor "dummy_monitor" SubSection "Display" EndSubSection EndSection Note that since I wanted to set the size (otherwise it is far too small to use), this resulted in a configuration. So the NVIDIA AllowEmptyInitialConfiguration seems not to be needed. So it is commented out. I see no other way to get a decent size. So, I could consider this closed. Except that I think it would make great sense for the xf86-video-dummy package to include the file above. Perhaps not enabled, but in place so one knows how to actually use the driver it provides. Otherwise it is an incomplete thing. -- Roger Oberholtzer