bhyve (EE) AddScreen/ScreenInit failed for driver 0 while trying to passthru my graphic card with bhyve

Hello.

Finally we have been able to hide the bhyve’s / kvm signature and it seems that the nvidia driver doesn't produce errors when I pass thru my graphic card RTX 2080 ti to a Debian Linux os. But I’m not totally sure that it works correctly,since I’m not able to turn on my external monitor.


Screenshot_20211102_191816.png


So,on Debian Linux. I’ve attached an old monitor to the HDMI port of the graphic card and I tried to run “startx” from the Linux terminal and this is what happened :

Code:
root@marietto-BHYVE:~# nvidia-xconfig --query-gpu-info
Number of GPUs: 1

GPU #0:
 Name      : NVIDIA GeForce RTX 2080 Ti
 UUID      : GPU-74c6f81e-9e6c-f279-2878-2d28f4333f6b

 PCI BusID : PCI:0:3:0

 Number of Display Devices: 1

 Display Device 0 (TV-2):
     EDID Name             : Samsung SyncMaster
     Minimum HorizSync     : 30.000 kHz
     Maximum HorizSync     : 81.000 kHz
     Minimum VertRefresh   : 56 Hz
     Maximum VertRefresh   : 75 Hz
     Maximum PixelClock    : 140.000 MHz
     Maximum Width         : 1280 pixels
     Maximum Height        : 1024 pixels
     Preferred Width       : 1280 pixels
     Preferred Height      : 1024 pixels
     Preferred VertRefresh : 60 Hz
     Physical Width        : 340 mm
     Physical Height       : 270 mm

root@marietto-BHYVE:~# nvidia-xconfig

WARNING: Unable to locate/open X configuration file.

New X configuration file written to '/etc/X11/xorg.conf'

root@marietto-BHYVE:~# nano /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 470.57.02

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

Section "Files"
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"
   Identifier     "Monitor0"
   VendorName     "Unknown"
   ModelName      "Unknown"
   Option         "DPMS"
EndSection

Section "Device"
   Identifier     "Device0"
   Driver         "nvidia"
   BusID          "PCI:0:3:0"
   VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
   Identifier     "Screen0"
   Device         "Device0"
   Monitor        "Monitor0"
   DefaultDepth    24
   SubSection     "Display"
       Depth       24
   EndSubSection
EndSection

root@marietto-BHYVE:~# startx

X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: linux Debian
Current Operating System: Linux marietto-BHYVE 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.10.0-9-amd64 root=UUID=a33689a9-06d9-4bba-9e75-fdd1831b7e48 ro quiet splash resume=UUID=044c5b8f-f086-4491-9606-3bfa409b9d7
3
Build Date: 13 April 2021  04:07:31PM
xorg-server 2:1.20.11-1 (https://www.debian.org/support) 
Current version of pixman: 0.40.0
       Before reporting problems, check http://wiki.x.org
       to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
       (++) from command line, (!!) notice, (II) informational,
       (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Nov  3 09:41:43 2021
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) 
Fatal server error:
(EE) AddScreen/ScreenInit failed for driver 0
(EE) 
(EE) 
Please consult the The X.Org Foundation support 
        at http://wiki.x.org
for help. 
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

I've attached the Xorg log file. My monitor does not turn on at all. I've thought that the cause was that my monitor was very very old,but I've used another monitor and I saw the same error.
 

Attachments

Back
Top