LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 01-06-2018, 12:04 AM   #1
vitorqb
LQ Newbie
 
Registered: Jul 2017
Posts: 4

Rep: Reputation: Disabled
Adjust screen resolution


Hello,

I have installed Slackware 14.2 in a brand new Dell Inspiron 13 5000 series. Slackware installation went surprisingly well with no problems, but I'm having a hard time configuring the X windows.

I was able to run startx (I use i3wm) without any specific xorg configuration file. However the default font size for all programs are too small and everything stays almost unreadable. I have googled and since it happens at all programs I open I saw that it must be a problem with the resolution of the X window. I have been googling for an hour or so trying to find how to set the resolution but I can't find an answer.

I tried to run krandrtray command to set the resolution but only the current one (1920x1080) is available.

I tried to run xorgsetup to create a .xorg but if I do when I try to call startx an error message appears saying that no screen was found.

I tried X -configure but it says that the number of screens counted is incorrect.

I tried to force startx with a --dpi argument but it makes the X session to crash.

I have run out of ideas and most of the answers I find on google are rather very old and/or confusing.

Im not sure which commands output are informative in this situation. My output to lspci -vnn is below.

Any ideas on how I could change the resolution? Thanks!

Code:
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:5904] (rev 02)
	Subsystem: Dell Device [1028:0740]
	Flags: bus master, fast devsel, latency 0
	Capabilities: [e0] Vendor Specific Information: Len=10 <?>

00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:5916] (rev 02) (prog-if 00 [VGA controller])
	Subsystem: Dell Device [1028:0740]
	Flags: bus master, fast devsel, latency 0, IRQ 11
	Memory at d0000000 (64-bit, non-prefetchable) [size=16M]
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: [40] Vendor Specific Information: Len=0c <?>
	Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
	Capabilities: [ac] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [100] Process Address Space ID (PASID)
	Capabilities: [200] Address Translation Service (ATS)
	Capabilities: [300] Page Request Interface (PRI)

00:04.0 Signal processing controller [1180]: Intel Corporation Device [8086:1903] (rev 02)
	Subsystem: Dell Device [1028:0740]
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at d1220000 (64-bit, non-prefetchable) [size=32K]
	Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 3
	Capabilities: [e0] Vendor Specific Information: Len=0c <?>
	Kernel driver in use: proc_thermal
	Kernel modules: processor_thermal_device

00:13.0 Non-VGA unclassified device [0000]: Intel Corporation Device [8086:9d35] (rev 21)
	Subsystem: Dell Device [1028:0740]
	Flags: bus master, fast devsel, latency 0, IRQ 11
	Memory at d1239000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: [80] Power Management version 3
 
Old 01-06-2018, 02:26 AM   #2
cgorac
Member
 
Registered: Oct 2009
Posts: 146

Rep: Reputation: 87
Could you post your xrandr output?

I wouldn't go with changing resolution, instead you may try first with setting Xft.dpi in your ~/.Xresources file. High-DPI screens are still problematic with Linux, and you'll probably have to do several customizations. The Arch Linux page is probably the best resource in that regard.
 
Old 01-06-2018, 06:46 AM   #3
vitorqb
LQ Newbie
 
Registered: Jul 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by cgorac View Post
Could you post your xrandr output?
Code:
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
   1920x1080      0.00*
Quote:
Originally Posted by cgorac View Post
I wouldn't go with changing resolution, instead you may try first with setting Xft.dpi in your ~/.Xresources file.
This appears to have solved 90% of the problem, as most applications are now much more readable. Thanks a lot .


Quote:
High-DPI screens are still problematic with Linux, and you'll probably have to do several customizations. The Arch Linux page is probably the best resource in that regard.
Thanks for the tip. I have indeed realized that there are other configuration problems I'll have to tackle (my X session is crashing sometimes and specially it won't close correctly, preventing the whole computer to shutdown). If I need help on those topics I'll begin another post. The link you gave will probably help.

Thanks.
 
  


Reply



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
SUSE - How to adjust Screen Resolution OasisTech Linux - Newbie 6 12-31-2010 01:39 PM
Can't adjust screen resolution Der Artz Linux - Newbie 15 05-31-2010 05:29 PM
how do I adjust the screen resolution on Ubuntu MurX Ubuntu 8 06-29-2006 07:50 PM
How to adjust the screen resolution? magamandrake Linux - Hardware 4 09-14-2005 11:03 AM
adjust screen resolution BDemers Linux - Newbie 5 08-18-2005 04:50 AM

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

All times are GMT -5. The time now is 07:43 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
Open Source Consulting | Domain Registration