Linux Support

Ask here if you experience technical problems with X4: Foundations.

Moderator: Moderators for English X Forum

CBJ
EGOSOFT
EGOSOFT
Posts: 54585
Joined: Tue, 29. Apr 03, 00:56
x4

Re: Linux Support

Post by CBJ »

Some UI mods do not install themselves in the normal mod folders.
torrmercury
Posts: 8
Joined: Tue, 28. Dec 10, 05:08
x4

Re: Linux Support

Post by torrmercury »

Rastuasi wrote: Mon, 3. Nov 25, 14:11
torrmercury wrote: Sun, 2. Nov 25, 22:41
CBJ wrote: Sun, 2. Nov 25, 20:34 Not having a visible menu is normally caused by leftover mods, particularly UI mods.
Thanks for the note. I tried completely removing all mods by unsubing entirely from all mods on Steam. I don't have any installed in other ways. I also uninstalled and reinstalled. None of that has made a difference. Still getting no menu except occasionally.

Edit: Just to make sure I'm being comprehensive: I've also tried removing the folders for all my mods in the extensions folder from the game install as well, but again, it has not made a difference.
Have you done a file integrity check for the game files. Mods could replace those
Yes I have. No difference.
CBJ wrote: Mon, 3. Nov 25, 14:15 Some UI mods do not install themselves in the normal mod folders.
I deleted the UI folder entirely and reacquired those files. Still didn't help. Any other folders I should try re-acquiring to make sure I purged all mods?

I will note that I have completely uninstalled and re-installed as well, and that also hasn't helped.

I also do NOT have steam cloud save turned on either.
torrmercury
Posts: 8
Joined: Tue, 28. Dec 10, 05:08
x4

Re: Linux Support

Post by torrmercury »

I found this in the Known Issues thread:

No menus on starting or reloading Steam game
If on starting or reloading the game everything seems to work apart from having no menus, try switching the game display language in Steam to a different one, run the game, then switch language back and your menus may be restored.

I tried this and it works to get the menu to show up consistently, but it does not fix the underlying issue. At lease we have a workaround now!
marvispx
Posts: 1
Joined: Fri, 7. Nov 25, 20:31

Re: Linux Support

Post by marvispx »

7th of November 2026, X4 on GOG, Debian Trixie with an NVidia GTX1660 Ti. Also need to use "./X4 -logfile log.txt" for it to run otherwise I get a black screen slightly shifted away from the border???

This isn't easy to figure out either. I had just about given up and was kinda half arsed browsing through the this forum topic when my eye caught "./X4 -logfile log.txt". Then I thought it was about the Steam version because I couldn't find the X4 executable. I was looking at the start.sh script (which is what the game shortcut refers to) which is a directory higher??? I guess that's a GOG thing I'm not familiar with. "./start.sh -logfile log.txt" does not work b.t.w. This can't be fixed??? is a bit crazy.
VarSonG
Posts: 7
Joined: Sat, 16. Aug 25, 00:39

Re: Linux Support

Post by VarSonG »

Can any one ask me on my problem?
viewtopic.php?t=473530

[General] 0.00 ======================================
[=ERROR=] 0.00 FATAL ERROR (version 8.00 - Code revision: 577453): A fatal error has occurred and the game cannot recover.
Exit code: 1135

Out of Handles! for type '15'

Version: 8.00 - Code revision: 577453

If a troubleshooting page opens in your web browser, please follow the instructions on that page; otherwise please inform EGOSOFT GmbH technical support.
[General] 0.00 ======================================
CBJ
EGOSOFT
EGOSOFT
Posts: 54585
Joined: Tue, 29. Apr 03, 00:56
x4

Re: Linux Support

Post by CBJ »

You've not really given us much to work with as you've not given any information whatsoever about your system, game version or whether it's modified, all of which is requested in the very first thread at the top of this forum. However, at a guess you are playing with mods installed, and those mods are trying to use too many assets in one game.

Edit: Having found your thread about this it's clearly the above.
VarSonG
Posts: 7
Joined: Sat, 16. Aug 25, 00:39

Re: Linux Support

Post by VarSonG »

CBJ wrote: Sun, 9. Nov 25, 11:15 You've not really given us much to work with as you've not given any information whatsoever about your system, game version or whether it's modified, all of which is requested in the very first thread at the top of this forum. However, at a guess you are playing with mods installed, and those mods are trying to use too many assets in one game.

Edit: Having found your thread about this it's clearly the above.
GOG version NVIDIA GeForce RTX 4060 Laptop GPU' NVIDIA v560.35.768 (Vulkan 1.3.280) PortProton 1.7.1 Proton_LG_10_25 Vulcan v1.3+
As I understand you correctly , you told me that the my problem is - I used too much mods (current 159)? and error not related to issues in mods between them. And problem will not be resolved because it is a limitation of game engine?

Code: Select all

  <extension id="ws_3019151303" enabled="true"></extension>
  <extension id="fl_vro_compatch" enabled="true"></extension>
  <extension id="zsounds" enabled="false"></extension>
  <extension id="deepImpact" enabled="false"></extension>
  <extension id="deepThrust" enabled="false"></extension>
  <extension id="zipthankstannoy" enabled="true"></extension>
  <extension id="StanceMenu" enabled="true"></extension>
  <extension id="bailandboard" enabled="true"></extension>
  <extension id="reemergence" enabled="true"></extension>
  <extension id="re_expansion_pirate" enabled="true"></extension>
  <extension id="otas_shippack" enabled="true"></extension>
  <extension id="deadair_re" enabled="true"></extension>
  <extension id="addmoresectorsre" enabled="true"></extension>
  <extension id="xenonshipsresearch_xl_bridges" enabled="true"></extension>
  <extension id="xenonshipsresearch" enabled="true"></extension>
  <extension id="re_spl_splitfury" enabled="true"></extension>
  <extension id="re_sb_plateandfire" enabled="true"></extension>
  <extension id="ws_3025116496" enabled="true"></extension>
  <extension id="yakihab" enabled="true"></extension>
  <extension id="ws_2042901274" enabled="true"></extension>
  <extension id="ws_1696862840" enabled="true"></extension>
  <extension id="ws_3587317980" enabled="true"></extension>
  <extension id="quieterBeams" enabled="true"></extension>
  <extension id="ws_2065619828" enabled="true"></extension>
  <extension id="ws_3257379082" enabled="true"></extension>
  <extension id="ws_2408335033" enabled="true"></extension>
  <extension id="ws_2850348412" enabled="true"></extension>
  <extension id="ws_2677740532" enabled="true"></extension>
  <extension id="ws_1705279348" enabled="true"></extension>
  <extension id="boron_eel" enabled="true"></extension>
  <extension id="RS_MarineSpecialTraining" enabled="true"></extension>
  <extension id="RS_Color" enabled="true"></extension>
  <extension id="RSBribeForScandata" enabled="true"></extension>
  <extension id="ws_2042460693" enabled="true"></extension>
  <extension id="ws_2055992841" enabled="true"></extension>
  <extension id="ws_1696862840_1" enabled="true"></extension>
  <extension id="ws_3278005248" enabled="true"></extension>
  <extension id="ws_3277787447" enabled="true"></extension>
  <extension id="ws_3285019992" enabled="true"></extension>
  <extension id="ws_3284986286" enabled="true"></extension>
  <extension id="ws_3266531988" enabled="true"></extension>
  <extension id="ws_3266522610" enabled="true"></extension>
  <extension id="ws_3282577721" enabled="true"></extension>
  <extension id="ws_2106438676" enabled="true"></extension>
  <extension id="ws_1668457361" enabled="true"></extension>
  <extension id="ws_1668472321" enabled="true"></extension>
  <extension id="ws_1668473070" enabled="true"></extension>
  <extension id="ws_1686317270" enabled="true"></extension>
  <extension id="ws_1669094048" enabled="true"></extension>
  <extension id="StoreExistingLoadout" enabled="true"></extension>
  <extension id="StopDestroyingMyBoardingTarget" enabled="true"></extension>
  <extension id="ShowConversationOnMap" enabled="true"></extension>
  <extension id="ShipBuiltNotifications" enabled="true"></extension>
  <extension id="SectorList" enabled="true"></extension>
  <extension id="ReportCurrentStatus" enabled="true"></extension>
  <extension id="RebalancedSeminars" enabled="true"></extension>
  <extension id="PurchasablePaintModifications" enabled="true"></extension>
  <extension id="EquipmentTooltips" enabled="true"></extension>
  <extension id="EnableRadiusInCollectDropsCommand" enabled="true"></extension>
  <extension id="EMPTriggeredRun" enabled="true"></extension>
  <extension id="CleanerHUD" enabled="true"></extension>
  <extension id="BulkSeminars" enabled="true"></extension>
  <extension id="AvariceTideAlerts" enabled="true"></extension>
  <extension id="AbortingMissionConsequences" enabled="true"></extension>
  <extension id="MoreGenerousMissionRewards" enabled="true"></extension>
  <extension id="DisableBlueScanHighlight" enabled="true"></extension>
  <extension id="roc_vro" enabled="true"></extension>
  <extension id="ws_1905655811" enabled="true"></extension>
  <extension id="ws_1905655811_1" enabled="true"></extension>
  <extension id="TaterTrade" enabled="true"></extension>
  <extension id="ws_2482456803" enabled="true"></extension>
  <extension id="ws_2229061492_1" enabled="true"></extension>
  <extension id="ws_2229061492" enabled="true"></extension>
  <extension id="ws_2422352898" enabled="true"></extension>
  <extension id="kuerteeSignalLeakHunterIncreasingRange" enabled="true"></extension>
  <extension id="lc4hunter_split_python_vro" enabled="true"></extension>
  <extension id="lc4hunter_split_python" enabled="true"></extension>
  <extension id="lc4hunter_boron_megalodon" enabled="true"></extension>
  <extension id="kuerteeUIResetMouseOnMenuClose" enabled="true"></extension>
  <extension id="kuerteeWearAndTear" enabled="true"></extension>
  <extension id="kuerteeWaypointFieldsForDeployments" enabled="true"></extension>
  <extension id="kuerteeTeleportFromTransporterRoom" enabled="true"></extension>
  <extension id="kuerteeSurfaceElementTargeting" enabled="true"></extension>
  <extension id="kuerteeStationScanner" enabled="true"></extension>
  <extension id="kuerteeShipScanner" enabled="true"></extension>
  <extension id="kuerteeReputationAndProfessions" enabled="true"></extension>
  <extension id="kuerteeRandomGameStarts" enabled="true"></extension>
  <extension id="kuerteeNPCReactions" enabled="true"></extension>
  <extension id="kuerteeMoreGenericMissions" enabled="true"></extension>
  <extension id="kuerteeLootMining" enabled="true"></extension>
  <extension id="kuerteeModPartsTrader" enabled="true"></extension>
  <extension id="kuerteeHighSecurityRoomsAreLocked" enabled="true"></extension>
  <extension id="kuertee_hacking_outcomes" enabled="true"></extension>
  <extension id="kuerteeFriendlyFireTweaks" enabled="true"></extension>
  <extension id="kuerteeEmergentMissions" enabled="true"></extension>
  <extension id="kuerteeCrimeHasConsequences" enabled="true"></extension>
  <extension id="kuerteeAutoCamera" enabled="true"></extension>
  <extension id="kuerteeAdditionalAgentActions" enabled="true"></extension>
  <extension id="kuerteeAccessibilityFeatures" enabled="true"></extension>
  <extension id="kuerteeUITradeAnalytics" enabled="true"></extension>
  <extension id="kuerteeBoardingOperationNotifications" enabled="true"></extension>
  <extension id="kuerteeUIActiveMissionButton" enabled="true"></extension>
  <extension id="kuerteeUIAcceptMissionForLaterButton" enabled="true"></extension>
  <extension id="jupiter_dlc_presidents_end" enabled="true"></extension>
  <extension id="kuerteeUIExtensionsAndHUD" enabled="true"></extension>
  <extension id="jupiter_ancients_ror" enabled="true"></extension>
  <extension id="jupiter_ancients_reemergence" enabled="true"></extension>
  <extension id="jupiter_ancients_vro" enabled="true"></extension>
  <extension id="jupiter_ancients" enabled="true"></extension>
  <extension id="ws_2545236840" enabled="true"></extension>
  <extension id="re_patches_galaxy_map_cc" enabled="true"></extension>
  <extension id="Ventures" enabled="true"></extension>
  <extension id="Talents" enabled="true"></extension>
  <extension id="SectorSatellites" enabled="true"></extension>
  <extension id="SapphireShipsCompatibilityVRO" enabled="true"></extension>
  <extension id="SapphireShips" enabled="true"></extension>
  <extension id="RelationHaggling" enabled="true"></extension>
  <extension id="RecycleShipsAndStations" enabled="true"></extension>
  <extension id="PrestigeRebalance" enabled="true"></extension>
  <extension id="Observatories" enabled="true"></extension>
  <extension id="GettingPaid" enabled="true"></extension>
  <extension id="ExtendedConversationMenu" enabled="true"></extension>
  <extension id="ApologizeForAttack" enabled="true"></extension>
  <extension id="betterscancolors" enabled="true"></extension>
  <extension id="VigorGraffiti" enabled="true"></extension>
  <extension id="ws_3130396422" enabled="true"></extension>
  <extension id="st_shippack_rooms" enabled="true"></extension>
  <extension id="st_shippack" enabled="true"></extension>
  <extension id="battlestar_galactica" enabled="true"></extension>
  <extension id="ws_3223839371" enabled="true"></extension>
  <extension id="700_sector_scaleplate" enabled="true"></extension>
  <extension id="ws_3387895786" enabled="true"></extension>
  <extension id="ws_3313395610" enabled="true"></extension>
  <extension id="ws_3272713594" enabled="true"></extension>
  <extension id="ws_2494762346" enabled="true"></extension>
  <extension id="ws_2551053441" enabled="true"></extension>
  <extension id="ws_3414980259" enabled="true"></extension>
  <extension id="xpan" enabled="true"></extension>
  <extension id="CorruptionReputation" enabled="true"></extension>
  <extension id="DeadAirAITweaks_kuerteeAttackAITweaks" enabled="true"></extension>
  <extension id="DeadAir_Scripts" enabled="true"></extension>
  <extension id="DeadAirFactionMindatar" enabled="true"></extension>
  <extension id="DeadAirFactionGaldente" enabled="true"></extension>
  <extension id="DeadAirFactionDaldari" enabled="true"></extension>
  <extension id="DeadAirFactionAmarr" enabled="true"></extension>
  <extension id="DeadAir_Eco" enabled="true"></extension>
  <extension id="ws_2082610148" enabled="true"></extension>
  <extension id="ws_3008518740" enabled="true"></extension>
  <extension id="ws_2976257404" enabled="true"></extension>
  <extension id="ws_2975648845" enabled="true"></extension>
  <extension id="ws_3012109879" enabled="true"></extension>
  <extension id="ws_2980971677" enabled="true"></extension>
  <extension id="ws_2987666925" enabled="true"></extension>
  <extension id="ws_3001368283" enabled="true"></extension>
  <extension id="ws_3014624470" enabled="true"></extension>
  <extension id="IntoTheBreach" enabled="true"></extension>
  <extension id="treyfarnhamcomp" enabled="true"></extension>
  <extension id="Teladi_Roc" enabled="true"></extension>
  <extension id="More_Weapons_VRO" enabled="true"></extension>
  <extension id="ws_2973115495" enabled="true"></extension>
  <extension id="ws_2972975001" enabled="true"></extension>
  <extension id="ws_2971583324" enabled="true"></extension>    
adrianx
Posts: 107
Joined: Sun, 24. Apr 11, 18:45
x3tc

Re: Linux Support

Post by adrianx »

Assuming this is a Linux problem cause shader compilation. Getting back to X4 after a few years ! Currently on bazzite (based upon Fedora Kinoite atomic OS). Intel Core I5, 16GB ram, AMD Radeon RX550 GPU, Kernel 6.17.7-ba13.fc43.x86_64 using wayland. After fresh install, run game, shaders are compiled then game starts, at so point after the Egosoft logo the game crashes with the following shader compile error.

OpenGL version string: 4.6 (Compatibility Profile) Mesa 25.2.7

Code: Select all

A fatal error has occurred and the game cannot recover.
Exit code: 1119

Failed to compile shader 'shadergl\high_spec\xu_tonemap'! with error: SHADERERROR_PARSE
BE_LoadStage(shadergl\high_spec\xu_tonemap) FAILED to parse shader stage 3 'tonemap.f' with:
ERROR: 0:11: 'S_input_rt': undeclared identifier
ERROR: 0:11: '' compilation terminated
ERROR: 2 compilation errors.  No code generated.

Version: 8.00 - Code revision: 508735 
Never seen this before running X4 but was on Ubuntu (IIRC) then.
ulterno
Posts: 12
Joined: Tue, 18. Nov 25, 18:03

Re: Linux Support

Post by ulterno »

8.00 GoG Arch Linux: Resets on opening/closing menus on foot

I recently came back to play the game and found a new problem.

When on foot, every time I do things like:
- open the map/character panel/'Esc' Menu on foot
- Interact with an of-foot character, opening their interaction menu
- Select the ship seat, to sit in it, or press 'Ctrl+D' to leave the seat
- Pause/Resume the game
I get the X4 start screen background for ~ a second. I am just calling this a "graphical reset" for lack of a term. Please check the provided video for the exact behaviour.

This does NOT happen when I:
- open the map/character panel/'Esc' Menu when in the cockpit (in the seat, not standing beside it)
- open the map/character panel/'Esc' Menu when the game is paused

Version related? No.
Although I first checked it on the latest updated version on GoG, I later also checked it on the older installation of 6.20 (511811)

I then checked it on Debian 12 Bookworm, where is was not giving said problem, so maybe something related to new updated libraries?
Knowing this, I tried running it using Steam Linux Runtime (All 4 versions available) by adding it as a non-steam game to Steam. But I still got the 'resets'.
I also tried the same on a new Arch installation on the same PC, but the problem is still there.

The options `-debug all` and `-logfile filename` seem to be making no difference.

I understand that you only support Ubuntu, but it would be good to have anything I can start from, for fixing it on my side.
___

Game version:
Version 8.00 (580735)

Extensions:
ego_dlc_split 8.00
ego_dlc_terran 8.00
ego_dlc_pirate 8.00
ego_dlc_boron 8.00

___

Video Link: https://odysee.com/@ulterno:2/X4_too-many-resets:b
System Info: https://gitlab.com/-/snippets/4905493
Mookau
XWiki Moderator
XWiki Moderator
Posts: 181
Joined: Tue, 8. Sep 20, 05:31
x4

Re: Linux Support

Post by Mookau »

ulterno wrote: Tue, 18. Nov 25, 18:46 8.00 GoG Arch Linux: Resets on opening/closing menus on foot

I recently came back to play the game and found a new problem.

When on foot, every time I do things like:
- open the map/character panel/'Esc' Menu on foot
- Interact with an of-foot character, opening their interaction menu
- Select the ship seat, to sit in it, or press 'Ctrl+D' to leave the seat
- Pause/Resume the game
I get the X4 start screen background for ~ a second. I am just calling this a "graphical reset" for lack of a term. Please check the provided video for the exact behaviour.

This does NOT happen when I:
- open the map/character panel/'Esc' Menu when in the cockpit (in the seat, not standing beside it)
- open the map/character panel/'Esc' Menu when the game is paused

Version related? No.
Although I first checked it on the latest updated version on GoG, I later also checked it on the older installation of 6.20 (511811)

I then checked it on Debian 12 Bookworm, where is was not giving said problem, so maybe something related to new updated libraries?
Knowing this, I tried running it using Steam Linux Runtime (All 4 versions available) by adding it as a non-steam game to Steam. But I still got the 'resets'.
I also tried the same on a new Arch installation on the same PC, but the problem is still there.

The options `-debug all` and `-logfile filename` seem to be making no difference.

I understand that you only support Ubuntu, but it would be good to have anything I can start from, for fixing it on my side.
___

Game version:
Version 8.00 (580735)

Extensions:
ego_dlc_split 8.00
ego_dlc_terran 8.00
ego_dlc_pirate 8.00
ego_dlc_boron 8.00

___

Video Link: https://odysee.com/@ulterno:2/X4_too-many-resets:b
System Info: https://gitlab.com/-/snippets/4905493
Doesn't seem like an X4 issue, that's most likely your environment. Sounds like the window size is being (re)set somehow.

You could disable window animations/snapping for whatever window manager/desktop environment you have. Given that you are on Arch, it's hard to give specific advice.
Alternatively you could try the various window/fullscreen options in X4 to see if any of them prevent the window from resizing.

Edit: Do note that X4 doesn't always play nice with Wayland even with the native Linux binaries, and could possibly be related to your issue. To my understanding it's being worked on, but we'll have to wait. In the meantime (if it is the issue) you may be able to mitigate it by running the game in an X11 environment, reconfiguring your Wayland environment, or running the game through gamescope.
User avatar
beko
Posts: 87
Joined: Thu, 11. Jun 20, 21:14
x4

Re: Linux Support

Post by beko »

Got some weird behaviour on Wayland too. Installed Fedora 43 (gnome shell 49.1). Borderless window renders and aligns fine but mouse clicks stop arriving in the game. Works perfectly fine with regular windows with borders. Kinda puzzled.
ulterno
Posts: 12
Joined: Tue, 18. Nov 25, 18:03

Re: Linux Support

Post by ulterno »

Thanks for your responses.

Using KDE Plasma with KWin and I did the following workarounds:

After getting rid of all Panels (TaskBars) on the screen.
Window Rules for X4:
- Allow Tearing = "No"
-- Prevents half of the resets. i.e. resets on menu-close, getting up from the chair and resume from pause; resets in other cases still occur if only this change is made.
- Ignore Requested Geometry = "Yes"
- Size 1919 x 1080
-- 1 less line of pixels to prevent it from taking up the whole screen, prevents the problem of "resets"

In this case, both, Windowed and Borderless Window modes work. You can go with whatever your screen resolution is, minus 1 pixel width or height wise.
Also, in my case, the program won't initialise properly if those rules have been set from the start, so you want to be starting it without the rules set and then enable them around when the main menu appears.

I tried various configurations with focus stealing prevention and Focus Protection, but those didn't seem to make a difference. Neither did "Confine cursor to Window" in X4. Fullscreen doesn't do the trick either.

Seems like KWin has some different behaviour (maybe requests for full screen updates whenever the pointer mode changes) in case the window is taking up the whole screen, regardless of whether it is actually "Fullscreen" and X4 is doing the "reset" whenever it gets such a request.
I also checked in the X11 session and none of those "resets" were occurring in said conditions, so the diagnosis seems on point.

It would be nice to have a Wayland window instead of an XWayland one, considering that SDL 2 is also supporting Wayland.

___

@beko

I have had a similar problem with Debian 12:
- Interactions were requiring 2x mouse clicks instead of 1
- No sound. Even though there was proper sound with stuff like mpv and Firefox
User avatar
beko
Posts: 87
Joined: Thu, 11. Jun 20, 21:14
x4

Re: Linux Support

Post by beko »

> No sound. Even though there was proper sound with stuff like mpv and Firefox

You could try dropping in your system sound lib and/or check the various sound server environment variables based on your system here.

Also absolutely triple check whether X4 is simply muted on your sound server (e.g. with pavucontrol). This happened more often than I care to admit to me.
rudi_pioneer
XWiki Moderator
XWiki Moderator
Posts: 594
Joined: Fri, 2. Apr 21, 21:06
x4

Re: Linux Support

Post by rudi_pioneer »

(not a blocker since quitting game and reopening fixes this, and it's not often)

X4 will slowly fill out GPU memory, and won't even release it when going back to main menu - have to fully quit the game to release the memory. It takes few hours of non-seta gameplay for this to happen. GPU memory use starts at 4-5Gb when game opens, and stutters when filled at +16Gb.

I'm on Kubuntu 25.10 (for latest mesa drivers because my hardware is newish), 9800x3d, AMD Radeon 9070 16Gb.
CBJ
EGOSOFT
EGOSOFT
Posts: 54585
Joined: Tue, 29. Apr 03, 00:56
x4

Re: Linux Support

Post by CBJ »

You didn't mention it in this thread, but you're using an RX 90x0 series card. There have been several reports of memory filling up with these specific cards, but not with others. That makes it highly likely that this is a driver issue.
rudi_pioneer
XWiki Moderator
XWiki Moderator
Posts: 594
Joined: Fri, 2. Apr 21, 21:06
x4

Re: Linux Support

Post by rudi_pioneer »

That's my hope, that one of mesa driver updates will fix memory issue. It's why i switched to non-LTS ubuntu core. Fingers crossed it happens soon. Thanks for confirming it's this graphic card!
ulterno
Posts: 12
Joined: Tue, 18. Nov 25, 18:03

Re: Linux Support

Post by ulterno »

CBJ wrote: Wed, 3. Dec 25, 09:21 You didn't mention it in this thread, but you're using an RX 90x0 series card. There have been several reports of memory filling up with these specific cards, but not with others. That makes it highly likely that this is a driver issue.
Thanks for this information.
Looks like my crashing problem is similar to what is stated in this (I haven't reported the crashing before, because I haven't properly checked it with other Linux versions yet).

___

My specific condition:

System: Desktop: AMD RX 7600 with EndeavourOS (also tested with clean a Arch installation) + KDE Plasma Wayland.

CASE 1:-
- Single GPU (CPU is AMD Ryzen 5800X without iGPU)
- After long hours of play, VRAM eventually fills up and causes a crash. I am unable to report it (even though I get the report in the journal) because I am using overdrive to enable manual fan speed control.
- plasmashell crashes along with it and sometimes the system recovers, other times it doesn't

CASE 2:-
- Added a second GPU (AMD RX 570 - RADV POLARIS10) and plasmashell starts using that one for rendering
- Running X4 on the monitor connected to RX 7600 and the selected GPU in X4 Settings is also RX 7600 - RADV NAVI33
- After long hours of play, VRAM eventually fills up but there's no crash. Instead, it starts taking much longer to load textures, which is the most visible when I teleport to places like Avarice or Xenon areas (assuming I have been playing in ARG, SPL etc areas, with their specific textures). In 1 instance, when this happened, I restarted the program with a save in Avarice and it resumed normal working, until I then went to my HQ which is full of BOR and TER modules. Still doesn't crash though.

Interpretation:
- When X4 starts taking more VRAM, plasmashell and X4 seem to start "fighting" each other for it, causing the crash. This might not be seen on systems with an iGPU (mostly laptops, on which the developers might be testing) because plasmashell would just use the iGPU and let the dGPU be free for X4.


Additionally, when I started using the dual GPU setup (CASE 2), the problem as I stated in post no. 5297833 stopped happening. I no longer required the workaround that I stated in 5298649 and even the "resets" occurring when I Alt+Tab stopped happening. There was another problem of the main menu never starting up, if I Alt+Tabbed or moved my mouse to another screen during the game startup, which also got fixed by CASE 2. So essentially, plasma Wayland is not working nicely with X4 when using a single GPU.
I can't say much more than this without debugging info, so stopping here.

___

Explanation for "taking much longer to load textures":
Sometimes start with no objects visible on teleportation. Only the system's background is visible. Then, the station/ship manages to load. I might still see people without faces (only eyes and teeth) or people without bodies (only head) and similar missing features all over the place.
In this case,, it may take a while to load up all of those, or I might get bored and restart the game.
xrogaan
Posts: 238
Joined: Tue, 31. May 11, 20:27
x4

Re: Linux Support

Post by xrogaan »

There is something called GART (graphic address remapping table), or more recently GTT (graphic translation table). It allows the graphic card direct memory access to the host system (your RAM). It's used to exchange data through buffer, since your RAM is faster than a drive (hard or solid state). GTT can also be used to expand the amount of video memory available. With the right UEFI setting, your graphic card could use up to half of your RAM. You can check if your system is configured correctly by running the following and comparing the number with your RAM amount: dmesg | grep -i gtt
Or you could run: glxinfo | grep -A30 'Extended renderer info'

Sample output from my machine:
Spoiler
Show

Code: Select all

Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD Radeon RX 6600 (radeonsi, navi23, LLVM 19.1.7, DRM 3.64, 6.17.8+deb13-amd64) (0x73ff)
    Version: 25.2.6
    Accelerated: yes
    Video memory: 8192MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 6072 MB, largest block: 6072 MB
    VBO free aux. memory - total: 15773 MB, largest block: 15773 MB
    Texture free memory - total: 6072 MB, largest block: 6072 MB
    Texture free aux. memory - total: 15773 MB, largest block: 15773 MB
    Renderbuffer free memory - total: 6072 MB, largest block: 6072 MB
    Renderbuffer free aux. memory - total: 15773 MB, largest block: 15773 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 8192 MB
    Total available memory: 24192 MB
    Currently available dedicated video memory: 6072 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 6600 (radeonsi, navi23, LLVM 19.1.7, DRM 3.64, 6.17.8+deb13-amd64)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 25.2.6-1~bpo13+1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
    GL_AMD_conservative_depth, GL_AMD_depth_clamp_separate, 
Hint: you want that number to be high.

I did notice, when playing X4 for long period of times, that the amount of video memory used grows above the amount of video memory present on my graphic card. Doing so, my system remains stable. Its effect, however, correlate your explanation for "taking much longer to load textures".

I don't know why your system is more stable when running a dual GPU configuration. The "crash", though, is the driver stack failing. So anything that depends on it goes down when it dies. The cause may not be an overfull VRAM, check your logs! (And why is overdrive keeping you from sharing that information?)
CPU: 8-core AMD Ryzen 7 5700X (-MT MCP-); 32GiB ram; GPU: AMD Radeon RX 6600; GNU/Linux Devuan
rudi_pioneer
XWiki Moderator
XWiki Moderator
Posts: 594
Joined: Fri, 2. Apr 21, 21:06
x4

Re: Linux Support

Post by rudi_pioneer »

There's something to this, i'll investigate more. I'm also on wayland.

I've tried another linux machine (framework 13 with eGPU), this one with AMD Radeon RX 7600M XT, and same issue with video memory filling up and not releasing is happening.

So original thought about this being driver issue for new cards doesn't hold water, 7600M definitely isn't new.
ulterno
Posts: 12
Joined: Tue, 18. Nov 25, 18:03

Re: Linux Support

Post by ulterno »

xrogaan wrote: Wed, 10. Dec 25, 02:57 dmesg | grep -i gtt
Or you could run: glxinfo | grep -A30 'Extended renderer info'
Seems like an appropriate value, considering I have 64GB of total RAM and X4 ends up using ~10-11 GB according to htop.

Code: Select all

❯ journalctl -b | grep -i gtt
Dec 11 14:06:59 ulterno-desktop kernel: amdgpu 0000:24:00.0: amdgpu: amdgpu: 32111M of GTT memory ready.
Dec 11 14:07:00 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: amdgpu: 32111M of GTT memory ready.
Information from glxinfo matches these values, although I don't know how to make it give info for both the GPUs.
xrogaan wrote: Wed, 10. Dec 25, 02:57 I don't know why your system is more stable when running a dual GPU configuration. The "crash", though, is the driver stack failing. So anything that depends on it goes down when it dies. The cause may not be an overfull VRAM, check your logs! (And why is overdrive keeping you from sharing that information?)
Of course I can share the info, just not reporting as a bug to https://gitlab.freedesktop.org/drm/amd/-/issues because

Code: Select all

Dec 11 14:06:58 ulterno-desktop kernel: amdgpu: Overdrive is enabled, please disable it before reporting any bugs unrelated to overdrive.
Here's the relevant log

Code: Select all

❯ journalctl -b -9
Dec 03 05:44:23 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:4 pasid:32800)
Dec 03 05:44:23 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:  Process Main() pid 78876 thread Main() pid 78876
Dec 03 05:44:23 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:   in page starting at address 0x0000800101a00000 from client 10
Dec 03 05:44:23 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00401431
Dec 03 05:44:23 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          Faulty UTCL2 client ID: SQC (data) (0xa)
Dec 03 05:44:23 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          MORE_FAULTS: 0x1
Dec 03 05:44:23 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          WALKER_ERROR: 0x0
Dec 03 05:44:23 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          PERMISSION_FAULTS: 0x3
Dec 03 05:44:23 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          MAPPING_ERROR: 0x0
Dec 03 05:44:23 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          RW: 0x0
Dec 03 05:44:23 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:4 pasid:32800)
Dec 03 05:44:23 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:  Process Main() pid 78876 thread Main() pid 78876
Dec 03 05:44:23 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:   in page starting at address 0x0000800101a00000 from client 10
Dec 03 05:44:33 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: Dumping IP State
Dec 03 05:44:33 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: Dumping IP State Completed
Dec 03 05:44:33 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: [drm] AMDGPU device coredump file has been created
Dec 03 05:44:33 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: [drm] Check your /sys/class/drm/card1/device/devcoredump/data
Dec 03 05:44:33 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: ring gfx_0.0.0 timeout, signaled seq=6100542, emitted seq=6100544
Dec 03 05:44:33 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:  Process Main() pid 78876 thread VideoAsset pid 78927
Dec 03 05:44:33 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: Starting gfx_0.0.0 ring reset
Dec 03 05:44:35 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: MES failed to respond to msg=RESET
Dec 03 05:44:35 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: failed to reset legacy queue
Dec 03 05:44:35 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: reset via MES failed and try pipe reset -110
Dec 03 05:44:35 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: The CPFW hasn't support pipe reset yet.
Dec 03 05:44:35 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: Ring gfx_0.0.0 reset failed
Dec 03 05:44:35 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: GPU reset begin!
Dec 03 05:44:38 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: MES failed to respond to msg=REMOVE_QUEUE
Dec 03 05:44:38 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: failed to unmap legacy queue
Dec 03 05:44:38 ulterno-desktop kernel: [drm:gfx_v11_0_hw_fini [amdgpu]] *ERROR* failed to halt cp gfx
Dec 03 05:44:38 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: MODE1 reset
Dec 03 05:44:38 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: GPU mode1 reset
Dec 03 05:44:38 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: GPU smu mode1 reset
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: GPU reset succeeded, trying to resume
Dec 03 05:44:39 ulterno-desktop kernel: [drm] PCIE GART of 512M enabled (table at 0x0000008000800000).
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: VRAM is lost due to GPU reset!
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: PSP is resuming...
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: reserve 0x1300000 from 0x81fc000000 for PSP TMR
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: RAS: optional ras ta ucode is not available
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: RAP: optional rap ta ucode is not available
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: SECUREDISPLAY: optional securedisplay ta ucode is not available
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: SMU is resuming...
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: smu driver if version = 0x00000035, smu fw if version = 0x00000040, smu fw program = 0, smu fw version = 0x00525f00 (82.95.0)
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: SMU driver if version not matched
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: SMU is resumed successfully!
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: [drm] DMUB hardware initialized: version=0x07002F00
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 6 on hub 0
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 7 on hub 0
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 8 on hub 0
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 9 on hub 0
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 10 on hub 0
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 11 on hub 0
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: ring sdma1 uses VM inv eng 13 on hub 0
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: ring vcn_unified_0 uses VM inv eng 0 on hub 8
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: ring jpeg_dec uses VM inv eng 1 on hub 8
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: ring mes_kiq_3.1.0 uses VM inv eng 14 on hub 0
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: GPU reset(1) succeeded!
Dec 03 05:44:39 ulterno-desktop kwin_wayland[1220]: A graphics reset not attributable to the current GL context occurred.
Dec 03 05:44:39 ulterno-desktop kwin_wayland[1220]: 0x3: GL_CONTEXT_LOST in context lost
Dec 03 05:44:39 ulterno-desktop kwin_wayland[1220]: 0x3: GL_CONTEXT_LOST in context lost
Dec 03 05:44:39 ulterno-desktop kwin_wayland[1220]: 0x3: GL_CONTEXT_LOST in context lost
Dec 03 05:44:39 ulterno-desktop kwin_wayland[1220]: 0x3: GL_CONTEXT_LOST in context lost
Dec 03 05:44:39 ulterno-desktop kwin_wayland[1220]: 0x3: GL_CONTEXT_LOST in context lost
Dec 03 05:44:39 ulterno-desktop kwin_wayland[1220]: 0x3: GL_CONTEXT_LOST in context lost
Dec 03 05:44:39 ulterno-desktop kernel: amdgpu 0000:2f:00.0: [drm] device wedged, but recovered through reset
Dec 03 05:44:39 ulterno-desktop plasmashell[1488]: QRhiGles2: Context is lost.
Dec 03 05:44:39 ulterno-desktop plasmashell[1488]: Graphics device lost, cleaning up scenegraph and releasing RHI
Dec 03 05:44:39 ulterno-desktop kwin_wayland[1220]: 0x3: GL_CONTEXT_LOST in context lost
Dec 03 05:44:39 ulterno-desktop kwin_wayland[1220]: 0x3: GL_CONTEXT_LOST in context lost
Dec 03 05:44:39 ulterno-desktop kwin_wayland[1220]: 0x3: GL_CONTEXT_LOST in context lost
Dec 03 05:44:39 ulterno-desktop kwin_wayland[1220]: 0x3: GL_CONTEXT_LOST in context lost
...
Dec 03 05:44:39 ulterno-desktop kwin_wayland[1220]: 0x3: GL_CONTEXT_LOST in context lost
Dec 03 05:44:39 ulterno-desktop kwin_wayland[1220]: KscreenConfig::instance called after the first use - ignoring
Dec 03 05:44:39 ulterno-desktop kwin_wayland[1220]: MouseMarkConfig::instance called after the first use - ignoring
Dec 03 05:44:39 ulterno-desktop org_kde_powerdevil[1591]: [ 12982] Udev event detected
Dec 03 05:44:39 ulterno-desktop kwin_wayland[1220]: OverviewConfig::instance called after the first use - ignoring
Dec 03 05:44:39 ulterno-desktop kwin_wayland[1220]: ShakeCursorConfig::instance called after the first use - ignoring
Dec 03 05:44:39 ulterno-desktop kwin_wayland[1220]: SlideConfig::instance called after the first use - ignoring
Dec 03 05:44:39 ulterno-desktop kwin_wayland[1220]: SlidingPopupsConfig::instance called after the first use - ignoring
Dec 03 05:44:39 ulterno-desktop kwin_wayland[1220]: WindowViewConfig::instance called after the first use - ignoring
Dec 03 05:44:39 ulterno-desktop kwin_wayland[1220]: ZoomConfig::instance called after the first use - ignoring
Dec 03 05:44:39 ulterno-desktop kernel: [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:7 pasid:32800)
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:  Process Main() pid 78876 thread VideoAsset pid 78927
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:   in page starting at address 0x000047ae00025000 from client 10
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00701031
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          Faulty UTCL2 client ID: TCP (0x8)
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          MORE_FAULTS: 0x1
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          WALKER_ERROR: 0x0
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          PERMISSION_FAULTS: 0x3
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          MAPPING_ERROR: 0x0
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          RW: 0x0
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:7 pasid:32800)
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:  Process Main() pid 78876 thread VideoAsset pid 78927
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:   in page starting at address 0x0000f98310343000 from client 10
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00701031
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          Faulty UTCL2 client ID: TCP (0x8)
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          MORE_FAULTS: 0x1
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          WALKER_ERROR: 0x0
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          PERMISSION_FAULTS: 0x3
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          MAPPING_ERROR: 0x0
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          RW: 0x0
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:7 pasid:32800)
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:  Process Main() pid 78876 thread VideoAsset pid 78927
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:   in page starting at address 0x00001d1010368000 from client 10
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00701031
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          Faulty UTCL2 client ID: TCP (0x8)
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          MORE_FAULTS: 0x1
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          WALKER_ERROR: 0x0
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          PERMISSION_FAULTS: 0x3
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          MAPPING_ERROR: 0x0
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          RW: 0x0
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:7 pasid:32800)
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:  Process Main() pid 78876 thread VideoAsset pid 78927
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:   in page starting at address 0x00001d1010304000 from client 10
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00701031
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          Faulty UTCL2 client ID: TCP (0x8)
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          MORE_FAULTS: 0x1
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          WALKER_ERROR: 0x0
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          PERMISSION_FAULTS: 0x3
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          MAPPING_ERROR: 0x0
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          RW: 0x0
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:7 pasid:32800)
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:  Process Main() pid 78876 thread VideoAsset pid 78927
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:   in page starting at address 0x00001d1010307000 from client 10
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00701031
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          Faulty UTCL2 client ID: TCP (0x8)
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          MORE_FAULTS: 0x1
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          WALKER_ERROR: 0x0
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          PERMISSION_FAULTS: 0x3
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          MAPPING_ERROR: 0x0
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          RW: 0x0
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:7 pasid:32800)
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:  Process Main() pid 78876 thread VideoAsset pid 78927
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:   in page starting at address 0x00001d1010305000 from client 10
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00701031
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          Faulty UTCL2 client ID: TCP (0x8)
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          MORE_FAULTS: 0x1
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          WALKER_ERROR: 0x0
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          PERMISSION_FAULTS: 0x3
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          MAPPING_ERROR: 0x0
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          RW: 0x0
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:7 pasid:32800)
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:  Process Main() pid 78876 thread VideoAsset pid 78927
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:   in page starting at address 0x00001d101030a000 from client 10
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00701031
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          Faulty UTCL2 client ID: TCP (0x8)
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          MORE_FAULTS: 0x1
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          WALKER_ERROR: 0x0
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          PERMISSION_FAULTS: 0x3
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          MAPPING_ERROR: 0x0
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          RW: 0x0
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:7 pasid:32800)
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:  Process Main() pid 78876 thread VideoAsset pid 78927
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:   in page starting at address 0x00001d1010308000 from client 10
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: GCVM_L2_PROTECTION_FAULT_STATUS:0x00701031
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          Faulty UTCL2 client ID: TCP (0x8)
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          MORE_FAULTS: 0x1
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          WALKER_ERROR: 0x0
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          PERMISSION_FAULTS: 0x3
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          MAPPING_ERROR: 0x0
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:          RW: 0x0
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:7 pasid:32800)
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:  Process Main() pid 78876 thread VideoAsset pid 78927
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:   in page starting at address 0x00001d101030b000 from client 10
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: [gfxhub] page fault (src_id:0 ring:24 vmid:7 pasid:32800)
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:  Process Main() pid 78876 thread VideoAsset pid 78927
Dec 03 05:44:46 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:   in page starting at address 0x00001d1010309000 from client 10
Dec 03 05:44:49 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: [drm] *ERROR* [CRTC:84:crtc-1] hw_done or flip_done timed out
Dec 03 05:44:49 ulterno-desktop kernel: amdgpu 0000:2f:00.0: [drm] *ERROR* [CRTC:84:crtc-1] flip_done timed out
Dec 03 05:44:49 ulterno-desktop kwin_wayland[1220]: The main thread was hanging temporarily!
Dec 03 05:44:49 ulterno-desktop kwin_wayland[1220]: Pageflip timed out! This is a bug in the amdgpu kernel driver
Dec 03 05:44:49 ulterno-desktop kwin_wayland[1220]: Please report this at https://gitlab.freedesktop.org/drm/amd/-/issues
Dec 03 05:44:49 ulterno-desktop kwin_wayland[1220]: With the output of 'sudo dmesg' and 'journalctl --user-unit plasma-kwin_wayland --boot 0'
Dec 03 05:44:49 ulterno-desktop plasma-systemmonitor[24763]: QRhiGles2: Context is lost.
Dec 03 05:44:49 ulterno-desktop plasma-systemmonitor[24763]: Graphics device lost, cleaning up scenegraph and releasing RHI
Dec 03 05:44:50 ulterno-desktop plasmashell[1488]: QRhiGles2: Context is lost.
Dec 03 05:44:50 ulterno-desktop plasmashell[1488]: Graphics device lost, cleaning up scenegraph and releasing RHI
Dec 03 05:44:50 ulterno-desktop plasmashell[1488]: QRhiGles2: Context is lost.
Dec 03 05:44:50 ulterno-desktop plasmashell[1488]: Graphics device lost, cleaning up scenegraph and releasing RHI
Dec 03 05:44:50 ulterno-desktop kwin_wayland[1220]: Pageflip timed out! This is a bug in the amdgpu kernel driver
Dec 03 05:44:50 ulterno-desktop kwin_wayland[1220]: Please report this at https://gitlab.freedesktop.org/drm/amd/-/issues
Dec 03 05:44:50 ulterno-desktop kwin_wayland[1220]: With the output of 'sudo dmesg' and 'journalctl --user-unit plasma-kwin_wayland --boot 0'
Dec 03 05:44:56 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: Dumping IP State
Dec 03 05:44:56 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: Dumping IP State Completed
Dec 03 05:44:56 ulterno-desktop org_kde_powerdevil[1591]: [ 12982] Udev event detected
Dec 03 05:44:56 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: [drm] AMDGPU device coredump file has been created
Dec 03 05:44:56 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: [drm] Check your /sys/class/drm/card1/device/devcoredump/data
Dec 03 05:44:56 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: ring comp_1.3.1 timeout, signaled seq=13347, emitted seq=13349
Dec 03 05:44:56 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:  Process Main() pid 78876 thread VideoAsset pid 78927
Dec 03 05:44:56 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: Starting comp_1.3.1 ring reset
Dec 03 05:44:56 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: reset compute queue (1:3:1)
Dec 03 05:44:56 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: Ring comp_1.3.1 reset succeeded
Dec 03 05:44:56 ulterno-desktop kernel: amdgpu 0000:2f:00.0: [drm] device wedged, but recovered through reset
Dec 03 05:44:59 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: Dumping IP State
Dec 03 05:44:59 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: Dumping IP State Completed
Dec 03 05:44:59 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: [drm] AMDGPU device coredump file has been created
Dec 03 05:44:59 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: [drm] Check your /sys/class/drm/card1/device/devcoredump/data
Dec 03 05:44:59 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: ring gfx_0.0.0 timeout, signaled seq=6100754, emitted seq=6100756
Dec 03 05:44:59 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu:  Process kwin_wayland pid 1220 thread kwin_wayla:cs0 pid 1234
Dec 03 05:44:59 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: Starting gfx_0.0.0 ring reset
Dec 03 05:45:00 ulterno-desktop kernel: amdgpu 0000:2f:00.0: amdgpu: Ring gfx_0.0.0 reset succeeded
Dec 03 05:45:00 ulterno-desktop kernel: amdgpu 0000:2f:00.0: [drm] device wedged, but recovered through reset
And as you would have guessed from the command parameters, /sys/class/drm/card1/device/devcoredump/data is no longer available.
I will try that again next time I happen to remove the 2nd GPU.

Return to “X4: Foundations - Technical Support”