Haven on Linux, openJDK, external USB drive

General discussion and socializing.
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: Haven on Linux, openJDK, external USB drive

Post by loftar »

_MR_FROST_ wrote:Well the only issue i have in linux is mouse delay
I recommend trying the "CPU-sequential" frame-sync mode in the video options. It does cause somewhat worse performance, but very significantly improves the input lag.
_MR_FROST_ wrote:and no audio when using alsa only. Even tho minecraft with openal is working fine. Do Hafen uses JOAL or something? I had no luck with enabling sound with openalrc and asoundrc-like configs.
Haven uses javax.sound for all playback, so it supports any backend that it supports. I normally just use Alsa directly though, so I haven't looked into any alternatives.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
_MR_FROST_
Posts: 15
Joined: Sun Dec 11, 2016 12:24 pm

Re: Haven on Linux, openJDK, external USB drive

Post by _MR_FROST_ »

loftar wrote: I recommend trying the "CPU-sequential" frame-sync mode in the video options. It does cause somewhat worse performance, but very significantly improves the input lag.
I think i use GPU-sequential and see some improvement in delay so its somewhat solved.
loftar wrote: Haven uses javax.sound for all playback, so it supports any backend that it supports. I normally just use Alsa directly though, so I haven't looked into any alternatives.
I use alsa also but with dmix, is there any way to output debug log of the launcher into console or something? Or i need to build client with debug features turned on?
iamahh
Posts: 1806
Joined: Sat Dec 12, 2015 8:23 pm

Re: Haven on Linux, openJDK, external USB drive

Post by iamahh »

If you compile the client and change line 392 in JOGLPanel from "tex" to "awt", then cursor lag seems gone, but the icons are less visible. So I endup changing the arrow to system default, feels better when alt-tabing. Some things seems slower in Linux, but being free from Windows license crap and updates is worthy for me atm
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: Haven on Linux, openJDK, external USB drive

Post by loftar »

_MR_FROST_ wrote:I think i use GPU-sequential and see some improvement in delay so its somewhat solved.
GPU-sequential tends to take a tremendous hit to performance beyond that caused by CPU-sequential, and while it does technically cause slightly better latency, I don't tend to find it worth the performance hit, but I guess it depends on your hardware.
_MR_FROST_ wrote:I use alsa also but with dmix, is there any way to output debug log of the launcher into console or something? Or i need to build client with debug features turned on?
I guess it depends on what data it is that you want to have logged. Do you have anything particular in mind? If you want to debug Alsa, I think you'd have to look into whatever log output libalsa might offer, rather than look to the client itself.
"Object-oriented design is the roman numerals of computing." -- Rob Pike

Return to “The Inn of Brodgar”