Go Back   DisplayLink Forum > DisplayLink Graphics Technology > Mac Software

Reply
 
Thread Tools Search this Thread Display Modes
Old 11-12-2014, 02:48 PM   #1
BMT
Junior Member
 
Join Date: Oct 2013
Posts: 18
Default

Disregard.

Last edited by BMT; 11-27-2014 at 11:11 PM. Reason: Problem fixed.
BMT is offline   Reply With Quote
Old 11-12-2014, 07:36 PM   #2
mcousins
Junior Member
 
Join Date: Nov 2014
Posts: 1
Default

I seem to have stopped the log spam by adding this to my asl.conf in /etc at the top of the file

? [= Sender WindowServer] ignore

And then performing the sudo kill -HUP [PID of process]

Not sure if that's OK, I tried the other way of creating a file under the asl folder and that did nothing for me.

Hope this helps, even if its just towards finding a better answer!
mcousins is offline   Reply With Quote
Old 11-13-2014, 06:18 PM   #3
ehendrix
Member
 
Join Date: Aug 2011
Posts: 39
Default

I changed it a little bit to:

# WindowServer messages about display context (caused by DisplayLink driver)
? [= Sender WindowServer] [= Level Warning] [A= Message _CGXGLDisplayContextForDisplayDevice] claim only

Seems to be working and ensures that any other messages from WindowServer are still going in.
ehendrix is offline   Reply With Quote
Old 11-20-2014, 10:42 PM   #4
ehendrix
Member
 
Join Date: Aug 2011
Posts: 39
Default

No more messages since I've put this in. Interesting that with all the complaining about this within the forums that DisplayLink was never able to provide this as a solution.
Is it perfect? No.
Is it something Apple should fix? yes
Does the work-around work? Heck yes.
Could DisplayLink provide the work-around? Don't see why not.
ehendrix is offline   Reply With Quote
Old 11-21-2014, 09:12 AM   #5
Carlo
Mac Team
 
Join Date: Feb 2009
Posts: 606
Default

Hi ehendrix,

Sorry for going quiet on this one. Yes we think this is a good workaround, we could apply it at install time.

We'd use
? [= Sender WindowServer] [=S Message_CGXGLDisplayContextForDisplayDevice] ignore

Unless anyone can spot any issue with the approach?

Cheers,
Carlo
Carlo is offline   Reply With Quote
Old 11-27-2014, 02:18 PM   #6
jb510
Junior Member
 
Join Date: Jul 2014
Posts: 10
Default

Quote:
Originally Posted by Carlo View Post
Hi ehendrix,

Sorry for going quiet on this one. Yes we think this is a good workaround, we could apply it at install time.

We'd use
? [= Sender WindowServer] [=S Message_CGXGLDisplayContextForDisplayDevice] ignore

Unless anyone can spot any issue with the approach?

Cheers,
Carlo
Note that the above declaration is missing a space between Message and _CGX... should be
Code:
? [= Sender WindowServer] [=S Message _CGXGLDisplayContextForDisplayDevice] ignore
jb510 is offline   Reply With Quote
Old 11-27-2014, 10:59 PM   #7
BMT
Junior Member
 
Join Date: Oct 2013
Posts: 18
Default

Quote:
Originally Posted by Carlo View Post
Hi ehendrix,

Sorry for going quiet on this one. Yes we think this is a good workaround, we could apply it at install time.

We'd use
? [= Sender WindowServer] [=S Message_CGXGLDisplayContextForDisplayDevice] ignore

Unless anyone can spot any issue with the approach?

Cheers,
Carlo
Hi Carlo, the string you proposed is formatted incorrectly, it would need to be as follows instead else it won't work:
? [= Sender WindowServer] [S= Message _CGXGLDisplayContextForDisplayDevice] ignore

I've confirmed the above works as intended.

PS. Make sure to put the string at the top of asl.conf else it won't work! (Due to other rules taking priority over it and cancelling out the effect). I'm not sure if S= or =S (as you proposed) makes any difference, but I've only ever seen it as S= which is why I put it that way round.

Also, if you're thinking of doing this automatically you should make sure to check there's not already a string containing _CGXGLDisplayContextForDisplayDevice OR WindowServer in asl.conf, as people may have already added the same or a different string to stop it from happening already.

Edit: Looks like someone else beat me to it, I've been trying to post this for the past few days but kept getting forum errors each time I did. The 4th page of the topic wasn't even showing up until I posted my message! Weird.

Last edited by BMT; 11-27-2014 at 11:10 PM.
BMT is offline   Reply With Quote
Old 11-28-2014, 10:44 AM   #8
Carlo
Mac Team
 
Join Date: Feb 2009
Posts: 606
Default

Thank you BMT and others,

Will take your advice, hopefully won't find issues with this change.

Cheers,
Carlo
Carlo is offline   Reply With Quote
Old 11-26-2014, 04:43 PM   #9
jb8748
Junior Member
 
Join Date: Nov 2014
Posts: 4
Default

Quote:
Originally Posted by ehendrix View Post
I changed it a little bit to:

# WindowServer messages about display context (caused by DisplayLink driver)
? [= Sender WindowServer] [= Level Warning] [A= Message _CGXGLDisplayContextForDisplayDevice] claim only

Seems to be working and ensures that any other messages from WindowServer are still going in.
Thank you ehendrix. That does look like a better command - I'm no expert on the logging so I was finding things that worked. I've updated my blog post.

James
jb8748 is offline   Reply With Quote
Old 12-02-2014, 09:41 PM   #10
ehendrix
Member
 
Join Date: Aug 2011
Posts: 39
Default

Quote:
Originally Posted by jb8748 View Post
Thank you ehendrix. That does look like a better command - I'm no expert on the logging so I was finding things that worked. I've updated my blog post.

James
As I see it, this was all team work. I would have never come to this if it weren't for your blog post and postings from others. :-)
ehendrix is offline   Reply With Quote
Reply

Tags
windowserver

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:23 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2026, vBulletin Solutions, Inc.