You are not logged in.
Pages: 1
Hi, I'm trying to get Unity Engine to run on Arch Linux. If it's not installed in a native filesystem of type ext3 or 4 I get compilation errors.
Since I can't install UE in my root partition I need to make a new partition.
Can I do this while running the machine normally or do I need to insert a usb with the install files on it and load that during boot. `sudo fdisk /dev/nvme0n1` suggests unmounting all file systems even though they're in use.
[Thimble2112@overlord ~]$ sudo fdisk /dev/nvme0n1
[sudo] password for root:
Welcome to fdisk (util-linux 2.39.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
This disk is currently in use - repartitioning is probably a bad idea.
It's recommended to umount all file systems, and swapoff all swap
partitions on this disk.[Thimble2112@overlord ~]$ sudo umount /dev/nvme0n1p3
umount: /: target is busy.[Thimble2112@overlord ~]$ blkid
/dev/nvme0n1p1: UUID="DC31-3962" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="boot" PARTUUID="c4aa9ee4-0077-4b40-b019-73b0e8bb16b5"
/dev/nvme0n1p2: UUID="6570dba6-c709-402a-8036-9e646b7ab23a" TYPE="swap" PARTLABEL="swap" PARTUUID="973d90ff-eeda-4aab-8006-ccc786f6364c"
/dev/nvme0n1p3: UUID="395feb8e-da8f-4dd0-9f60-3e892818f460" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="root" PARTUUID="19aef669-feb9-4a33-923d-9a7d67180e03"
/dev/nvme0n1p4: UUID="5d82f840-ae68-470d-923b-08583caec77b" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="home" PARTUUID="12931cc8-e2ca-4afd-b4d4-2e40b4df6c13"[Thimble2112@overlord ~]$ sudo fdisk -l
Disk /dev/nvme0n1: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: Samsung SSD 980 PRO 1TB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 5416CDDC-6B56-4D30-B448-86B95DA5E13E
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 2099199 2097152 1G EFI System
/dev/nvme0n1p2 2099200 35653631 33554432 16G Linux swap
/dev/nvme0n1p3 35653632 119539711 83886080 40G Linux filesystem
/dev/nvme0n1p4 119539712 1953523711 1833984000 874.5G Linux filesystem
Disk /dev/loop0: 105.82 MiB, 110960640 bytes, 216720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop1: 87.23 MiB, 91467776 bytes, 178648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesOffline
I'd suggest slowing down and doing better diagnostics as that really doesn't make any sense. If for no other reason than you want to add another partition just so you can make it ext4, but your existing root and home partitions are already ext4 - so clearly that's not actually the problem.
This is definitely an X-Y problem. What actually goes wrong in building unity engine?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
You're right I jumped the gun a bit there and didn't notice the Home partition was ext4.
I've been trying to resolve this issue for such a long time and when I saw a post by a user claiming to have the same issue and that installing the engine in an ext4 partition resolved it, I got a bit loopy.
I swapped to Linux recently, been on-and-off trying to get it to run for a while now. When I launch the application it's entirely black. Other users have reported this in the past and some of them have been able to resolve this issue, however what has worked for them hasn't worked for me.
Arch version 2023.09.18-1
Kernal version 6.5.8-arch1-1
NVIDIA Driver Version 535.113.01
NVML Version 12.535.113.01
OpenGL version 4.6.0
NVIDIA driver version 535.113.01
xdg-user-dirs 0.18-1 (latest)
Unity Hub 3.6.1 (Latest)
Unity Game Engine 2021.1.21f1 (not latest)
dotnet-runtime 7.0.13.sdk113-1 (latest)
dotnet-sdk 7.0.13.sdk113-1 (latest)
mono-msbuild 16.10.1 (latest)
mono-msbuild-sdkresolver 16.10.1 (latest)
mono 6.12.0.205-1 (latest)
visual-studio-code-bin 1.84.2-1 (latest)
Error Logs
Documents/Github/Roguelike/Roguelike-master/Roguelike/Logs/shadercompiler-UnityShaderCompiler0.log
No Player.log file has been generated.
Base path: '/home/Thimble2112/Unity/Hub/Editor/2021.1.21f1/Editor/Data', plugins path '/home/Thimble2112/Unity/Hub/Editor/2021.1.21f1/Editor/Data/PlaybackEngines'
Cmd: initializeCompiler
Unhandled exception: Protocol error - failed to read magic number (error -2147483644, transferred 0/4)
Quitting shader compiler processOther things I have
* Visual Studio Code C# extension is installed
Things I've tried
* Resetting the UI Layout (this crashes the application)
* Running the editor with the command flag -force-gfx-direct, this only launched the HUB, despite running the editor executable
* Disabling Sync to VBlank in NVIDIA settings
Things I've not yet tried
* Running Unity Game Engine through Wine
Last edited by Thimble2112 (2023-11-27 17:17:21)
Offline
Please replace the oversized image w/ a link.
https://www.google.com/search?q=%22erro … .unity.com has the error couple of times - it seems to hinge on some plugins (input, occulus) but basically just to be a generic error.
Offline
Pages: 1