Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Dec 2022 10:40:25 +0100
From:      =?ISO-8859-1?Q?Corvin_K=F6hne?= <corvink@FreeBSD.org>
To:        Mario Marietto <marietto2008@gmail.com>, =?ISO-8859-1?Q?Corvin_K=F6hne?= <corvink@freebsd.org>
Cc:        virtualization@freebsd.org, freebsd-x11+help@freebsd.org, FreeBSD virtualization <freebsd-virtualization@freebsd.org>, hackers@freebsd.org
Subject:   =?US-ASCII?Q?Re=3A_How_to_use_the_framebuffer_?= =?US-ASCII?Q?as_primary_video_device_instead?= =?US-ASCII?Q?_of_the_nvidia_passed-through_g?= =?US-ASCII?Q?raphic_card_in_a_bhyve/linux_vm?=
Message-ID:  <C50FF4A3-33E6-4A55-B54F-05A09A8BE9BB@FreeBSD.org>
In-Reply-To: <CA%2B1FSig_TNz6iVaVAEAJtUuXu6QuCGM_-oatDEje4yUsE4yRkw@mail.gmail.com>
References:  <CA%2B1FSigGi%2BY-pqS9ARwY%2BdpRS2HBc-wxc0cd5ixKTAw%2Ba6uNZw@mail.gmail.com> <2E8B4BF7-A39E-4B93-820D-FC66F8C2F94B@FreeBSD.org> <CA%2B1FSig_TNz6iVaVAEAJtUuXu6QuCGM_-oatDEje4yUsE4yRkw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
------RVWP21E210Y1WYVOOQ949O2E7KPGYQ
Content-Transfer-Encoding: 7bit
Content-Type: multipart/alternative;
 boundary=----H6FBY8VGI8VXKDMZYDEM5KZVWOX61O

------H6FBY8VGI8VXKDMZYDEM5KZVWOX61O
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

On December 3, 2022 7:14:29 PM GMT+01:00, Mario Marietto <marietto2008@gmai=
l=2Ecom> wrote:
>ok=2E I tried like this,but it didn't work :
>
>bhyve -S -c sockets=3D1,cores=3D2,threads=3D2 -m 4G -w -H -A \
>-s 0,hostbridge \
>-s 2,virtio-blk,/mnt/$vmdisk1'p2'/bhyve/img/Linux/ubuntu2210=2Eimg,bootin=
dex=3D1 \
>-s 3,virtio-blk,/dev/$vmdisk4 \
>-s 4,virtio-blk,/dev/$vmdisk2 \-s 7,fbuf,tcp=3D0=2E0=2E0=2E0:5919,w=3D160=
0,h=3D950,wait \
>-s 8:0,passthru,2/0/0 \
>-s 8:1,passthru,2/0/1 \
>-s 8:2,passthru,2/0/2 \
>-s 8:3,passthru,2/0/3 \
>-s 10,virtio-net,tap19 \
>-s 11,virtio-9p,sharename=3D/ \
>-s 30,xhci,tablet \
>-s 31,lpc \
>-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI_CODE=2Efd \
>vm0:19 < /dev/null & sleep 2 && vncviewer 0:19
>
>I tried specifying the bus ID of the framebuffer and I have used this
>xorg=2Econf file :
>
>Section "Files"
>    ModulePath   "/usr/lib/xorg/modules"
>    FontPath     "/usr/share/fonts/X11/misc"
>    FontPath     "/usr/share/fonts/X11/cyrillic"
>    FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
>    FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
>    FontPath     "/usr/share/fonts/X11/Type1"
>    FontPath     "/usr/share/fonts/X11/100dpi"
>    FontPath     "/usr/share/fonts/X11/75dpi"
>    FontPath     "built-ins"
>EndSection
>
>Section "Module"
>    Load  "vnc"
>    Load  "glx"
>EndSection
>
>
>Section "InputDevice"
>    Identifier  "Keyboard0"
>    Driver      "kbd"
>EndSection
>
>Section "InputDevice"
>    Identifier  "Mouse0"
>    Driver      "mouse"
>    Option        "Protocol" "auto"
>    Option        "Device" "/dev/input/mice"
>    Option        "ZAxisMapping" "4 5 6 7"
>
>EndSection
>
>Section "Monitor"
>    Identifier   "Monitor0"
>    VendorName   "Monitor Vendor"
>    ModelName    "Monitor Model"
>EndSection
>
>Section "Device"
>   Identifier  "Card0"
>   Driver      "modesetting"
>   BusID       "PCI:0:7:0"
>
>EndSection
>
>Section "Screen"
>    Identifier "Screen0"
>    Device     "Card0"
>    Monitor    "Monitor0"
>    SubSection "Display"
>        Viewport   0 0
>        Depth     1
>    EndSubSection
>    SubSection "Display"
>        Viewport   0 0
>        Depth     4
>    EndSubSection
>    SubSection "Display"
>        Viewport   0 0
>        Depth     8
>    EndSubSection
>    SubSection "Display"
>        Viewport   0 0
>        Depth     15
>    EndSubSection
>    SubSection "Display"
>        Viewport   0 0
>        Depth     16
>    EndSubSection
>    SubSection "Display"
>        Viewport   0 0
>        Depth     24
>    EndSubSection
>EndSection
>
>The error reported has been :
>
>https://ibb=2Eco/1KX2h26
>https://ibb=2Eco/Cv5FffB
>
>thanks=2E
>
>Il giorno sab 3 dic 2022 alle ore 17:34 Corvin K=C3=B6hne <corvink@freebs=
d=2Eorg>
>ha scritto:
>
>> On December 3, 2022 4:49:46 PM GMT+01:00, Mario Marietto <
>> marietto2008@gmail=2Ecom> wrote:
>>>
>>> Hello to everyone=2E
>>>
>>> what Im trying to do is to set the framebuffer video adapter as primar=
y
>>> graphic card on my bhyve-ubuntu vm instead of the nvidia RTX 2080 ti c=
ard
>>> that I have passed through=2E What I want to do really is to use both =
the
>>> graphic adapters,but the primary should be the framebuffer and the
>>> secondary the nvidia=2E I tried different Xorg configurations,but what=
 I've
>>> got is that Xorg failed to display some errors=2E So,the controller th=
at you
>>> see below should be used as primary inside the ubuntu vm :
>>>
>>> 00:1d=2E0 VGA compatible controller: Device fb5d:40fb
>>>
>>> while the ones you see below as secondary :
>>>
>>> 08:00=2E0 VGA compatible controller: NVIDIA Corporation TU102 [GeForce=
 RTX 2080 Ti] (rev a1)
>>> 08:00=2E1 Audio device: NVIDIA Corporation TU102 High Definition Audio=
 Controller (rev a1)
>>> 08:00=2E2 USB controller: NVIDIA Corporation TU102 USB 3=2E1 Host Cont=
roller (rev a1)
>>> 08:00=2E3 Serial bus controller: NVIDIA Corporation TU102 USB Type-C U=
CSI Controller (rev a1)
>>>
>>>
>>> The script that I use to launch the vm is the following :
>>>
>>> #!/bin/sh
>>> setxkbmap it
>>> vms=3D"$(ls /dev/vmm/*)"
>>> vncs=3D"$(ps ax | awk '/vncviewer [0]/{print $6}')"
>>>
>>> for vm in $vms; do
>>>                 session=3D"${vm##*/}"
>>>                 echo "bhyve session =3D $session"
>>>                 echo "vnc session =3D $vncs"
>>>                 if ! printf '%s\n' "${vncs}" | grep "${session}"; then
>>>                                 printf 'VNC session not found,destroyi=
ng ghost vms\n'
>>>                                 bhyvectl --vm=3D$session --destroy
>>>                 else
>>>                                 printf 'Found VNC session %s\n' "${ses=
sion},no ghost vms found,not destroying them"
>>>                 fi
>>> done
>>>
>>> vmdisk1=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^ *ident: (2=
015020204055E)/ && d{print d}'`
>>> echo "TOSHIBA External USB 3=2E0 1=2E8 TB ; $vmdisk1"
>>>
>>> mount -t ufs /dev/$vmdisk1'p2' /mnt/$vmdisk1'p2'
>>>
>>> bhyve -S -c sockets=3D1,cores=3D2,threads=3D2 -m 4G -w -H -A \
>>> -s 0,hostbridge \
>>> -s 2,virtio-blk,/mnt/$vmdisk1'p2'/bhyve/img/Linux/ubuntu2210=2Eimg,boo=
tindex=3D1 \
>>> -s 3,virtio-blk,/dev/$vmdisk4 \
>>> -s 4,virtio-blk,/dev/$vmdisk2 \
>>> -s 8:0,passthru,2/0/0 \
>>> -s 8:1,passthru,2/0/1 \
>>> -s 8:2,passthru,2/0/2 \
>>> -s 8:3,passthru,2/0/3 \
>>> -s 10,virtio-net,tap19 \
>>> -s 11,virtio-9p,sharename=3D/ \
>>> -s 29,fbuf,tcp=3D0=2E0=2E0=2E0:5919,w=3D1600,h=3D950,wait \
>>> -s 30,xhci,tablet \
>>> -s 31,lpc \
>>> -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI_CODE=2Efd \
>>> vm0:19 < /dev/null & sleep 2 && vncviewer 0:19
>>>
>>> For sure ,on /boot/loader=2Econf I've added :
>>>
>>> /boot/loader=2Econf
>>>
>>> pptdevs=3D"2/0/0 2/0/1 2/0/2 2/0/3"
>>>
>>> As I said before,I tried two xorg conf files to achieve the goal=2E On=
 the
>>> first one I tried to add only the framebuffer,like this :
>>>
>>>
>>> Section "Files"
>>>     ModulePath   "/usr/lib/xorg/modules"
>>>     FontPath     "/usr/share/fonts/X11/misc"
>>>     FontPath     "/usr/share/fonts/X11/cyrillic"
>>>     FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
>>>     FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
>>>     FontPath     "/usr/share/fonts/X11/Type1"
>>>     FontPath     "/usr/share/fonts/X11/100dpi"
>>>     FontPath     "/usr/share/fonts/X11/75dpi"
>>>     FontPath     "built-ins"
>>> EndSection
>>>
>>> Section "Module"
>>>     Load  "vnc"
>>>     Load  "glx"
>>> EndSection
>>>
>>>
>>> Section "InputDevice"
>>>     Identifier  "Keyboard0"
>>>     Driver      "kbd"
>>> EndSection
>>>
>>> Section "InputDevice"
>>>     Identifier  "Mouse0"
>>>     Driver      "mouse"
>>>     Option        "Protocol" "auto"
>>>     Option        "Device" "/dev/input/mice"
>>>     Option        "ZAxisMapping" "4 5 6 7"
>>>
>>> EndSection
>>>
>>> Section "Monitor"
>>>     Identifier   "Monitor0"
>>>     VendorName   "Monitor Vendor"
>>>     ModelName    "Monitor Model"
>>> EndSection
>>>
>>> Section "Device"
>>>    Identifier  "Card0"
>>>    Driver      "modesetting"
>>>    BusID       "PCI:0:29:0"
>>>
>>> EndSection
>>>
>>> Section "Screen"
>>>     Identifier "Screen0"
>>>     Device     "Card0"
>>>     Monitor    "Monitor0"
>>>     SubSection "Display"
>>>         Viewport   0 0
>>>         Depth     1
>>>     EndSubSection
>>>     SubSection "Display"
>>>         Viewport   0 0
>>>         Depth     4
>>>     EndSubSection
>>>     SubSection "Display"
>>>         Viewport   0 0
>>>         Depth     8
>>>     EndSubSection
>>>     SubSection "Display"
>>>         Viewport   0 0
>>>         Depth     15
>>>     EndSubSection
>>>     SubSection "Display"
>>>         Viewport   0 0
>>>         Depth     16
>>>     EndSubSection
>>>     SubSection "Display"
>>>         Viewport   0 0
>>>         Depth     24
>>>     EndSubSection
>>> EndSection
>>>
>>>
>>> but it didn't work=2E This is the log file that shows the errors repor=
ted : https://pastebin=2Eubuntu=2Ecom/p/Gv7wgsDR4K/
>>> I have also removed the xorg=2Econf file,but it didn't work either=2E =
This is the log file that shows the errors reported :
>>>
>>>
>>> https://pastebin=2Eubuntu=2Ecom/p/wNcfQTByQm/
>>>
>>> Can someone give me some suggestions that can help me to understand wh=
ere the mistake is,please,thanks=2E
>>>
>>> --
>>> Mario=2E
>>>
>>
>> Try to assign a lower pci slot number to the framebuffer device than to
>> the nvidia gpu in your bhyve command=2E
>> --
>> Best regards,
>> Corvin
>>
>
>
>--=20
>Mario=2E

I'm unfamiliar with X but according to your logs it looks like it selects =
the framebuffer device as primary graphics in the first place:


(--) PCI:*(0@0:7:0) =2E=2E=2E
(--) PCI: (0@0:8:0) =2E=2E=2E


--=20
Best regards,
Corvin
------H6FBY8VGI8VXKDMZYDEM5KZVWOX61O
Content-Type: text/html;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div class=3D"gmail_quote">On December 3, 2022 7:1=
4:29 PM GMT+01:00, Mario Marietto &lt;marietto2008@gmail=2Ecom&gt; wrote:<b=
lockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0=2E8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir=3D"ltr"><div>ok=2E I tried like this,but it didn't work :</div><d=
iv><pre dir=3D"ltr"><code>bhyve -S -c sockets=3D1,cores=3D2,threads=3D2 -m =
4G -w -H -A \
-s 0,hostbridge \
-s 2,virtio-blk,/mnt/$vmdisk1'p2'/bhyve/img/Linux/ubuntu2210=2Eimg,bootind=
ex=3D1 \
-s 3,virtio-blk,/dev/$vmdisk4 \
-s 4,virtio-blk,/dev/$vmdisk2 \
<code>-s 7,fbuf,tcp=3D<a href=3D"http://0=2E0=2E0=2E0:5919" target=3D"_bla=
nk">0=2E0=2E0=2E0:5919</a>,w=3D1600,h=3D950,wait \<br></code>-s 8:0,passthr=
u,2/0/0 \
-s 8:1,passthru,2/0/1 \
-s 8:2,passthru,2/0/2 \
-s 8:3,passthru,2/0/3 \
-s 10,virtio-net,tap19 \
-s 11,virtio-9p,sharename=3D/ \
-s 30,xhci,tablet \
-s 31,lpc \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI_CODE=2Efd \
vm0:19 &lt; /dev/null &amp; sleep 2 &amp;&amp; vncviewer 0:19<br><br></cod=
e></pre></div><div>I tried specifying the bus ID of the framebuffer and I h=
ave used this xorg=2Econf file :</div><div><br></div><div><pre dir=3D"ltr">=
<code>Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/X11/misc"
    FontPath     "/usr/share/fonts/X11/cyrillic"
    FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/Type1"
    FontPath     "/usr/share/fonts/X11/100dpi"
    FontPath     "/usr/share/fonts/X11/75dpi"
    FontPath     "built-ins"
EndSection

Section "Module"
    Load  "vnc"
    Load  "glx"
EndSection


Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"

EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"
   Identifier  "Card0"
   Driver      "modesetting"
   BusID       "PCI:0:7:0"

EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection<br></code></pre>The error reported has been :</div><div><br></d=
iv><div><a href=3D"https://ibb=2Eco/1KX2h26">https://ibb=2Eco/1KX2h26</a><b=
r><a href=3D"https://ibb=2Eco/Cv5FffB">https://ibb=2Eco/Cv5FffB</a></div><d=
iv><br></div><div>thanks=2E <br></div></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">Il giorno sab 3 dic 2022 alle ore 17:=
34 Corvin K=C3=B6hne &lt;<a href=3D"mailto:corvink@freebsd=2Eorg">corvink@f=
reebsd=2Eorg</a>&gt; ha scritto:<br></div><blockquote class=3D"gmail_quote"=
 style=3D"margin:0px 0px 0px 0=2E8ex;border-left:1px solid rgb(204,204,204)=
;padding-left:1ex"><div><div class=3D"gmail_quote">On December 3, 2022 4:49=
:46 PM GMT+01:00, Mario Marietto &lt;<a href=3D"mailto:marietto2008@gmail=
=2Ecom" target=3D"_blank">marietto2008@gmail=2Ecom</a>&gt; wrote:<blockquot=
e class=3D"gmail_quote" style=3D"margin:0pt 0pt 0pt 0=2E8ex;border-left:1px=
 solid rgb(204,204,204);padding-left:1ex">
<div dir=3D"ltr">Hello to everyone=2E<br>
<br>
what Im trying to do is to set the framebuffer video adapter as primary=20
graphic card on my bhyve-ubuntu vm instead of the nvidia RTX 2080 ti=20
card that I have passed through=2E What I want to do really is to use both
 the graphic adapters,but the primary should be the framebuffer and the=20
secondary the nvidia=2E I tried different Xorg configurations,but what I'v=
e
 got is that Xorg failed to display some errors=2E So,the controller
 that you see below should be used as primary inside the ubuntu vm :<br><d=
iv><br></div><div><div dir=3D"ltr">
		<pre dir=3D"ltr"><code>00:1d=2E0 VGA compatible controller: Device fb5d:=
40fb<br><br></code></pre>
	</div><div dir=3D"ltr">
while the ones you see below as secondary :</div><div dir=3D"ltr"><br></di=
v></div><div><pre dir=3D"ltr"><code>08:00=2E0 VGA compatible controller: NV=
IDIA Corporation TU102 [GeForce RTX 2080 Ti] (rev a1)
08:00=2E1 Audio device: NVIDIA Corporation TU102 High Definition Audio Con=
troller (rev a1)
08:00=2E2 USB controller: NVIDIA Corporation TU102 USB 3=2E1 Host Controll=
er (rev a1)
08:00=2E3 Serial bus controller: NVIDIA Corporation TU102 USB Type-C UCSI =
Controller (rev a1)</code></pre></div><div><br></div><div>

The script that I use to launch the vm is the following :</div><div><br></=
div><div><pre dir=3D"ltr"><code>#!/bin/sh
setxkbmap it
vms=3D"$(ls /dev/vmm/*)"
vncs=3D"$(ps ax | awk '/vncviewer [0]/{print $6}')"

for vm in $vms; do
                session=3D"${vm##*/}"
                echo "bhyve session =3D $session"
                echo "vnc session =3D $vncs"
                if ! printf '%s\n' "${vncs}" | grep "${session}"; then
                                printf 'VNC session not found,destroying g=
host vms\n'
                                bhyvectl --vm=3D$session --destroy        =
                  =20
                else
                                printf 'Found VNC session %s\n' "${session=
},no ghost vms found,not destroying them"
                fi
done

vmdisk1=3D`geom disk list | awk '/^Geom name: /{d=3D$NF} /^ *ident: (20150=
20204055E)/ &amp;&amp; d{print d}'`
echo "TOSHIBA External USB 3=2E0 1=2E8 TB ; $vmdisk1"

mount -t ufs /dev/$vmdisk1'p2' /mnt/$vmdisk1'p2'

bhyve -S -c sockets=3D1,cores=3D2,threads=3D2 -m 4G -w -H -A \
-s 0,hostbridge \
-s 2,virtio-blk,/mnt/$vmdisk1'p2'/bhyve/img/Linux/ubuntu2210=2Eimg,bootind=
ex=3D1 \
-s 3,virtio-blk,/dev/$vmdisk4 \
-s 4,virtio-blk,/dev/$vmdisk2 \
-s 8:0,passthru,2/0/0 \
-s 8:1,passthru,2/0/1 \
-s 8:2,passthru,2/0/2 \
-s 8:3,passthru,2/0/3 \
-s 10,virtio-net,tap19 \
-s 11,virtio-9p,sharename=3D/ \
-s 29,fbuf,tcp=3D<a href=3D"http://0=2E0=2E0=2E0:5919" target=3D"_blank">0=
=2E0=2E0=2E0:5919</a>,w=3D1600,h=3D950,wait \
-s 30,xhci,tablet \
-s 31,lpc \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI_CODE=2Efd \
vm0:19 &lt; /dev/null &amp; sleep 2 &amp;&amp; vncviewer 0:19<br><br>
<span style=3D"font-family:arial black,sans-serif">For sure ,on /boot/load=
er=2Econf I've added :<br><br></span></code></pre></div><div><pre dir=3D"lt=
r"><code>/boot/loader=2Econf

pptdevs=3D"2/0/0 2/0/1 2/0/2 2/0/3"<br><br>
<span style=3D"font-family:arial black,sans-serif">As I said before,I trie=
d two xorg conf files to achieve the goal=2E On the
first one I tried to add only the framebuffer,like this :</span></code></p=
re></div><div><pre dir=3D"ltr"><code><br>Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/X11/misc"
    FontPath     "/usr/share/fonts/X11/cyrillic"
    FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/Type1"
    FontPath     "/usr/share/fonts/X11/100dpi"
    FontPath     "/usr/share/fonts/X11/75dpi"
    FontPath     "built-ins"
EndSection

Section "Module"
    Load  "vnc"
    Load  "glx"
EndSection


Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"

EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"
   Identifier  "Card0"
   Driver      "modesetting"
   BusID       "PCI:0:29:0"

EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection<br><br><br><span style=3D"font-family:arial black,sans-serif">b=
ut it didn't work=2E This is the log file that shows the errors reported : =
<a href=3D"https://pastebin=2Eubuntu=2Ecom/p/Gv7wgsDR4K/" rel=3D"nofollow u=
gc noopener" target=3D"_blank">https://pastebin=2Eubuntu=2Ecom/p/Gv7wgsDR4K=
/</a></span><br><span style=3D"font-family:arial black,sans-serif">I have a=
lso removed the xorg=2Econf file,but it didn't work either=2E This is the l=
og file that shows the errors reported :</span><br><br><br><a href=3D"https=
://pastebin=2Eubuntu=2Ecom/p/wNcfQTByQm/" target=3D"_blank">https://pastebi=
n=2Eubuntu=2Ecom/p/wNcfQTByQm/</a><br><br>
<span style=3D"font-family:arial black,sans-serif">Can someone give me som=
e suggestions that can help me to understand where the mistake is,please,th=
anks=2E</span>
</code></pre></div><div>-- </div><div dir=3D"ltr">Mario=2E<br></div></div>
</blockquote></div><br clear=3D"all">Try to assign a lower pci slot number=
 to the framebuffer device than to the nvidia gpu in your bhyve command=2E<=
br><div style=3D"white-space:pre-wrap"><div>-- <br>Best regards,<br>Corvin<=
/div></div></div></blockquote></div><br clear=3D"all"></blockquote></div><b=
r clear=3D"all">I'm unfamiliar with X but according to your logs it looks l=
ike it selects the framebuffer device as primary graphics in the first plac=
e:<br><br><br>(--) PCI:*(0@0:7:0) =2E=2E=2E<br>(--) PCI: (0@0:8:0) =2E=2E=
=2E<br><br><div style=3D'white-space: pre-wrap'><div class=3D'k9mail-signat=
ure'>-- <br>Best regards,<br>Corvin</div></div></body></html>
------H6FBY8VGI8VXKDMZYDEM5KZVWOX61O--

------RVWP21E210Y1WYVOOQ949O2E7KPGYQ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iQJBBAABCgArJBxDb3J2aW4gS8O2aG5lIDxjb3J2aW5rQEZyZWVCU0Qub3JnPgUC
Y4xrCQAKCRDYVNpWMV4CarxeD/sG7n++0ZdYzXBzRqMy1wkbQ7aKRyUXfavw4rRi
Ac76xISHv7uWKh0gk0MJgZ9TF3++NzVL4zSie2tLDLUEuWX42ZuEFyfTZuAk/KpJ
zLR0AbHbYrNA+uu5+itdq6AXaVT1ViRzx5+DiUmb/m7CthTk/OO2gCs3wuIwzfYp
1jmrfLr6dYJ0aSK5oB7j1cY5SeaRTjQ6i69Y1znp7s7ScpzaECaKlt0FEdaGSQXu
2yuJ231o2zv4Gtx5GVZOmC8qu5l8Pm031NRIX/+fsed0qZc+FAempR1MdlVVcz+S
XsZjaDJnhH/LQlCu7QAgO2L9BeECq2Dxuf2H6DoXPY2FWgtD+3NruB6xKSWDXMer
IOmLnbVnn3rkHs6aquIwLIeHHVgVE8yGckRjoeMaPWCZJIlG5U2mH4OLemZapRXJ
ZxG56XZV06qW/4F0Lhxjz6RyW/KEp8xFHmWjyOcpaJce3HhAl2rNLXtxv8rVOi8a
VBGx9GiDajn+Xq17xhwrTsrzppTjLfFq0bXnfL0gcnMkASbXnrHxrMUCYGPzzHTS
2OhwxfmlqMhpFK4TN77qcLIM3SijQTt7WYlMYaRacVrbNs2VuXihqgppA6T4Wmys
9lONeuePJAIsRnYo1fuAezC371QlKPzSlLoxs85gx5bcn5bVzNOkVDacACQiAF61
k0rLww==
=6qaz
-----END PGP SIGNATURE-----

------RVWP21E210Y1WYVOOQ949O2E7KPGYQ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C50FF4A3-33E6-4A55-B54F-05A09A8BE9BB>