LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 01-02-2015, 11:38 AM   #1
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Differences in xrandr between Slackware and multiple distros


So, I'm trying to get my two graphics cards to play nice together and find that most distros, including Slackware, can't seem to get it right... or rather I can't get it right.

I have a Quadro K2000 and an AMD HD7970, each with their own monitor, with an Intel I7 that does not have integrated graphics. The AMD card is in the primary slot.

If I boot the live disk of Knoppix 7.4 or Kaos 2014, the system boots successfully and I get this output in the terminal:

Code:
xrandr --listproviders

Provider 0: id: 0xb3 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 4 associated providers: 1 name:radeon
Provider 1: id: 0x66 cap: 0x7, Source Output, Sink Output, Source Offload crtcs: 4 outputs: 3 associated providers: 1 name:nouveau
Typing
Code:
xrandr --setprovideroutputsource 1 0
makes both screens work together, allowing dragging from one screen to the other

The boot line from kaos is
Code:
initrd=/kdeos/boot/x86_64/kdeosiso.img kdeosisolabel=KAOS_20140820 vga=0x3d2 video=1920x1080  lang=en_US keytable=us layout=us nonfree=no xdriver=no i915.modeset=1 nouveau.modeset=1 radeon.modeset=1
Contrast the situation with Linux Mint 17 live, which only detects the radeon card, but boots... and a handful of other distros, such as openSUSE 13.1, which black screens on live boot, as do some other distros (newest Ubuntu for example). Knoppix 7.4 has the same output as Kaos, but without the explicit modeset kernel commands. So clearly it is possible, and without specifying the modeset kernel commands too.

Slackware 14.1 and now -current (I've been playing around with this for a while) only detects the primary radeon card, just like Mint. However, if I explicitly make a 90-serverlayout.conf file under /usr/share/X11/xorg.conf.d and explicitly make [Screen] and [Device] sections as in https://wiki.archlinux.org/index.php/multihead, then I get two screens, but cannot drag from one to the other, and there's other slightly weird behaviour too.

In fact, if you run xrandr --listproviders in Konsole in primary screen it will only show the radeon card, as before, but running in the secondary only shows the nouveau or nvidia driver, never both.

I have reviewed the Xorg.0.log file any number of times but the etiology of the difference in hardware detection eludes me.

Planning on a reinstall soon, in another attempt to get this all to work, but I'd rather not if I can, and I'd like to stick with Slackware in any case. Any ideas as to why some distros live versions work out of the box, some don't even boot, and most importantly why I can't get Slackware to handle the hardware like Kaos or Knoppix?
 
Old 01-11-2015, 03:11 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,805

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
It will likely come down to the X.Org version employed in the respective dirstros. For example, openSUSE 13.1 is using X.Org X Server 1.14.3.901 (1.14.4 RC 1), and I think openSUSE 13.2 is using 1.16.1

A quick search shows Slackware 14.1 uses 1.14.7, so maybe worth considering Slackware 14.2?
 
Old 01-12-2015, 12:09 PM   #3
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851

Original Poster
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Thanks for responding. Yes, good theory. I've been playing around with it some more. The latest Slackware -current has Xorg 1.15.2, which, without any configuration files, fails. Xorg -configure as root yields "Number of created screens does not match number of detected devices" with a configuration failure.

I have determined that xrandr only shows the one provider in each screen in Slackware because in order to get X to detect both cards and actually run with the multi-monitor setup, I specified two screens in 90-serverlayout.conf.

There must be some way to list the monitors and cards so that X will run but with only one Screen section.

The question then would remain:

What is the xorg.conf file that will yield the equivalent of running xrandr --setprovideroutputsource 1 0, assuming both providers are detected on one screen? Even if Slackware updates xorg to 1.16.* at some point soon, I'll still have to figure that out.
 
  


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
[SOLVED] wireless support in different distros - why the differences? carolus Linux - Laptop and Netbook 13 12-03-2009 02:16 AM
What are the actual differences between distros? davidguygc Linux - Distributions 3 05-05-2007 12:57 PM
Differences among distros beside... telovoyagarcar Linux - General 6 03-13-2007 04:18 PM
[B]Which are some general differences between linux distros[/b] Santorres Linux - Distributions 3 12-08-2003 12:37 PM
Linux Distros Differences thesoccerking Linux - Distributions 3 05-19-2002 11:10 PM

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

All times are GMT -5. The time now is 07:04 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