sodium-fabric icon indicating copy to clipboard operation
sodium-fabric copied to clipboard

Textures on block faces do not line up correctly - issue affects every block in game

Open shaan94 opened this issue 3 years ago • 11 comments

Version information

sodium-fabric-mc1.17.1-0.3.2+build.7

Expected Behavior

Textures on each block face should line up perfectly.

Actual Behavior

Textures on block faces do not line up. It appears only the south facing block-face lines up. 2021-10-31_17 51 24

2021-10-31_17 51 38

2021-10-31_17 51 49

2021-10-31_17 52 08

Reproduction Steps

  1. Place a block
  2. Look at block

Java version

Java 16

CPU

i5-6600k

GPU

AMD R9 390

Additional information

No response

shaan94 avatar Oct 31 '21 18:10 shaan94

could not reproduce with sodium or iris, ended up finding this seems to occur when continuity is installed

Altirix avatar Nov 02 '21 05:11 Altirix

could not reproduce with sodium or iris, ended up finding this seems to occur when continuity is installed

The bug still happens when running only Sodium - I have also confirmed this with 2 other people running different hardware.

I am surprised that you do not have the bug. Did you look at all sides of the block or just the side where the textures line up?

shaan94 avatar Nov 05 '21 13:11 shaan94

I could not reproduce any texture misalignment with only sodium (same build), nor with my normal set of mods including sodium (lithium, lambdynamiclights, fabric api). I don't have the continuity mod.

Tested on Java 16.0.1, with AMD RX Vega 64 GPU and the "amdgpu" driver (Mesa) on Ubuntu 20.04 LTS.

l1cash avatar Nov 05 '21 16:11 l1cash

could not reproduce with sodium or iris, ended up finding this seems to occur when continuity is installed

The bug still happens when running only Sodium - I have also confirmed this with 2 other people running different hardware.

I am surprised that you do not have the bug. Did you look at all sides of the block or just the side where the textures line up?

yup even made a texture overlay to make it a bit easier. melon.zip that's quite strange does it happen on any prior versions of sodium?

Altirix avatar Nov 05 '21 18:11 Altirix

yup even made a texture overlay to make it a bit easier. melon.zip that's quite strange does it happen on any prior versions of sodium?

Yeah, I first noticed it on the last release of sodium, and it was still there on the latest mc1.17.1-0.3.2+build.7

2021-11-05_20 00 24

2021-11-05_20 00 45

2021-11-05_20 00 50

These are my settings - I wonder if it's any of these causing the misalignment?

shaan94 avatar Nov 05 '21 20:11 shaan94

I have the same problem when running only a fresh install of Sodium.

Derklong avatar Nov 11 '21 15:11 Derklong

2021-11-18_13 07 37 Windows 10 Radeon version 21.10.2

Please update your graphics drivers and post a screenshot of the minecraft f3 screen along with your operating system and graphics card driver version.

MESLewis avatar Nov 18 '21 19:11 MESLewis

I cannot reproduce this on Sodium 0.3.2 or 0.3.3 using an nvidia gtx 1070 and driver 496.49. It seems like it must be hardware/driver related in some way. If everyone experiencing the issue with just sodium installed could confirm their gpu and driver version that would be helpful.

LucilleTea avatar Nov 25 '21 03:11 LucilleTea

Probably some kind of driver-specific bug and larger texture atlases... I can't reproduce the problem on my machine.

$ lspci
0c:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 14 [Radeon RX 5500/5500M / Pro 5500M] (rev c5)

$ glxinfo
...
OpenGL vendor string: AMD
OpenGL renderer string: Radeon RX 5500 XT (NAVI14, DRM 3.42.0, 5.15.4-201.fc35.x86_64, LLVM 13.0.0)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.2.5
OpenGL core profile shading language version string: 4.60

$ uname -srm
Linux 5.15.4-201.fc35.x86_64

@shann94 @Derklong Can you two provide a client log file and a list of any resource packs you are using?

jellysquid3 avatar Dec 01 '21 22:12 jellysquid3

Is it fixed?

Lolothepro avatar Nov 01 '22 14:11 Lolothepro

Can you close this bug report?

Lolothepro avatar May 10 '23 20:05 Lolothepro

This is fixed with https://github.com/CaffeineMC/sodium-fabric/commit/ea0172768a5da9907b5a5711160dc3984fafea83.

jellysquid3 avatar Apr 29 '24 06:04 jellysquid3