#240 Weird lightning with a new PC I'm using (LSD trip)

Closed
opened 2 years ago by kusei · 18 comments
kusei commented 2 years ago

I'm getting these lightning issues all over Teyvat. Don't know what's wrong, I configured the same as my other PC which works fine. The only difference in hardware is AMD graphics, but I setted it up the same using your updater script and using wine.

¿Any idea that could cause this?

I'm getting these lightning issues all over Teyvat. Don't know what's wrong, I configured the same as my other PC which works fine. The only difference in hardware is AMD graphics, but I setted it up the same using your updater script and using wine. ¿Any idea that could cause this?

Are you sure you're using DXVK?

Are you sure you're using DXVK?
kusei commented 2 years ago
Poster

I'm not sure, Lutris doesn't start it like my other computer does. I was just using wine cmd /c launcher.bat.

When I click Launch with Lutris the process starts but nothing comes on the screen and then abruptly closes without any indication

I'm not sure, Lutris doesn't start it like my other computer does. I was just using wine cmd /c launcher.bat. When I click Launch with Lutris the process starts but nothing comes on the screen and then abruptly closes without any indication
Krock commented 2 years ago
Owner

@kusei Lutris does the DXVK setup automatically. For system-wide Wine installations you need to install it manually using either their setup script or Winetricks.

There's also a troubleshooting entry for this case: see "Custom script". If you are using the default WINEPREFIX (i.e. ~/.wine/), the export step is not necessary.

Do you need more detailed instructions, or does this solve your issue?

@kusei Lutris does the DXVK setup automatically. For system-wide Wine installations you need to install it manually using either their setup script or Winetricks. There's also a troubleshooting entry for this case: [see "Custom script"](https://notabug.org/Krock/dawn/src/master/TROUBLESHOOTING.md#graphics-bugsissues). If you are using the default WINEPREFIX (i.e. `~/.wine/`), the `export` step is not necessary. Do you need more detailed instructions, or does this solve your issue?
kusei commented 2 years ago
Poster

I've been trying to set the options on Lutris configuration but I'm not even able to start the game with Lutris, it just opens and then closes in about 30s with nothing on the screen.

I've been trying to set the options on Lutris configuration but I'm not even able to start the game with Lutris, it just opens and then closes in about 30s with nothing on the screen.
Krock commented 2 years ago
Owner

@kusei Please do either install DXVK on your system-wide WINEPREFIX for direct command-line use, or gather log files from your Lutris runner. The description "opens and closes in about 30s" is about as helpful as "it does not work". Without any log file and/or detailed system information I cannot provide helpful answers.

@kusei Please do either install DXVK on your system-wide WINEPREFIX for direct command-line use, or gather log files from your Lutris runner. The description "opens and closes in about 30s" is about as helpful as "it does not work". Without any log file and/or detailed system information I cannot provide helpful answers.
xzh_il commented 2 years ago

Hey @kusei,

I've had this exact issue.

Don't have access to the exact specs right now but using slightly older versions of wine or DXVK fixed the issue. Mess around with different versions; one should work.

I can upload exact settings later today if you still need them.

Hey @kusei, I've had this exact issue. Don't have access to the exact specs right now but using slightly older versions of wine or DXVK fixed the issue. Mess around with different versions; one should work. I can upload exact settings later today if you still need them.
kusei commented 2 years ago
Poster

Hey, sorry for late reply, but I didn't have access to this pc for some time.

I've tried lowering the version of both lutris and dxvk but nothing, the process starts and shuts down in about 30 seconds.

@xzh_il I'd love more details about how you solved this.

@Krock Could you tell me a way to give better error feedback?

Hey, sorry for late reply, but I didn't have access to this pc for some time. I've tried lowering the version of both lutris and dxvk but nothing, the process starts and shuts down in about 30 seconds. @xzh_il I'd love more details about how you solved this. @Krock Could you tell me a way to give better error feedback?
blatasia commented 2 years ago
https://www.youtube.com/watch?v=ntSF1Sfe7jA&t=82s Try this one
kusei commented 2 years ago
Poster

@blatasia I tried and nothing, still LSD. At least I got it to open from lutris so that's something. Anything else I could try?

@blatasia I tried and nothing, still LSD. At least I got it to open from lutris so that's something. Anything else I could try?

Edit: I'm dumb, i didn't noticed the title has "new PC" in it, so disregard this comment.

This is just a guess based on the description, since it only mentions AMD graphics, so i might be wrong.

Maybe your AMD GPU does not support Vulkan or most probably it's a GCN 1.0/1.1 (Southern Islands/Sea Islands) GPU that uses the 'radeon' driver instead of 'amdgpu' driver which the former does not support Vulkan causing DXVK to not work (Which is why it doesn't launch). if that's the case you can check the AMDGPU wiki page on Arch for guide on how to switch from 'radeon' to 'amdgpu'.

Edit: I'm dumb, i didn't noticed the title has "new PC" in it, so disregard this comment. This is just a guess based on the description, since it only mentions AMD graphics, so i might be wrong. Maybe your AMD GPU does not support Vulkan or most probably it's a GCN 1.0/1.1 (Southern Islands/Sea Islands) GPU that uses the 'radeon' driver instead of 'amdgpu' driver which the former does not support Vulkan causing DXVK to not work (Which is why it doesn't launch). if that's the case you can check the AMDGPU wiki page on Arch for guide on how to switch from 'radeon' to 'amdgpu'.
kusei commented 2 years ago
Poster

@pureshores I'm dumber, "new PC" in my language could mean "PC that I just started using", I'm not a native speaker so I'm very sorry about it.

It's an 8 year old PC, the graphics is an AMD ATI Radeon 7950 HD. I'll look into what you told me.

@pureshores I'm dumber, "new PC" in my language could mean "PC that I just started using", I'm not a native speaker so I'm very sorry about it. It's an 8 year old PC, the graphics is an AMD ATI Radeon 7950 HD. I'll look into what you told me.

So your GPU happens to be based on GCN 1.0 (Southern Islands)

To switch from 'radeon' to 'amdgpu' you need to put this in the kernel parameters:

radeon.si_support=0 amdgpu.si_support=1

To confirm that you're using amdgpu indeed, you can enter this in the terminal:

dmesg | grep "amdgpu"

It should show a bunch of amdgpu text rather than radeon.

Now that's using the amdgpu driver, when starting the game with DXVK you may see along the lines of "RADV is not conformant", you can ignore that.


I also apologise for the misinterpretation, i had an impression that you have a newer card since i based my guess on the screenshot's quality and resolution.

So your GPU happens to be based on GCN 1.0 (Southern Islands) To switch from 'radeon' to 'amdgpu' you need to put this in the kernel parameters: >radeon.si_support=0 amdgpu.si_support=1 To confirm that you're using amdgpu indeed, you can enter this in the terminal: >dmesg | grep "amdgpu" It should show a bunch of amdgpu text rather than radeon. Now that's using the amdgpu driver, when starting the game with DXVK you may see along the lines of "RADV is not conformant", you can ignore that. ------ I also apologise for the misinterpretation, i had an impression that you have a newer card since i based my guess on the screenshot's quality and resolution.
kusei commented 2 years ago
Poster

@pureshores Where exactly is the file that I have to introduce the parameters in? Sorry I'm still not well versed enough in linux.

Also does modifying the kernel parameters mean I will have to do it everytime a kernel upgrades?

Thanks for your help.

@pureshores Where exactly is the file that I have to introduce the parameters in? Sorry I'm still not well versed enough in linux. Also does modifying the kernel parameters mean I will have to do it everytime a kernel upgrades? Thanks for your help.
Krock commented 2 years ago
Owner

@kusei

  1. Run lspci -v | grep "VGA" -A 15
  2. Find the line Kernel driver in use. It should state amdgpu for Vulkan support. If it states radeon, try to change the driver.
  3. If you are in doubt, post the output here. In that case, the output of inxi -Ga might be helpful too.

If the output of already states amdgpu, check whether the following packages are installed and up-to-date (assuming Debian-based distro)

  • libdrm-amdgpu1
  • libdrm-amd
  • xserver-xorg-video-amdgpu (assuming X11 installation)
  • If you do not know how to locate the packages, run sudo apt install synaptic to install a graphical front-end called "Synaptic"

If you would like to switch from radeon to amdgpu, check out one of the following instructions: (valid for most distros)

@kusei 1. Run `lspci -v | grep "VGA" -A 15` 2. Find the line `Kernel driver in use`. It should state `amdgpu` for Vulkan support. If it states `radeon`, try to change the driver. 3. If you are in doubt, post the output here. In that case, the output of `inxi -Ga` might be helpful too. **If** the output of already states `amdgpu`, check whether the following packages are installed and up-to-date (assuming Debian-based distro) * `libdrm-amdgpu1` * `libdrm-amd` * `xserver-xorg-video-amdgpu` (assuming X11 installation) * If you do not know how to locate the packages, run `sudo apt install synaptic` to install a graphical front-end called "Synaptic" **If** you would like to switch from `radeon` to `amdgpu`, check out one of the following instructions: (valid for most distros) * https://askubuntu.com/a/1306314 * https://askubuntu.com/a/1003701 (same tutorial, different wording) * Note: running `update-grub` requires root permissions (ex. `sudo`)
kusei commented 2 years ago
Poster

@ Krock Okay.. Thanks to those links I got amdgpu running. My distro is Manjaro (arch based), so what would be the equivalent of those packages?

I have xf86-video-amdgpu and mhwd-amdgpu installed but I still get the LSD trip error.

@pureshores I did not see the RADV message.

@ Krock Okay.. Thanks to those links I got amdgpu running. My distro is Manjaro (arch based), so what would be the equivalent of those packages? I have xf86-video-amdgpu and mhwd-amdgpu installed but I still get the LSD trip error. @pureshores I did not see the RADV message.
Krock commented 2 years ago
Owner

@kusei Would you please be so nice to upload the application output log/text file from Lutris (-> pastebin.com, pastecord.com, paste.debian.net, ...)?

Without any more information it will be difficult to figure out the cause of this issue. Feel free to censor private information, if there is any within the logs.

Please also provide information about the Wine and DXVK version that were effective when you generated/copied the log file.

@kusei Would you please be so nice to upload the application output log/text file from Lutris (-> pastebin.com, pastecord.com, paste.debian.net, ...)? Without any more information it will be difficult to figure out the cause of this issue. Feel free to censor private information, if there is any within the logs. Please also provide information about the Wine and DXVK version that were effective when you generated/copied the log file.

@kusei I'm not sure if Manjaro pre-installs these vulkan packages, can you check if 2 of these are installed?

vulkan-icd-loader

vulkan-radeon

if not, that might be the reason vulkan still don't work even though it's already on amdgpu. (also don't forget to enable DXVK, since the visual bug is mostly associated with using WineD3D (OpenGL)

@kusei I'm not sure if Manjaro pre-installs these vulkan packages, can you check if 2 of these are installed? >vulkan-icd-loader >vulkan-radeon if not, that might be the reason vulkan still don't work even though it's already on amdgpu. (also don't forget to enable DXVK, since the visual bug is mostly associated with using WineD3D (OpenGL)
Krock commented 2 years ago
Owner

No progress in 3 weeks. Please leave a comment here if the problem persists.

No progress in 3 weeks. Please leave a comment here if the problem persists.
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.