Video changes between 14.1 and 14.2 reduce maximum resolution
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
But in your dmesg, I'm also seeing a lot of udev errors where it can't execute files. I'm not sure if udev has any part in detecting EDIDs, but if it does, this could be related to your problem. Based on other posts I've seen on the forum with similar errors, I'm assuming you have a separate /usr/ partition from your / (root) partition. This can cause problems, because the system expects udev to be available early in the booting process, but Slackware's scripts don't mount additional partitions (including /usr/) until later on. Forum member Richard Cranium came up with some modifications to initrd's init script and rc.S that will mount /usr/ if it is detected early enough in the boot process so udev is available when its needed.
I added his tweak and got a kernel panic - "unable to sync" when it tried to mount the second partition.
In addition, neither lilo nor xrandr will accept any resolution higher than 1024x768. Looking at the documents in /usr/src/linux-4.4.38/Documentation/fb/ it appears the drivers being used are limited to that even if the hardware can support more. I'd like to know if that was intentional or merely an oversight.
I added his tweak and got a kernel panic - "unable to sync" when it tried to mount the second partition.
I haven't had a separate /usr/ partition in probably 15 years (haven't ever seen a need for it in my usage), so I've never had to look into this. Unfortunately, it is beyond my knowledge.
Quote:
Originally Posted by rmcconnell
In addition, neither lilo nor xrandr will accept any resolution higher than 1024x768. Looking at the documents in /usr/src/linux-4.4.38/Documentation/fb/ it appears the drivers being used are limited to that even if the hardware can support more. I'd like to know if that was intentional or merely an oversight.
Have you tried the .conf file in your xorg.conf.d? I imagine that is the most likely to work as you're just telling X to ignore the invalid EDID and then specify your own resolutions. You might need to generate a modeline, but the instructions for that is in one of those links.
I haven't had a separate /usr/ partition in probably 15 years (haven't ever seen a need for it in my usage), so I've never had to look into this. Unfortunately, it is beyond my knowledge.
Have you tried the .conf file in your xorg.conf.d? I imagine that is the most likely to work as you're just telling X to ignore the invalid EDID and then specify your own resolutions. You might need to generate a modeline, but the instructions for that is in one of those links.
That's probably my next step. I looked into merging the root and /usr partitions, but the combination would fill 80% of the 16G partition. The two largest sub-directory trees are /usr/share and /usr/lib64. /usr/local is just a tree of empty directories right now, since SBo doesn't use it at all. The only significant package I have installed is Libre-Office 5.3. My current allocation (copied and edited from df output) is unchanged, except for the actual partition sizes, over the past 24 years:
The only time I used a single partition was when I started with SLS, and that experience taught me to split it up so updates and re-installs wouldn't just wipe out /usr/local, /var and /home. It is a little easier now with slackpkg, but upgrading to a new release can still cause me problems.
In addition, neither lilo nor xrandr will accept any resolution higher than 1024x768. Looking at the documents in /usr/src/linux-4.4.38/Documentation/fb/ it appears the drivers being used are limited to that even if the hardware can support more. I'd like to know if that was intentional or merely an oversight.
Thank you all for your suggestions.
It's probably KMS. Try with parameter nomodeset, or try this /usr/src/linux/Documentation/EDID/HOWTO.txt
I had to find the monitor specs on the Samsung site and compile the edid.bin to make mine work properly.
You might want to take a look at the short chapiter "X11 in a nutshell" on pages 7-8, which explains quick & dirty X11 configuration on Slackware-14.2:
I have found a workaround for this problem. The root cause appears to be a chicken and egg issue due to my partitioning practices, where init tries to initialize the video drivers before the partitions with the necessary utilities are mounted. The only way I have found to fix it is to open a terminal immediately after starting X-windows, su to root and run these three commands:
Since these have to be run as root, I can't add them to my startup scripts, and I haven't figured out how to make these settings persistent. But I have put them in a shell script in the /root directory.
No, I am not about to change the partitions. Bad experiences as recent as two weeks ago continue to convince me that they must remain as they are.
I thank you all for your suggestions. I know more about X-windows now than I ever wanted to, but apparently it is still not enough.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.