Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-12-2018, 08:52 AM   #1
LQ Newbie
Registered: Jul 2018
Distribution: Slackware64-14.2 Multilib
Posts: 2

Rep: Reputation: Disabled
Configuring X on GeForce GTX 960M card

Hi, I'm very new to Slackware (using 64-bit version 14.2) and I have no idea what I'm doing, to be honest.

I've been having problems with configuring X on GeForce GTX 960M graphics card with a 4K resolution (everything is very small, even the ter-v32b.psf.gz font that I set up for console is a bit too small for me). These are the steps I took so far.

1. As far as I understood, the nouveau driver doesn't work well with my card so I downloaded and installed a propriety driver from Nvidia.
2. Blacklisted nouveau in /etc/modprobe.d/blacklist.conf
3. Created a /etc/X11/xorg.conf automatically using nvidia-xconfig
4. startx in tty1. Got (EE) no screens found(EE).
5. Added BusID from output of nvidia-xconfig --query-gpu-info to xorg.conf "Devices" section.
6. startx. Now I get just a black screen.
7. Realize I don't need a xorg.conf file. Delete it. Now startx works but everything is still miniaturized.
8. The only way I could fix this temporarily is by typing xrandr -s 1920x1080 while in X. But I have to do this every time after I startx manually.
9. I was using fluxbox window manager before. xrandr -s 1920x1080 somewhat worked for it. Now I tried changing to fvwm2: I get a the 1920x1080 resolution but I also hide 3/4 of the rest of the screen. Apparently, this isn't a good solution.

Last edited by esma; 07-12-2018 at 02:07 PM. Reason: added additional steps I took
Old 07-12-2018, 03:29 PM   #2
LQ Newbie
Registered: Jul 2018
Distribution: Slackware64-14.2 Multilib
Posts: 2

Original Poster
Rep: Reputation: Disabled
I'm not sure how stable this is but it seems to work for now. Somehow I got this solution from the Multihead article at ArchWiki:

Created 10-monitor.conf at /etc/X11/xorg.conf.d/ and, using output of command 'gtf 1920 1080 60' typed this in:

Section "Monitor"
Identifier "1920x1080_60_00"  170.80  1920 2040 2248 2576  1080 1081 1084 1118 -HSync +Vsync
Option "PreferredMode" "1920x1080_60.00"
Option "DPMS" "true"
Ok... So this may seem to be solved since I titled this thread "Configuring X...". But is there a way to get either a larger font for tty in a 4K monitor or lower the resolution of tty to 1920x1080?

Last edited by esma; 07-12-2018 at 03:33 PM.
Old 07-12-2018, 04:02 PM   #3
Senior Member
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.2
Posts: 1,534

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
have you tried changing your DPI to a higher value? Probably won't have an effect on tty1 font, but it might help if X fonts are on the small side.

Last edited by Daedra; 07-12-2018 at 04:03 PM.
Old 07-12-2018, 06:01 PM   #4
Registered: Aug 2007
Posts: 284

Rep: Reputation: 82
Identifier "1920x1080_60_00" 170.80 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync
Option "PreferredMode" "1920x1080_60.00"
If you scale down your entire display doesn't this defeat the whole purpose of owning a 4K display. Do 4K wallpapers and photos display at full resolution or are they scaled down to HD or are cropped to 1/4 visible at 100% resolution ? Do a test by downloading a 3840X2160 photo and view it at 100% with the appropriate application in your DE.

The proper way to handle 4K displays is to scale all of your applications up by a factor of 2 using gnome settings or kde plasma settings, firefox or google chrome settings and other application settings. This way all UI elements appear at the same size as HD but are drawn with 4X the pixels so are much sharper. Since the display remains 4K all photos and videos are 8+ megapixel.

If you keep the display at 4K (3840X2160) photos and wallpapers, possibly 4K videos all will remain high resolution. To make your display usable you have to scale all your applications to double size.

From the linked page:

When it comes to HiDPI-ready apps, Linux developers have a way to go. However, once you get GNOME set up for HiDPI, it looks great. You paid top dollar for that HiDPI screen after all; it's worth the time to set up your desktop to take advantage of it. Plus, you can finally appreciate all those super-high resolution wallpapers.

Last edited by tofino_surfer; 07-13-2018 at 11:56 AM.


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
Using bumblebee with Dell Inspiron 7559 Core i5 Nvidia GTX 960M Elementary OS 0.4.1. Loki BlackTuxian Linux - Hardware 1 03-18-2018 07:45 PM
[SOLVED] Installing Nvidia drivers for GeForce GTX 960M Optimus GPU on Debian 9.0 mrteetoe Linux - Software 4 12-19-2017 06:29 PM
LXer: NVIDIA's GeForce GTX 750 Is A Great $120 Linux Graphics Card LXer Syndicated Linux News 0 03-03-2014 11:03 PM
geforce gtx 480 johnh10000 Linux - Hardware 4 04-16-2010 01:46 PM
Geforce Go 7950 GTX Houseoffun Linux - Hardware 1 01-20-2007 06:25 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:39 AM.

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