[Bug 273369] x11-servers/xorg-server: "Cannot run in framebuffer mode" after updating to 21.1.8_4,1

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273369

--- Comment #15 from Austin Shafer <[email protected]> ---
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/xorg.conf.d/10-amdgpu.conf
Section "OutputClass"
        Identifier "AMDgpu"
        MatchDriver "amdgpu"
        Driver "amdgpu"
EndSection%                                                                    
                                                                               
                         ashafer@mick:src/nvidia-drm % cat
/usr/ports/x11-drivers/xf86-video-amdgpu/work/stage/usr/local/share/X11/xorg.conf.d/20-amdgpu.conf 
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 seeing
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, just
wanting to confirm. I'd also check that the one installed in
/usr/local/share/X11/xorg.conf.d is there too.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.