Tobias Dussa | 6 Jul 2007 18:18
Picon

RandR revisited

Hi,

I have just upgraded my trusty Slackware box to recently released
12.0.  This brings about an upgrade to the X.org 7.1 X server.

Unfortunately, the ion2 module mod_xrandr-2 has stopped working.  I
have debugged the issue as much as I could, and I am afraid I am not
proficient enough in X programming to carry on.

Here's what seems to be going on:
- XRandR registring and so on works.
- Ion (and mod_xrandr) also get the X event notifications for randr
  events.
- However, the call
     FIND_WINDOW_T(rev->root,WScreen) 
  in mod_xrandr.c returns NULL, suggesting that Ion is unable to get a
  hold of a WScreen object that is correlated with rev->root (rev
  being the notification event), if I understand correctly.

What is going wrong here all of a sudden?  Can anybody offer me some
advice as to how to proceed from here?

Thanks in advance,
Toby.
--

-- 
Expect the worst, it's the least you can do.

Tobias Dussa | 7 Jul 2007 10:03
Picon

Re: RandR revisited

Tuomo,

I'm sorry I'm ripping this thread apart, but for some reason, I have
not yet received your reply.  I did, however, see it in the online
archives, so I'll answer to it.

Your question was why I didn't upgrade to ion3.  Mainly, the reason is
that Ion3 is still just an RC, while Ion2 is labled "stable".  Thus, for
my production machine, I preferred to stick to ion2.

Now, I have tested ion3 on my upgraded machine, and the xrandr problem
went away, admittedly.  However, I have to say that I do have a hard
time migrating my config files from ion2 to ion3.  :-(

Either way, I was under the impression that ion2 was still "the"
officially supported stable version, so I assumed that you'd be
interested to hear about the xrandr problem, and I had hoped that
someone could help me fix it.

Cheers,
Toby.
--

-- 
I am Gates of Borg.  Resistance is futile.  You will be assimilated.
From now on, you will finance... us.

Matthieu Moy | 7 Jul 2007 11:07
Picon
Picon
Favicon

Re: RandR revisited

Tobias Dussa <tdussa@...> writes:

> Your question was why I didn't upgrade to ion3.  Mainly, the reason is
> that Ion3 is still just an RC, while Ion2 is labled "stable".  Thus, for
> my production machine, I preferred to stick to ion2.

I (and lots of other people) have been using ion3 for years on my
production machine without real troubles. So, stability is not really
an argument indeed.

--

-- 
Matthieu

Tobias Dussa | 7 Jul 2007 11:57
Picon

Re: RandR revisited

Hi,

On Sat, Jul 07, 2007 at 11:07:41AM +0200, Matthieu Moy wrote:
> > Your question was why I didn't upgrade to ion3.  Mainly, the reason is
> > that Ion3 is still just an RC, while Ion2 is labled "stable".  Thus, for
> > my production machine, I preferred to stick to ion2.
> I (and lots of other people) have been using ion3 for years on my
> production machine without real troubles. So, stability is not really
> an argument indeed.

I have never said so.  Indeed, I have never really used ion3 at all.
All I am saying is that, according to the web page, ion2 is the
current stable release.  That's all.  It may very well be that ion3 is
very stable already, but that is not the point.  It is not labeled the
current "stable" (production) version, so I didn't use it, because
apparently the developers themselves don't think that ion3 is good
enough to be labeled "stable" yet (although that may not be far down
the road).

Cheers,
Toby.
--

-- 
If "Microsoft Word" is the right tool to write longer texts, then why is it not
called "Microsoft Sentence" or "Microsoft Paragraph"?

Tuomo Valkonen | 7 Jul 2007 10:20
Picon
Picon
Favicon

Re: RandR revisited

On 2007-07-07, Tobias Dussa <tdussa@...> wrote:
> Either way, I was under the impression that ion2 was still "the"
> officially supported stable version, so I assumed that you'd be
> interested to hear about the xrandr problem, and I had hoped that
> someone could help me fix it.

Ion2 may still (for a few months) be grudgingly officially supported, 
but mod_xrandr has never been properly supported. It's just something
that is available, and I'm not going to start going to lengths to 
debug problems with an old Ion2 version, now that Ion3 will be 
released soon(tm). (Just one more RC, hopefully...)

--

-- 
Tuomo

Tobias Dussa | 7 Jul 2007 12:01
Picon

Re: RandR revisited

Tuomo,

On Sat, Jul 07, 2007 at 08:20:09AM +0000, Tuomo Valkonen wrote:
> > Either way, I was under the impression that ion2 was still "the"
> > officially supported stable version, so I assumed that you'd be
> > interested to hear about the xrandr problem, and I had hoped that
> > someone could help me fix it.
> Ion2 may still (for a few months) be grudgingly officially supported, 
> but mod_xrandr has never been properly supported.

Okay, point taken.

> It's just something
> that is available, and I'm not going to start going to lengths to 
> debug problems with an old Ion2 version,

Good enough.  I was just asking if anyone had any hints on how to go
ahead in troubleshooting the issue.  I was not trying to start a
discussion of why or why not to upgrade to ion3.

Cheers,
Toby.
--

-- 
God is real---unless declared integer.

Tobias Dussa | 9 Jul 2007 10:17
Picon

Re: RandR revisited

Hi Tuomo,

On Sat, Jul 07, 2007 at 12:01:15PM +0200, Tobias Dussa wrote:
> Good enough.  I was just asking if anyone had any hints on how to go
> ahead in troubleshooting the issue.  I was not trying to start a
> discussion of why or why not to upgrade to ion3.

Meanwhile, I have upgraded to ion3 because of your advise.  Now, the
xrandr module works again; however, mod_dock does not work properly
any more.  After a xrandr resize operation, the dock is gone.  Any
thoughts on this?

Cheers,
Toby.
--

-- 
I am Gates of Borg.  Resistance is futile.  You will be assimilated.
From now on, you will finance... us.

Tuomo Valkonen | 9 Jul 2007 17:37
Picon
Picon
Favicon

Re: RandR revisited

On 2007-07-09, Tobias Dussa <tdussa@...> wrote:
> Meanwhile, I have upgraded to ion3 because of your advise.  Now, the
> xrandr module works again; however, mod_dock does not work properly
> any more.  After a xrandr resize operation, the dock is gone.  Any
> thoughts on this?

That's because the dock module doesn't use the standard sizepolicy
stuff, but does its own position management. I probably can't be
arsed to change this, because it would be a major rewrite. I've
actually thought of removing the module as redundant, and as
something I don't particularly care to maintain, not originally
being my code.

--

-- 
Tuomo

Tobias Dussa | 9 Jul 2007 19:47
Picon

Re: RandR revisited

Hi,

On Mon, Jul 09, 2007 at 03:37:02PM +0000, Tuomo Valkonen wrote:
> That's because the dock module doesn't use the standard sizepolicy
> stuff, but does its own position management. I probably can't be
> arsed to change this, because it would be a major rewrite. I've
> actually thought of removing the module as redundant,

Huh?  How do I get the same functionality out of other modules?  I'm
not hooked on the dock module, but I really would like to have a dock
that a) can be turned on and off and b) also appears on empty screens.

If, say, the status bar can be coaxed to behave like that, I'd be more
than happy to switch over.

Cheers,
Toby.
--

-- 
Why crawl through Windows when there are doors?

Michael Gwin | 9 Jul 2007 14:12
Favicon

Re: RandR revisited

On Mon, 9 Jul 2007 10:17:29 +0200
Tobias Dussa <tdussa@...> wrote:

> Meanwhile, I have upgraded to ion3 because of your advise.  Now, the
> xrandr module works again; however, mod_dock does not work properly
> any more.  After a xrandr resize operation, the dock is gone.

I'm seeing something similar, the dock either becomes an outline of
itself, or gets positioned somewhere along the top of the screen, as if
it hadn't been updated to take the larger resolution into account again
(I normally have it in the top right hand corner).

- Michael

Tuomo Valkonen | 6 Jul 2007 19:20
Picon
Picon
Favicon

Re: RandR revisited

On 2007-07-06, Tobias Dussa <tdussa@...> wrote:
> Unfortunately, the ion2 module mod_xrandr-2 has stopped working.  

How about upgrading to Ion3?

--

-- 
Tuomo


Gmane