[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Modular X ramblings

Brian Gerst wrote:
- XFS didn't automatically restart, I had to manually start it.

The xfs rpm scripts have been updated recently with many changes.  One
of the changes, was to have it check to see if it is upgrading from
monolithic X to modular X or not, and if it is, to force a "restart"
in the initscript.  If it is just modular to modular, then it does
a "reload" instead.

It's possible the script is buggy though. It hasn't had a lot of testing
yet.  Also, I'm open to suggestions for how to improve the "upgrade
xfs package" situation.  Here are some concerns to consider:

1) When xfs is restarted, the connection with the X server is broken,
   so apps using core fonts can no longer find fonts.  While xset can
   be used theoretically to re-establish a link to the X server, the
   initscript has no idea wether the X server is :0, :1, :8, or all 3.
   There is no "clean" way to have the connection re-established.

2) Using "reload" causes it to reload the config file instead of
   restarting, but then you are still using the old xfs server, not
   the new one.  Also, the old one is unable to find it's config file
   after upgrade, so must be restarted anyway.

3) If an xfs security update goes out, the way things are now, you have
   to manually restart xfs, as it wont get restarted otherwise.  That is
   kindof bad, but it's the way it is right now to avoid disconnecting
   xfs from the X server.

I'm open to hear suggestions if anyone has some for how we can solve
these problems.

One thing I'd like to address before anyone does respond with
suggestions though ...

When these type of problems arise with xfs, inevitably someone will
eventually say "get rid of xfs, and just use the X server to serve
the fonts directly and the problem is solved".  While that sounds
very attractive in a once sentence email or IRC statement, in the
real world, there are hundreds of thousands of deployed systems out
there, and migrating away from xfs to using the X server would have
to be performed rather smoothly on OS upgrades.  Getting the
nuances of that correct is more complicated than one might think.

Also, chkfontpath currently configures the fontpaths into the xfs
font server, and does not have any logic to do this with the X
server.  We would _have_ to update chkfontpath to be able to handle
the X server as well, yet still be able to do it with xfs for
systems out there that _do_ want to still use xfs.  So ultimately,
we still end up supporting xfs, only we now have to re-engineer
a bunch of legacy code (chkfontpath) which is rather fragile to
begin with, and make everything work without breaking systems
out there beyond recognition.

Even if we were to do this, we do not really gain any new
functionality at all, despite how much effort would be put into
implementing and testing it all.  Also, we would be changing
something that more or less "just works" most of the time, and
has been done this way for 8 years or more.  Making such a change
with no real visible gains is a big waste of time, energy and
manpower that would be taken away from other possible projects
that could have been done instead, which have real world benefits.

The reason I'm going into this level of detail in this email, is
more or less to cut the conversation off before it starts, as it
comes up every time xfs problems are mentioned, and the bottom
line never changes.  xfs is a necessity that we have to live with,
so we have to fix it if it breaks, as that is the least costly
way to keep core fonts support working.

</diatribe> ;o)

- had to hand edit some paths in xorg.conf. Still getting error on rgb file:
Couldn't open RGB_DB '/usr/lib/X11/rgb'

Already in bugzilla.

- scroll wheel on mouse wasn't working. I had to comment out this from xorg.conf:
#       Option      "ZAxisMapping" "6 7"
#       Option      "Buttons" "7"
  wheel works now but thumb button does not.

Known bug upstream, will be fixed probably in RC3.

- Nvidia driver works fine after putting files in the new locations

Crap, I'll have to try to break it some other way then.  ;o)

- glxinfo and glxgears are MIA.

Someone else mentioned already, but not in bugzilla yet.

- libXxf86dga.i386 doesn't exist in the x86_64 tree, had to grab it from i386.

Hmm. Sounds like a release engineering issue.  Not sure what to
recommend, other than screaming and shouting until someone fixes it. ;)

- cedega / World of Warcraft is working.  Life is good again. =)


I'm surprised that level of functionality is working.  I'm not giving
you guys enough broken stuff to test I guess.  ;o)

/me goes to find something to break

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]