Gnome3 unusable (lags) on Matebook X (amdgpu)

Greeting

Did anyone have a problem similar to mine with Gnome3. Namely, when starting, I have a big lag on loading that never goes away. If i switch betwen consoles only then is it seen that Gnome3 "works" . Other windows managers works OK (i try Mate/Xfce/Kde and i dont see any problem). HW acceleration works OK. Have tryed both 13-RELEASE and 14-current and same problem on both.
Does anyone have any idea what it might be?

Here are pictures from MATE (glxgears) that works OK and Gnome3 loading screen (i need to swith console to get some activity from Gnome3) and glxgears (same thing .. need to switch between consoles to get some activity).
There is also visible droping of FPS when running glxgears on Gnome3 (lags and waiting)

https://i.postimg.cc/9F6zDk3r/20210420-112811.jpg
https://i.postimg.cc/rpcmJtwT/20210420-112823.jpg
https://i.postimg.cc/SNCYf4fW/20210420-112842.jpg
https://i.postimg.cc/B6jBqy9M/20210420-113439.jpg


https://i.postimg.cc/MT1Jr9Pr/20210420-113120.jpg
 

Attachments

  • glxinfo.txt
    146.3 KB · Views: 158
  • glxinfo.txt
    146.3 KB · Views: 152
  • Xorg.txt
    22 KB · Views: 274
  • glxinfo.txt
    146.3 KB · Views: 149
Code:
 Current Operating System: FreeBSD pila 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n246078-14d0cd7225e: Thu Apr 15 08:36:43 UTC 2021     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64

Topics about unsupported FreeBSD versions


Stick to 13.0-RELEASE.

Do you have graphics/drm-kmod installed?

It is same problem on 13.0-RELEASE and 14-CURRENTand now im stick on 14.

Yes i have graphics/drm-kmod installed and acceleration works on all other window managers. Only problem i have with GNOME3 and Cinammon (accelerated) .
 
If you have not already done so, I encourage you to please leave a comment so that the bug gets more attention etc...

Thank you.


Hi . i manage to find workaround for my problem .. can u try this in xorg.conf

Code:
Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"                  # [<bool>]
        Option     "SWcursor"   "true"            # [<bool>]
        #Option     "EnablePageFlip"         # [<bool>]
        #Option     "SubPixelOrder"          # [<str>]
        #Option     "ZaphodHeads"            # <str>
        #Option     "AccelMethod"            # <str>
        ##Option     "DRI3"    "1"               # [<bool>]
        Option     "DRI" "2"                   # <i>
        #Option     "ShadowPrimary"          # [<bool>]
        Option     "TearFree"  "true"             # [<bool>]
        #Option     "DeleteUnusedDP12Displays"     # [<bool>]
        #Option     "VariableRefresh"        # [<bool>]
    Identifier  "Card0"
    Driver      "amdgpu"
    BusID       "PCI:3:0:0"
EndSection

disable DRI3 and enable to use DRI2 ..

this fix my lagggis GNOME3


https://i.postimg.cc/KjwfQ8HZ/Screenshot-from-2021-04-27-13-37-25.png
 
It is same problem on 13.0-RELEASE and 14-CURRENTand now im stick on 14.
Before making this decision you should know that 14-CURRENT is an unsupported development version. I strongly urge you to just go with 13.0-RELEASE. Besides being a supported version, it's much easier to update with freebsd-update(8). Both -CURRENT and -STABLE can only be updated/upgraded by building from source.

Topics about unsupported FreeBSD versions
 
Hi . i manage to find workaround for my problem .. can u try this in xorg.conf

Code:
Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"                  # [<bool>]
        Option     "SWcursor"   "true"            # [<bool>]
        #Option     "EnablePageFlip"         # [<bool>]
        #Option     "SubPixelOrder"          # [<str>]
        #Option     "ZaphodHeads"            # <str>
        #Option     "AccelMethod"            # <str>
        ##Option     "DRI3"    "1"               # [<bool>]
        Option     "DRI" "2"                   # <i>
        #Option     "ShadowPrimary"          # [<bool>]
        Option     "TearFree"  "true"             # [<bool>]
        #Option     "DeleteUnusedDP12Displays"     # [<bool>]
        #Option     "VariableRefresh"        # [<bool>]
    Identifier  "Card0"
    Driver      "amdgpu"
    BusID       "PCI:3:0:0"
EndSection

disable DRI3 and enable to use DRI2 ..

this fix my lagggis GNOME3


https://i.postimg.cc/KjwfQ8HZ/Screenshot-from-2021-04-27-13-37-25.png
Thanks for the hint, I'll try it out right away at home :)

I hope that I do not see too big a drop in performance when playing.
 
… switch console to get some activity …

I encountered the bug with multiple desktop environments of this type, a few months ago. HP EliteBook 8570p <https://bsd-hardware.info/?computer=6fbb1f806232>, AMD Thames [Radeon HD 7550M/7570M/7650M] <https://bsd-hardware.info/?probe=61406080a7#pci:1002-6841-103c-17a9>.

Discoverable thanks to comment 7 of FreeBSD bug 255049 – x11/gdm doesn't show the login screen:

… only progress is seeing when switching beetwen consoles from vt9 to vt2 and back to vt9 for example …

– a very distinctive symptom after login (I had no problem with the login screen; SDDM here).

I subscribed to 255049, then to 253746 – x11-wm/mutter and x11-wm/enlightenment: Freezes on AMD GPU's with DRI3

… the same issue with nvidia …

I clearly recall the affected DEs working when I used this computer:


Unfortunately, it seems that I took no public note of which card allowed me to be free from the bug. If I recall correctly, the NVIDIA Quadro K1100M (GK107GLM), which I nearly always used, was good. I can't be certain, sorry, and I no longer have easy access to the computer.

… try this …

I will, thank you.
 
Driver "amdgpu"

What might I try in my case? Radeon HD 7550M/7570M/7650M

Normally:

Code:
% sysrc kld_list
kld_list: fusefs radeonkms filemon
%

Sorry for going off-topic from amdgpu, but I guess it makes some sense to discuss AMD Radeon at the same time.
 
Back
Top