Go Back   DisplayLink Forum > DisplayLink Graphics Technology > Mac Software

Reply
 
Thread Tools Search this Thread Display Modes
Old 06-22-2017, 01:16 PM   #1
duncanm
Junior Member
 
Join Date: Jun 2017
Posts: 1
Default Stopping log spam in sierra

As a temporary fix you can enter the following in your terminal:

Code:
sudo log config --process=[PID] --mode "level:off"
where [PID] is the ID of the process you see in the console.

You have to re-do it every time you re-start your mac which is a pain, but at least it saves all those writes to your disk
duncanm is offline   Reply With Quote
Old 06-23-2017, 02:49 AM   #2
wa2flq
Junior Member
 
Join Date: Jun 2017
Posts: 6
Default

That works, thanks.
wa2flq is offline   Reply With Quote
Old 07-27-2017, 08:52 PM   #3
dude123
Junior Member
 
Join Date: May 2017
Posts: 4
Default

Quote:
Originally Posted by duncanm View Post
As a temporary fix you can enter the following in your terminal:

Code:
sudo log config --process=[PID] --mode "level:off"
where [PID] is the ID of the process you see in the console.

You have to re-do it every time you re-start your mac which is a pain, but at least it saves all those writes to your disk
Yes, can confirm, this is the first "solution" that works on Sierra.
MacOS 10.12.6 - DisplayLink 3.1
dude123 is offline   Reply With Quote
Old 09-07-2017, 05:43 AM   #4
benwen
Junior Member
 
Join Date: Dec 2014
Location: San Francisco
Posts: 1
Default

Quote:
Originally Posted by duncanm View Post
As a temporary fix you can enter the following in your terminal:

Code:
sudo log config --process=[PID] --mode "level:off"
where [PID] is the ID of the process you see in the console.

You have to re-do it every time you re-start your mac which is a pain, but at least it saves all those writes to your disk
Thank you duncamn!

Here's a quick and dirty shell script to automate the finding of the PID
Code:
#!/bin/sh
pid=`ps -ax | awk '/SkyLight.framework/ && !/awk/ {print $1}'`
echo "Skylight.framework with OpenGL logorrhea PID found. Suppressing log for PID $pid"
sudo log config --process=$pid --mode "level:off"
Put that in a file 'quite-dlink' in your $PATH, chmod 0755 it and execute it in Terminal at startup.
benwen is offline   Reply With Quote
Old 09-11-2017, 12:47 PM   #5
paultzirides
Member
 
Join Date: Jun 2013
Posts: 50
Default Still necessary?

After installing the 4.0 beta, I'm no longer noticing any log spam. I ran the terminal command anyway, but observed no change in the amount or type of logs being generated by the system. Is anyone else seeing the same?
paultzirides is offline   Reply With Quote
Old 09-30-2017, 02:33 AM   #6
dude123
Junior Member
 
Join Date: May 2017
Posts: 4
Default

Problem solved!!!

Update to 4.0 didn't make it better on macOS 10.12 - BUT after the system update to 10.13 combined with 4.0 - now finally the log spam is solved and on top of that also the hardware support for video etc is very much improved.

Well done!! Thank you a lot DisplayLink-Team!!!!
dude123 is offline   Reply With Quote
Old 10-24-2017, 05:43 PM   #7
jormsby
Junior Member
 
Join Date: Apr 2015
Posts: 2
Default

My new MacBook Pro running 10.12.6 and with DisplayLink 4.0.0 is filling up my Console with this error message.

I see where 10.13 might fix it but that is not an option on this work computer.

Any suggestions on how to get this to stop?
jormsby is offline   Reply With Quote
Old 12-23-2017, 06:54 PM   #8
mattbehnken
Junior Member
 
Join Date: Dec 2017
Posts: 2
Default log spam

Quote:
Originally Posted by dude123 View Post
Problem solved!!!

Update to 4.0 didn't make it better on macOS 10.12 - BUT after the system update to 10.13 combined with 4.0 - now finally the log spam is solved and on top of that also the hardware support for video etc is very much improved.

Well done!! Thank you a lot DisplayLink-Team!!!!
My logs are filled with 3 per second. Since my log issue is slightly different than the OP I'll post it as an example. I'm not entirely sure it's DisplayLink, but I'm pretty sure.

MacOS High Sierra 10.13.2 - Display Link version 4.0 (sept. newest) with separate spaces checked (enabled)

I was able to suppress log until reboot using: sudo log config --pid=211 --mode "level:off"

Edit:

But you need to lookup the pid every boot, level:off

More Mac log suppression info

http://www.mackungfu.org/TurnoffrunawayloggingonmacOS

Speaking of log spam in High Sierra, I also get month 13 is out of bounds lol, but not as frequently as this:

default 19:04:19.044518 -0700 WindowServer No matching context for device (0x7f898cc3dcb0) - disabling acceleration.
default 19:04:19.044619 -0700 WindowServer No matching context for device (0x7f898cc3dcb0) - disabling acceleration.
default 19:04:19.044671 -0700 WindowServer No matching context for device (0x7f898cc3dcb0) - disabling acceleration.
default 19:04:19.044733 -0700 WindowServer No matching context for device (0x7f898cc3dcb0) - disabling acceleration.
default 19:04:19.044787 -0700 WindowServer No matching context for device (0x7f898cc3dcb0) - disabling acceleration.
default 19:04:19.060220 -0700 WindowServer No matching context for device (0x7f898cc3dcb0) - disabling acceleration.
default 19:04:19.060305 -0700 WindowServer No matching context for device (0x7f898cc3dcb0) - disabling acceleration.
default 19:04:19.060346 -0700 WindowServer No matching context for device (0x7f898cc3dcb0) - disabling acceleration.
default 19:04:19.060396 -0700 WindowServer No matching context for device (0x7f898cc3dcb0) - disabling acceleration.
default 19:04:19.060439 -0700 WindowServer No matching context for device (0x7f898cc3dcb0) - disabling acceleration.
default 19:04:19.153381 -0700 WindowServer No matching context for device (0x7f898cc3dcb0) - disabling acceleration.
default 19:04:19.153478 -0700 WindowServer No matching context for device (0x7f898cc3dcb0) - disabling acceleration.
default 19:04:19.153520 -0700 WindowServer No matching context for device (0x7f898cc3dcb0) - disabling acceleration.
default 19:04:19.153570 -0700 WindowServer No matching context for device (0x7f898cc3dcb0) - disabling acceleration.
default 19:04:19.153614 -0700 WindowServer No matching context for device (0x7f898cc3dcb0) - disabling acceleration.
default 19:04:19.163336 -0700 WindowServer No matching context for device (0x7f898cc3dcb0) - disabling acceleration.
default 19:04:19.163424 -0700 WindowServer No matching context for device (0x7f898cc3dcb0) - disabling acceleration.
default 19:04:19.169631 -0700 WindowServer No matching context for device (0x7f898cc3dcb0) - disabling acceleration.
default 19:04:19.169675 -0700 WindowServer No matching context for device (0x7f898cc3dcb0) - disabling acceleration.
default 19:04:19.169843 -0700 WindowServer No matching context for device (0x7f898cc3dcb0) - disabling acceleration.
default 19:04:19.224995 -0700 WindowServer No matching context for device (0x7f898cc3dcb0) - disabling acceleration.
default 19:04:19.225121 -0700 WindowServer No matching context for device (0x7f898cc3dcb0) - disabling acceleration.
default 19:04:19.225161 -0700 WindowServer No matching context for device (0x7f898cc3dcb0) - disabling acceleration.
default 19:04:19.225210 -0700 WindowServer No matching context for device (0x7f898cc3dcb0) - disabling acceleration.
default 19:04:19.225253 -0700 WindowServer No matching context for device (0x7f898cc3dcb0) - disabling acceleration.
default 19:04:19.421640 -0700 WindowServer No matching context for device (0x7f898cc3dcb0) - disabling acceleration.

Last edited by mattbehnken; 02-07-2018 at 03:54 AM. Reason: Obscured text
mattbehnken is offline   Reply With Quote
Old 02-07-2018, 02:11 AM   #9
skew4
Junior Member
 
Join Date: Feb 2018
Posts: 3
Default responsiveness

Quote:
Originally Posted by dude123 View Post
Problem solved!!!

Update to 4.0 didn't make it better on macOS 10.12 - BUT after the system update to 10.13 combined with 4.0 - now finally the log spam is solved and on top of that also the hardware support for video etc is very much improved.

Well done!! Thank you a lot DisplayLink-Team!!!!
Errr... I think you meant: Thank you Apple ! :-)

Some people have expressed concerned about wearing out disks. I don't know about that, however there's another massive difference that the super useful "log config level off" workaround just made: *responsiveness*. The short but still very painful lag between the moment I hit the keyboard and characters appears on the screen is finally gone.

For months and months until I found this message in the logs by chance (while looking for something else) I've been telling all my colleagues that DisplayLink was a technology really not for everyone because of a severe trade-off to make between screen real estate and responsiveness. Now I understand it was actually just that logging issue.

Has Apple any plan to backport the fix to Sierra?

Has DisplayLink updated their test plans to include responsiveness? (and also logging why not)
skew4 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 11:18 PM.


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