Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 May 2024 22:28:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 278212] amdgpu / AMD Radeon XT 6900 - kernel panic (page fault) on FreeBSD 14.0-RELEASE-p6
Message-ID:  <bug-278212-227-yO9h1D5NTC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-278212-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-278212-227@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=3D278212

--- Comment #5 from Tomasz "CeDeROM" CEDRO <tomek@cedro.info> ---
Okay this fallback below seems to work and kind of prevented kernel panics
(second day testing so far). This may be optimized. Maybe only setting DRI =
to 2
is enough. I entered all man amdgpu options so these can be tuned. Two moni=
tors
setup where one is rotated with Enlightentment WM. Its a bit slower but
acceleration works. For some reason things slows down a lot sometimes but t=
here
is no crash :-)

/usr/local/etc/X11/xorg.conf.d/30-amgpufallback.conf:

Section "Device"
        Identifier      "RX580"
        Driver          "amdgpu"
#       Option  "Accel" "Off"
#       Option "ZaphodHeads" "HDMI-A-0,HDMI-A-1"
        Option  "DRI"   "2"
        Option  "EnablePageFlip" "Off"
        Option  "TearFree" "on"
        Option  "VariableRefresh" "Off"
        Option  "AsyncFlipSecondaries" "On"
#       Option  "AccelMethod" "none"
EndSection

Section "Monitor"
        Identifier      "LG"
        Option          "Monitor-HDMI-A-0"
        Option          "Primary" "True"
        Option          "LeftOf" "HDMI-A-1"
EndSection

Section "Monitor"
        Identifier      "DELL"
        Option          "Monitor-HDMI-A-1"
        Option          "RightOf" "HDMI-A-0"
        Option          "Rotate" "270"
EndSection

Section "Screen"
        Identifier      "Screen0"
        Device          "RX580"
        Monitor         "LG"
        SubSection      "Display"
                Depth   24
                Modes   "3840x2160"
        EndSubSection
EndSection

Section "Screen"
        Identifier      "Screen1"
        Device          "RX580"
        Monitor         "DELL"
        SubSection      "Display"
                Depth   24
                Modes   "2560x1440"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier "MainLayout"
        Screen "Screen0" 0 0
        Screen "Screen1" rightOf "Screen0"
        Option  "SingleCard" "True"
EndSection

--=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-278212-227-yO9h1D5NTC>