[Bug 547887] New: intel 965: Changing desktop resolution under KDE doesn't work with Kernel Mode-Setting enabled
http://bugzilla.novell.com/show_bug.cgi?id=547887 Summary: intel 965: Changing desktop resolution under KDE doesn't work with Kernel Mode-Setting enabled Classification: openSUSE Product: openSUSE 11.2 Version: RC 1 Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: ceggers@gmx.de QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.2) Gecko/20090730 SUSE/3.5.2-1.1 Firefox/3.5.2 Kernel mode settings works fine (and very fast) on my hardware: - Switching from X to konsole and back - Switching between multiple X sessions But when I try to change the desktop resolution with KRandRTray, the whole graphics crashes. This meens that I can only see parts of the Desktop and the contents are completely destroyed when I move the mouse. Additionally the screen gets completely white when I try to switch to console. Reproducible: Always Steps to Reproduce: 1. Boot openSUSE 11.2 RC1 from KDE4 Live-CD 2. Enter "i915.modeset=1" in boot options 3. Wait until KDE4 is started 4. Switch to Konsole and back to X some times (may be optional) 5. Change display resolution with KRandRTray === lspci -v == 00:02.1 Display controller: Intel Corporation 82G965 Integrated Graphics Controller (rev 02) Subsystem: Intel Corporation Device 514d Flags: bus master, fast devsel, latency 0 Memory at 90200000 (32-bit, non-prefetchable) [size=1M] Capabilities: [d0] Power Management version 2 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=547887
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=547887
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=547887#c1
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=547887
User ceggers@gmx.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=547887#c2
--- Comment #2 from Christian Eggers
KMS means that the modesetting is done by the kernel.
So you think that this problem is not related to X. Is there a possibility to change the resolution from console? I would like to start the Live-CD in runlevel 3 and check whether the problem also happens when X is not running at all.
all you can do is update your kernel
The Kernel shipped with 11.2RC-1 is quite up to date. There might be only little chance that this problem has changed in the meantime.
The easiest solution for now. Don't use KMS.
Exactly that is what I do currently with openSUSE 11.0. But I often use fast user switching which is quite slow with the old method. And sometimes (seldom) also here the graphics crashes after switching the screen resolution. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=547887
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=547887#c3
--- Comment #3 from Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=547887
User ceggers@gmx.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=547887#c4
--- Comment #4 from Christian Eggers
No, the probem is not reated to X. Mode switching is now done completely in kernel space, if you specifiy i915.modeset=1. As far as I know there is no tool to switch the mode on the console without running X.
I've discovered that the sources of the package "libdrm" contain a test program named "modetest". This tool can be found under /usr/src/packages/BUILD/libdrm/tests after installing and building the source package. With "modetest -s <resolution>" I can change the resolution and a test pattern is displayed. This works only from a virtual terminal (not under X), but a X server may although be running on another console. (When the test pattern is shown it's necessary to switch to another console and back in order to get the terminal back.) I've tried this several times with different resolutions without any failures. Under X I've tested again with "krandrtray" and also with "xrandr -s". The results are varying from time to time. Once I had three concurrent X sessions running with 3 different resolutions and there was no problem altering the settings multiple times (at least with xrandr). Another time already the first change (with only one X session) let my graphics crash (only parts of the desktop are visible, flickering, white screen, ...). Because of the varying results it's difficult to come to a clear conclusion. But without KMS (on my current 11.0 system) I'm suffering from similar problems (but not as often as with KMS). Any hints what to do next? How can I assign the problem clearly to X or the Kernel? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=547887
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=547887#c5
--- Comment #5 from Stefan Dirsch
I've discovered that the sources of the package "libdrm" contain a test program named "modetest". This tool can be found under /usr/src/packages/BUILD/libdrm/tests after installing and building the source package.
With "modetest -s <resolution>" I can change the resolution and a test pattern is displayed. This works only from a virtual terminal (not under X), but a X server may although be running on another console.
Thanks. Didn't know this.
Any hints what to do next?
Not really. :-(
How can I assign the problem clearly to X or the Kernel?
Good question. Next question. :-( As already said, best would be to report it upstream. See comment #1. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=547887
User ceggers@gmx.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=547887#c6
--- Comment #6 from Christian Eggers
Good question. Next question. :-( As already said, best would be to report it upstream. See comment #1.
Done: https://bugs.freedesktop.org/show_bug.cgi?id=24748 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=547887
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=547887#c7
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=547887
http://bugzilla.novell.com/show_bug.cgi?id=547887#c8
Christian Eggers
http://bugzilla.novell.com/show_bug.cgi?id=547887
http://bugzilla.novell.com/show_bug.cgi?id=547887#c
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=547887
https://bugzilla.novell.com/show_bug.cgi?id=547887#c
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=547887
https://bugzilla.novell.com/show_bug.cgi?id=547887#c9
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=547887
https://bugzilla.novell.com/show_bug.cgi?id=547887#c10
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com