JediOutcastLinux icon indicating copy to clipboard operation
JediOutcastLinux copied to clipboard

The game goes partial blackscreen and mouse lock on fullscreen

Open rea987 opened this issue 8 years ago • 3 comments

Hi,

As it stated in the title, when I try to launch the game on fullscreen mode, only left upper side of the screen is visible and the rest is black. Mouse is not usable, simply does not move. When I quit the game, the OS remains partial blackscreen as it happened in the game. Only way that I can return to normal screen is to reboot the system. I suspect some sort of Xorg issue but I am not sure... I have two graphics card in my laptop, only dedicated Nvidia card is in use. Here are some details.

System: Linux Mint 17.3 Mate x64

`$ sudo lshw -c video *-display
açıklama: VGA compatible controller ürün: Sky Lake Integrated Graphics üretici: Intel Corporation physical id: 2 bus info: pci@0000:00:02.0 sürüm: 07 genişlik: 64 bits saat: 33MHz kapasiteler: pciexpress msi pm vga_controller bus_master cap_list rom yapılandırma: driver=i915_bpo latency=0 kaynaklar: irq:279 bellek:d2000000-d2ffffff bellek:b0000000-bfffffff ioport:e000(boyut=64)

*-display açıklama: 3D controller ürün: GM108M [GeForce 940M] üretici: NVIDIA Corporation physical id: 0 bus info: pci@0000:01:00.0 sürüm: a2 genişlik: 64 bits saat: 33MHz kapasiteler: pm msi pciexpress bus_master cap_list yapılandırma: driver=nvidia latency=0 kaynaklar: irq:284 bellek:d3000000-d3ffffff bellek:c0000000-cfffffff bellek:d0000000-d1ffffff ioport:d000(boyut=128)`

`$ /usr/lib/nux/unity_support_test --print OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce 940M/PCIe/SSE2 OpenGL version string: 4.5.0 NVIDIA 364.19

Not software rendered: yes Not blacklisted: yes GLX fbconfig: yes GLX texture from pixmap: yes GL npot or rect textures: yes GL vertex program: yes GL fragment program: yes GL vertex buffer object: yes GL framebuffer object: yes GL version is 1.4+: yes

Unity 3D supported: yes`

Please inform me if further information is required. Thank you.

Regards.

rea987 avatar Jun 10 '16 13:06 rea987

As I have just tried with Jedi Academy via OpenJK, there is no such problem. I took a screenshot of the desktop after quiting JediOutcastLinux to present remaining partial blackscreen; the size of the available desktop is a bit suspicious; 640x480. That might be the default resolution of JediOutcastLinux. The only soluton that I came up with is to play the game in a windowed mode which is not ideal but okay.

screenshot at 2016-06-10 18 42 36

rea987 avatar Jun 10 '16 17:06 rea987

Hi! Thx for the bug report. Could you maybe also try my port of JediAcademy? https://github.com/xLAva/JediAcademyLinux

I used the SDL library to deal with the fullscreen handling there. This should be more stable than my own implementation I did for JediOutcast.

If my JediAcademy port works for you, I will also implement a SDL integration in JediOutcast soon.

xLAva avatar Jun 11 '16 11:06 xLAva

Well, I have just tried running Jedi Academy via JediAcademyLinux; the game complained about libSDL2 and did not launch which is odd cause Ubuntu 14.04 based Linux Mint 17.3 has SDL2 installed as default. Anyway, I am not planning to invest too much time with JK2, I will finish the campaign once and move to another game. Therefore, playing the game with windowed mode is fine for me. The only lines that I manually changed in jk2config.cfg are these;

seta r_mode "-1" seta r_customwidth "1920" seta r_customheight "1030" (having it 1080 does not make so much sense in windowed mode) seta r_ignorehwgamma "1" (the game is too dark for me)

rea987 avatar Jun 11 '16 21:06 rea987