kth5 / archpower

Unofficial Archlinux port to powerpc64le, powerpc64, powerpc and riscv64
https://archlinuxpower.org
72 stars 5 forks source link

Xfwm/hanging #78

Closed mrbubzie closed 2 months ago

mrbubzie commented 3 months ago

Hey, so I just closed the prior ticket; it's not due to Mesa, it's actually due to xfwm4. When installed, it loads the CPU to 100%. It works fine on the initial login after a clean install, but after it creates its configuration files in your home directory, the next login causes the system to hang. I've verified this issue on both a clean install with qemu, iMac G5, and PowerBook G4. The workaround for now is to uninstall xfwm and install Openbox along with xcompmgr to handle the transparency and effects. I haven't had time to debug xfwm, but I'm using everything from stable. So, I have mesa-amber for Radeon 9700 and xf86-video-ati for normal 2D stuff. This also affects SDDM, making it non-usable. It loads with no graphics glitching, but typing in your password takes half an hour because it freezes/lags when typing in login credentials for any user. I have not tried forcing it down with an environment variable to make it use 2D only, but I'll take a peek at it in the next few days. Also I compiled claws mail, trinity desktop and sealion browser developed off of palemoon and palemoon compiles as well. Wasnt sure if you wanted me to provide the binary's to add to the repo…I would strongly recommend replacing kde with trinity desktop…its maintained kde for older systems and it was an easy compile and flys on ppc…might be easier rather then packaging kde6 as its much smaller and less cumbersome….Cheers, mate. Thanks for everything you do!

kth5 commented 3 months ago

Your graphics stack is likely broken. Remove any vulkan-* bits from the installed packages and disable 3D acceleration.

No problems whatsoever on a G5 here with NVIDIA 600GT, Blackbird with R480X AMD, a Pioneer with ARC380 and a PowerBook G4 with Radeon 9600.

All big-endian platforms have too outdated graphics cards and many endianess bugs in recent Mesa (hint: use mesa-amber) for any Vulkan to function. Thus just disable all 3D acceleration altogether. It is rather pointless anyway.

mrbubzie commented 3 months ago

ok no problem sorry for the length. Thanks anyway! Sent from my iPhone

On Apr 20, 2024, at 6:29 AM, Alexander Baldeck @.***> wrote:



Your graphics stack is likely broken. Remove any vulkan-* bits from the installed packages and disable 3D acceleration.

No problems whatsoever on a G5 here with NVIDIA 600GT, Blackbird with R480X AMD, a Pioneer with ARC380 and a PowerBook G4 with Radeon 9600.

All big-endian platforms have too outdated graphics cards and many endianess bigs in Mesa for any Vulkan to function. Thus just disable all 3D acceleration altogether. It is rather pointless anyway.

— Reply to this email directly, view it on GitHubhttps://github.com/kth5/archpower/issues/78#issuecomment-2067631669, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BC5SKVYBMDK2742ASRLYW5LY6I7PLAVCNFSM6AAAAABGJDBCO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRXGYZTCNRWHE. You are receiving this because you authored the thread.Message ID: @.***>

mrbubzie commented 3 months ago

Oh, and as far as XFWM, it is broken, unrelated to the graphics stack. I am not the only one; others are experiencing the same issue. As stated with the KDE issue prior your responses seem to be saying everything is fine and it must be a user error, then doubling back to admit something is broken or the issue is reproducible. With that said, a few of us have decided to fork what you have and maintain our own personal repository and future developement. We thank you for the hard work, and you're more than welcome to use some of our binaries freely and well just to post open issues and fixes will upstream. We wish you luck in the future on this project thank you! :)

Message ID: @.***>

kth5 commented 2 months ago

A new release 2024.05.05-release has been tagged. It contains mesa-24.0.6 which disables llvm based functionality for big endian powerpc and powerpc64.

Have a go with them and it should in theory perform a lot better without manual tweaks disabling accelleration etc.

mrbubzie commented 2 months ago

nope doesn't work ive tried on two systems brand new clean install both radeon 9200 and 9700 to test amber and mesa and neither work…both either black screen or display tried to initialize but freezes…how are you disabling acceleration? I haven't actually looked at the logs yet…a few of us actually forked your base. Sent from my iPhone

On May 6, 2024, at 3:56 AM, Alexander Baldeck @.***> wrote:



A new release 2024.05.05-release has been tagged. It contains mesa-24.0.6 which disables llvm based functionality for big endian powerpc and powerpc64.

Have a go with them and it should in theory perform a lot better without manual tweaks disabling accelleration etc.

— Reply to this email directly, view it on GitHubhttps://github.com/kth5/archpower/issues/78#issuecomment-2095394497, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BC5SKV47YJK63G5JP2KBYFLZA4ZSHAVCNFSM6AAAAABGJDBCO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGM4TINBZG4. You are receiving this because you authored the thread.Message ID: @.***>

kth5 commented 2 months ago

I'm not disabling anything actually. My install consists of plain xorg-server with xf86-video-ati and no xorg.conf.

When I run startxfce4 via .xinitrc everything comes up out of the box and works just fine.

This is a 15" 1.67ghz G4 PowerBook with a 128MB Radeon 9700 (r300).

mrbubzie commented 2 months ago

looks like its an issue with sddm/kde if I remove sddm and sddm-kcm and switch over to lightdm with lightdm-grk-greeter it lets me login to kde 6…when I get off tonight ill take a peek at the logs, but this was also an issue in debian and I documented it on macrumors under the debian wiki in the powerpc section back when debian dropped poc and switched over to sid….lightdm was the only way we could get past the black screen but prior to mesa just using xf86-video-ati sddm was working but without mesa kde is garbled mess Sent from my iPhone

On May 6, 2024, at 8:46 AM, Alexander Baldeck @.***> wrote:



I'm not disabling anything actually. My install consists of plain xorg-server with xf86-video-ati and no xorg.conf.

When I run startxfce4 via .xinitrc everything comes up out of the box and works just fine.

This is a 15" 1.67ghz G4 PowerBook with a 128MB Radeon 9700 (r300).

— Reply to this email directly, view it on GitHubhttps://github.com/kth5/archpower/issues/78#issuecomment-2095937481, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BC5SKV6EPS2JKJIXXYS5TRLZA53RFAVCNFSM6AAAAABGJDBCO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVHEZTONBYGE. You are receiving this because you authored the thread.Message ID: @.***>

kth5 commented 2 months ago

sddm is still a Qt5 application and may not work properly unless you disable accelleration entirely. For Plasma 6, it works fine with the Quick renderer etc set to software rendering via the environment varables:

QT_OPENGL=software
QT_QUICK_BACKEND=software
QML_SCENE_DEVICE=softwarecontext

Accellerated rendering is broken on Qt on big endian or old drivers (read: not amdgpu, i915, nvidia etc).

mrbubzie commented 2 months ago

so it lets me login and desktop is rended after lightdm but kde desktop is gargled if click on the menu…I tried disabling floating and its just not rendering out…kde is fast though Sent from my iPhone

On May 6, 2024, at 8:54 AM, Ryan Theriault @.***> wrote:

 looks like its an issue with sddm/kde if I remove sddm and sddm-kcm and switch over to lightdm with lightdm-grk-greeter it lets me login to kde 6…when I get off tonight ill take a peek at the logs, but this was also an issue in debian and I documented it on macrumors under the debian wiki in the powerpc section back when debian dropped poc and switched over to sid….lightdm was the only way we could get past the black screen but prior to mesa just using xf86-video-ati sddm was working but without mesa kde is garbled mess Sent from my iPhone

On May 6, 2024, at 8:46 AM, Alexander Baldeck @.***> wrote:



I'm not disabling anything actually. My install consists of plain xorg-server with xf86-video-ati and no xorg.conf.

When I run startxfce4 via .xinitrc everything comes up out of the box and works just fine.

This is a 15" 1.67ghz G4 PowerBook with a 128MB Radeon 9700 (r300).

— Reply to this email directly, view it on GitHubhttps://github.com/kth5/archpower/issues/78#issuecomment-2095937481, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BC5SKV6EPS2JKJIXXYS5TRLZA53RFAVCNFSM6AAAAABGJDBCO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVHEZTONBYGE. You are receiving this because you authored the thread.Message ID: @.***>

mrbubzie commented 2 months ago

software rendering is working but kde menus and stuff are gargeled…im trying to disable compositing all together now but with software rendering…you have to try it to see what I mean…attached a screenshot so it is rendering but the menu are gargled up one you click on them [image0.jpeg] Sent from my iPhone

On May 6, 2024, at 8:59 AM, Ryan Theriault @.***> wrote:

 so it lets me login and desktop is rended after lightdm but kde desktop is gargled if click on the menu…I tried disabling floating and its just not rendering out…kde is fast though Sent from my iPhone

On May 6, 2024, at 8:54 AM, Ryan Theriault @.***> wrote:

 looks like its an issue with sddm/kde if I remove sddm and sddm-kcm and switch over to lightdm with lightdm-grk-greeter it lets me login to kde 6…when I get off tonight ill take a peek at the logs, but this was also an issue in debian and I documented it on macrumors under the debian wiki in the powerpc section back when debian dropped poc and switched over to sid….lightdm was the only way we could get past the black screen but prior to mesa just using xf86-video-ati sddm was working but without mesa kde is garbled mess Sent from my iPhone

On May 6, 2024, at 8:46 AM, Alexander Baldeck @.***> wrote:



I'm not disabling anything actually. My install consists of plain xorg-server with xf86-video-ati and no xorg.conf.

When I run startxfce4 via .xinitrc everything comes up out of the box and works just fine.

This is a 15" 1.67ghz G4 PowerBook with a 128MB Radeon 9700 (r300).

— Reply to this email directly, view it on GitHubhttps://github.com/kth5/archpower/issues/78#issuecomment-2095937481, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BC5SKV6EPS2JKJIXXYS5TRLZA53RFAVCNFSM6AAAAABGJDBCO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVHEZTONBYGE. You are receiving this because you authored the thread.Message ID: @.***>

mrbubzie commented 2 months ago

heres another example [image0.jpeg] this is with conpositing disabled and software rendering….I will say it is fast if you can get it just to render the desktop correctly even with software rendering kind surprised actually Sent from my iPhone

On May 6, 2024, at 8:59 AM, Ryan Theriault @.***> wrote:

 so it lets me login and desktop is rended after lightdm but kde desktop is gargled if click on the menu…I tried disabling floating and its just not rendering out…kde is fast though Sent from my iPhone

On May 6, 2024, at 8:54 AM, Ryan Theriault @.***> wrote:

 looks like its an issue with sddm/kde if I remove sddm and sddm-kcm and switch over to lightdm with lightdm-grk-greeter it lets me login to kde 6…when I get off tonight ill take a peek at the logs, but this was also an issue in debian and I documented it on macrumors under the debian wiki in the powerpc section back when debian dropped poc and switched over to sid….lightdm was the only way we could get past the black screen but prior to mesa just using xf86-video-ati sddm was working but without mesa kde is garbled mess Sent from my iPhone

On May 6, 2024, at 8:46 AM, Alexander Baldeck @.***> wrote:



I'm not disabling anything actually. My install consists of plain xorg-server with xf86-video-ati and no xorg.conf.

When I run startxfce4 via .xinitrc everything comes up out of the box and works just fine.

This is a 15" 1.67ghz G4 PowerBook with a 128MB Radeon 9700 (r300).

— Reply to this email directly, view it on GitHubhttps://github.com/kth5/archpower/issues/78#issuecomment-2095937481, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BC5SKV6EPS2JKJIXXYS5TRLZA53RFAVCNFSM6AAAAABGJDBCO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVHEZTONBYGE. You are receiving this because you authored the thread.Message ID: @.***>

kth5 commented 2 months ago

Your images are not coming through. Neither on Github nor via email.

mrbubzie commented 2 months ago

IMG_4122 IMG_4121 IMG_4120 IMG_4119

mrbubzie commented 2 months ago

just manually attached them it dors the same thing with and without compositing with mesa(not amber) radeon 9600 powerbook g4 1.67 Sent from my iPhone

On May 6, 2024, at 9:14 AM, Alexander Baldeck @.***> wrote:



Your images are not coming through. Neither on Github nor via email.

— Reply to this email directly, view it on GitHubhttps://github.com/kth5/archpower/issues/78#issuecomment-2095992535, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BC5SKV4PITJNBNE4BQILJJ3ZA562VAVCNFSM6AAAAABGJDBCO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVHE4TENJTGU. You are receiving this because you authored the thread.Message ID: @.***>

kth5 commented 2 months ago

Yes, I've seen this kind of artifacting as well. Turned out Plasma 6.0.4 actually did render this far and not crash entirely (in plasmashell). In addition to this, I have yet to figure out why all the default applets on the floating bar on the right hand edge are not displayed/missing as well.

I haven't had the chance to spend an evening on this yet to generate useful reports. My biggest problem is that my PB only has 1GB RAM (second slot borked / RAM-slot-gate) and gdb sessions are painful. :D

mrbubzie commented 2 months ago

plasma is fast though holy crap….If the artifactung is fixed your a damn genius….adelie uses musl but I have it on another partition it has full acceleration using mesa…..transparency and the whole nine yards so its possible…and I dont know if you played with lxqt there is an issue when a menus clicked on it will not close unless you use the keyboard and the only way to navigate is with arrow keys….lxde is perfect though

kth5 commented 2 months ago

Just for reference, since this ticket actually original concerns Xfwm4, it does work just fine out of the box on my PowerBook G4: screen

This comment also was written up using epiphany in the same Xfce4 session on the PowerBook btw.

mrbubzie commented 2 months ago

yes it does work now…I just tested it and in terms of kde I would drop kde 6 and just package trinity desktop…I have it running and its meant for older systems and like xfce its development cycle is staggered giving and easier packageing experience instead of constantly having to compile..and the best part is acceleration works beautifully even before recent mesa driver release with llvm disabled Sent from my iPhone

On May 6, 2024, at 3:21 PM, Alexander Baldeck @.***> wrote:



Just for reference, since this ticket actually original concerns Xfwm4, it does work just fine out of the box on my PowerBook G4: screen.png (view on web)https://github.com/kth5/archpower/assets/1784992/1b14c69b-7964-46f4-8431-668c17f169bc

This comment also was written up using epiphany in the same Xfce4 session on the PowerBook btw.

— Reply to this email directly, view it on GitHubhttps://github.com/kth5/archpower/issues/78#issuecomment-2096739457, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BC5SKVZSXNGBMVMSRGX5Y6TZA7JZ3AVCNFSM6AAAAABGJDBCO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWG4ZTSNBVG4. You are receiving this because you authored the thread.Message ID: @.***>

mrbubzie commented 2 months ago

but if you can get kde fully working it would be my default desktop. I cant believe how fast this is Sent from my iPhone

On May 6, 2024, at 4:56 PM, Ryan Theriault @.***> wrote:

 yes it does work now…I just tested it and in terms of kde I would drop kde 6 and just package trinity desktop…I have it running and its meant for older systems and like xfce its development cycle is staggered giving and easier packageing experience instead of constantly having to compile..and the best part is acceleration works beautifully even before recent mesa driver release with llvm disabled Sent from my iPhone

On May 6, 2024, at 3:21 PM, Alexander Baldeck @.***> wrote:



Just for reference, since this ticket actually original concerns Xfwm4, it does work just fine out of the box on my PowerBook G4: screen.png (view on web)https://github.com/kth5/archpower/assets/1784992/1b14c69b-7964-46f4-8431-668c17f169bc

This comment also was written up using epiphany in the same Xfce4 session on the PowerBook btw.

— Reply to this email directly, view it on GitHubhttps://github.com/kth5/archpower/issues/78#issuecomment-2096739457, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BC5SKVZSXNGBMVMSRGX5Y6TZA7JZ3AVCNFSM6AAAAABGJDBCO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWG4ZTSNBVG4. You are receiving this because you authored the thread.Message ID: @.***>

mrbubzie commented 2 months ago

I actually see what your saying about environmental variables…its working perfect now syrprisngly good. thank you for the time and effort :) Sent from my iPhone

On May 6, 2024, at 4:56 PM, Ryan Theriault @.***> wrote:

 yes it does work now…I just tested it and in terms of kde I would drop kde 6 and just package trinity desktop…I have it running and its meant for older systems and like xfce its development cycle is staggered giving and easier packageing experience instead of constantly having to compile..and the best part is acceleration works beautifully even before recent mesa driver release with llvm disabled Sent from my iPhone

On May 6, 2024, at 3:21 PM, Alexander Baldeck @.***> wrote:



Just for reference, since this ticket actually original concerns Xfwm4, it does work just fine out of the box on my PowerBook G4: screen.png (view on web)https://github.com/kth5/archpower/assets/1784992/1b14c69b-7964-46f4-8431-668c17f169bc

This comment also was written up using epiphany in the same Xfce4 session on the PowerBook btw.

— Reply to this email directly, view it on GitHubhttps://github.com/kth5/archpower/issues/78#issuecomment-2096739457, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BC5SKVZSXNGBMVMSRGX5Y6TZA7JZ3AVCNFSM6AAAAABGJDBCO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJWG4ZTSNBVG4. You are receiving this because you authored the thread.Message ID: @.***>

kth5 commented 2 months ago

As Xfwm4 now works fine for you as well closing this.

Plasma is my go to desktop as its efficient and flexible as a desktop experience. Won't remove it since it works on the other 3 ISAs and I will eventually get around fixing it if upstream does not get to it first.

mrbubzie commented 2 months ago

no problem! post ab update when its fixed ill test! thanks Sent from my iPhone

On May 7, 2024, at 1:32 AM, Alexander Baldeck @.***> wrote:



As Xfwm4 now works fine for you as well closing this.

Plasma is my go to desktop as its efficient and flexible as a desktop experience. Won't remove it since it works on the other 3 ISAs and I will eventually get around fixing it if upstream does not get to it first.

— Reply to this email directly, view it on GitHubhttps://github.com/kth5/archpower/issues/78#issuecomment-2097481024, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BC5SKV56UXH6RN3KHKTGQ4LZBBRPPAVCNFSM6AAAAABGJDBCO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJXGQ4DCMBSGQ. You are receiving this because you authored the thread.Message ID: @.***>