It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
I'm playing the game on a v310 Lenovo laptop with Debian 10 installed, my video card is an AMD Hanian card.

I'm having very strange visual glitches in Neverwinter Nights Enhanced Edition (Linux port) where part of the screen has a black box concealing the visuals half of the time, other times there's a strange square over the character's head with some face texture. I'll include the system data and a SCREENSHOT below.

Any idea how I can solve this?

lscpu:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 39 bits physical, 48 bits virtual
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 142
Model name: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
Stepping: 9
CPU MHz: 800.170
CPU max MHz: 3500.0000
CPU min MHz: 400.0000
BogoMIPS: 5808.00
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 4096K
NUMA node0 CPU(s): 0-3
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d

lspci:
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430] (rev 83)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
Attachments:
Post edited July 06, 2021 by megatron_6
I'm going to be honest, that just seems like the distance between the hardware then and now, given it was originally a game from 2001. As for NWNE, that's a bit of a baffling thing indeed.
The CPU info is not that relevant for such an old game while more GPU info would be of more use.

https://www.techpowerup.com/gpu-specs/amd-hainan.g817

So either an M330 or an M430 GPU.

Did you try running the game in the terminal and did you then receive any error messages. What were they?
Did you try changing graphics driver?
That's a really old card, I doubt a lot of people are still using it, so it could just be a driver bug...

I'd try raising an issue with the Mesa developers, see what they think about it: https://gitlab.freedesktop.org/mesa/mesa/-/issues
avatar
Themken: The CPU info is not that relevant for such an old game while more GPU info would be of more use.

https://www.techpowerup.com/gpu-specs/amd-hainan.g817

So either an M330 or an M430 GPU.

Did you try running the game in the terminal and did you then receive any error messages. What were they?
Did you try changing graphics driver?
Yes that's the graphics card I have, the terminal says this in glxinfo

OpenGL renderer string: AMD HAINAN (DRM 2.50.0, 4.19.0-17-amd64, LLVM 7.0.1)

The laptop has an Intel gpu too but it performs even worse.

also this:

sudo lshw -c video
*-display
description: VGA compatible controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:126 memory:d0000000-d0ffffff memory:b0000000-bfffffff ioport:f000(size=64) memory:c0000-dffff
*-display
description: Display controller
product: Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:01:00.0
version: 83
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi bus_master cap_list rom
configuration: driver=radeon latency=0
resources: irq:127 memory:c0000000-cfffffff memory:d1200000-d123ffff ioport:e000(size=256) memory:d1240000-d125ffff

glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: X.Org (0x1002)
Device: AMD HAINAN (DRM 2.50.0, 4.19.0-17-amd64, LLVM 7.0.1) (0x6660)
Version: 18.3.6
Accelerated: yes
Video memory: 2048MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 4.5
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
VBO free memory - total: 1967 MB, largest block: 1967 MB
VBO free aux. memory - total: 1917 MB, largest block: 1917 MB
Texture free memory - total: 1967 MB, largest block: 1967 MB
Texture free aux. memory - total: 1917 MB, largest block: 1917 MB
Renderbuffer free memory - total: 1967 MB, largest block: 1967 MB
Renderbuffer free aux. memory - total: 1917 MB, largest block: 1917 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 2048 MB
Total available memory: 4071 MB
Currently available dedicated video memory: 1967 MB
OpenGL vendor string: X.Org
OpenGL renderer string: AMD HAINAN (DRM 2.50.0, 4.19.0-17-amd64, LLVM 7.0.1)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.3.6
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.5 (Compatibility Profile) Mesa 18.3.6
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 18.3.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
Post edited July 06, 2021 by megatron_6
avatar
megatron_6: Mesa 18.3.6
Latest version: 21.1.4
Not going through 27 months worth of changelogs to see if there is anything listed that might fix your problem. Why not try a newer version of Mesa? I never used pure Debian so not sure how you would go about it. If that does not help, you can take it up with them (Mesa3D organisation) like WinterSnowfall said.

Did you attempt playing this game using your Intel graphics? Such old games often work just fine on Intel's integrated graphics.
high rated
Which version of the game are you using?
avatar
Arcadius-8606: Which version of the game are you using?
Latest one from gog as of 3 days ago.
avatar
Themken: Did you attempt playing this game using your Intel graphics? Such old games often work just fine on Intel's integrated graphics.
I did, same result.
Post edited July 07, 2021 by megatron_6
avatar
megatron_6: Latest one from gog as of 3 days ago.
Use the 2016 or 2017 version. You will have no issues with it since it still has software render.
avatar
Themken: Did you attempt playing this game using your Intel graphics? Such old games often work just fine on Intel's integrated graphics.
Intel also use Mesa, albeit different drivers... it may be a generic opengl bug, or an extension that Mesa 18.3.6 does not have but the game is expecting. Though it would have been "nice" for the game to just crash if that were the case.
avatar
Themken: Did you attempt playing this game using your Intel graphics? Such old games often work just fine on Intel's integrated graphics.
avatar
WinterSnowfall: Intel also use Mesa, albeit different drivers... it may be a generic opengl bug, or an extension that Mesa 18.3.6 does not have but the game is expecting. Though it would have been "nice" for the game to just crash if that were the case.
I know but sometimes a bug is specific to some certain hardware. Intel in my laptop.

If the game is missing some libs, running it in the terminal usually lists that, right? Or you can run ldd pathtogame/correctgamefile.

OP, you did check the list of needed libs, right?
Copied from the game card:
Requires libc6:i386 libasound2:i386 libasound2-data:i386 libasound2-plugins:i386 libjson-c2:i386 libopenal1:i386 libstdc++6:i386 libssl1.0.0:i386 libexpat1:i386 libx11-6:i386 libxau6:i386 libxcb1:i386 libxcursor1:i386 libxdmcp6:i386 libxext6:i386
Post edited July 07, 2021 by Themken
low rated
yep just typical linux
avatar
Orkhepaj: yep just typical linux
So, have you never encountered bRRRoken graphics in a game using Windows? I know I have.
Post edited July 07, 2021 by Themken
avatar
Themken: So, have you never encountered bRRRoken grpahics in a game using Windows? I know I have.
Do I need to tell the story of a penguin stealing Orkhepaj's bear plushie when he was little and him becoming the arch-enemy of Linux ever since, yet again??? :P
low rated
avatar
Orkhepaj: yep just typical linux
avatar
Themken: So, have you never encountered bRRRoken grpahics in a game using Windows? I know I have.
not in win10