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.
I have a display problem since updating to Slackware 13.37. Everything was fine on Slackware 13.1, but when I switched to 13.37 some piece of software came up with the wrong monitor size. I have a 1600x900 LCD monitor but the X screen came up as 1024x768 with blackness on either side of it. Under Slackware 13.1 the X screen came up as 1600x900 as it should without any prompting from me; I didn't even have an Xorg.conf file. I tried using the Xorg.conf file which was needed and work for older Slackwares, eg 12.*, but it didn't work. (Saying it didn't work is a gross understatement! That old Xorg.conf completely screwed up mouse, keyboard, and monitor; the screen was flashing and nothing worked. The only way to get control back was to SSH into the machine from my laptop and reboot. Killing the X server via that SSH console did NOT the flashing or get me back to my console login; only reboot worked.)
I find I can get the screen to be the right size manually by going through KDE's "System Settings" --> "Display and Monitor" --> "Size & Orientation", then disabling "LVDS1" and setting VGA1 to 1600x900. The size of my odd-sized monitor is being correctly detected for the "Auto" choice. Upon reboot LVDS1 stays disabled but VGA1 reverts to 1024x768 so I have to do this each time.
I've done some search of the on-line literature regarding the error messages I am seeing in the boot log. As near as I can tell the relevant error and other messages are:
[ error message from dmesg ]
fb: conflicting fb hw usage inteldrmfb vs VESA VGA - removing generic driver
[ consequences from /var/log/messages ]
vesafb: framebuffer at 0xd0000000, mapped to 0xf8080000, using 1536k, \
total 8128k
vesafb: mode is 1024x768x8, linelength=1024, pages=9
vesafb: scrolling: redraw
vesafb: Pseudocolor: size=8:8:8:8, shift=0:0:0:0
fb0: VESA VGA frame buffer device
ERST: Table is not found!
People are suggesting changing all kinds of things to alleviate the side effects of the "conflicting" error message above, even modifying GRUB parameters (which won't work for me since I use LILO).
So, I have a manual work around which I must do each time I log in. Does someone know how I can get X or KDE to force 1600x900 upon start (while Linux/X/whoever find and fix the problem) or does someone know of a real fix?
I doubt the conflicting message is the source of any resolution problems under X. The generic vesa framebuffer driver is able to hand over control to the DRM KMS drivers such as inteldrm. You can confirm if the problem is the conflict or not by disabling the vesa framebuffer driver by passing "vga=normal" to the kernel. Since it's a kernel option, it works if you are using grub or lilo. Just add that vga=normal to the append line in /etc/lilo.conf and rerun lilo. Try that and let us know if it solves your resolution problem.
As per your suggestion I tried passing vga=normal to the boot by adding it to the append line in lilo.conf. Lilo itself rejected it:
root@atomik 0 PID=2219> lilo
Fatal: APPEND or LITERAL may not contain "vga="
Then I tried putting vga=normal into lilo.conf as its own line as the man page suggested. That did nothing so problem not solved.
More info:
----------
Let me ask a different question: I put this query in the Slackware forum since the problem showed up for me with Slack 13.37. so I thought someone here might have seen it before me and had a solution handy. However I suspect the problem is not really a Slackware problem. After all Slackware is only a collection of programs and data. Here is some additional information I've gotten:
1. This is NOT a KDE problem. When I boot up with XFCE the screen is also too narrow just as it is in KDE.
2. In looking at the /var/log/Xorg.0.log file it is clear that X recognizes that my monitor on VGA1 has several modes
[ 1694.617] (II) intel(0): Printing probed modes for output VGA1
[ 1694.617] (II) intel(0): Modeline "1600x900"x60.0 ...
[ 1694.617] (II) intel(0): Modeline "1280x1024"x60.0 ...
[ 1694.617] (II) intel(0): Modeline "1152x864"x75.0 ...
[ 1694.617] (II) intel(0): Modeline "1024x768"x75.1 ...
[ 1694.617] (II) intel(0): Modeline "1024x768"x60.0 ...
...
and that my video output (no monitor, not even a connector) on LVDS1 also has several modes
[ 1694.548] (II) intel(0): Printing probed modes for output LVDS1
[ 1694.548] (II) intel(0): Modeline "1280x800"x58.1 ...
[ 1694.548] (II) intel(0): Modeline "1024x768"x60.0 ...
...
Xorg.log then goes on to say:
[ 1694.617] (II) intel(0): Output LVDS1 connected
[ 1694.617] (II) intel(0): Output VGA1 connected
So, given that X (falsely) thinks that LVDS1 is connected it then apparently tries to use the highest resolution mode it has in common with the two outputs (Using fuzzy aspect match for initial modes) namely "1024x768"x60.0.
[ 1694.617] (II) intel(0): Using fuzzy aspect match for initial modes
[ 1694.617] (II) intel(0): Output LVDS1 using initial mode 1024x768
[ 1694.617] (II) intel(0): Output VGA1 using initial mode 1024x768
3. Note that I did not change my hardware when upgrading to Slackware 13.37, and this was all working with my previous Slackware, so this is a software or data issue.
So does anyone have any idea WHERE code may have changed which would cause screen resolution to be screwed up, i.e. TO WHOM do I go to ask this question?
ALTERNATIVELY, is there some way I can (1) force X to ignore LVDS1 or (2) get KDE to automagically do the manual workarounds?
Thanks in advance,
Jeff B.
Last edited by GreyBeard; 06-14-2011 at 01:44 PM.
Reason: Added a Thanks at the bottom.
OK, sorry, the 'vga =' is actually in /etc/lilo.conf by default. You just need to adjust the value to normal. That'll teach me to respond to someone first thing in the morning :-)
I think we can get VGA1 to use the correct resolution by default. Try creating an xorg.conf file that contains just these few lines:
is there some way I can (1) force X to ignore LVDS1
In your /etc/X11/xorg.conf, you could try adding a Monitor section for the nonexistent LVDS1 that uses Ignore option and then add that to your Device section.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.