LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-06-2019, 12:30 PM   #1
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 209

Rep: Reputation: 135Reputation: 135
display problems X-related


It seems that suddenly after a restart of the machine I have developed display problems with text when running X. At first the screen was very magnified perhaps 4x then after fiddling around with things, the fonts became normal but rather pixelated. The taskbar panel in KDE5 has disappeared. Reinstalling KDE5 doesnt help. The view of the fonts is the same in xfce and fluxbox but in terminal modes everything looks fine. pictures and graphics are normal and crisp. I have uninstalled and reinstalled Nvidia and tried Nouveau but the results are the same.

I am running slackware-64 -current and it is running the latest updates to current. Other operating systems on the machine on different disk drives are ok. Any ideas what to look for?
 
Old 07-06-2019, 03:13 PM   #2
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys for decades while testing others to keep up
Posts: 2,263

Rep: Reputation: 2283Reputation: 2283Reputation: 2283Reputation: 2283Reputation: 2283Reputation: 2283Reputation: 2283Reputation: 2283Reputation: 2283Reputation: 2283Reputation: 2283
This is just a rather wild guess but every time I have experienced problems with fonts, editing "/etc/X11/xorg.conf" to add...

Code:
Option      "UseEdidDpi"   "False"
.. iirc, under the "Device" section, has solved it. I can't know if this will work for you but it is likely worth a shot
 
1 members found this post helpful.
Old 07-06-2019, 06:49 PM   #3
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 209

Original Poster
Rep: Reputation: 135Reputation: 135
@enorbet:
I tried what you suggested and it did not seem to help.

Fonts still scraggly in xfce and kde5 and no task manager panel in kde5
Everything otherwise works ok albeit I only have the right mouse click menu in kde for running things.
 
Old 07-06-2019, 07:50 PM   #4
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 209

Original Poster
Rep: Reputation: 135Reputation: 135
I got a fix by the following...

slackpkg reinstall x
reboot

Then I reset the anti-aliasing range which was set to a strange value.
and I restored the panel in KDE5 via the right-click popup menu. I left enorbet's line in xorg.conf as he suggested. Things are reasonably back to normal but I am a bit unaware of what precipitated the scrozzling of X stuff.

Last edited by Regnad Kcin; 07-06-2019 at 07:53 PM.
 
Old 07-07-2019, 03:08 PM   #5
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys for decades while testing others to keep up
Posts: 2,263

Rep: Reputation: 2283Reputation: 2283Reputation: 2283Reputation: 2283Reputation: 2283Reputation: 2283Reputation: 2283Reputation: 2283Reputation: 2283Reputation: 2283Reputation: 2283
Quote:
Originally Posted by Regnad Kcin View Post
I got a fix by the following...

slackpkg reinstall x
reboot

Then I reset the anti-aliasing range which was set to a strange value.
and I restored the panel in KDE5 via the right-click popup menu. I left enorbet's line in xorg.conf as he suggested. Things are reasonably back to normal but I am a bit unaware of what precipitated the scrozzling of X stuff.
The "UseEdidDpi False" line simply protects against some monitors, especially modern TVs that double as PC Monitors, with dodgy EDID code. It isn't hard to toggle to check if yours is or isn't. I'm glad you got it working OK but the emboldened line is exactly why I don't even try automated managers like Slackpkg. I don't wish to cast any negativity towards that specific application but I need to know exactly what is going on or I get lost and befuddled. Slackware on it's own requires extremely little maintenance when we keep it simple.
 
1 members found this post helpful.
Old 07-08-2019, 04:29 AM   #6
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 209

Original Poster
Rep: Reputation: 135Reputation: 135
Further discoveries on the probable cause: Unplugging and plugging in different video displays.
My machine is a DIY luggable with a M-ITX AsRock mainboard and a 1000W GreatWall Power supply and a Gigabyte MITX style Nvidia 1060 video card. I take this machine travelling with me around Asia and I plug in the video card to a wide range of display devices. The NVidia/Gigabyte card has two DVI-D ports, a HDMI port and a Display Port adapter. On the road in meetings I plug in my Wacom pad and what ever type of video display the meeting room has. I have various adapters hdmi to vga, dvid to vga, dvid to hdmi, display port to vga. Most meeting rooms use either HDMI or VGA setups and most new ones are 1980x1280 which is no sweat at all. I can drive up to four monitors off the videocard without screentearing or lockup, but seldom use more than 3 and usually only one or two monitors. The wacom pad uses HDMI input and i like it on the lowest numbered display port, usually with a small DVI-D to HDMI adapter. I also use this monitor at home and at the office/lab with dual monitors, usually with the wacom pad.
My recent problem started recently at a reboot after unplugging and plugging some displays. I got weird magnification of the screen, scrozzled fonts, and a disappeared panel in KDE. I got things back to normal after reinstalling X and retweaking some menu items. But where did that taskbar panel go? Today I plugged in a hirez monitor to assist in some multiscreen work and lo and behold there is the lost taskbar panel at the bottom of the added screen! and the rebuilt one on the other screen!
So I think I need to study a lot more about how X works and how it interacts with added and removed monitors in ways that are beyond the reach of the Nvidia and KDE settings to adjust and configure. Just thought you all would like to know.
 
Old 07-08-2019, 05:22 AM   #7
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys for decades while testing others to keep up
Posts: 2,263

Rep: Reputation: 2283Reputation: 2283Reputation: 2283Reputation: 2283Reputation: 2283Reputation: 2283Reputation: 2283Reputation: 2283Reputation: 2283Reputation: 2283Reputation: 2283
You might benefit from a little study on the "xrandr" and "cvt" commands. They can help a great deal when you resize a lot on different displays. I've recently been fighting some monitor issues myself and they have helped me greatly. Now if I could only see the full width of boot text pre X on some cranky monitors.....
 
Old 07-08-2019, 10:50 PM   #8
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 209

Original Poster
Rep: Reputation: 135Reputation: 135
I used to use cvt and xrandr frequently but havent thought that I needed to recently because it seemed that the video card figures it out these days. I used to have some little shell scripts to set up each monitor but wow that's been a while back. had sort of forgotten about doing that.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
we have vfd pole display detected as hiddev0. how to display data on the vfd display kpr_hrc Linux - Newbie 2 03-21-2016 06:03 AM
display the modules related to my wifi card htamayo Debian 2 10-29-2010 03:08 PM
gdm/xdmcp related: there already appears to be an X server running on display :0 parv Linux - General 2 07-31-2009 01:26 PM
Kubuntu V8.10 - Display problem that is not related to X. Turbomammoth Linux - General 2 01-10-2009 01:21 PM
Related display problem in SUSE 9.2 giorgos SUSE / openSUSE 2 08-03-2005 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration