[bug] Slackware 15.0 : nomodeset causes elogind to crash
Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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.
[bug] Slackware 15.0 : nomodeset causes elogind to crash
After installing Slackware Linux 15.0 I added the following record to /etc/lilo.conf with the hope of getting the console to fully utilize my monitor's resolution rather than squishing text into only the upper left corner of the monitor:
Code:
append = " nomodeset "
Including nomodeset as a kernel boot-argument fixed the monitor real-estate utilization problem, but broke elogind - which crashes 2-3 seconds after presenting a login prompt on the console, thereby preventing further interaction with the machine until rebooting without the nomodeset argument.
The same console's resolution was fully-utilized thru Slackware 14.2 on the same machine without kernel/boot arguments regardless of the selected console font.
Debugging suggestions are welcome.
- BernieK
Missing the days when Slackware felt like a Unix cousin. Days without HAL (dbus, udev, freedesktop), PAM, PolicyKit, sudo, systemd (or extracts thereof), Wayland (or any "Display Manager"), cgroups or containers. Days when the pieces were not tightly coupled.
After installing Slackware Linux 15.0 I added the following record to /etc/lilo.conf with the hope of getting the console to fully utilize my monitor's resolution rather than squishing text into only the upper left corner of the monitor:
Code:
append = " nomodeset "
So, what is your graphics card?
You can't run nomodeset with Intel graphics for example.
Information regarding the video hardware on my Slackware 15.0 box follows:
Chipset: AMD M880G (codename RS880)
Integrated Graphics: ATI Mobility Radeon HD 4200 series (Radeon HD 4250)
I don't really know much about ATI/AMD and Nvidia these days. But if I'm not mistaken it depends on the driver, that you're suppose to or have to run modesetting with the free AMD driver. Maybe the proprietary one as well...
In any case, it seems your driver does use modeset when it is enabled which indicates it should be used. So perhaps you're tacking this problem the wrong way?
Maybe it should be something like "when using modeset" on my graphics card, resolution does so and so, how can I get resolution to behave so and so instead..
Thank you for suggesting I address the display real-estate utilization problem differently (and thus necessarily without using the "nomodeset" kernel boot-argument given the noted elogind bug). A solution is posted. (ref. https://www.linuxquestions.org/quest...ge-4175714770/ )
Regarding the problem expressed as this thread's title; When elogind crashes as a result of the "nomodeset" kernel boot-argument being used it leaves the system inaccessible via a local shell.
Well if you don't use kde or xfce4 desktop, you can basically just discard elogind.
Note that official procps-ng-3.3.17 package may break without elogind library, so I'd just go ahead and rebuild procps-ng:
Code:
--disable-elogind \
I mean if the compile flag is there, it's probably there for a reason.
Otherwise, I've not found anything else in Slackware v15 which hard-depends on elogind.
And TBH, it's really not elogind library job to decide whether or not you're gonna use nomodeset, not sure how kernel parameter's even relevant for that library.
So if it breaks with nomodeset (I have not bothered to test), then it's elogind problem or (even more likely) a systemd-logind problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.