No, you just expose my complete ignorance of the gaming subuniverse from the last 10 years.That game is kind of infamous for being console exclusive. (Am I ruining the joke?)
Last edited:
No, you just expose my complete ignorance of the gaming subuniverse from the last 10 years.That game is kind of infamous for being console exclusive. (Am I ruining the joke?)
Does OpenGL actually work? And after multiple VM reboots?
glxgears -info
303 frames in 5.0 seconds = 60.520 FPS
297 frames in 5.0 seconds = 59.379 FPS
301 frames in 5.0 seconds = 60.002 FPS
300 frames in 5.0 seconds = 59.828 FPS
300 frames in 5.0 seconds = 59.978 FPS
301 frames in 5.0 seconds = 60.002 FPS
glxinfo |grep render
direct rendering: Yes
OpenGL renderer string: GeForce GT 730/PCIe/SSE2
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
GL_KTX_buffer_region, GL_NVX_conditional_render, GL_NVX_gpu_memory_info,
GL_NV_compute_program5, GL_NV_conditional_render,
GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite,
GL_ARB_compute_variable_group_size, GL_ARB_conditional_render_inverted,
GL_KTX_buffer_region, GL_NVX_conditional_render, GL_NVX_gpu_memory_info,
GL_NV_compute_program5, GL_NV_conditional_render,
GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite,
GL_EXT_multisample_compatibility, GL_EXT_multisampled_render_to_texture,
GL_EXT_multisampled_render_to_texture2, GL_EXT_occlusion_query_boolean,
GL_EXT_render_snorm, GL_EXT_robustness, GL_EXT_sRGB,
GL_NV_blend_equation_advanced, GL_NV_conditional_render,
GL_NV_packed_float_linear, GL_NV_path_rendering,
GL_OES_fbo_render_mipmap, GL_OES_geometry_point_size,
My dirty little bhyve scripting doesn't do VM reboots I have to take down the whole rig.And after multiple VM reboots?
Actually this was slightly wrong..I am now launching my two Xorg VM's with tmux. So no issues there.
startxfce4
in the tmux session worked fine. Tried extra sleep time in script with no success.% sudo sh /usr/share/examples/bhyve/vmrun.sh -c 1 -d FreeBSD-12.0-RELEASE-amd64.raw -p 1/0/0 -p 1/0/1 -p 1/0/2 -p 1/0/3 vm0
...
root@freebsd:~ # kldload nvidia-modeset
nvidia0: <Unknown> on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
root@freebsd:~ # X -retro
X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 12.0-RELEASE-p5 amd64
Current Operating System: FreeBSD freebsd 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC amd64
Build Date: 16 May 2019 09:00:46AM
Current version of pixman: 0.34.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: Tue May 28 17:11:27 2019
(==) Using config file: "/etc/X11/xorg.conf"
NVRM: GPU 0000:00:04.0: RmInitAdapter failed! (0x26:0x65:1133)
nvidia0: NVRM: rm_init_adapter() failed!
(EE)
Fatal server error:
(EE) no screens found(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.
Did you make a video card config file in /usr/local/etc/X11/xorg.d/ with the video card BusID ?
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:0:4:0"
EndSection
root@freebsd:~ # pciconf -lv
...
vgapci0@pci0:0:4:0: class=0x030000 card=0x218410de chip=0x218410de rev=0xa1 hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'TU116 [GeForce GTX 1660]'
class = display
subclass = VGA
hdac0@pci0:0:5:0: class=0x040300 card=0x218410de chip=0x1aeb10de rev=0xa1 hdr=0x00
vendor = 'NVIDIA Corporation'
class = multimedia
subclass = HDA
xhci0@pci0:0:6:0: class=0x0c0330 card=0x218410de chip=0x1aec10de rev=0xa1 hdr=0x00
vendor = 'NVIDIA Corporation'
class = serial bus
subclass = USB
none0@pci0:0:7:0: class=0x0c8000 card=0x218410de chip=0x1aed10de rev=0xa1 hdr=0x00
vendor = 'NVIDIA Corporation'
class = serial bus
That is what I used as you can see from my above command.Should I try UEFI mode?
That is what I used as you can see from my above command.
How do you have everything in pciconf as NVIDIA?? For example:: NVIDIA Serial Bus - USB Is this a Nvidia chipset motherboard?? AMD board? LGA2011?
I saw no such errors as you have.
root@attempt2:~ # sysctl hw.nvidia.registry.ResmanDebugLevel=0
hw.nvidia.registry.ResmanDebugLevel: 4294967295 -> 0
root@attempt2:~ # echo 123 > /dev/nvidia0
NVRM: GPU 0000:00:04.0: RmInitAdapter
NVRM: GPU 0000:00:04.0: RmSetupRegisters for 0x10de:0x2184
NVRM: GPU 0000:00:04.0: pci config info:
NVRM: GPU 0000:00:04.0: registers look like: 0xc1000000 0x1000000NVRM: GPU 0000:00:04.0: fb looks like: 0xd000000000 0x10000000NVRM: GPU 0000:00:04.0: Successfully mapped framebuffer and registers
NVRM: GPU 0000:00:04.0: final mappings:
NVRM: GPU 0000:00:04.0: regs: 0xc1000000 0x1000000 0x0xfffff800c1000000
NVRM: nv_acpi_dsm_method: failed to evaluate _DSM method!
NVRM: nv_acpi_dsm_method: failed to evaluate _DSM method!
NVRM: nv_acpi_dsm_method: failed to evaluate _DSM method!
NVRM: nv_acpi_dsm_method: failed to evaluate _DSM method!
NVRM: nv_acpi_dsm_method: failed to evaluate _DSM method!
NVRM: nv_acpi_dsm_method: failed to evaluate _DSM method!
NVRM: nv_acpi_dsm_method: failed to evaluate _DSM method!
NVRM: nv_acpi_dod_method: failed to evaluate _DOD method!
NVRM: GPU 0000:00:04.0: RM reports GPU is not primary VGA
NVRM: GPU 0000:00:04.0: PCI config space reports GPU is not primary VGA
NVRM: GPU 0000:00:04.0: is not primary VGA
NVRM: nv_acpi_dod_method: failed to evaluate _DOD method!
NVRM: GPU 0000:00:04.0: Tearing down registers
NVRM: GPU 0000:00:04.0: RmInitAdapter failed! (0x26:0x65:1133)
nvidia0: NVRM: rm_init_adapter() failed!
/dev/nvidia0: Input/output error.
Yes this is strange. I have ran the bhyve Tiano UEFI firmware on both Legacy host install as well as EFI host install.UEFI actually fails with "Boot Failed. EFI Misc Device", which is not something I expected from an official bhyve image.
Yes this is strange. I have ran the bhyve Tiano UEFI firmware on both Legacy host install as well as EFI host install.
Running package system 'latest' for the firmware. Copy it out to VM directory for convenience.
The Tiano -UEFI-CSM module is broke but I saw DianeB. investigating that in mailing list post.
pcib12@pci0:8:9:0: class=0x060400 card=0x860810b5 chip=0x860810b5 rev=0xba hdr=0x01
vendor = 'PLX Technology, Inc.'
device = 'PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch'
class = bridge
subclass = PCI-PCI
xhci0@pci0:9:0:0: class=0x0c0330 card=0x00151912 chip=0x00151912 rev=0x02 hdr=0x00
vendor = 'Renesas Technology Corp.'
device = 'uPD720202 USB 3.0 Host Controller'
class = serial bus
subclass = USB
ppt0@pci0:10:0:0: class=0x0c0330 card=0x00151912 chip=0x00151912 rev=0x02 hdr=0x00
vendor = 'Renesas Technology Corp.'
device = 'uPD720202 USB 3.0 Host Controller'
class = serial bus
subclass = USB
xhci1@pci0:11:0:0: class=0x0c0330 card=0x00151912 chip=0x00151912 rev=0x02 hdr=0x00
vendor = 'Renesas Technology Corp.'
device = 'uPD720202 USB 3.0 Host Controller'
class = serial bus
subclass = USB
xhci2@pci0:12:0:0: class=0x0c0330 card=0x00151912 chip=0x00151912 rev=0x02 hdr=0x00
vendor = 'Renesas Technology Corp.'
device = 'uPD720202 USB 3.0 Host Controller'
class = serial bus
subclass = USB
pcib13@pci0:13:0:0: class=0x060400 card=0x860810b5 chip=0x860810b5 rev=0xba hdr=0x01
vendor = 'PLX Technology, Inc.'
device = 'PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch'
class = bridge
subclass = PCI-PCI
pcib14@pci0:14:1:0: class=0x060400 card=0x860810b5 chip=0x860810b5 rev=0xba hdr=0x01
vendor = 'PLX Technology, Inc.'
device = 'PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch'
class = bridge
subclass = PCI-PCI
pcib15@pci0:14:5:0: class=0x060400 card=0x860810b5 chip=0x860810b5 rev=0xba hdr=0x01
vendor = 'PLX Technology, Inc.'
device = 'PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch'
class = bridge
subclass = PCI-PCI
pcib16@pci0:14:7:0: class=0x060400 card=0x860810b5 chip=0x860810b5 rev=0xba hdr=0x01
vendor = 'PLX Technology, Inc.'
device = 'PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch'
class = bridge
subclass = PCI-PCI
pcib17@pci0:14:9:0: class=0x060400 card=0x860810b5 chip=0x860810b5 rev=0xba hdr=0x01
vendor = 'PLX Technology, Inc.'
device = 'PEX 8608 8-lane, 8-Port PCI Express Gen 2 (5.0 GT/s) Switch'
class = bridge
subclass = PCI-PCI
ppt6@pci0:15:0:0: class=0x0c0330 card=0x00151912 chip=0x00151912 rev=0x02 hdr=0x00
vendor = 'Renesas Technology Corp.'
device = 'uPD720202 USB 3.0 Host Controller'
class = serial bus
subclass = USB
ppt7@pci0:16:0:0: class=0x0c0330 card=0x00151912 chip=0x00151912 rev=0x02 hdr=0x00
vendor = 'Renesas Technology Corp.'
device = 'uPD720202 USB 3.0 Host Controller'
class = serial bus
subclass = USB
ppt8@pci0:17:0:0: class=0x0c0330 card=0x00151912 chip=0x00151912 rev=0x02 hdr=0x00
vendor = 'Renesas Technology Corp.'
device = 'uPD720202 USB 3.0 Host Controller'
class = serial bus
subclass = USB
ppt9@pci0:18:0:0: class=0x0c0330 card=0x00151912 chip=0x00151912 rev=0x02 hdr=0x00
vendor = 'Renesas Technology Corp.'
device = 'uPD720202 USB 3.0 Host Controller'
class = serial bus
subclass = USB