Display not working any more

VERSION_ID=“20160130” KDE/LXDE
I was presenting a slide show yesterday and somehow since then the screen does not work any more in Plasma 5. THe startup is normal with the colourful display and the KDE symbol with the progress bar underneath and then it goes black. No mouse - nothing. After a while the blueish green hexagons show but only to 3 quarters of the bottom of the screen, the rest is black. In the black to the left is the mouse pointer but it does not move away from the screen edge. clicking does nothing. I can only use Crtl Alt Backspace to get out and log in again new.
I have this old computer for many years and never had a problem with the settings. The VGA card was detected and it just worked. Only since I plugged in the VGA cable I have this problem. lspci -v shows:

00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) (prog-if 0
0 [VGA controller])
    Subsystem: Gateway, Inc. Device 016d
    Flags: bus master, fast devsel, latency 0, IRQ 29
    Memory at 90000000 (64-bit, non-prefetchable) [size=4]
    Memory at 80000000 (64-bit, prefetchable) [size=256]
    I/O ports at 5110 [size=8]
    Expansion ROM at <unassigned> [disabled]
    Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [d0] Power Management version 3
    Kernel driver in use: i915
    Kernel modules: i915

00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
    Subsystem: Gateway, Inc. Device 016d
    Flags: bus master, fast devsel, latency 0
    Memory at 93500000 (64-bit, non-prefetchable) [size=1]
    Capabilities: [d0] Power Management version 3

The display still works with LXDE which I am using now. Any help is appreciated.
Cheers
uli[/size][/size][/size][/size]

So, tried around. booting with nomodeset gets me inte plasma 5 but only with the resolution 1024x 768. Neither System settings -> Display and Monitor nor xrandr -q shows another option. How do I get my screen settings back???

Maybe switch plasma5 to turnoff desktop effects or switch desktop effects to use xrender.

Thank you for your reply, conram, but this is an old laptop with only 2GB Ram and I have switched of all desktop effects (and installed LXDE in case the KDE desktop is too slow for this old machine). The Plasma 5 was faster than KDE4 and I liked this desktop. What do you mean with “or switch desktop effects to use xrender”?

I mean in the compositor settings for desktop effects if it is turned on under rendering backend, you replace OpenGL with xrender.
Seems you’re out of luck with your graphic card for use in plasma5. If you wish to have a little bit of desktop effects and not
using too much resources of your machine, you can try enlightenment, it is in the openSUSE repository. :wink:

Thanks, conram, but the KDE5 worked perfectly for at least half a year until I plugged in the VGA cable for a slide show. I should be able to go back to that because nothing else has changed. how come that now at best I get only 1024x768 instead of 1280x 800 and that only if I boot with nomodeset? Which settings could have been overwritten? On older versions we had the xorg.conf file with all the settings. Where are the settings now and how can I get back to them?
Cheers
Uli

I tried to put the settings in manually in 50-monitor but I get this:

linux-top:/etc/X11/xorg.conf.d # xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768
default connected primary 1024x768+0+0 0mm x 0mm
   1024x768      76.00* 
linux-top:/etc/X11/xorg.conf.d # cvt 1280 800
# 1280x800 59.81 Hz (CVT 1.02MA) hsync: 49.70 kHz; pclk: 83.50 MHz
Modeline "1280x800_60.00"   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync
linux-top:/etc/X11/xorg.conf.d # xrandr --newmode "1280x800_60.00"   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync
xrandr: Failed to get size of gamma for output default
linux-top:/etc/X11/xorg.conf.d #

What now?

I can’t answer you with that, my apology, I don’t use plasma on a day to day basis and am not too familiar.
Maybe one of the expert here in the forum, might able to help you.

On side note,
Did you try to check the Display and monitor settings in systemsettings5?
There might be a way to change your resolution.

If you boot with “nomodeset”, a generic fallback driver is used which might not support the resolution you want, in particular it doesn’t support wide-screen, just standard VESA modes.

If you have problems without “nomodeset”, it’s this what you should fix.

Which settings could have been overwritten? On older versions we had the xorg.conf file with all the settings. Where are the settings now and how can I get back to them?

xorg.conf can still be used, but probably won’t help you.

I would suggest to reset KDE’s screen settings, that’s the most likely reason for your problems IMHO.
Delete the folder ~/.local/share/kscreen/ for that.

And better remove your changes to the files in /etc/X11/xorg.conf.d/ again.

I have but there is only the setting 1024x768

The fbdev driver doesn’t support to change the resolution on the fly. You can only use the one resolution that is set on boot, by grub2 actually.

So remove “nomodeset” to use the intel driver again, or change the (boot loader) resolution in YaST->System->Boot Loader.

Thank you, wolfi323, I used the e with grub to boot with nomodeset but without - as described before - I only get the tiled screen where I cannot do anything at all. I will try to reboot (without nomodeset) and go into LXDE and see whether I can change the 50-monitor settings there.

Add this entry to /etc/X11/xorg.conf.d/50-screen.conf:


Section "Screen"
        Identifier    "Default Screen"
        Device        "Plasma graphics card"
        Monitor       "Generic Monitor"
        DefaultDepth  24
        SubSection "Display"
                Depth         24
                Modes         "1280x800"
        EndSubSection
EndSection 


Reboot your computer.

Thank you, Romanator, i entered these settings in 50-screen.conf

linux-top:/etc/X11/xorg.conf.d # cat 50-screen.conf 
# Having multiple "Screen" sections is known to be problematic. Make
# sure you don't have in use another one laying around e.g. in another
# xorg.conf.d file or even a generic xorg.conf file. More details can
# be found in https://bugs.freedesktop.org/show_bug.cgi?id=32430.
#
#Section "Screen"
#  Identifier "Default Screen"
#
#  Device "Default Device"
#
#  ## Doesn't help for radeon/radeonhd drivers; use magic in
#  ## 50-device.conf instead
#  Monitor "Default Monitor"
Section "Screen"
        Identifier    "Default Screen"
        Device        "Plasma graphics card"
        Monitor       "Generic Monitor"
        DefaultDepth  24
        SubSection "Display"
                Depth         24
                Modes         "1280x800"
        EndSubSection
EndSection
#
#EndSection
linux-top:/etc/X11/xorg.conf.d # 

made no difference in plasma5 - still get the screen with the hexagons at the bottom and approx 3cm on tob are black with the mouse on the left screen edge and the mouse can move there up and down but not away from the screen edge. No clicking (right or left) changes anything. I tried to reinstall any package with xorg or x11 and that made no difference either.

I am now again in LXDE and the command xrandr gives:

linux-top:/etc/X11/xorg.conf.d # xrandr
Screen 0: minimum 8 x 8, current 1280 x 800, maximum 32767 x 32767
LVDS1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
   1280x800      60.00*+  60.02  
   1024x768      60.00  
   800x600       60.32    56.25  
   640x480       59.94  
DP1 disconnected (normal left inverted right x axis y axis)
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
linux-top:/etc/X11/xorg.conf.d #

Why is this working with LXDE and not with plasma - is it kdm?

It’s definitely not kdm, the display/login manager is the same regardless of the desktop, and kdm is not even installed by default on Leap.

Have you tried to delete Plasma’s screen settings?
~/.local/share/kscreen/

Can you select 1280x800 in KDE’s “Display and Monitor” settings now?

Does it work with a new user account?

Under that there should be a slider that you can increase decrease the resolution.
Another thing, if you go to your /home/fuerstu/.config/autostart
Do you see any file named plasma, if there is delete it. This happens and I see it
when using another DE.

thanks wolfi323 and conram. In LXDE under system settings is “Resolution: no available resolutions”. And conram - there is no slider neither in plasma5 nor in LXDE. I have the sliders on other computers with a better (newer) network card but not on this computer. There is nothing in the file /home/uli/.config/autostart but I thought it does not work with Tumbleweed anyway.
Wolfi323, I have deleted the kscreen directory and will reboot and try another account and come back in a few minutes with the results.

OK - back to normal - the display is working again in another account and in my home directory. I presume it were the settings in ~/.local/share/kscreen/ which were possibly overwritten when the computer started up with the VGA cable inserted (only just before the login). I have to remember that . Thank you very much for your efforts wolfi323 and conram, I really appreciate it.
Cheers
Uli

It’s great to hear that you are up and running.