Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Modesetting is two things. In the kernel it's a process usually referred to as KMS (kernel mode setting, referring to video mode management). In X, it's both a process, same as in the kernel, and the name of a DDX driver. The (newer technology) Modesetting DDX driver became default after 17.3 was released, so in 17.3 it's provided by a separate package, xserver-xorg-video-modesetting. Enabling its use instead of xserver-xorg-video-intel can be accomplished by having installed only the one you wish used. It can also be accomplished while both DDX driver packages remain installed by specification within /etc/X11/xorg.conf*. The Modesetting DDX driver should work nicely on your Haswell. It might eliminate stuttering. I highly recommend at least trying use of the Modesetting DDX driver.
ahhh dang. back to unsolved status. Was doing great last night after re-installing the intel driver from scratch. was away from computer for for 12-14 hours, came back to discover it's back to it's old trix with the video stuttering. Shall I just go back to my old solution with the shotgun and swimming pool?
mr mazda, you still out there? going back to check on the mode shifting driver
so, I decided to go off on my own, sort of. back in your post #12 you recommended going to the mode-setting driver.
so I dumped the regular intel driver with
Code:
sudo apt purge xserver-xorg-video-intel
[sudo] password for tom:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
linux-image-extra-4.4.0-138-generic
Use 'apt-get autoremove' to remove it.
The following packages will be REMOVED:
xserver-xorg-video-intel*
0 upgraded, 0 newly installed, 1 to remove and 125 not upgraded.
After this operation, 2,934 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 302882 files and directories currently installed.)
Removing xserver-xorg-video-intel (2:2.99.910-0ubuntu1.7) ...
Purging configuration files for xserver-xorg-video-intel (2:2.99.910-0ubuntu1.7)sudo sudo apt purge xserver-xorg-video-intel
[sudo] password for tom:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
linux-image-extra-4.4.0-138-generic
Use 'apt-get autoremove' to remove it.
The following packages will be REMOVED:
xserver-xorg-video-intel*
0 upgraded, 0 newly installed, 1 to remove and 125 not upgraded.
After this operation, 2,934 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 302882 files and directories currently installed.)
Removing xserver-xorg-video-intel (2:2.99.910-0ubuntu1.7) ...
Purging configuration files for xserver-xorg-video-intel (2:2.99.910-0ubuntu1.7)sudo apt purge xserver-xorg-video-intel
rebooted, ran
Code:
sudo apt install xserver-xorg-video-modesetting
but got an error saying that I that I already had the latest version of the driver:
Code:
tom@mint ~ $ sudo apt install xserver-xorg-video-modesetting
Reading package lists... Done
Building dependency tree
Reading state information... Done
xserver-xorg-video-modesetting is already the newest version.
The following package was automatically installed and is no longer required:
linux-image-extra-4.4.0-138-generic
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 125 not upgraded.
any suggestions gratefully received. I couldn't quite figure how to just install an already existing version. that
Code:
apt install....
seems like it would do it since it doesn't have the
apparently, it's on the machine. I don't understand why it tried to go and get another instead of installing or switching to the existing one which is apparently the latest version. Any wisdom here?
apparently, it's on the machine. I don't understand why it tried to go and get another instead of installing or switching to the existing one which is apparently the latest version. Any wisdom here?
I've had other things pulling me away from the computer, and Internet trouble while I'm not away, and it's not over yet.
Already at the newest version is telling you that the package is already installed, and it did not try to get it again.
Switching drivers requires you do something more than run an apt command. Did you reboot or restart Xorg after removing xserver-xorg-video-intel? Simply logging out of Cinnamon and back in is unlikely to be enough to restart Xorg, which is required to make the DDX driver switch from intel to modesetting. Once you have done so please provide output from a terminal within a Cinnamon session running:
Code:
inxi -GxxSM
and do
Code:
pastebinit /var/log/Xorg.0.log
(if it exists) and post the URI it provides here. It may be in ~/.local/share/xorg instead, so
Code:
pastebinit ~/.local/share/xorg/Xorg.0.log
in that case. If either inxi or pastebinit produce a command not found error, use any package manager (e.g. apt-get, aptitude, apt, Synaptic, etc.) to install, then try again.
inxi -GxxSM
System: Host: mint Kernel: 3.16.0-38-generic i686 (32 bit gcc: 4.8.2)
Desktop: Cinnamon 2.8.8 (Gtk 3.10.8) dm: mdm Distro: Linux Mint 17.3 Rosa
Machine: System: ASUS product: All Series
Mobo: ASUSTeK model: H97-PLUS v: Rev X.0x
Bios: American Megatrends v: 2504 date: 05/20/2015
Graphics: Card: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
bus-ID: 00:02.0 chip-ID: 8086:0412
Display Server: X.Org 1.15.1 drivers: intel (unloaded: fbdev,vesa)
Resolution: 1920x1080@60.0hz
GLX Renderer: Mesa DRI Intel Haswell Desktop x86/MMX/SSE2
GLX Version: 3.0 Mesa 10.1.3 Direct Rendering: Yes
Looks like pastebinit has gone south
Code:
tom@mint ~ $ pastebinit /var/log/Xorg.0.log
Bad API request, invalid api_dev_key
tom@mint ~ $ sudo pastebinit /var/log/Xorg.0.log
[sudo] password for tom:
Bad API request, invalid api_dev_key
Code:
tom@mint ~ $ pastebinit /var/log/Xorg.0.log
Bad API request, invalid api_dev_key
tom@mint ~ $ sudo pastebinit /var/log/Xorg.0.log
[sudo] password for tom:
Bad API request, invalid api_dev_key
tom@mint ~ $ sudo pastebinit ~/.local/share/xorg/Xorg.0.log
Unable to read from: /home/tom/.local/share/xorg/Xorg.0.log
tom@mint ~ $
Last edited by tmoble; 02-19-2019 at 09:44 PM.
Reason: mis-paste
Every time I've asked to see your output from inxi it has reported X is using the ancient and in-maintenance-mode-only Intel DDX driver that hasn't had an official release in 4 years. If you were using the latest version of any of the popular distros, I would be fairly sure that the Intel DDX driver is not the optimal DDX driver for your Haswell. As old as 17.3 is, I can't be sure of this, but nevertheless the modesetting DDX should be competently tested, and you apparently have not yet managed to do so.
After purging xserver-xorg-video-intel I expect the use of modesetting DDX to be automatic. As you described what you did I'm not sure whether that failed to happen automatically, or you didn't even succeed to try it. If it failed to load automatically while xserver-xorg-video-intel was not installed, then you could have had X fail altogether, or it could have been using a crippled very slow fallback driver, FBDEV or VESA. It may be necessary to configure use of modesetting explicitly in 17.3 for your Haswell. You could do that by creating a file named /etc/X11/xorg.conf.d/50-device.conf. You might not have that directory already and need to create /etc/X11/xorg.conf.d/ as a separate first step and then add 50-device.conf to it. It should contain the following:
If this fails to cause inxi -Gxx to report modesetting is in use after an X restart or reboot, a more complicated .conf file may be necessary, which I may suggest only if you successfully upload (pastebin) the Xorg.0.log file generated by your attempt to use the modesetting DDX.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.