WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Announcing tinyx - our X server fork  (Read 30812 times)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Announcing tinyx - our X server fork
« Reply #15 on: December 03, 2013, 01:29:10 PM »
Running  startx  a 4th time, Fluxbox does launch (:
Numlock/window-move bug still there with this Xvesa.

Running  startx  a 5th time, it doesn't ):
Running  startx  a ?th time, Fluxbox does launch O.o

I'm obviously doing something totally wrong..
Download a copy and keep it handy: Core book ;)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Announcing tinyx - our X server fork
« Reply #16 on: December 03, 2013, 04:13:58 PM »
Hmm, I was just about to report that it would work for me too now.
but.. nope. Only 'partially'.

After trying Xfbdev (which kind of worked but poor performance) I wasn't able to go back to Xvesa even though I did not run backup.

So I did completeley turned off the computer. Booted into Xvesa and had a full desktop immediately (WM running etc). Unfortunately, I can't reproduce this at every re-boot / re-powering.

Sometimes it does work - sometimes it doesn't.
Download a copy and keep it handy: Core book ;)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Announcing tinyx - our X server fork
« Reply #17 on: December 04, 2013, 09:16:19 AM »
You shouldn't start Xvesa as root, it should be setuid root for normal use. Owner root.root, u+s - the existing X servers are all setup like that.
The only barriers that can stop you are the ones you create yourself.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Announcing tinyx - our X server fork
« Reply #18 on: December 04, 2013, 10:54:52 AM »
Are you sure about root.root ?

Current/Default Xvesa.tcz:
Code: [Select]
$ /bin/ls -l /tmp/tcloop/Xvesa/usr/local/bin/Xvesa
-rwsr-xr-x    1 root     staff       650048 May 20  2009 /tmp/tcloop/Xvesa/usr/local/bin/Xvesa
Download a copy and keep it handy: Core book ;)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Announcing tinyx - our X server fork
« Reply #19 on: December 04, 2013, 11:59:32 AM »
You're right, only the user matters. There's no reason for the group to be staff though.
The only barriers that can stop you are the ones you create yourself.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Announcing tinyx - our X server fork
« Reply #20 on: December 04, 2013, 12:27:42 PM »
I have also tryed root:root but that does always results in a WM-less desktop at first lauch of  startx  after cold/warm boot. With root:staff it mostly does result in a fully functional desktop including WM. However, in both variants fluxbox often fails to connect to XServer after exiting X and launching  startx  again (without reboot). From a user perspective, it feels like a timing issue (if that makes any sense).

Maybe my graphics card is too exotic:
nvidia GeForce 210
PCIe x16
2.5 GT/s

Screen resolution:
1280x1024

I will get my old netbook back later this day (intel graphics) so I can test this build on another machine.
Download a copy and keep it handy: Core book ;)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Announcing tinyx - our X server fork
« Reply #21 on: December 07, 2013, 05:29:31 AM »
Quick google for the numlock thing, perhaps related:
http://sourceforge.net/p/fluxbox/bugs/283/
The only barriers that can stop you are the ones you create yourself.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Announcing tinyx - our X server fork
« Reply #22 on: December 07, 2013, 07:14:42 AM »
Thanks. So this bug is not related to Xvesa.
(I'll see if I can find that svn version for myself.)
--
On my netbook, this build of Xvesa seems to run without any issues (1:1 copy of Core files & mydata.tgz).
Download a copy and keep it handy: Core book ;)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Announcing tinyx - our X server fork
« Reply #23 on: December 07, 2013, 10:11:44 AM »

Thanks. So this bug is not related to Xvesa.
(I'll see if I can find that svn version for myself.)
--
On my netbook, this build of Xvesa seems to run without any issues (1:1 copy of Core files & mydata.tgz).
I believe you'll find this is a Fluxbox inconvenience, try using another WM for a while to verify.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Announcing tinyx - our X server fork
« Reply #24 on: December 07, 2013, 05:03:47 PM »
This is probably not the place for this discussion, but interestingly the NumLk issue is not present in Xorg-7.7 + Fluxbox  so it does make me question the origin of this issue


Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Announcing tinyx - our X server fork
« Reply #25 on: December 08, 2013, 08:58:09 AM »
Well there's two places responsible if you read the Solaris bug. Xvesa is only sending a keypress event (like the earlier Solaris X server it seems), not keypress + keyrelease, which then confuses fluxbox as fluxbox is doing its own tracking in a weird way.

The protocol specifies a separate field for modifiers, like "is control pressed", and there's a numlock entry in there too. So why fluxbox is tracking numlock state by the keypresses is weird, but it's also weird why the WM cares about numlock at all.
The only barriers that can stop you are the ones you create yourself.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Announcing tinyx - our X server fork
« Reply #26 on: December 13, 2013, 09:36:40 AM »
Test packages now posted at http://tinycorelinux.net/~curaga/
Drop-in replacements for the existing ones, please test.

I updated the numlock logic to act like current Xorg, so Fluxbox should be happy now.
The only barriers that can stop you are the ones you create yourself.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Announcing tinyx - our X server fork
« Reply #27 on: December 13, 2013, 09:55:16 AM »
Regarding the num-lock, Fluxbox is really happy now. Thanks!

BUT, I still need to  startx  several times until I get into X with a WM & extra fonts (tested Fluxbox & JWM so far).
So, for me, it's the same problem as before.
Download a copy and keep it handy: Core book ;)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Announcing tinyx - our X server fork
« Reply #28 on: December 13, 2013, 11:16:53 AM »
I haven't been able to reproduce that yet, on any WM.

edit: Could you post the cpu specs of where it works and where not? And also "time Xvesa -startbench" too, I wonder if the Nvidia box is slower to modeset or something.

edit2: You can probably avoid the bug by adding the "-noreset" option. Perhaps we should make it the default.
« Last Edit: December 13, 2013, 11:43:47 AM by curaga »
The only barriers that can stop you are the ones you create yourself.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: Announcing tinyx - our X server fork
« Reply #29 on: December 13, 2013, 12:42:26 PM »
Before I try, does the fork compile 64-bit?