This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Video card died, system shut down, KDE went haywire.

Tags: None
(comma "," separated)
User avatar
adamno
Registered Member
Posts
27
Karma
0
OS
Mint 17.3, KDE4

On Friday, I was playing a game and my video card popped and caught fire. Crazy night. My system shut down immediately when the card went out. Anyway, I just got my system set back up temporarily on integrated graphics.. when I got back into Mint for the first time, I was given a message at the top of the login screen saying something like "continue to wait or press s to skip mounting or m for manual recovery". I hit S.. I think. I stupidly just kinda whizzed though it thinking things would be fine.

Anyway, I get back into KDE and all sorts of things are broken.

* All of my windows are missing titlebars. It's just the application menu at the top (file/edit/etc).
* I get a resize cursor when I hover over the edge of a window, but I can't resize any windows.
* Typing doesn't work at all.. it works when I enter my password at login in MDM.. but nowhere else.
* I get minimize/maximize/exit buttons in Chrome, but they're completely nonfunctional.. pressing them does nothing.
* Application buttons are not showing up in my task bar when I launch something.
* Most new programs I open start up at 0,0 on my screen (top-left corner), despite me having KDE configured to start up all programs center screen.

I'm completely at a loss here. Any idea what could be screwed up or how to repair it? This seems to be related more to KDE than anything else.. but I suppose I could be wrong.
User avatar
google01103
Manager
Posts
6668
Karma
25
I would guess its your graphics drivers, but no within my knowledge base

you should post what the card was that died and the integrated graphics now used. I would try reinstalling the drivers

in Konsole run
Code: Select all
kwin_x11 --replace
there should be errors


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
adamno
Registered Member
Posts
27
Karma
0
OS
google01103 wrote:I would guess its your graphics drivers, but no within my knowledge base

you should post what the card was that died and the integrated graphics now used. I would try reinstalling the drivers

in Konsole run
Code: Select all
kwin_x11 --replace
there should be errors


I'll try that when I get home from work, thanks. Video card was a GTX 780, integrated graphics is Intel HD 530 on a i7-6700k. Do you really think graphics drivers could cause all of those weird issues?

I never switched drivers when I booted back into Mint. I couldn't do it from the driver manager anyway since I am unable to type my password in.. so I'll have to drop into a TTY session I suppose.. hopefully those keys work... :-\ . If not, maybe I can mod the grub params for it
User avatar
google01103
Manager
Posts
6668
Karma
25
either that or a bad upgrade

remove the Nvidia drivers and then reinstall the Intel ones, maybe the system is still loading the Nvidia drivers and using them


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
adamno
Registered Member
Posts
27
Karma
0
OS
I will give it a shot, thank you.
User avatar
adamno
Registered Member
Posts
27
Karma
0
OS
So it's been a couple days.

I tried out
Code: Select all
kwin_x11 --replace
from a TTY session and it was saying command not found. Maybe I did it from the wrong one?

I also tried setting grub parameters for intel graphics (i915.modeset=0) and that didn't have any effect either. I couldn't figure out how to install intel drivers from the command line. It seems intel supplies a tool to install the drivers, but it's a gui tool.

Unless someone has any other suggestions, I'm probably just going to hold out until my new video card arrives in a week or two and continue to boot into Windows.
User avatar
google01103
Manager
Posts
6668
Karma
25
kwin_x11 command won't work in a tty session, you need to run in in Konsole when you're in you broken KDE session


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
adamno
Registered Member
Posts
27
Karma
0
OS
google01103 wrote:kwin_x11 command won't work in a tty session, you need to run in in Konsole when you're in you broken KDE session


Figured as much. Problem is, from my original post, I can't type. That's the biggest part of my issue. It responds to some hotkeys, like ctrl+alt+f1 worked fine to enter tty.. but no text input is received into any application. Which also means I can't run anything that asks for a password.. so I couldn't open my driver manager or anything.

So I can open Konsole, but I can't do anything with it
User avatar
adamno
Registered Member
Posts
27
Karma
0
OS
Ah-HA... I might be onto something here.

I booted back into Mint and tested out Konsole. I indeed cannot type into it... but my system info script revealed some info.

It says WM Not Found, and that my GPU is "Gallium 0.4 on llvmpipe", whatever that is.

Image

I am able to paste text into Konsole. I typed the kwin_x11 command in a browser (firefox and chrome are only programs that will accept text input), and copied it and pasted it into Konsole along with a new line chraracter to execute it. It still says command not found. Something seems borked with kwin
User avatar
google01103
Manager
Posts
6668
Karma
25
rally no ideas about this stuff

if this is the script you ran (https://gist.github.com/DennisLfromGA/7829243) then the "wm not found" means there is no window manager (including kwin) currently running

try reinstalling the xserver-xorg-video-intel pkg after uninstalling the nvidia drivers


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
adamno
Registered Member
Posts
27
Karma
0
OS
Ok thanks. I tried

Code: Select all
sudo apt-get remove --purge nvidia-*
sudo apt-get remove --purge xserver-xorg-video-intel
sudo apt-get install xserver-xorg-video-intel


Rebooted. Thankfully I didn't break anything doing that :) But I'm still in the exact same situation.

I'm out of ideas.
User avatar
google01103
Manager
Posts
6668
Karma
25
maybe you're config got corrupter, try creating and logging in as a new user https://askubuntu.com/questions/643411/ ... g-features

other option would be to reinstall all the kde packages


OpenSuse Leap 42.1 x64, Plasma 5.x

louis94
Registered Member
Posts
99
Karma
1
OS
Hello,

The message about libEGL.so.1 not being found is important. That file can come from both the NVIDIA driver or libegl1-mesa, so try to reinstalling the latter:
Code: Select all
sudo apt-get remove --purge libegl1-mesa
sudo apt-get install libegl1-mesa

After that, KWin might work, so try to launch it:
Code: Select all
kwin --replace &

If this doesn't work, you can also try removing any xorg.conf:
Code: Select all
sudo rm /etc/X11/xorg.conf

Then try again with KWin.

If KWin still doesn't work, you can get back keyboard input. Just install some random window manager, for sample Openbox:
Code: Select all
sudo apt-get install openbox

Then, just start Openbox (from within a graphical session) with:
Code: Select all
openbox --replace &

You should get window decorations. Post here any error message from KWin.

Louis
User avatar
adamno
Registered Member
Posts
27
Karma
0
OS
Thanks so much Louis!

You got Kwin back up for me, I did have some issues though. When I removed libegl1-mesa, it wanted to remove a lot of other packages. I went ahead and said yes, and none were added back in when I reinstalled mesa. I'm not sure which ones I should reinstall manually. I had to manually reinstall kde-window-manager, and it was then that my desktop popped back into existence :)

I also get quite a few errors running kwin --replace & (some of this could be due to me having Skylake and an older kernel; 3.19 - I read something about that HERE)


sudo apt-get remove libegl1-mesa

Code: Select all
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  bbswitch-dkms g++ gir1.2-keybinder-3.0 gir1.2-notify-0.7 libcublas5.5
  libcudart5.5 libcufft5.5 libcufftw5.5 libcuinj64-5.5 libcurand5.5
  libcusparse5.5 libfdk-aac0 libjansson4 libkeybinder-3.0-0
  libkwinactiveeffects1abi5 libnppc5.5 libnppi5.5 libnpps5.5 libnvtoolsext1
  libnvvm2 libqt5core5a libqt5dbus5 libthrust-dev libxcb-icccm4
  libxcb-render-util0 libxcb-xinerama0 libxcb-xkb1 libxkbcommon-x11-0
  python3-pylast screen-resolution-extra
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  gstreamer1.0-clutter* gstreamer1.0-plugins-bad*
  gstreamer1.0-plugins-bad-faad* gstreamer1.0-plugins-bad-videoparsers*
  kde-window-manager* kde-workspace* libclutter-1.0-0* libclutter-gst-2.0-0*
  libclutter-gtk-1.0-0* libcogl-pango15* libcogl15* libegl1-mesa*
  libegl1-mesa-drivers* libgstreamer-plugins-bad1.0-0* libkwinglesutils1*
  libkwinglutils1abi3* libqt5gui5* libqt5widgets5* libqt5x11extras5*
  libsdl2-2.0-0* libtotem0* libwayland-egl1-mesa* mint-meta-codecs*
  obs-studio* openra* pithos* totem* totem-mozilla* totem-plugins-extra*
  xserver-xorg-video-ati* xserver-xorg-video-glamoregl*
0 upgraded, 0 newly installed, 31 to remove and 0 not upgraded.
After this operation, 71.9 MB disk space will be freed.
Do you want to continue? [Y/n] Abort.



kwin --replace &

Code: Select all
adam@adam-mint:~ > kwin --replace &
[1] 4653
adam@adam-mint:~ > QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
Bus::open: Can not get ibus-daemon's address.
IBusInputContext::createInputContext: no connection to ibus-daemon
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread
libGL error: pci id for fd 4: 8086:1912, driver (null)
i965_dri.so does not support the 0x1912 PCI ID.
libGL error: failed to create dri screen
libGL error: failed to load driver: i965
libGL error: pci id for fd 22: 8086:1912, driver (null)
i965_dri.so does not support the 0x1912 PCI ID.
libGL error: failed to create dri screen
libGL error: failed to load driver: i965
OpenGL vendor string:                   VMware, Inc.
OpenGL renderer string:                 Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits)
OpenGL version string:                  2.1 Mesa 10.1.3
OpenGL shading language version string: 1.30
Driver:                                 LLVMpipe
GPU class:                              Unknown
OpenGL version:                         2.1
GLSL version:                           1.30
Mesa version:                           10.1.3
X server version:                       1.15.1
Linux kernel version:                   3.19
Direct rendering:                       yes
Requires strict binding:                yes
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no
NO VSYNC! neither glSwapInterval nor glXWaitVideoSync are supported
kwin(4653): OpenGL driver recommends XRender based compositing. Falling back to XRender.
kwin(4653): To overwrite the detection use the environment variable KWIN_COMPOSE
kwin(4653): For more information see http://community.kde.org/KWin/Environment_Variables#KWIN_COMPOSE
QObject::connect: Cannot connect (null)::resetCompositing() to KWin::Compositor::restart()
kwin(4653): Failed to initialize compositing, compositing disabled
kwin(4653): Consult http://techbase.kde.org/Projects/KWin/4.0-release-notes#Setting_up
kwin(4653) KWin::EffectsHandlerImpl::loadEffect: EffectsHandler::loadEffect : Effect  "kwin4_effect_magiclamp"  is not supported
kwin(4653) KWin::EffectsHandlerImpl::loadEffect: EffectsHandler::loadEffect : Effect  "kwin4_effect_blur"  is not supported
kwin(4653) KWin::EffectsHandlerImpl::loadEffect: EffectsHandler::loadEffect : Effect  "kwin4_effect_wobblywindows"  is not supported
kwin(4653) KWin::EffectsHandlerImpl::loadEffect: EffectsHandler::loadEffect : Effect  "kwin4_effect_startupfeedback"  is not supported
kwin(4653) KWin::EffectsHandlerImpl::loadEffect: EffectsHandler::loadEffect : Effect  "kwin4_effect_cube"  is not supported
kwin(4653) KWin::EffectsHandlerImpl::loadEffect: EffectsHandler::loadEffect : Effect  "kwin4_effect_cubeslide"  is not supported
kwin(4653) KWin::EffectsHandlerImpl::loadEffect: EffectsHandler::loadEffect : Effect  "kwin4_effect_coverswitch"  is not supported
louis94
Registered Member
Posts
99
Karma
1
OS
adamno wrote:Thanks so much Louis!

You're welcome.

adamno wrote:When I removed libegl1-mesa, it wanted to remove a lot of other packages. (…) I'm not sure which ones I should reinstall manually.

From what you posted, I think you need to reinstall the following:
Code: Select all
kde-workspace obs-studio openra pithos totem totem-mozilla totem-plugins-extra xserver-xorg-video-ati xserver-xorg-video-glamoregl


adamno wrote:I also get quite a few errors running kwin --replace & (some of this could be due to me having Skylake and an older kernel; 3.19 - I read something about that HERE)

You still don't have HW acceleration. Try the GRUB parameter from the Arch wiki, or install a backported version of the driver: xserver-xorg-video-intel-lts-wily should be much more recent.

Louis


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]