You are not logged in.
xorg log http://0x0.st/XpoP.txt
i tried playing the game after the doing the last command and rebooting but it crashed again after some time but at least it didnt show any Xid error un dmesg
Offline
[ 11.103] (==) Using config file: "/etc/X11/xorg.conf"
Remove that file again and then try to comment the "Option "ForceFullCompositionPipeline" "off"" line, the driver doesn't complain about UseNvKmsCompositionPipeline so maybe it's still possible to use the legacy composition here.
Offline
you mean i need to put
sudo nvidia-xconfig
then do
sudo nano /etc/X11/xorg.conf.d/20-nvidia.conf
and do
Section "Device"
Identifier "NVIDIA Card"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce RTX 2060"
EndSection
Section "Screen"
Identifier "Screen0"
Device "NVIDIA Card"
Option "ForceFullCompositionPipeline" "off" #how can i comment it ?
Option "UseNvKmsCompositionPipeline" "false" #so do i need to put this one On and the one above off ?
Option "TripleBuffer" "on"
EndSection
Offline
you mean i need to put
sudo nvidia-xconfig
NO! Stop running that and remove the xorg.conf it generated!
You really want to check out https://deepl.com/
#how can i comment it ?
Think about that line, anything special that might indicate "stop parsing the config from here"?
And you'll keep "UseNvKmsCompositionPipeline" at false, you want to see whether you can get away w/ only that and retain your multihead setup along the full composition pipeline w/o steam crashing.
Offline
i dont have permission to remove the xorg.conf file
and the link https://deepl.com/ take me to a translation thing i dont know what you want me to do with
by comment you mean remove the line ?
english is not my first language as you can probably see xd
edit i did sudo rm xorg.conf
the xorg.conf is removed
edit 2;
i finally understand why you said no dont do that again i misunderstand what you said first about nvidia x config i tought you were telling me to not create another but you were telling me to remove it
so i just need to do
sudo nano /etc/X11/xorg.conf.d/20-nvidia.conf
and do
Section "Device"
Identifier "NVIDIA Card"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce RTX 2060"
EndSection
Section "Screen"
Identifier "Screen0"
Device "NVIDIA Card"
Option "ForceFullCompositionPipeline" "off"
Option "UseNvKmsCompositionPipeline" "false"
Option "TripleBuffer" "on"
EndSection
dont put nvidia x config because it use it instead of 20 nvidia conf
and then after a reboot to enshure it is using 20 nvidia conf
i do
cat /var/log/Xorg.0.log | curl -F 'file=@-' 0x0.st to get you the text
Last edited by Crabevariable (2024-07-21 08:17:42)
Offline
and the link https://deepl.com/ take me to a translation thing i dont know what you want me to do with
english is not my first language as you can probably see xd
i dont have permission to remove the xorg.conf file
https://imgs.xkcd.com/comics/sandwich.png - but you figured that
by comment you mean remove the line ?
No, "#" indicates a comment, so
# Option "ForceFullCompositionPipeline" "off"
will be ignored by the server.
Offline
so
Section "Device"
Identifier "NVIDIA Card"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce RTX 2060"
EndSection
Section "Screen"
Identifier "Screen0"
Device "NVIDIA Card"
# Option "ForceFullCompositionPipeline" "off"
Option "UseNvKmsCompositionPipeline" "false"
Option "TripleBuffer" "on"
EndSection
edit
i reboot system and will try the game until it crash if it crash
after maybe 40 min of playing it crashed the same way (freeze and my video on the second monitor having 1 frame per second or really close to it
but in sudo dmesg i dont see xid 109 error
edit 2;
i played a little bit more since last time and yep it freeze with a xid 109 error
Last edited by Crabevariable (2024-07-24 15:15:27)
Offline
i think nobody else can help me now ? xd
so i guess i will have to buy a amd gpu when i can get money xd
or if you still have things to try im open for
Offline
The next test would be to downforce the full composition pipeline - otherwise the workaround remains to toggle an output around the game (you can script that w/ xrandr)
Offline
How could i do that ?
Offline
Do *what*?
Uncomment " Option "ForceFullCompositionPipeline" "off""?
xrandr --help
=> sth along "xrandr --output <output name> --off; run_game; xrandr --output <output name> --auto --pos/--right-of"
Offline
i uncommented the line
i put xrandr --output HDMI-0 --off then lauch the game
after i put xrandr --output HDMI-0 --auto --pos/--right-of
but i had xrandr: unrecognized option '--pos/--right-of'
Offline
--pos sets an abolute position, --right-of sets the output right of some other output (there's also a left, top and bottom variant)
*read* the xrandr help
Offline
ok i did xrandr --output HDMI-0 --off then lauch the game
my gaming monitor turn off
i launch dragon dogma 2
after i put xrandr --output HDMI-0 --auto --left-of DP2
my gamong monitor then turn on but the game had a wine crash
Edit;
i may have find something interesting
in dmesg
i think the Xid error is caused by
[16603.307872] umip: DD2.exe[61861] ip:15c574815 sp:d817efc8: For now, expensive software emulation returns the result.
[16604.243187] umip: DD2.exe[61859] ip:15c574815 sp:d797efc8: SGDT instruction cannot be used by applications.
[16642.145810] NVRM: Xid (PCI:0000:08:00): 109, pid=61740, name=DD2.exe, Ch 00000064, errorString CTX SWITCH TIMEOUT, Info 0x5c05e
i also saw people disabling it to play games made by capcom (like DD2) maybe it is the problem i will try to seek if i can also disable it even though idk if thats really good ?
reEdit;
i will wait your response before doing anything xd it may be a false lead
Last edited by Crabevariable (2024-07-26 12:37:20)
Offline
my gamong monitor then turn on but the game had a wine crash
The idea would be
1. disable the output
2. play the game
3. be fed up w/ getting fragged, stop playing
4. re-enable the output
i also saw people disabling it to play games made by capcom
Disable what? The output?
https://bbs.archlinux.org/viewtopic.php … 0#p2095060
Offline
yeah sorry my edit wasnt precise with the dmesg
the dmesg show
[16603.307872] umip: DD2.exe[61861] ip:15c574815 sp:d817efc8: For now, expensive software emulation returns the result.
[16604.243187] umip: DD2.exe[61859] ip:15c574815 sp:d797efc8: SGDT instruction cannot be used by applications.
then the game freeze and show
[16642.145810] NVRM: Xid (PCI:0000:08:00): 109, pid=61740, name=DD2.exe, Ch 00000064, errorString CTX SWITCH TIMEOUT, Info 0x5c05e
i saw people arguing on a reddit and on other site that the problem was Umip and that disabling it by doing
Open Terminal
Create a backup of grub with "sudo cp /etc/default/grub /etc/default/grub.bak"
Open grub with "sudo nano /etc/default/grub"
Find the line GRUB_CMDLINE_LINUX_DEFAULT
add clearcpuid=514 to the string inside the quotes
Save the file with ctrl+O
Update grub settings with "sudo update-grub"
Restart with sudo shutdown now -r
make the game not crash anymore, but touching the boot option and Umip doesnt seems safe
edit; i tried it and no luck still having xid 109 error
i also tried with one monitor after more gameplay still crash xid 109
Last edited by Crabevariable (2024-07-27 11:19:32)
Offline
yeah only this game show
[16603.307872] umip: DD2.exe[61861] ip:15c574815 sp:d817efc8: For now, expensive software emulation returns the result.
[16604.243187] umip: DD2.exe[61859] ip:15c574815 sp:d797efc8: SGDT instruction cannot be used by application
in dmesg
Offline
add clearcpuid=514 to the string inside the quotes … ouching the boot option and Umip doesnt seems safe
https://en.wikichip.org/wiki/x86/umip is a security feature of newer CPUs, certainly fancy but older systems live w/o that all the time.
But wrt #42 I'd expect *that* error message to be gone after disabling umip??
i also tried with one monitor after more gameplay still crash xid 109
Ie. the specific condition/behavior of https://bbs.archlinux.org/viewtopic.php … 0#p2184710 isn't reliable either?
Offline
i tried multiple boot option to disable Umip and it still show in dmesg
DD2 is the only game where Umip sgdt instruction are showing in dmesg
i saw people deactivating Umip to play some game smoothly like re2 wich is a capcom game
i have some capcom game but only DD2 show this text about Umip
about the one monitor yeah it isnt reliable guess i was lucky the first time
tbh sometime the game let me play way longer before crashing the same way but idk if it is because of everything we did or if it is just the way it is
Last edited by Crabevariable (2024-07-28 08:57:54)
Offline