You are not logged in.

#1 2022-06-19 15:43:41

Selambencatal
Member
Registered: 2022-06-19
Posts: 11

My monitor screen's screen output randomly goes out when i run games

When i run something resource heavy(games,youtube videos etc.) my screen output randomly goes out.I can still hear the video sound and use the keyboard but the monitor just doesnt output anything.
I am such a newbie to Arch Linux or Linux in general.I am using kde plasma as my desktop enviroment and have installed arch using the built-in archinstall script.
My computer's GPU is a AMD Radeon HD 6950 and the CPU is a Intel Core i7 950.So my hardware is really old.
Its probably not a issue caused by firefox since minecraft java (tested the newest and a older release)crashes aswell.Once running steam and downloading garrys mod made screen output go out aswell.
About logs,i am not sure what causes the problem.If you can tell me probably what causes this,i can look at logs of that.
Thanks in advance.

Offline

#2 2022-06-24 04:09:36

lfitzgerald
Member
Registered: 2021-07-16
Posts: 175

Re: My monitor screen's screen output randomly goes out when i run games

Years ago I had a Radeon card, similar model to yours I think, and there were often various problems with the driver (I was dual booting Windows and that worked fine). I think the AMD driver just doesn't work well with some cards on Linux. I have since bought an nvidia card, which has other, different problems, but they're not as bad.

You might want to try:

* Connecting the monitor via a different cable
* Connecting a different monitor or TV
* Connect the monitor to your onboard graphics (if your motherboard has one) rather than the card
* Try using the open source driver (xf86-video-amdgpu I think) instead of proprietary, or vice versa
* Try running the game windowed instead of full screen

None of this would really fix it, but it might give some clues.

Last edited by lfitzgerald (2022-06-24 04:11:33)

Offline

#3 2022-06-24 06:37:58

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,485

Re: My monitor screen's screen output randomly goes out when i run games

I can still hear the video sound and use the keyboard but the monitor just doesnt output anything.

Does the sound run via the monitor/HDMI?

About logs, i am not sure what causes the problem. If you can tell me probably what causes this, i can look at logs of that.

If we knew what the problem is, we could just tell you and there was no need for any logs…

Post the complete system journal of an affected boot.

sudo journalctl -b | curl -F 'file=@-' 0x0.st

This will also answer

I am using kde plasma as my desktop enviroment

"on which display server" (x11 or wayland)

lfitzgerald wrote:

Try using the open source driver (xf86-video-amdgpu I think) instead of proprietary, or vice versa

It's very unlikely that he's using the AMDGPU PRO driver (which also only replaces GL libraries) and the alternative to xf86-video-amdgpu is the built-in X11 modesetting driver, which isn't proprietary.

But in general this smells like a signal collapse.

@Selambencatal, in addition to lfitzgerald's list, also run the system on a lower resolution, esp. if it's 4k, or refresh rate (if it's a 120/144/160/200Hz output)

Offline

#4 2022-09-04 16:38:14

Selambencatal
Member
Registered: 2022-06-19
Posts: 11

Re: My monitor screen's screen output randomly goes out when i run games

* Connecting the monitor via a different cable

I am probably too late on this but,i have already tried more than one cable(HDMI).

* Try using the open source driver (xf86-video-amdgpu I think) instead of proprietary, or vice versa

The OS already uses the open sourced drivers(xf86-video-ati),there is not any compatible proprietary drivers.

* Connecting a different monitor or TV

This is an SAMSUNG SyncMaster monitor,so it ain't something new.But there isn't any other monitor i have access to now.

* Connect the monitor to your onboard graphics (if your motherboard has one) rather than the card

Connecting to onboard graphics probably won't do anything useful,since the same GPU with proprietary drivers on Windows 10 worked fine with the games.
I assume that this is an issue with the MESA drivers instead,since while i was talking with someone more knowladged than me on an Discord server.
They said that the open source drivers for my model is incomplete,thats probably the reason why i had access to an incomplete Vulkan implementation on Ubuntu 22.04 LTS.

Last edited by Selambencatal (2022-09-04 16:44:21)

Offline

#5 2022-09-04 18:44:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,485

Re: My monitor screen's screen output randomly goes out when i run games

They said that the open source drivers for my model is incomplete, thats probably the reason why i had access to an incomplete Vulkan implementation on Ubuntu 22.04 LTS.

https://wiki.archlinux.org/title/Vulkan
If your GPU is so old that you need to use xf86-video-ati, it'll likely not support vulkan.

That does however not explain that the "screen output randomly goes out"

seth wrote:

Post the complete system journal of an affected boot.

sudo journalctl -b | curl -F 'file=@-' 0x0.st


this smells like a signal collapse …  run the system on a lower resolution, esp. if it's 4k, or refresh rate (if it's a 120/144/160/200Hz output)

Offline

#6 2022-09-04 19:15:42

Selambencatal
Member
Registered: 2022-06-19
Posts: 11

Re: My monitor screen's screen output randomly goes out when i run games

Probably it doesn't since proprietary drivers on Windows didn't support Vulkan aswell.
Also i am nervous about sending my journalctl,wouldn't that leak my ip adress and mac adress?

Offline

#7 2022-09-04 19:22:09

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,485

Re: My monitor screen's screen output randomly goes out when i run games

Your MACs are hardly* secrets and if your behind a NAT'ing router your WAN IP should™ not be in the journal at all.
At least networkmanager filters any potentially private network data.

*If I have your wifi MAC and am in physical distance of your AP and your AP uses a MAC filter for whatever reason, I can spoof your MAC and trick that.
Realistically nothing will happen even if you put it into your signature.

Offline

#8 2022-09-05 10:25:08

Selambencatal
Member
Registered: 2022-06-19
Posts: 11

Re: My monitor screen's screen output randomly goes out when i run games

Here is the journal:
https://0x0.st/ofrI.txt
Also i have tried to run the game on 1280x720(i normally use 1920x1080) with windowed mode and it still crashes.
But when i join an lobby that has less players in it,the game works really well even with FullHD and fullscreen.
So i think that more players/objects overload the GPU or the system and that causes the problem.Probably since i can't switch back to terminal aswell but the machine still continues to run without being able to type/control and see the video output.
This was an issue on Pop!_OS 22.04 LTS aswell,the same things happened.However running an game (https://territorial.io for example) on the LibreWolf Browser runs with no issue.
So games that are going hard on the computer somehow disconnect the monitor and other devices?

Offline

#9 2022-09-05 14:06:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,485

Re: My monitor screen's screen output randomly goes out when i run games

In post #1 you wrote:

my screen output randomly goes out

isn't quite the same as

But in post #1 you wrote:

the game … still crashes … the machine still continues to run without being able to type/control

.
See whether in such situation you can reboot w/ https://wiki.archlinux.org/title/Keyboa … el_(SysRq)
Or even better: whether you can ssh into the system (preferably before) and that access remains.

Is the CPU load/temperature significantly higher when you "join an lobby that has" *more* players?
Though typically the CPU crashes because of deeper sleep states, https://wiki.archlinux.org/title/Intel_ … Intel_CPUs
And overload would rather result in an emergency shutdown/reboot.

Offline

#10 2022-09-10 19:44:33

Selambencatal
Member
Registered: 2022-06-19
Posts: 11

Re: My monitor screen's screen output randomly goes out when i run games

Since i am on an desktop(that have aged 12 years)that has an Intel Core i7 950(first generation,not mentioned on the wiki page you have sent),i do not think that adding the kernel parameters the page told for the crashes would be useful.
I also want to correct that,this wasn't exclusive to games.
Simply running makepkg on an aur package folder(on kde) gave the same results as running the game that gave the crash.
I have also tried pressing both the reboot shortcut keys and switch to terminal shortcut keys,but since somehow the keyboard/mouse input gets disabled with the output aswell they just dont function.
However,the system can build an aur package after i switch to the terminal(Ctrl+Alt+F/2/3/..)
Unplugging and reconnecting the HDMI/keyboard&mouse cables doesn't change anything.
Also trying to install an flatpak application(OBS Studio 0.28.1) via both the KDE Discover and KDE Terminal(Konsole) gave the same results as the game did.(switching to the terminal again then installing works without any crashes again just like the aur packages)
Trying to configure the application i have mentioned before via its Wizard gives the same crash aswell while it tries different formats.
So probably this is an general issue,maybe an package that both KDE and GNOME uses to cause this crash(since it doesn't happen while in the terminal)or simply an hardware driver.

Last edited by Selambencatal (2022-09-10 19:56:52)

Offline

#11 2022-09-10 22:23:21

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,485

Re: My monitor screen's screen output randomly goes out when i run games

Simply running makepkg on an aur package folder (on kde) gave the same results as running the game that gave the crash.
I have also tried […] switch to terminal shortcut keys […]
However, the system can build an aur package after i switch to the terminal (Ctrl+Alt+F/2/3/..)

Do you get those "crashes" if you suspend the compositor (SHIFT+Alt+F12 toggles it on KDE, this is not possible under gnome)

Offline

#12 2022-09-11 13:51:15

Selambencatal
Member
Registered: 2022-06-19
Posts: 11

Re: My monitor screen's screen output randomly goes out when i run games

Yes,doing the tasks i have told you with an disabled compositor still continues to give those "crashes".
Also launching any instance of Minecraft:Java Edition on GDLauncher gives the same crashes aswell.

Offline

#13 2022-09-11 14:35:32

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,485

Re: My monitor screen's screen output randomly goes out when i run games

Also launching any instance of Minecraft:Java Edition on GDLauncher gives the same crashes aswell.

If that's a reliable testcase, that'd be very good.
If you

export LIBGL_ALWAYS_SOFTWARE=true

and then launch the game from that very shell, does it still crash?

Offline

#14 2022-09-11 18:05:36

Selambencatal
Member
Registered: 2022-06-19
Posts: 11

Re: My monitor screen's screen output randomly goes out when i run games

Yes both running the game and running makepkg in an aur package still gives the same crash.

Offline

#15 2022-09-12 05:57:13

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,485

Re: My monitor screen's screen output randomly goes out when i run games

Does it happen if you limit the maximum core frequency?
https://wiki.archlinux.org/title/CPU_fr … requencies

Edit: to something much lower than the current maximum, obviously.

Last edited by seth (2022-09-12 05:57:44)

Offline

#16 2022-09-12 13:16:08

Selambencatal
Member
Registered: 2022-06-19
Posts: 11

Re: My monitor screen's screen output randomly goes out when i run games

It used to be 1.77 GHz but that wasn't one of the available frequency steps so i have switched to the lowest available frequency step which is 1.60 GHz.
It still crashes.

Offline

#17 2022-09-12 13:31:49

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,485

Re: My monitor screen's screen output randomly goes out when i run games

i do not think that adding the kernel parameters the page told for the crashes would be useful.

Did you ever put that theory to the test?

Offline

#18 2022-09-21 19:33:14

Selambencatal
Member
Registered: 2022-06-19
Posts: 11

Re: My monitor screen's screen output randomly goes out when i run games

seth wrote:

i do not think that adding the kernel parameters the page told for the crashes would be useful.

Did you ever put that theory to the test?

Yes,i am probably to late to respond to this(sorry about that) but putting both intel_idle.max_cstate=1 and i915.enable_dc=0 to my grub config then regenerating the grub config,rebooting,reopening the game and rejoining to the server,it still crashes sad

Offline

Board footer

Powered by FluxBB