On Sat, Sep 21, 2019 at 09:34:35PM +1000, Jonathan Gray wrote:
> On Sat, Sep 21, 2019 at 12:29:59PM +0200, Solene Rapenne wrote:
> > On Tue, Aug 20, 2019 at 05:40:50PM +1000, Jonathan Gray wrote:
> > > On Tue, Aug 20, 2019 at 09:43:48AM +0300, ???????????? wrote:
> > > > Hello,
> > > > When I start eduke32 with LD_PRELOAD=/usr/X11R6/lib/libGL.so.17.0  so it
> > > > can run in opengl,
> > > > on ion fury it freezes after starting the game and whole machine becomes
> > > > unresponsive for some time. I can ssh to it from my cell phone after 
> > > > some
> > > > time. Here is screenshot of dmesg:
> > > > 
> > > > https://yadi.sk/i/C6NSFEqjxuchoA
> > > > 
> > > > Here is dmesg after reboot: https://pastebin.com/HiHp8DUQ
> > > > 
> > > > Help. please.
> > > > Thanks.
> > > 
> > > Why are you using LD_PRELOAD?  OpenGL should work without that.
> > > eduke32 will dlopen libGL.so after libGL.so.1 can't be opened going by
> > > source/glad/src/glad.c.
> > > 
> > > Are you using the version of eduke32 in ports?  It is quite old and
> > > ion fury had the initial release a few days ago.
> > > 
> > > Can you reproduce this with any other game supported by eduke32?
> > > I don't have ion fury but have the rest (and duke3d shareware
> > > is installed when installing the eduke32 package).
> > > 
> > > Here is an update to the latest eduke32 which has some graphical
> > > glitches on the title screen with duke3d shareware with inteldrm.
> > > Not sure if the xmp bits are properly built for the tracker music
> > > in ion fury.
> > > 
> > 
> > With your patch I can play Ion Fury, sounds works but there is no music.
> > 
> >   Generating voxel models for Polymost. This may take a while...
> >   Initializing music...
> >   Initializing sound... 64 voices, 2 channels, 16-bit 48000 Hz
> >   MV_PlayXMP: libxmp-lite support not included in this binary.
> >   MV_PlayXMP: libxmp-lite support not included in this binary.
> >   Line 1637, starttrackslot: invalid level 25 or null music for volume 0 
> > level 25
> >   Cache time: 939ms
> > 
> > The duke nukem shareware works too, I did not see any glitch.
> > My graphic card from dmesg:
> > 
> > "Intel UHD Graphics 620" rev 0x07 at pci0 dev 2 function 0 not configured
> > inteldrm0 at pci0 dev 2 function 0 "Intel UHD Graphics 620" rev 0x07
> > 
> > I don't know if this is expected, but I was only able to play Ion Fury 
> > smoothly
> > in 640x480, eduke32 was always near 98% of cpu usage, at higher resolution 
> > it
> > was not playable at all. This is curious given my cpu is a i7-8550U 1.80GHz.
> > 
> 
> Here is a diff to build with HAVE_XMP=1 and FURY=1.
> 
> This changes the binary to 'fury' and isn't intended to support duke3d
> from what I understand, so isn't something that should be committed.
> 
> Building with FURY=1 disables the polymer OpenGL renderer so this may
> help with running at higher resolutions.
> 
> ifeq ($(FURY),1)
>     APPNAME := Ion Fury
>     APPBASENAME := fury
>     STANDALONE := 1
>     POLYMER := 0
>     USE_LIBVPX := 0
>     NETCODE := 0
>     SIMPLE_MENU := 1
> endif

HAVE_XMP solves the music issue on Ion Fury and duke3d still works fine
(sound, music, game)

maybe the ports could be split into multipackages to make a
eduke3d-duke3d and eduke3d-fury

I did retry, I already had polymer disabled, but it's slow only in
certains areas at a certain time. Like if loading ennemies was requiring
lot of cpu, then usage reduces.

Reply via email to