Sign in to follow this  
flonkulina

Linux client not working

Recommended Posts

It started update (15 november 2022). After it dont starts at all. Tried reinstall, not helping.

Share this post


Link to post
Share on other sites

Same here (Linux):

xxxxx@linux-8h6e:~> wurm-launcher/WurmLauncher 
Runtime path: /home/xxxxx/wurm-launcher/linux64/runtime/lib/amd64/server/libjvm.so
Working Directory: /home/xxxxx/wurm-launcher
Number of options: 10
Native libs: -Djava.library.path=/home/xxxxx/wurm-launcher:/home/sanio/wurm-launcher/jcef-natives:/home/xxxxx/wurm-launcher/linux64/runtime/lib/amd64Create java VM!
java.library.path: /home/xxxxx/wurm-launcher:/home/xxxxx/wurm-launcher/jcef-natives:/home/xxxxx/wurm-launcher/linux64/runtime/lib/amd64
java.class.path: /home/xxxxx/wurm-launcher/client_live.jar
sun.java.command:null
OS: Linux

 

After that, the process hangs indefinitely (can be killed with kill -9 only)

xxxxx@linux-8h6e:~> ps -ef | grep urm
xxxxx    31383  3533 21 18:35 pts/1    00:00:02 wurm-launcher/WurmLauncher
xxxxx    31428  3489  0 18:35 pts/0    00:00:00 grep --color=auto urm

 

To add: It is a HP Zbook 2 with 32GB RAM. The graphics driver is Nouveau with MesaDri and therefore older OpenGL. Worked fine until this afternoon.
 

Edited by Ekcin

Share this post


Link to post
Share on other sites

Is there a possibility to make the pre patch client available until this is fixed?

Share this post


Link to post
Share on other sites

Can't say I can reproduce that. You'll have to add some info.

 

You can try https://gitlab.com/fb0/wurm-ll , but note that I've stopped maintaining it since it'll likely be obsolete soon. It does bootstrap an up to date-ish runtime though.

Share this post


Link to post
Share on other sites

It would help if anyone experiencing this issue could mention which GPU drivers they have installed, including the version number if possible.

Share this post


Link to post
Share on other sites

Here the info about graphics controller and driver (bit long):

Spoiler

linux-8h6e:/home # /usr/sbin/hwinfo --gfxcard
15: PCI 100.0: 0300 VGA compatible controller (VGA)             
  [Created at pci.386]
  Unique ID: VCu0.45DAl2KBsBB
  Parent ID: vSkL.OeOJXh+0352
  SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
  SysFS BusID: 0000:01:00.0
  Hardware Class: graphics card
  Model: "nVidia GK107GLM [Quadro K1100M]"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x0ff6 "GK107GLM [Quadro K1100M]"
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x2253 
  Revision: 0xa1
  Driver: "nouveau"
  Driver Modules: "nouveau"
  Memory Range: 0xcd000000-0xcdffffff (rw,non-prefetchable)
  Memory Range: 0x50000000-0x5fffffff (ro,non-prefetchable)
  Memory Range: 0x60000000-0x61ffffff (ro,non-prefetchable)
  I/O Ports: 0x5000-0x5fff (rw)
  Memory Range: 0xce080000-0xce0fffff (ro,non-prefetchable,disabled)
  IRQ: 34 (144 events)
  Module Alias: "pci:v000010DEd00000FF6sv0000103Csd00002253bc03sc00i00"
  Driver Info #0:
    Driver Status: nouveau is active
    Driver Activation Cmd: "modprobe nouveau"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #12 (PCI bridge)

25: PCI 02.0: 0300 VGA compatible controller (VGA)
  [Created at pci.386]
  Unique ID: _Znp._yUO+gVkPs4
  SysFS ID: /devices/pci0000:00/0000:00:02.0
  SysFS BusID: 0000:00:02.0
  Hardware Class: graphics card
  Device Name: "256"
  Model: "Intel 4th Gen Core Processor Integrated Graphics Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x0416 "4th Gen Core Processor Integrated Graphics Controller"
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x2253 
  Revision: 0x06
  Driver: "i915"
  Driver Modules: "i915"
  Memory Range: 0xce400000-0xce7fffff (rw,non-prefetchable)
  Memory Range: 0xa0000000-0xafffffff (ro,non-prefetchable)
  I/O Ports: 0x6000-0x603f (rw)
  Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
  IRQ: 33 (11839511 events)
  Module Alias: "pci:v00008086d00000416sv0000103Csd00002253bc03sc00i00"
  Driver Info #0:
    Driver Status: i915 is active
    Driver Activation Cmd: "modprobe i915"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

Primary display adapter: #15
linux-8h6e:/home # modinfo nouveau
filename:       /lib/modules/5.3.18-lp152.106-default/kernel/drivers/gpu/drm/nouveau/nouveau.ko
firmware:       nvidia/gp100/gr/sw_method_init.bin
firmware:       nvidia/gp100/gr/sw_bundle_init.bin
firmware:       nvidia/gp100/gr/sw_nonctx.bin
firmware:       nvidia/gp100/gr/sw_ctx.bin
firmware:       nvidia/gp100/gr/gpccs_sig.bin
firmware:       nvidia/gp100/gr/gpccs_data.bin
firmware:       nvidia/gp100/gr/gpccs_inst.bin
firmware:       nvidia/gp100/gr/gpccs_bl.bin
firmware:       nvidia/gp100/gr/fecs_sig.bin
firmware:       nvidia/gp100/gr/fecs_data.bin
firmware:       nvidia/gp100/gr/fecs_inst.bin
firmware:       nvidia/gp100/gr/fecs_bl.bin
firmware:       nvidia/gp100/acr/ucode_unload.bin
firmware:       nvidia/gp100/acr/ucode_load.bin
firmware:       nvidia/gp100/acr/bl.bin
firmware:       nvidia/gm206/gr/sw_method_init.bin
firmware:       nvidia/gm206/gr/sw_bundle_init.bin
firmware:       nvidia/gm206/gr/sw_nonctx.bin
firmware:       nvidia/gm206/gr/sw_ctx.bin
firmware:       nvidia/gm206/gr/gpccs_sig.bin
firmware:       nvidia/gm206/gr/gpccs_data.bin
firmware:       nvidia/gm206/gr/gpccs_inst.bin
firmware:       nvidia/gm206/gr/gpccs_bl.bin
firmware:       nvidia/gm206/gr/fecs_sig.bin
firmware:       nvidia/gm206/gr/fecs_data.bin
firmware:       nvidia/gm206/gr/fecs_inst.bin
firmware:       nvidia/gm206/gr/fecs_bl.bin
firmware:       nvidia/gm206/acr/ucode_unload.bin
firmware:       nvidia/gm206/acr/ucode_load.bin
firmware:       nvidia/gm206/acr/bl.bin
firmware:       nvidia/gm204/gr/sw_method_init.bin
firmware:       nvidia/gm204/gr/sw_bundle_init.bin
firmware:       nvidia/gm204/gr/sw_nonctx.bin
firmware:       nvidia/gm204/gr/sw_ctx.bin
firmware:       nvidia/gm204/gr/gpccs_sig.bin
firmware:       nvidia/gm204/gr/gpccs_data.bin
firmware:       nvidia/gm204/gr/gpccs_inst.bin
firmware:       nvidia/gm204/gr/gpccs_bl.bin
firmware:       nvidia/gm204/gr/fecs_sig.bin
firmware:       nvidia/gm204/gr/fecs_data.bin
firmware:       nvidia/gm204/gr/fecs_inst.bin
firmware:       nvidia/gm204/gr/fecs_bl.bin
firmware:       nvidia/gm204/acr/ucode_unload.bin
firmware:       nvidia/gm204/acr/ucode_load.bin
firmware:       nvidia/gm204/acr/bl.bin
firmware:       nvidia/gm200/gr/sw_method_init.bin
firmware:       nvidia/gm200/gr/sw_bundle_init.bin
firmware:       nvidia/gm200/gr/sw_nonctx.bin
firmware:       nvidia/gm200/gr/sw_ctx.bin
firmware:       nvidia/gm200/gr/gpccs_sig.bin
firmware:       nvidia/gm200/gr/gpccs_data.bin
firmware:       nvidia/gm200/gr/gpccs_inst.bin
firmware:       nvidia/gm200/gr/gpccs_bl.bin
firmware:       nvidia/gm200/gr/fecs_sig.bin
firmware:       nvidia/gm200/gr/fecs_data.bin
firmware:       nvidia/gm200/gr/fecs_inst.bin
firmware:       nvidia/gm200/gr/fecs_bl.bin
firmware:       nvidia/gm200/acr/ucode_unload.bin
firmware:       nvidia/gm200/acr/ucode_load.bin
firmware:       nvidia/gm200/acr/bl.bin
firmware:       nvidia/gp107/sec2/sig-1.bin
firmware:       nvidia/gp107/sec2/image-1.bin
firmware:       nvidia/gp107/sec2/desc-1.bin
firmware:       nvidia/gp107/sec2/sig.bin
firmware:       nvidia/gp107/sec2/image.bin
firmware:       nvidia/gp107/sec2/desc.bin
firmware:       nvidia/gp107/nvdec/scrubber.bin
firmware:       nvidia/gp107/gr/sw_method_init.bin
firmware:       nvidia/gp107/gr/sw_bundle_init.bin
firmware:       nvidia/gp107/gr/sw_nonctx.bin
firmware:       nvidia/gp107/gr/sw_ctx.bin
firmware:       nvidia/gp107/gr/gpccs_sig.bin
firmware:       nvidia/gp107/gr/gpccs_data.bin
firmware:       nvidia/gp107/gr/gpccs_inst.bin
firmware:       nvidia/gp107/gr/gpccs_bl.bin
firmware:       nvidia/gp107/gr/fecs_sig.bin
firmware:       nvidia/gp107/gr/fecs_data.bin
firmware:       nvidia/gp107/gr/fecs_inst.bin
firmware:       nvidia/gp107/gr/fecs_bl.bin
firmware:       nvidia/gp107/acr/ucode_unload.bin
firmware:       nvidia/gp107/acr/ucode_load.bin
firmware:       nvidia/gp107/acr/unload_bl.bin
firmware:       nvidia/gp107/acr/bl.bin
firmware:       nvidia/gp106/sec2/sig-1.bin
firmware:       nvidia/gp106/sec2/image-1.bin
firmware:       nvidia/gp106/sec2/desc-1.bin
firmware:       nvidia/gp106/sec2/sig.bin
firmware:       nvidia/gp106/sec2/image.bin
firmware:       nvidia/gp106/sec2/desc.bin
firmware:       nvidia/gp106/nvdec/scrubber.bin
firmware:       nvidia/gp106/gr/sw_method_init.bin
firmware:       nvidia/gp106/gr/sw_bundle_init.bin
firmware:       nvidia/gp106/gr/sw_nonctx.bin
firmware:       nvidia/gp106/gr/sw_ctx.bin
firmware:       nvidia/gp106/gr/gpccs_sig.bin
firmware:       nvidia/gp106/gr/gpccs_data.bin
firmware:       nvidia/gp106/gr/gpccs_inst.bin
firmware:       nvidia/gp106/gr/gpccs_bl.bin
firmware:       nvidia/gp106/gr/fecs_sig.bin
firmware:       nvidia/gp106/gr/fecs_data.bin
firmware:       nvidia/gp106/gr/fecs_inst.bin
firmware:       nvidia/gp106/gr/fecs_bl.bin
firmware:       nvidia/gp106/acr/ucode_unload.bin
firmware:       nvidia/gp106/acr/ucode_load.bin
firmware:       nvidia/gp106/acr/unload_bl.bin
firmware:       nvidia/gp106/acr/bl.bin
firmware:       nvidia/gp104/sec2/sig-1.bin
firmware:       nvidia/gp104/sec2/image-1.bin
firmware:       nvidia/gp104/sec2/desc-1.bin
firmware:       nvidia/gp104/sec2/sig.bin
firmware:       nvidia/gp104/sec2/image.bin
firmware:       nvidia/gp104/sec2/desc.bin
firmware:       nvidia/gp104/nvdec/scrubber.bin
firmware:       nvidia/gp104/gr/sw_method_init.bin
firmware:       nvidia/gp104/gr/sw_bundle_init.bin
firmware:       nvidia/gp104/gr/sw_nonctx.bin
firmware:       nvidia/gp104/gr/sw_ctx.bin
firmware:       nvidia/gp104/gr/gpccs_sig.bin
firmware:       nvidia/gp104/gr/gpccs_data.bin
firmware:       nvidia/gp104/gr/gpccs_inst.bin
firmware:       nvidia/gp104/gr/gpccs_bl.bin
firmware:       nvidia/gp104/gr/fecs_sig.bin
firmware:       nvidia/gp104/gr/fecs_data.bin
firmware:       nvidia/gp104/gr/fecs_inst.bin
firmware:       nvidia/gp104/gr/fecs_bl.bin
firmware:       nvidia/gp104/acr/ucode_unload.bin
firmware:       nvidia/gp104/acr/ucode_load.bin
firmware:       nvidia/gp104/acr/unload_bl.bin
firmware:       nvidia/gp104/acr/bl.bin
firmware:       nvidia/gp102/sec2/sig-1.bin
firmware:       nvidia/gp102/sec2/image-1.bin
firmware:       nvidia/gp102/sec2/desc-1.bin
firmware:       nvidia/gp102/sec2/sig.bin
firmware:       nvidia/gp102/sec2/image.bin
firmware:       nvidia/gp102/sec2/desc.bin
firmware:       nvidia/gp102/nvdec/scrubber.bin
firmware:       nvidia/gp102/gr/sw_method_init.bin
firmware:       nvidia/gp102/gr/sw_bundle_init.bin
firmware:       nvidia/gp102/gr/sw_nonctx.bin
firmware:       nvidia/gp102/gr/sw_ctx.bin
firmware:       nvidia/gp102/gr/gpccs_sig.bin
firmware:       nvidia/gp102/gr/gpccs_data.bin
firmware:       nvidia/gp102/gr/gpccs_inst.bin
firmware:       nvidia/gp102/gr/gpccs_bl.bin
firmware:       nvidia/gp102/gr/fecs_sig.bin
firmware:       nvidia/gp102/gr/fecs_data.bin
firmware:       nvidia/gp102/gr/fecs_inst.bin
firmware:       nvidia/gp102/gr/fecs_bl.bin
firmware:       nvidia/gp102/acr/ucode_unload.bin
firmware:       nvidia/gp102/acr/ucode_load.bin
firmware:       nvidia/gp102/acr/unload_bl.bin
firmware:       nvidia/gp102/acr/bl.bin
firmware:       nvidia/gv100/sec2/sig.bin
firmware:       nvidia/gv100/sec2/image.bin
firmware:       nvidia/gv100/sec2/desc.bin
firmware:       nvidia/gv100/nvdec/scrubber.bin
firmware:       nvidia/gv100/gr/sw_method_init.bin
firmware:       nvidia/gv100/gr/sw_bundle_init.bin
firmware:       nvidia/gv100/gr/sw_nonctx.bin
firmware:       nvidia/gv100/gr/sw_ctx.bin
firmware:       nvidia/gv100/gr/gpccs_sig.bin
firmware:       nvidia/gv100/gr/gpccs_data.bin
firmware:       nvidia/gv100/gr/gpccs_inst.bin
firmware:       nvidia/gv100/gr/gpccs_bl.bin
firmware:       nvidia/gv100/gr/fecs_sig.bin
firmware:       nvidia/gv100/gr/fecs_data.bin
firmware:       nvidia/gv100/gr/fecs_inst.bin
firmware:       nvidia/gv100/gr/fecs_bl.bin
firmware:       nvidia/gv100/acr/ucode_unload.bin
firmware:       nvidia/gv100/acr/ucode_load.bin
firmware:       nvidia/gv100/acr/unload_bl.bin
firmware:       nvidia/gv100/acr/bl.bin
firmware:       nvidia/gp108/sec2/sig.bin
firmware:       nvidia/gp108/sec2/image.bin
firmware:       nvidia/gp108/sec2/desc.bin
firmware:       nvidia/gp108/nvdec/scrubber.bin
firmware:       nvidia/gp108/gr/sw_method_init.bin
firmware:       nvidia/gp108/gr/sw_bundle_init.bin
firmware:       nvidia/gp108/gr/sw_nonctx.bin
firmware:       nvidia/gp108/gr/sw_ctx.bin
firmware:       nvidia/gp108/gr/gpccs_sig.bin
firmware:       nvidia/gp108/gr/gpccs_data.bin
firmware:       nvidia/gp108/gr/gpccs_inst.bin
firmware:       nvidia/gp108/gr/gpccs_bl.bin
firmware:       nvidia/gp108/gr/fecs_sig.bin
firmware:       nvidia/gp108/gr/fecs_data.bin
firmware:       nvidia/gp108/gr/fecs_inst.bin
firmware:       nvidia/gp108/gr/fecs_bl.bin
firmware:       nvidia/gp108/acr/ucode_unload.bin
firmware:       nvidia/gp108/acr/ucode_load.bin
firmware:       nvidia/gp108/acr/unload_bl.bin
firmware:       nvidia/gp108/acr/bl.bin
license:        GPL and additional rights
description:    nVidia Riva/TNT/GeForce/Quadro/Tesla/Tegra K1+
author:         Nouveau Project
suserelease:    openSUSE Leap 15.2
srcversion:     9B8AB74DD14306092E214CE
alias:          pci:v000012D2d*sv*sd*bc03sc*i*
alias:          pci:v000010DEd*sv*sd*bc03sc*i*
depends:        drm,drm_kms_helper,ttm,mxm-wmi,button,wmi,video,i2c-algo-bit
retpoline:      Y
intree:         Y
name:           nouveau
vermagic:       5.3.18-lp152.106-default SMP mod_unload modversions 
sig_id:         PKCS#7
signer:         openSUSE Secure Boot CA
sig_key:        30:81:81:31:20:30:1E:06:03:55:04:03:0C:17:6F:70:65:6E:53:55:
        53:45:20:53:65:63:75:72:65:20:42:6F:6F:74:20:43:41:31:0B:30:
        09:06:03:55:04:06:13:02:44:45:31:12:30:10:06:03:55:04:07:0C:
        09:4E:75:72:65:6D:62:65:72:67:31:19:30:17:06:03:55:04:0A:0C:
        10:6F:70:65:6E:53:55:53:45:20:50:72:6F:6A:65:63:74:31:21:30:
        1F:06:09:2A:86:48:86:F7:0D:01:09:01:16:12:62:75:69:6C:64:40:
        6F:70:65:6E:73:75:73:65:2E:6F:72:67:02:09:00:FA:BE:D8:BF:40:
        9A:5E:64
sig_hashalgo:   sha256
signature:      20:08:86:04:4E:BB:A5:08:24:E3:6B:06:7D:19:3C:06:87:A3:10:F6:
        A9:EF:7F:C7:89:92:B9:95:A3:D8:14:D3:CC:AB:AB:BB:54:82:66:19:
        E9:2F:DC:48:33:A7:1F:01:80:F8:10:4A:D7:CF:4F:92:A1:9B:7C:55:
        6A:C3:1F:7D:05:38:DC:28:A8:A4:68:2A:7A:E5:7E:F7:7E:C5:F0:39:
        C0:52:AE:C8:5C:25:28:0B:17:99:8B:01:8D:B1:80:FD:C2:DB:19:D0:
        82:F1:EA:D0:C9:FF:48:33:62:40:15:B8:91:6E:CF:B7:A4:9E:57:02:
        FB:19:4E:D9:CA:26:2B:4E:DF:C2:84:5F:1F:7A:95:60:A5:F3:DD:29:
        90:A6:57:98:19:88:FF:94:A0:F6:AE:D1:A9:93:41:9F:41:6E:1F:16:
        A4:31:A1:1A:1E:F4:3B:3F:60:D6:98:38:23:18:5F:F1:97:7F:79:7C:
        18:C2:3E:5B:BC:AC:01:A6:5C:4D:95:25:49:CF:F5:54:D6:99:AA:68:
        C3:A8:CB:F4:81:6C:BE:B3:0E:66:D9:FC:29:8B:A6:86:2E:37:8F:CD:
        0E:79:24:03:20:81:78:50:4E:94:91:96:30:52:3C:C9:AF:74:5D:E2:
        5E:B0:3D:3B:20:A8:65:43:27:95:9E:CD:6C:DE:03:54
parm:           vram_pushbuf:Create DMA push buffers in VRAM (int)
parm:           tv_norm:Default TV norm.
        Supported: PAL, PAL-M, PAL-N, PAL-Nc, NTSC-M, NTSC-J,
            hd480i, hd480p, hd576i, hd576p, hd720p, hd1080i.
        Default: PAL
        *NOTE* Ignored for cards with external TV encoders. (charp)
parm:           nofbaccel:Disable fbcon acceleration (int)
parm:           fbcon_bpp:fbcon bits-per-pixel (default: auto) (int)
parm:           mst:Enable DisplayPort multi-stream (default: enabled) (int)
parm:           tv_disable:Disable TV-out detection (int)
parm:           ignorelid:Ignore ACPI lid status (int)
parm:           duallink:Allow dual-link TMDS (default: enabled) (int)
parm:           hdmimhz:Force a maximum HDMI pixel clock (in MHz) (int)
parm:           config:option string to pass to driver core (charp)
parm:           debug:debug string to pass to driver core (charp)
parm:           noaccel:disable kernel/abi16 acceleration (int)
parm:           modeset:enable driver (default: auto, 0 = disabled, 1 = enabled, 2 = headless) (int)
parm:           atomic:Expose atomic ioctl (default: disabled) (int)
parm:           runpm:disable (0), force enable (1), optimus only default (-1) (int)
 

 

Share this post


Link to post
Share on other sites

A `glxinfo | grep "OpenGL renderer"` probably wouldn't go amiss.

 

Also, whether `LIBGL_ALWAYS_SOFTWARE=true ./WurmLauncher` runs. That uses software rendering, so don't expect it to render very many frames (or any frames at all with high settings)

Share this post


Link to post
Share on other sites

glxinfo | grep "OpenGL renderer"
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile 

 

and no, did not work with LIBGL_ALWAYS_SOFTWARE=true

 

I  ran an strace and found where the loop happens:

 

Spoiler

futex(0x18f5d78, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x18f5d28, FUTEX_WAKE_PRIVATE, 1) = 1
openat(AT_FDCWD, "/tmp/lwjglUSERNAME/3.3.1-1.2.0/libglfw.so", O_RDONLY) = 122
fstat(122, {st_mode=S_IFREG|0644, st_size=373744, ...}) = 0
fcntl(122, F_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = 0
close(120)                              = 0
access("/tmp/lwjglUSERNAME/3.3.1-1.2.0/linux/x64/org/lwjgl/glfw/libglfw.so", R_OK) = -1 ENOENT (Datei oder Verzeichnis nicht gefunden)
futex(0x18fc678, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x18fc628, FUTEX_WAKE_PRIVATE, 1) = 1
access("/tmp/lwjglUSERNAME/3.3.1-1.2.0/libglfw.so", R_OK) = 0
futex(0x18fa378, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x18fa328, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x18fa37c, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x18fa328, FUTEX_WAKE_PRIVATE, 1) = 1
lseek(104, 17655878, SEEK_SET)          = 17655878
read(104, "PK\3\4\24\0\10\10\10\0\375\201?T\0\0\0\0\0\0\0\0\0\0\0\0 \0\0\0", 30) = 30
lseek(104, 17655940, SEEK_SET)          = 17655940
read(104, "}R\333n\323@\20=\2338qb\\jJ\201\264\205R\250!\t ,\20\210\7\20R\25Z\311"..., 477) = 477
futex(0xed1978, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (Die Ressource ist zur Zeit nicht verfügbar)
 

 

For some reason, the file "/tmp/lwjglUSERNAME/3.3.1-1.2.0/linux/x64/org/lwjgl/glfw/libglfw.so" is not found, and the userspace semaphor runs into endless EAGAINs

 

And thanks a lot for your work

 

Edited by Ekcin

Share this post


Link to post
Share on other sites

Interesting, because that should be an ENOENT, and then it should try /tmp/lwjgl$USER/3.3.1-1.2.0/libglfw.so" next.

 

If I override the org.lwjgl.libname property to make Wurm fail to pick up the lib, I get your problem.

 

Out of curiosity, how does `_JAVA_OPTIONS="-Dorg.lwjgl.system.SharedLibraryExtractPath=$HOME/lwjgltmp"  ./WurmLauncher` run? That'll extract the libraries into ~/lwjgltmp and try to pick them up from there.

 

It's a bit late and I've been computer janitoring all day, so I may be entirely wrong in my approach, but I suspect some weird interaction with something that may not like a process loading shared libraries from /tmp

Share this post


Link to post
Share on other sites

Tried it, but hangs too. And many thanks. If it is too late, take a rest and don't worry.

Edited by Ekcin

Share this post


Link to post
Share on other sites

Well, I tried replacing the .so with a previous lwjgl release but I can't seem to override lwjgl extracting the library so I'm calling it a day.

 

I'd say the Wurm devs should consider downgrading lwjgl again (sucks, but oh well)

Share this post


Link to post
Share on other sites

If there would be a way to get the pre patch client for those with troubles it would help a lot until the root cause is found.
 

Share this post


Link to post
Share on other sites

Alright, are you ready for some hackery?

 

Go to https://www.lwjgl.org/customize and select the early access build, then a zip with no sources, Linux x64, containing only GLFW. Extract it to, say, /tmp/lwjgl. It should look like this:

 

UAQrUty.png

 

 

Then open a terminal and cd to where your WurmLauncher binary is.

 

Run it with these incantations:

 

_JAVA_OPTIONS="-Djava.class.path=/tmp/lwjgl/lwjgl.jar:/tmp/lwjgl/lwjgl-glfw.jar:/tmp/lwjgl/lwjgl-glfw-natives-linux.jar:/tmp/lwjgl/lwjgl-natives-linux.jar:$PWD/client_live.jar -Dorg.lwjgl.util.Debug=true -Dorg.lwjgl.util.DebugLoader=true" GDK_BACKEND=x11 ./WurmLauncher

This forcefully replaces lwjgl with the version you downloaded and you should see log output to that effect from log lines with [LWJGL] prefix. If the whole thing hangs early before any lwjgl output, you probably have an errant space or other non-printable character in there. The forums seem to insert those a lot. It is critical that the "$PWD/client_live.jar" resolves to the path to the client_live.jar the launcher downloads, or Wurm won't launch.

 

If the nightly build doesn't work, you can use this method to go back to old versions. For Version 3.3.0:

 

LWJGL: https://www.lwjgl.org/browse/release/3.3.0/bin/lwjgl

GLFW: https://www.lwjgl.org/browse/release/3.3.0/bin/lwjgl-glfw

 

You only need the jars listed in the java.class.path

 

 

If you manage to arrive at a release that works, that would be extremely valuable to know. Wurm shipped with 3.2.3 previously, afaik.

 

 

e: Look on my works, ye Wurm devs, and despair!

Edited by Batolemaeus
  • Like 1

Share this post


Link to post
Share on other sites

The nightly did not work:

 

Spoiler

USERNAME@linux-8h6e:~/wurm-launcher> _JAVA_OPTIONS="-Djava.class.path=/tmp/lwjgl/lwjgl.jar:/tmp/lwjgl/lwjgl-glfw.jar:/tmp/lwjgl/lwjgl-glfw-natives-linux.jar:/tmp/lwjgl/lwjgl-natives-linux.jar:$PWD/client_live.jar -Dorg.lwjgl.util.Debug=true -Dorg.lwjgl.util.DebugLoader=true" GDK_BACKEND=x11 ./WurmLauncher
Runtime path: /home/USERNAME/wurm-launcher/linux64/runtime/lib/amd64/server/libjvm.so
Working Directory: /home/USERNAME/wurm-launcher
Number of options: 10
Native libs: -Djava.library.path=/home/USERNAME/wurm-launcher:/home/USERNAME/wurm-launcher/jcef-natives:/home/USERNAME/wurm-launcher/linux64/runtime/lib/amd64Create java VM!
Picked up _JAVA_OPTIONS: -Djava.class.path=/tmp/lwjgl/lwjgl.jar:/tmp/lwjgl/lwjgl-glfw.jar:/tmp/lwjgl/lwjgl-glfw-natives-linux.jar:/tmp/lwjgl/lwjgl-natives-linux.jar:/home/USERNAME/wurm-launcher/client_live.jar -Dorg.lwjgl.util.Debug=true -Dorg.lwjgl.util.DebugLoader=true
java.library.path: /home/USERNAME/wurm-launcher:/home/USERNAME/wurm-launcher/jcef-natives:/home/USERNAME/wurm-launcher/linux64/runtime/lib/amd64
java.class.path: /tmp/lwjgl/lwjgl.jar:/tmp/lwjgl/lwjgl-glfw.jar:/tmp/lwjgl/lwjgl-glfw-natives-linux.jar:/tmp/lwjgl/lwjgl-natives-linux.jar:/home/USERNAME/wurm-launcher/client_live.jar
sun.java.command:null
OS: Linux
[LWJGL] Version: 3.3.2-snapshot+7
[LWJGL]      OS: Linux v5.3.18-lp152.106-default
[LWJGL]     JRE: Linux amd64 1.8.0_211
[LWJGL]     JVM: Java HotSpot(TM) 64-Bit Server VM v25.211-b12 by Oracle Corporation
[LWJGL] Loading JNI library: lwjgl
[LWJGL]     Module: org.lwjgl
[LWJGL]     Using SharedLibraryLoader...
[LWJGL]     Extracting: file:/tmp/lwjgl/lwjgl-natives-linux.jar!/linux/x64/org/lwjgl/liblwjgl.so
[LWJGL]     Loaded from org.lwjgl.librarypath: /tmp/lwjgl_USERNAME/3.3.2-snapshot+7/x64/liblwjgl.so
[LWJGL] Loading library: glfw
[LWJGL]     Module: org.lwjgl.glfw
[LWJGL]     Using SharedLibraryLoader...
[LWJGL]     Extracting: file:/tmp/lwjgl/lwjgl-glfw-natives-linux.jar!/linux/x64/org/lwjgl/glfw/libglfw.so
^CGetötet


Same with the three jars  from 3.3.0

Spoiler

USERNAME@linux-8h6e:~/wurm-launcher> _JAVA_OPTIONS="-Djava.class.path=/tmp/lwjgl/lwjgl.jar:/tmp/lwjgl/lwjgl-glfw.jar:/tmp/lwjgl/lwjgl-glfw-natives-linux.jar:/tmp/lwjgl/lwjgl-natives-linux.jar:$PWD/client_live.jar -Dorg.lwjgl.util.Debug=true -Dorg.lwjgl.util.DebugLoader=true" GDK_BACKEND=x11 ./WurmLauncher
Runtime path: /home/USERNAME/wurm-launcher/linux64/runtime/lib/amd64/server/libjvm.so
Working Directory: /home/USERNAME/wurm-launcher
Number of options: 10
Native libs: -Djava.library.path=/home/USERNAME/wurm-launcher:/home/USERNAME/wurm-launcher/jcef-natives:/home/USERNAME/wurm-launcher/linux64/runtime/lib/amd64Create java VM!
Picked up _JAVA_OPTIONS: -Djava.class.path=/tmp/lwjgl/lwjgl.jar:/tmp/lwjgl/lwjgl-glfw.jar:/tmp/lwjgl/lwjgl-glfw-natives-linux.jar:/tmp/lwjgl/lwjgl-natives-linux.jar:/home/USERNAME/wurm-launcher/client_live.jar -Dorg.lwjgl.util.Debug=true -Dorg.lwjgl.util.DebugLoader=true
java.library.path: /home/USERNAME/wurm-launcher:/home/USERNAME/wurm-launcher/jcef-natives:/home/USERNAME/wurm-launcher/linux64/runtime/lib/amd64
java.class.path: /tmp/lwjgl/lwjgl.jar:/tmp/lwjgl/lwjgl-glfw.jar:/tmp/lwjgl/lwjgl-glfw-natives-linux.jar:/tmp/lwjgl/lwjgl-natives-linux.jar:/home/USERNAME/wurm-launcher/client_live.jar
sun.java.command:null
OS: Linux
[LWJGL] Version: 3.3.0 build 21
[LWJGL]      OS: Linux v5.3.18-lp152.106-default
[LWJGL]     JRE: Linux amd64 1.8.0_211
[LWJGL]     JVM: Java HotSpot(TM) 64-Bit Server VM v25.211-b12 by Oracle Corporation
[LWJGL] Loading JNI library: lwjgl
[LWJGL]     Module: org.lwjgl
[LWJGL]     Using SharedLibraryLoader...
[LWJGL]     Extracting: file:/home/USERNAME/wurm-launcher/client_live.jar!/linux/x64/org/lwjgl/liblwjgl.so
[LWJGL]     Loaded from org.lwjgl.librarypath: /tmp/lwjglUSERNAME/3.3.0-build-21/liblwjgl.so
[LWJGL] Loading library: glfw
[LWJGL]     Module: org.lwjgl.glfw
[LWJGL]     Using SharedLibraryLoader...
[LWJGL]     Extracting: file:/tmp/lwjgl/lwjgl-glfw-natives-linux.jar!/linux/x64/org/lwjgl/glfw/libglfw.so
Getötet

 

 

Might there be something outside lwgl stuff hindering the start screen to open?

Share this post


Link to post
Share on other sites

"Getötet", really? German locale feels so weird…

 

It's likely something outside of lwjgl directly, but I don't know what changed client side aside from the lwjgl version. Drop down to 3.2.3 and see if it works then, that's the version Wurm used to ship with afaik. If 3.2.3 doesn't work either, it'll be something else entirely outside of what I can do from afar without a Java debugger attached…

 

e: actually, hold on. It extacts libglfw.so, but it does not report a successful load!

Edited by Batolemaeus

Share this post


Link to post
Share on other sites

Yes, seems it finds, but does not load for whichever reason. And I have no idea what that could have to do with graphics driver. The library is in fact present at /tmp/lwjglUSERNAME/3.3.0-build-21/

lwjglUSERNAME/3.3.1-1.2.0:
insgesamt 808
drwxr-xr-x 4 USERNAME users   4096 16. Nov 14:35 ..
-rw-r--r-- 1 USERNAME users 441024 16. Nov 14:35 liblwjgl.so
-rw-r--r-- 1 USERNAME users 373744 16. Nov 14:35 libglfw.so
drwxr-xr-x 2 USERNAME users   4096 16. Nov 15:05 .

 

Btw. agreed, translating the kill -9 message in local language is silly. Wonder how it looks in mandarin,  thai, or russian locale :)

Share this post


Link to post
Share on other sites

I have no issues with running Wurm on my Debian11 machine.

 

I installed Archlinux in VM and I'm able to reproduce this problem.

I only installed xorg-server, dejavu-ttf fonts, and libgtk2, so I might try installing more things later to rule out any weird dependency issues.

 

The strace output doesn't really help explain why the required libraries aren't being extracted.

If that even is the problem, because I don't know. Wurm shouldn't just hang up like that either way.

Share this post


Link to post
Share on other sites

It is obviously the loading and processing of shared libraries which fails. on the faulty environment on the notebook, only the 2 libraries

liblwjgl.so and libglfw.so under  /tmp/lwjglUSERNAME/ under 3.3.1-1.2.0 exist. On the working PC, also a directory 3.2.3-1.2.0 is present. Both contain the files libglfw.so  liblwjgl_nanovg.so  liblwjgl_opengl.so  liblwjgl.so  libopenal.so . On the notebook, only liblwjgl.so and libglfw.so are present. It seems that libglfw.so is opened, but reading never completed.

 

The behaviour is the same with lwjgl 3.2.3

Share this post


Link to post
Share on other sites

Not sure what is going wrong here, the only change dealing with lwjgl was just a version bump in maven and fixing some fonts of ours that broke in the new version. I poked the person who was handling the lwjgl stuff to see if they had any ideas and will get back to you guys on anything we find out soon.

  • Like 1

Share this post


Link to post
Share on other sites

Hm.

 

On an opensuse/leap:15.2 image WurmLauncher freezes trying to load libglfw.so

On an opensuse/leap:15.3 image WurmLauncher crashes with an X error instead (which may very well be caused by my setup), but runs if I force everything to software rendering

On an opensuse/leap:15.4 image WurmLauncher works with hardware rendering

 

So uh, Ekcin, how do you feel about a `zypper --releasever=15.4 refresh && zypper --releasever=15.4 dup`?

 

 

No Gewährleistung etc.

 

Edited by Batolemaeus

Share this post


Link to post
Share on other sites

Thanks Batolomeus. I am considering exactly that. First on my oldest notebook :)

 

And thanks a lot for your support.

Edited by Ekcin

Share this post


Link to post
Share on other sites

Ok, installed 15.4, and indeed I get over the blocking point. But after start, a crash:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f5ea508224d, pid=4621, tid=0x00007f5e929e9700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_211-b12) (build 1.8.0_211-b12)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.211-b12 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x58624d]  G1BlockOffsetArray::forward_to_block_containing_addr_slow(HeapWord*, HeapWord*, void const*)+0x3ad
#
# Core dump written. Default location: /home/USERNAME/core or core.4621
#
# An error report file with more information is saved as:
# /home/USERNAME/hs_err_pid4621.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#

The hs_err_pid4621.log :
https://magentacloud.de/s/tJLGQZPcx2RapFJ

 

This may have nothing to do with the client, any advice would be welcome though. In fact, this is a 15 years old notebook, and there may be a couple of reasons, but so far Wurm worked. I shall update the other  one later.

 

 

Edited by Ekcin

Share this post


Link to post
Share on other sites

That's a crash inside Java native code, and to me that's the equivalent of a dark cave with a pair of red glowing eyes staring out.

 

If you're feeling adventurous, try my launcher from way up above that uses a recent Java.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this