LINUX.ORG.RU

Sway: графический мусор при открытии крышки ноутбука

 , ,


0

1

Приветствую. Ubuntu 22.04, Sway 1.7. При закрытии крышки ноутбука система уходит в suspend, но при открытии на экране появляется цветной мусор. Перезапуск Sway не помогает, но если несколько раз закрыть-открыть крышку - проблема исчезает. В чем может быть причина?

Похожая херня на Kubuntu 20.04. После открытия бывает мусор на экране логина, но он пропадает после залогинивания. Остаётся на рабочем столе в фоне иконок (лечится выделением этой иконки) и, иногда, в эмуляторах терминалов. Но, вроде, последнее починили, давно не видел.

anonymous_sapiens ★★★★★
()

На попробуй:

Section «ServerLayout»
Identifier «X.org Configured»
Screen 0 «Screen0» 0 0
InputDevice «Mouse0» «CorePointer»
InputDevice «Keyboard0» «CoreKeyboard»
EndSection

Section «Files»
ModulePath «/usr/lib64/xorg/modules»
FontPath «/usr/share/fonts/misc/»
FontPath «/usr/share/fonts/TTF/»
FontPath «/usr/share/fonts/OTF/»
FontPath «/usr/share/fonts/Type1/»
FontPath «/usr/share/fonts/100dpi/»
FontPath «/usr/share/fonts/75dpi/»
EndSection

Section «Module»
Load «glx»
Load «dri»
Load «dri2»
Load «glamoregl»
Load «radeon»
Load «extmod»
Load «dbe»
Load «record»
Load «ramdac»
Load «fb»
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»
### 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» # [<bool>]
#Option «EnablePageFlip» # [<bool>]
#Option «SubPixelOrder» # [<str>]
#Option «ZaphodHeads» # <str>
#Option «AccelMethod» # <str>
#Option «DRI3» # [<bool>]
#Option «DRI» # <i>
#Option «ShadowPrimary» # [<bool>]
#Option «TearFree» # [<bool>]
#Option «DeleteUnusedDP12Displays» # [<bool>]
#Option «VariableRefresh» # [<bool>]
Identifier «Card0»
Driver «radeon»
BusID «PCI:0:1:0»
Option «AccelMethod» «glamor»
Option «ColorTiling» «on»
Option «ColorTiling2D» «on»
Option «DRI3» «on»
Option «DRI» «3»
Option «TearFree» «on»
Option «ShadowPrimary» «off»
Option «SWcursor» «false»
Option «no_accel» «no»
Option «SwapbuffersWait» «on»
Option «RenderAccel» «on»
Option «EnablePageFlip» «on»
Option «DeleteUnusedDP12Displays» «on»
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

Section «DRI»
Mode 0666
EndSection

dnhpbqt973
()
Ответ на: комментарий от Sunderland93

Ставь Xorg, чё ты эту ерунду поставил то?
На вебку стримишь чтоль?
В Wayland только аппаратный энкодер добавили, который ты серавно использовать не будешь.
По правильному запускается Xorg, а в нём приложения с сессией Wayland.

dnhpbqt973
()