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.
I am getting a problem under 12.2 after I close an KDE session and open a new one. When I first boot up, everything is fine. But if I log out (or kill X) and then log back in again, KDE acts as if the screen size was less (both in width and height) than the actual size. The desktop background covers the whole screen, but the task bar sits well above the bottom of the screen and only covers ~80% of the width. Windows are constrained to the 'smaller screen'.
The problem is presumably connected to the fact that in the KDE Control Centre->Display->Multiple monitors I have two displays, one smaller than the other BUT the second display only shows up after I log out of a KDE session and log back in again (ie on an initial boot, there's only one display).
So far the only solution I've found is a reboot. My xorg.conf doesn't contain anything about a second display.
I don't know whether this will help, but in the Control Center, Peripherals, Display, Size & Orientation tab, there is a check box labeled Apply settings on KDE startup. Enable that option then select the Apply button.
I don't know whether this will help, but in the Control Center, Peripherals, Display, Size & Orientation tab, there is a check box labeled Apply settings on KDE startup. Enable that option then select the Apply button.
Thanks Woodsman. I should have mentioned that the screen size problem is already visible at the KDM screen - so before those KDE settings would even be implemented - and that if I log into Fluxbox everything is normal. Also, changing those screen dimension settings in that same panel doesn't resolve the problem.
I never have used dual monitors. Perhaps somebody else can pipe in here and help.
However, I'm reasonably sure that your xorg.conf should contain one section for each monitor and one section for each video card. I think there probably also should be two screen sections.
3) but when the problem is present, no such lines appear in the logs; instead I get: (II) intel(0): Output VGA using initial mode 1152x768 (this is the size of the second monitor which appears in the KDE Multiple Monitors dialog box)
I'm including a diff of the two Xorg.0.log files, but the lines which grabbed my attention when I went through it were:
Code:
< (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jul 11 00:26:31 2009
---
> (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jul 11 00:24:05 2009
48c48,49
< (II) Open ACPI successful (/var/run/acpid.socket)
---
> (WW) Open ACPI failed (/var/run/acpid.socket) (Connection refused)
On my Averatec 2370 running the binary Nvidia drivers “Nvidia”, if I set it to go to sleep or hibernate, then wake the computer, and then logout, the screen goes from the 1280×800 to 1024×768. This problem affects both Ubuntu 7.10 and Fedora 8.
Xorg gets the screen size from reading the Extended display identification data (EDID) information from the monitor. It appears that the EDID is read correctly when you start up, but after hibernation or sleep the info gets scrambled.
To correct the problem, I copied the correct EDID info into file when the EDID info is not scrambled. I then have xorg read the file instead of reading it from the monitor.
* Run the following command to launch the Nvidia Settings application:
Code:
gksudo nvidia-settings
* Click on the “DFP-0 – (Seiko) option. This brings up the options for the LCD monitor
* Click on the “Acquire EDID” button. This gets the EDID config info from the LCD monitor and ask where to save it. I saved it as “/etc/X11/SeikoEdid.bin”.
*Sudo edit the /etc/X11/xorg.conf file. Add the following line to the section for “Monitor”.
What seems to be happening is when you start X, it reads the EDID from the monitor. After a suspend or hibernate, you can no longer read the EDID for some reason. As a result, the driver defaults to a lower resolution, causing the screen to shrink. What I am doing is to record the correct EDID information into a file when it is correct and have X read from the file instead of the device. This should work around the problem.
This could be my problem, though I don't know if the fix is suitable. I have an Intel card (and am running Slackware!). Any suggestions?
This could be my problem, though I don't know if the fix is suitable. I have an Intel card (and am running Slackware!). Any suggestions?
The fix is fine. I use it all the time on my laptop, which has an EDID that incorrectly reports the highest resolution mode. One suggestion would be to add 'TerminateServer=true' to kdmrc, so that the Xserver is restarted after logout. This will ensure that your custom EDID file is read when X is restarted.
I got my EDID by using the nvidia-settings program referred to in the link that you posted. ( I had to edit mine with a hex editor according to instructions I found on the Toshiba web page. )
As you have Intel graphics then you will need to find a way to access the EDID. A quick Google search shows that read-edid should do what you want. http://john.fremlin.de/programs/linux/read-edid/
PS The Wikipedia entry for EDID is the best source of technical information that I have seen.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.