Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Screen all black #185

Closed
feydreva opened this issue Jul 17, 2020 · 20 comments
Closed

Screen all black #185

feydreva opened this issue Jul 17, 2020 · 20 comments
Labels

Comments

@feydreva
Copy link

feydreva commented Jul 17, 2020

Hello,

I run POE / Awakened trade on linux.
I have 2 screen.
1 for POE, and the other one.
When running awakened trade, it tales the second screen, but takes the all screen with a black page.
I have the interface when doind crtl-D, but the background covering the entire screen in black is still there.. and stay after..

Could it be possible to have in a windows instead of the whole screen
you can find a screen shot here : https://imgur.com/a/TosI5TP

thank you

@Murdoc84
Copy link

I have 2 screen and no problem, do you run poe on main screen or second? I use main screen :)

@Storm-Engineer
Copy link

That happened to me when I tried it the first time, but then it went away.

However, APT will always open on my secondary screen instead of the primary where the game runs. The secondary is left of the Primary.

@Odzinic
Copy link

Odzinic commented Sep 27, 2020

I'm having this issue on Manjaro KDE. Non-primary monitor is all black.

@weidtn
Copy link

weidtn commented Sep 29, 2020

I'm pretty sure that black window is the overlay. It is overlaying my game. I use xmonad and I am able to move the black overlay to my other screen with hotkeys.

I'm using Steam Proton-5.9-GE-6-ST and Vulkan (but it also happens with DirectX).

@Marcuss2
Copy link

Marcuss2 commented Oct 8, 2020

I have a similar issue with a single monitor setup on KDE Plasma. I noticed compositing is disabled when I run Path of Exile.

I managed to bypass this issue by switching to Wayland, compositing is not disabled in this case and Awakened Poe Trade seems to work.

EDIT: But that breaks interaction with objects in PoE.

@SnosMe SnosMe added the linux label Oct 16, 2020
@SnosMe SnosMe changed the title Linux : Dual screen : Second screen all black Second screen all black Nov 6, 2020
@SnosMe SnosMe changed the title Second screen all black Screen all black Nov 6, 2020
@SnosMe
Copy link
Owner

SnosMe commented Nov 6, 2020

Enable window composition, because APT window needs transparency and spans entire size of PoE window.

@SnosMe SnosMe closed this as completed Nov 6, 2020
@weidtn
Copy link

weidtn commented Nov 7, 2020

I enabled transparency in picom with opacity-rule = ["10:name *?= 'Awakened PoE Trade'"] it is still black. Not sure if that fixes the problem. The "Settings" window is transparent now btw.

@weidtn
Copy link

weidtn commented Jan 28, 2021

So this still is not fixed. Neither composition, nor disabling hardware acceleration do fix this. It does just show a black overlay both in KDE and Xmonad. The settings menu is visible and its possible to change transparency of it with the compositor

@botagar
Copy link

botagar commented Jan 30, 2021

I faced this and what worked for me was switching the compositor renderer from OpenGL to XRender. Don't know if this helps too many people but it's worth a try.

@SnosMe SnosMe mentioned this issue Mar 11, 2021
@DarkOverlord69
Copy link

DarkOverlord69 commented Apr 3, 2021

Hello, not sure if this is helpful, but I had this same black-screen issue too. I unchecked in System Settings -> Display and Monitor -> Compositor -> "Allow applications to block compositing". This works for me with both, OpenGL 2.0 and XRender. I'm on Manjaro Linux too with KDE Plasma.
if more_information_is_needed == True: return givingMoreInfo()
cheers

@NINNiT
Copy link

NINNiT commented Apr 23, 2021

Did anyone manage to get it running using picom? I'm experiencing the same problems (black box) using both xrender and glx.
It seems that it can be fixed using the KDE compositor and allowing composition blocking, but is there a picom/compton equivalent to this setting?

Thanks and keep farming :)

@Dark32
Copy link

Dark32 commented May 8, 2021

Try running with flags
--enable-transparent-visuals --disable-gpu
and with compton/picom

My compton config file:

backend = "glx"
mark-wmwin-focused = true;
mark-ovredir-focused = true;
use-ewmh-active-win = false;
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 0;
vsync = "none";
dbe = false;
paint-on-overlay = true;
unredir-if-possible = true;
focus-exclude = [ "class_g = 'Cairo-clock'" ];
detect-transient = true;
detect-client-leader = true;
invert-color-include = [ ];

but I don't know what is options are strictly needed

@NINNiT
Copy link

NINNiT commented May 11, 2021

Thanks!
I can confirm that starting awakened-poe-trade with the --disable-gpu flag did fix the problem for me using picom with glx backend.

For anyone running a picom fork with background blurring on transparent windows enabled, note that you might need to disable blurring for awakened-poe-trade:

blur-background-exclude = [
  "class_g = 'awakened-poe-trade'",
   ...
];

@warcayac
Copy link

warcayac commented Dec 25, 2021

Hello, not sure if this is helpful, but I had this same black-screen issue too. I unchecked in System Settings -> Display and Monitor -> Compositor -> "Allow applications to block compositing". This works for me with both, OpenGL 2.0 and XRender. I'm on Manjaro Linux too with KDE Plasma. if more_information_is_needed == True: return givingMoreInfo() cheers

This worked for me but when the popup window (prices window) tries to auto-hide itself, it does disappear but the focus is not returned to the game, I have to switch windows to return the game. Any ideas?

@bruno-fs
Copy link

This worked for me but when the popup window (prices window) tries to auto-hide itself, it does disappear but the focus is not returned to the game, I have to switch windows to return the game. Any ideas?

I'm having the same issue and I think this is the same described in the second item of this. It seems there's a solution for it on discord. I'm digging there without luck :/

@UlverUA
Copy link

UlverUA commented Apr 8, 2022

This worked for me but when the popup window (prices window) tries to auto-hide itself, it does disappear but the focus is not returned to the game, I have to switch windows to return the game. Any ideas?

The same for me. Using Manjaro KDE. Anyone find the solution?

@SnosMe SnosMe mentioned this issue May 15, 2022
@flightlessmango
Copy link

This worked for me but when the popup window (prices window) tries to auto-hide itself, it does disappear but the focus is not returned to the game, I have to switch windows to return the game. Any ideas?

The same for me. Using Manjaro KDE. Anyone find the solution?

I ran into this issue as well with kde plasma and i3. I wrote a little hack to address it.

const { exec } = require('child_process');
exec('wmctrl -ia `wmctrl -l | grep "Path of Exile" | grep -v "Trade" | head -n1 | awk {"print $1"}`')

add this inside the focusPoE function in overlay-window.ts and make sure you have wmctrl

@nullagit
Copy link

nullagit commented Dec 30, 2022

Thank you to everyone in this thread, I managed to get Awakened POE Trade working with Devuan stable (Chimera) and DWM v6.3. Here are the steps I took.

apt-get install picom
Create a config file (~/.config/picom.conf) with Dark32's settings
Add NINNiT's blur-background-exclude section at the bottom
Start picom
Open POE (I use steam w/Proton Experimental + Vulcan)
Open APT ($ ./Awakened-PoE-Trade-3.20.10003.AppImage --disable-gpu)

Works in DWM tiling mode. I have APT on my 2nd monitor and price checking works which is all I wanted.

@nullagit
Copy link

add this inside the focusPoE function in overlay-window.ts and make sure you have wmctrl

Where is the overlay-window.ts file? I found an OverlayWindow.ts file in main/src/windowing/ but there's no focusPoE function in that file.

@SnosMe
Copy link
Owner

SnosMe commented Dec 30, 2022

called assertGameActive now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests