Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Sep 2023 00:27:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 273369] x11-servers/xorg-server: "Cannot run in framebuffer mode" after updating to 21.1.8_4,1
Message-ID:  <bug-273369-7141-JN7CnrBwam@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273369-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273369-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273369

--- Comment #15 from Austin Shafer <ashafer@badland.io> ---
Weird, that file should have been installed by xf86-video-amdgpu albeit in =
the
/usr/local/share/X11/xorg.conf.d directory?

For me I see the following from my resident ports builds:
ashafer@mick:src/nvidia-drm % cat
/usr/ports/x11-drivers/xf86-video-amdgpu/work/stage/usr/local/share/X11/xor=
g.conf.d/10-amdgpu.conf
Section "OutputClass"
        Identifier "AMDgpu"
        MatchDriver "amdgpu"
        Driver "amdgpu"
EndSection%=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
                         ashafer@mick:src/nvidia-drm % cat
/usr/ports/x11-drivers/xf86-video-amdgpu/work/stage/usr/local/share/X11/xor=
g.conf.d/20-amdgpu.conf=20
Section "OutputClass"
    Identifier "AMD"
    MatchDriver "amdgpu"
    Driver "amdgpu"
    Option "PrimaryGPU" "yes"
EndSection

Interesting that it builds two, one with the PrimaryGPU option. We only add
10-amdgpu.conf to the PLIST_FILES so it's the only one installed.


I'm not really familiar with your exact machine and X's autoconfig behavior=
 is
still confusing to me. To me it looks like it sees a bunch of the integrated
VGA/etc entries in the PCI list. Due to the new probing stuff being enabled=
 by
D39886 it can't pick any of them to be the primary, so it needs one to be
marked PrimaryGPU in the OutputClass configuration.

I would try unplugging the VGA connector to the Aspeed card? Maybe X is see=
ing
that both GPUs display to the same output and it decides it's a PRIME setup?
Not totally sure there.

Does that amdgpu config file *have* to have PrimaryGPU? I assume it does, j=
ust
wanting to confirm. I'd also check that the one installed in
/usr/local/share/X11/xorg.conf.d is there too.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273369-7141-JN7CnrBwam>