HGL
ambitious-aqua
Cyberpunk Crashes with nothing displayed on screen
I have attached the log file and the game is of gog version and I bought it just now. When I press play, it changes to stop button and after few seconds, it just changes back to play again. I get nothing displayed or anything as a matter of fact.
122 Replies
Please re-run the game with the latest version of Wine-GE (install from the Wine Manager in Heroic)
ambitious-aquaOP•2y ago
Didn't work
Tried the proton latest and didn't work as well
Oh that's not supposed to fix anything, the game log will now just contain any info at all (right now, I can see that there is an error, but not exactly what it is or why it happened)
harsh-harlequin•2y ago
in case it's not clear, post a new log
absent-sapphire•2y ago
Proton latest is not Wine-GE-latest
ambitious-aquaOP•2y ago
I meant that I tried both lol
harsh-harlequin•2y ago
post the log with wine
ambitious-aquaOP•2y ago
I have uninstalled due to frustration but installing it again
harsh-harlequin•2y ago
rule number... 3 i'd say about getting help is don't give up in the middle of it
ambitious-aquaOP•2y ago
(Don't laugh) My internet speed is 8 Mbps
I have been trying so hard to play this game for 3 days and I got infuriated
harsh-harlequin•2y ago
you have two choices when that happens. first, give up. second, get help. you did both, it's very strange
ambitious-aquaOP•2y ago
I will post the log tommorow as I am going to work
I try my best to not give up
absent-sapphire•2y ago
I have a couple of ideas, but I will wait for a Wine-GE log first
ambitious-aquaOP•2y ago
Sorry for the wait and here's the log files you were waiting for
ambitious-aquaOP•2y ago
ambitious-aquaOP•2y ago
Since the log said it throws a dxvk error, I unticked the box and ticked the dxvk-napi and press play
It displayed like a black screen for few seconds and crashed
ambitious-aquaOP•2y ago
sunny-green•2y ago
First time using Linux?
Because it seems your driver setup is busted
Both dxvk and vkd3d needs to be enabled for that game to work
inxi -SMGxx
Type this to terminal and post outputabsent-sapphire•2y ago
Enable DXVK again, enable use dedicated GPU
Also there are two references to NTFS.
2023-11-04 06:29:35.051 [Information][ (0)] [TID 36][red-prelauncher]: Current working directory: 'Z:/home/ayanakoji/Games/Heroic/Cyberpunk 2077', filesystem: 'NTFS'.
2023-11-04 06:29:36.891 [Information][ (0)] [TID 288][red-launcher]: Current working directory: 'C:/users/ayanakoji/AppData/Local/Programs/CD Projekt Red/REDlauncher', filesystem: 'NTFS'.Your prefix being on an NTFS drive is a big problem
I'd assume that that's just Wine making the application think that, no-one in their right mind formats their /home partition as NTFS
absent-sapphire•2y ago
I’d hope so hah
But some people use symlinking to connect their Games folder to another drive, so it’s possible
https://discord.com/channels/812703221789097985/1168523571476316270/1168539401920458783
Here’s another user with the same dxvkerror who solved it by ensuring a bunch of driver packages were installed
Following after what Leopard said
ambitious-aquaOP•2y ago
Command not found
sunny-green•2y ago
Then install it
ambitious-aquaOP•2y ago
Ok
sunny-green•2y ago
If it is some apt using distro it likely already told you how to install it
ambitious-aquaOP•2y ago
I use archcraft
sunny-green•2y ago
Then
sudo pacman -S inxi
i supposeambitious-aquaOP•2y ago
Installed it
System:
Host: Ayanakoji Kernel: 6.5.9-arch2-1 arch: x86_64 bits: 64 compiler: gcc
v: 13.2.1 Desktop: bspwm v: 0.9.10 dm: SDDM Distro: Archcraft
base: Arch Linux
Machine:
Type: Laptop System: Dell product: Dell G15 5511 v: N/A
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: Dell model: 0284MK v: A04 serial: <superuser required> UEFI: Dell
v: 1.22.1 date: 05/09/2023
Graphics:
Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Dell driver: i915
v: kernel arch: Gen-12.1 ports: active: eDP-1 empty: DP-3,DP-4
bus-ID: 00:02.0 chip-ID: 8086:9a60
Device-2: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: Dell
driver: nvidia v: 535.113.01 arch: Ampere pcie: speed: 16 GT/s lanes: 8
ports: active: none empty: DP-1,DP-2,HDMI-A-1 bus-ID: 01:00.0
chip-ID: 10de:2560
Device-3: Microdia Integrated_Webcam_HD driver: uvcvideo type: USB
rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 3-5:3 chip-ID: 0c45:6a09
Display: x11 server: X.Org v: 21.1.9 with: Xwayland v: 23.2.2
compositor: Picom v: git-b700a driver: X: loaded: intel,nvidia
unloaded: fbdev,modesetting,vesa alternate: nouveau,nv dri: iris gpu: i915
display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96
Monitor-1: eDP-1 mapped: eDP1 model: Najing CEC Panda 0x005f
res: 1920x1080 dpi: 143 diag: 395mm (15.5")
API: EGL v: 1.5 platforms: device: 0 drv: iris device: 2 drv: swrast
surfaceless: drv: iris x11: drv: iris inactive: gbm,wayland,device-1
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 23.2.1-arch1.2
glx-v: 1.4 direct-render: yes renderer: Mesa Intel UHD Graphics (TGL GT1)
device-ID: 8086:9a60
sunny-green•2y ago
sudo pacman -R amdvlk lib32-amdvlk
If your Heroic was flatpak also this too
flatpak update
ambitious-aquaOP•2y ago
ERROR: Missing 6.5.7-arch1-1 kernel headers for module nvidia/545.29.02.
Not flatpak
sunny-green•2y ago
https://gitlab.archlinux.org/archlinux/packaging/packages/nvidia/-/commit/5ea428f8cc861673227cb9eae589a51065236a54
6.5.9 is here so it shouldn't cause problems which is the kernel you use anyways
ambitious-aquaOP•2y ago
Actually I just recieved an update for nvidia drivers
sunny-green•2y ago
Yes, repo updated like 20-30 min ago
ambitious-aquaOP•2y ago
Yep
535.113.01 this is my version now
It says everything is upto date now
the amd didnt work
sunny-green•2y ago
Ok, that command was to make sure you don't have amdvlk packages
ambitious-aquaOP•2y ago
ok
sunny-green•2y ago
Because they install a layer that defaults everything to it which causes things to blow up on a non AMD system
Reboot and try again
ambitious-aquaOP•2y ago
it didn't work
I pressed play and after 2 seconds it changed to play again
ambitious-aquaOP•2y ago
ambitious-aquaOP•2y ago
It's actually assigned by wine
sunny-green•2y ago
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/whateveryournvicdiscalled.json
Can you try this env var?ambitious-aquaOP•2y ago
Can you guide me a bit more?
sunny-green•2y ago
Heroic game page-Other
Environment variables
ambitious-aquaOP•2y ago
gotcha
sunny-green•2y ago
Check the path above to see actual name of that icd tho
Because i dunno it by heart
ambitious-aquaOP•2y ago
Checking it out
sunny-green•2y ago
https://discord.com/channels/812703221789097985/1170013943620718592/1170338393956306945
It really ought to be pulled with this tho
ambitious-aquaOP•2y ago
amd_icd32.json nvidia_icd.json
sunny-green•2y ago
Yes, second one
ambitious-aquaOP•2y ago
there's two json and I need to use the nvidia one right
sunny-green•2y ago
Yep
You have amdvlk it seems tho
amd_icd32 is that and that will cause problems
ambitious-aquaOP•2y ago
should I remove it
sunny-green•2y ago
sudo pacman -R lib32-amdvlk
Yesambitious-aquaOP•2y ago
Done
sunny-green•2y ago
sudo pacman -R amdvlk
too
To make sure 64 bit is also not thereambitious-aquaOP•2y ago
target not found
sunny-green•2y ago
Ok, now try to launch the game
ambitious-aquaOP•2y ago

ambitious-aquaOP•2y ago
Didn't work
sunny-green•2y ago
Hmm, remove env var and try again. I wanna see if error is the same
ambitious-aquaOP•2y ago
This one is with env var
ambitious-aquaOP•2y ago
this one is after I deleted the env
ambitious-aquaOP•2y ago
Crashed again
sunny-green•2y ago
Yep, with same error
sudo pacman -S vulkan-tools
After that, vkcube
When vkcube is running nvidia-smi
ambitious-aquaOP•2y ago
vkEnumerateInstanceExtensionProperties failed to find the VK_KHR_surface extension.
Do you have a compatible Vulkan installable client driver (ICD) installed?
Please look at the Getting Started guide for additional information.
sunny-green•2y ago
Ok, something is royally screwed
This and vkcube again
ambitious-aquaOP•2y ago
I should ask, have I been using intel graphics all this time
Failed to initialize NVML: Driver/library version mismatch
NVML library version: 545.29
sunny-green•2y ago
By default no, as in with drivers installed correctly and you didn't set any NV settings to have Intel only both would work
ambitious-aquaOP•2y ago
it's using my integrated graphics wowww
Oh good enough
sunny-green•2y ago
Did you like used optimus-manager etc to set system to Intel only?
If no, then it should have worked
ambitious-aquaOP•2y ago
I haven't used anything like that
sunny-green•2y ago
Unless secure boot is on and NV driver can't load properly due to that.
Anyways, after installing Intel driver vkcube spins right?
ambitious-aquaOP•2y ago
secure boot is off coz I won't be able to login
Vkcube spins and displayed message using Intel card
sunny-green•2y ago
:CatYeah:
Now pulling out the big guns
https://github.com/Frogging-Family/nvidia-all#how-to-run-the-installer
Use this script to install NV driver in case if what Arch pushes is somewhat in a broken state
ambitious-aquaOP•2y ago
which version should I install or do I press enter
Which driver version do you want?
1.Vulkan dev: 535.43.152.545 series: 545.29.02 3.535 series: 535.113.01 4.530 series: 530.41.03 5.470 series: 470.199.02 6.Older series 7.Custom version (396.xx series or higher) choice[1-7?]:
sunny-green•2y ago
2
Dkms
ambitious-aquaOP•2y ago
Sorry but I installed the default vulkan version
Still not installed it seems
sunny-green•2y ago
You can just cancel and start over
ambitious-aquaOP•2y ago
Done
sunny-green•2y ago
It doesn't immediately starts installing
Has to pull driver first
ambitious-aquaOP•2y ago
It's been long since I had to involve in this much stuff since ubuntu
sunny-green•2y ago
Ubuntu starts off good then afterwards closing near to LTS cycle it becomes a chore to maintain system
ambitious-aquaOP•2y ago
Mine was bugging and had lost all hope on having linux, then my friend suggested this OS and it's been good
until cyberpunk
sunny-green•2y ago
Kek
ambitious-aquaOP•2y ago
In file included from <command-line>:
././include/linux/kconfig.h:5:10: fatal error: generated/autoconf.h: No such file or directory
5 | #include <generated/autoconf.h>
| ^~~~~~
compilation terminated.
make[4]: [scripts/Makefile.build:243: /home/ayanakoji/nvidia-all/src/NVIDIA-kernel-module-source-545.29.02/kernel-open/nvidia/nv.o] Error 1
make[3]: [/usr/lib/modules/6.5.9-arch2-1/build/Makefile:2034: /home/ayanakoji/nvidia-all/src/NVIDIA-kernel-module-source-545.29.02/kernel-open] Error 2
make[2]: [Makefile:234: __sub-make] Error 2
make[2]: Leaving directory '/usr/lib/modules/6.5.9-arch2-1/build'
make[1]: [Makefile:82: modules] Error 2
make[1]: Leaving directory '/home/ayanakoji/nvidia-all/src/NVIDIA-kernel-module-source-545.29.02/kernel-open'
make: *** [Makefile:59: modules] Error 2
==> ERROR: A failure occurred in build().
Aborting...
-> exit cleanup done
sunny-green•2y ago
Why did you go with kernel open tho? 🐸
When it asked you Y or N about prop or open
Do prop
ambitious-aquaOP•2y ago
I did y
should I press enter for prop
Understood now no problem
:: nvidia-dkms-tkg and nvidia-dkms are in conflict (nvidia). Remove nvidia-dkms? [y/N]
I should just remove it right
sunny-green•2y ago
Yes
ambitious-aquaOP•2y ago
==> ERROR: module not found: 'nvidia'
==> ERROR: module not found: 'nvidia_modeset'
==> ERROR: module not found: 'nvidia_uvm'
==> ERROR: module not found: 'nvidia_drm'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-fallback.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
error: command failed to execute correctly
(9/9) Updating the desktop file MIME type cache...
-> exit cleanup done
sunny-green•2y ago
Is this when it tries to remove nvidia-dkms?
ambitious-aquaOP•2y ago
It's already removed it seems
sunny-green•2y ago
Ok
ambitious-aquaOP•2y ago
Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
==> Using configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: '6.5.9-arch2-1'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> ERROR: module not found: 'nvidia'
==> ERROR: module not found: 'nvidia_modeset'
==> ERROR: module not found: 'nvidia_uvm'
==> ERROR: module not found: 'nvidia_drm'
sunny-green•2y ago
So they don't exist yet script says they do?
First time seeing such a problem tbh
Used that script until mid this year 🐸
ambitious-aquaOP•2y ago
Not new to me lol
I think we need more of the big guns
sunny-green•2y ago
sudo pacman -R nvidia*
What does this say?ambitious-aquaOP•2y ago
sudo pacman -R nvidia-
nvidia-dkms-tkg nvidia-egl-wayland-tkg nvidia-settings-tkg nvidia-utils-tkg
sunny-green•2y ago
Lol
So tkg stuff actually installed?
ambitious-aquaOP•2y ago
it seems to be and then throws an error
sunny-green•2y ago
Run script again, about removing older dkms say no, go with prop and 545
ambitious-aquaOP•2y ago
So use regular one?
sunny-green•2y ago
Wdym by regular? Option 2, say yes to dkms, say no to using open kernel module
ambitious-aquaOP•2y ago
ok
WARNING: SLI, G-Sync on notebooks and virtual GPU support are notably missing.
Do you want to use it instead of the proprietary one?
N/y : n-> Building driver version 545.29.02 on branch regular. -> Selected driver integrity check behavior (md5sum or SKIP): fe6d2b1ccec8da0502c1232235c7da4e ==> WARNING: The package group has already been built, installing existing packages... ==> Installing nvidia-dkms-tkg package group with pacman -U... loading packages... warning: nvidia-dkms-tkg-545.29.02-250 is up to date -- reinstalling warning: nvidia-utils-tkg-545.29.02-250 is up to date -- reinstalling warning: lib32-nvidia-utils-tkg-545.29.02-250 is up to date -- reinstalling warning: opencl-nvidia-tkg-545.29.02-250 is up to date -- reinstalling warning: lib32-opencl-nvidia-tkg-545.29.02-250 is up to date -- reinstalling warning: nvidia-settings-tkg-545.29.02-250 is up to date -- reinstalling warning: nvidia-egl-wayland-tkg-545.29.02-250 is up to date -- reinstalling resolving dependencies... looking for conflicting packages... Packages (7) lib32-nvidia-utils-tkg-545.29.02-250 lib32-opencl-nvidia-tkg-545.29.02-250 nvidia-dkms-tkg-545.29.02-250 nvidia-egl-wayland-tkg-545.29.02-250 nvidia-settings-tkg-545.29.02-250 nvidia-utils-tkg-545.29.02-250 opencl-nvidia-tkg-545.29.02-250 Total Installed Size: 954.15 MiB Net Upgrade Size: 0.00 MiB :: Proceed with installation? [Y/n] proceed with y right?
sunny-green•2y ago
Y
ambitious-aquaOP•2y ago
==> ERROR: module not found: 'nvidia'
==> ERROR: module not found: 'nvidia_modeset'
==> ERROR: module not found: 'nvidia_uvm'
==> ERROR: module not found: 'nvidia_drm'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-fallback.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
error: command failed to execute correctly
(9/9) Updating the desktop file MIME type cache...
-> exit cleanup done
sunny-green•2y ago
Reeeeeeee
I have another idea ( will probably fail but lets try)
Just install this
https://archlinux.org/packages/extra/x86_64/nvidia/
Forget about dkms
It is non dkms package which would work with upstream arch kernel but nothing else
Hence means you cannot use custom kernel but who cares, not that important
ambitious-aquaOP•2y ago
How do I install it?
sunny-green•2y ago
This but without -dkms
https://discord.com/channels/812703221789097985/1170013943620718592/1170338393956306945
ambitious-aquaOP•2y ago
ok
warning: vulkan-icd-loader-1.3.269-1 is up to date -- skipping
warning: lib32-vulkan-icd-loader-1.3.269-1 is up to date -- skipping
resolving dependencies...
looking for conflicting packages...
:: nvidia-utils and nvidia-utils-tkg are in conflict (nvidia-libgl). Remove nvidia-utils-tkg? [y/N] y
:: lib32-nvidia-utils and lib32-nvidia-utils-tkg are in conflict (lib32-nvidia-libgl). Remove lib32-nvidia-utils-tkg? [y/N] y
:: nvidia and nvidia-dkms-tkg are in conflict. Remove nvidia-dkms-tkg? [y/N] y
:: nvidia-settings and nvidia-settings-tkg are in conflict. Remove nvidia-settings-tkg? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing nvidia-utils-tkg breaks dependency 'nvidia-utils-tkg' required by nvidia-egl-wayland-tkg
sunny-green•2y ago
sudo pacman -Rs nvidia-tkg
I guess that would completely remove everything tkg
With deps as wellambitious-aquaOP•2y ago
target not found it says so I will remove it manually
sudo pacman -Rns opencl-nvidia-tkg, I did this
same error again
sunny-green•2y ago
sudo pacman -Rdds $(pacman -Qqs nvidia tkg)
What does this do?ambitious-aquaOP•2y ago
done
sunny-green•2y ago
Did it remove tkg stuff?
ambitious-aquaOP•2y ago
yes
I installed the nvidia one you asked me to and It's done
sunny-green•2y ago
Ok, reboot and pray
ambitious-aquaOP•2y ago
ok
Bro you are a messiah
It worked woww
sunny-green•2y ago
:CatYeah:
Thread was a bit :husk: but we reached to happy ending thankfully
ambitious-aquaOP•2y ago
I will mark it solved, although thank you 3000
sunny-green•2y ago
Yw 👍
absent-sapphire•2y ago
"nvidiaPrime": false,This was never enabled either
sunny-green•2y ago
Prime really doesn't matter
Due to DXVK dxgi already doing a device select
Basically his driver was broken, as even vkcube didn't work