-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stop using the intel driver #3500
base: master
Are you sure you want to change the base?
Conversation
Good Idea Is it possible that this could be a target (as in you can disable and enable) |
This fixes the missing characters using Xorg on a Samsung Chromebook Pro. Maybe we should test it on other Skylake Chromebooks and activate it by default? |
# instead of geteuid, to force DRM master setting/dropping. | ||
offset="`grep -F -m 1 -boa 'geteuid' "$inteldrv" 2>/dev/null || true`" | ||
if [ -n "$offset" ]; then | ||
echo -n 'getuid0' | dd seek="${offset%:*}" bs=1 of="$inteldrv" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove getuid0 from freon.c?
Sounds like this might help with #2958 ? If so that is good news. |
I can make a branch release with this patch if you want to try it. |
8837101
to
ea989d9
Compare
You can give it a shot by updating your chroot with |
Related to #2640. |
@kelchm @octopusnz does this branch fix things for either of you? |
@dnschneid I think this does resolve #2958 for me, or at least has decreased the frequency. |
@dnschneid, it did not work for me the last time I tried -- let me give it another go tonight. |
@dnschneid, I've not been able to get this branch to work. Here's what I'm seeing:
|
Actually after playing with it for a few weeks - issue still exists (Chrome flickering). I think for this to fix my issue it needs to stop using the i915 driver for the video card. $ dpkg -s xserver-xorg-video-intel | grep Status $ lshw -c video Possible I did something wrong when trying to install from the branch however. |
@octopusnz running |
has anyone switched to the no intel driver branch and has successfully stopped the screen flickering. im using the unity version of trusty on crouton and after the latest update the croot wouldnt load. i had to power wash my pixelbook, leave it for a few days and then reinstall crouton. the croot now loads but the screen and the curser flicker constantly with large section of the screen sometimes going black for a few seconds. |
Using modeseting I've had major screen tearing issues and poor performance even just when alt+tabbing, with menu navigation sometimes reaching 80% on my cpu. Games on steam that I could previously play at ~60fps I now struggle to reach 10. On the other hand, without the fix from this branch crouton doesn't work at all. Any suggestions for getting my performance back? Dell CB 13 i5, trusty (I was also unable to update to this branch due to the same issue that @kelchm presented above - this was just from me manually changing to modesetting) |
I turned on OS verification last week and I have used it since then. Yesterday I went on it and restarted to upgrade flash something out another. Then I enabled developer mode and downloaded crouton from the GitHub page. I created an encrypted trusty unity chroot with touch enabled. Now the chroot works like a dream. I don't know what's changed but something is definitely different. I hope this helps. |
You might want to check that you actually have hw accelerated opengl. Modesetting and glamor work also with sw fallback. |
@pmarkkula Thanks for your response - do you know how I'd check this? |
Try
in chroot. Mine says:
|
@pmarkkula Many thanks for your help. The command you suggested had no output, although I also tried a lowercase version
Assuming this means I'm SW accelerated, how would I correct this? |
You might be missing the appropriate driver package.
should tell if this is the case. |
@pmarkkula the output of that command is the following:
I have no clue what to make of this - could you shed some wisdom? |
So the Intel driver is installed. If it would not have been, it would have said something like "Installed: (none)". I am running out of ideas. |
@pmarkkula That's fair - thank you for all the help you've given anyway! |
found a error with this build |
rm -f "$xorgconf" | ||
fi | ||
# Remove old Intel SNA workaround | ||
rm -f '/usr/share/X11/xorg.conf.d/20-crouton-intel-sna.conf' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Has there been any movement on this? I just installed xenial xfce with the latest crouton and have a lot of flickering from chrome, not really usable. This is on skylake c302 asus flip. |
I had removed the release because it was terribly out-of-date. |
Thanks for the update. I ran the update to this branch mentioned above with this error:
Can I manually run this remove or was there more that needs to happen after that? |
I went ahead and did that remove. startxfce4 went to grey screen with mouse and locked my system. |
Great success :/ Can you please create a new chroot with it just to be sure it's totally broken? Unfortunately I don't have the devices or time to get this tested and working at the moment, but if you find some tweaks that make things work I can incorporate it into the branch. |
So I ran this from a new chroot with the following command:
I would be happy to help in anyway you need. |
Oh, and again, |
Use modesetting; glamor will happen by default if available. Compatibility with Intel DRI has deteriorated significantly with Freon. Using modesetting will be the most compatible and only has a minor performance hit.
the PR stale? it not clear the intel drive is used on kali bookworm and jammy |
Past me says this:
I don't remember what triggered me to make these patches, nor do I recall the result of testing or whether this is actually ready to merge.
I figure creating a PR will help figure things out...