Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Triple Monitor Errors in KDE 5 + Other Error
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
netwinder
n00b
n00b


Joined: 23 Jun 2016
Posts: 24

PostPosted: Thu Jun 23, 2016 3:34 pm    Post subject: Triple Monitor Errors in KDE 5 + Other Error Reply with quote

Hello Gentoo Fourms,

Recently I decided to install Gentoo, and the installation was rather painless (yay). However as soon as I got into the world of installing the graphics drivers and getting a GUI working things turned a bit sour. I did get KDE5 working, and the FGLRX driver as well, however only 2 of my 3 monitors work.

A few bits of useful information about the setup: I have 2 graphics cards. One graphics card (R7 250) is connected to 2 of my 3 monitors, and then the 2nd graphics card (HD 5450) is connected to my third monitor. I can verify that this setup does in fact work (Back when I had Fedora 22 I could use all 3 without problems, however Fedora 22 didnt use the closed source driver).

Something interesting: I am able to drag my mouse to the 3rd monitor, but my cursor turns to an X and I have no desktop on there. The monitor is just black (but on).

Some other things regarding KDE5:

If I were to attempt dragging a window from one of my working monitors to the other, I can physically drag it to the other monitor but KDE thinks i'm trying to snap it to the side of the monitor that the window is leaving, therefore if i release the window in the other monitor the window just snaps to the side of the monitor that it was leaving.

My apologies if that's an awkward sentence, its the best I can describe it.

Some useful outputs:

Code:

Gentoo ~ # lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Oland XT [Radeon HD 8670 / R7 250/350]
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series]


And my xorg.conf
Code:

Section "ServerLayout"
        Identifier     "aticonfig Layout"
        Screen      0  "aticonfig-Screen[0]-0" 0 0
        Screen         "aticonfig-Screen[1]-0" RightOf "aticonfig-Screen[0]-0"
        Screen         "amdcccle-Screen[1]-1" RightOf "aticonfig-Screen[1]-0"
        Screen         "aticonfig-Screen[0]-0" RightOf "amdcccle-Screen[1]-1"
EndSection

Section "Module"
EndSection

Section "ServerFlags"
        Option      "Xinerama" "off"
EndSection

Section "Monitor"
        Identifier   "aticonfig-Monitor[0]-0"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
EndSection

Section "Monitor"
        Identifier   "1-CRT1"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
        Option      "PreferredMode" "1280x1024"
        Option      "TargetRefresh" "75"
        Option      "Position" "1920 0"
        Option      "Rotate" "normal"
        Option      "Disable" "false"
EndSection

Section "Monitor"
        Identifier   "aticonfig-Monitor[1]-0"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
EndSection

Section "Monitor"
        Identifier   "0-DFP2"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
        Option      "PreferredMode" "1920x1080"
        Option      "TargetRefresh" "60"
        Option      "Position" "0 0"
        Option      "Rotate" "normal"
        Option      "Disable" "false"
EndSection

Section "Monitor"
        Identifier   "0-CRT1"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
        Option      "PreferredMode" "1280x1024"
        Option      "TargetRefresh" "75"
        Option      "Position" "1920 0"
        Option      "Rotate" "normal"
        Option      "Disable" "false"
EndSection

Section "Monitor"
        Identifier   "1-CRT1"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
        Option      "PreferredMode" "1280x1024"
        Option      "TargetRefresh" "75"
        Option      "Position" "0 0"
        Option      "Rotate" "normal"
        Option      "Disable" "false"
EndSection

Section "Monitor"
        Identifier   "aticonfig-Monitor[0]-0"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
EndSection

Section "Device"
        Identifier  "aticonfig-Device[0]-0"
        Driver      "fglrx"
        Option      "Monitor-DFP2" "0-DFP2"
        Option      "Monitor-CRT1" "0-CRT1"
        Option      "Monitor-CR1T" "1-CRT1"
        BusID       "PCI:1:0:0"
EndSection

Section "Device"
        Identifier  "aticonfig-Device[1]-0"
        Driver      "fglrx"
        Option      "Monitor-CRT1" "1-CRT1"
        BusID       "PCI:6:0:0"
EndSection

Section "Device"
        Identifier  "amdcccle-Device[1]-1"
        Driver      "fglrx"
        Option      "Monitor-DFP2" "0-DFP2"
        BusID       "PCI:1:0:0"
        Screen      1
EndSection

Section "Device"
        Identifier  "aticonfig-Device[0]-0"
        Driver      "fglrx"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[0]-0"
        Device     "aticonfig-Device[0]-0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Virtual   3200 3200
                Depth     24
        EndSubSection
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[1]-0"
        Device     "aticonfig-Device[1]-0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[2]-0"
        Device     "aticonfig-Device[2]-0"
        Monitor    "aticonfig-Monitor[2]-0"
EndSection

Section "Screen"
        Identifier "amdcccle-Screen[1]-1"
        Device     "amdcccle-Device[1]-1"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[0]-0"
        Device     "aticonfig-Device[0]-0"
        Monitor    "aticonfig-Monitor[0]-0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection



Thank you for your time :D


Last edited by netwinder on Thu Jun 23, 2016 6:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8933

PostPosted: Thu Jun 23, 2016 4:00 pm    Post subject: Reply with quote

It's been a long time I was looking at such a big xorg.conf. And fglrx is more or less abandoned by AMD, you won't get support for newer kernels and xorg-server versions. Therefore I advise you to not waste any time with it and instead migrate straight to the opensource radeon drivers. They generally offer great support and performance these days, at least if it you don't expect same-day hardware support. That will enable you to cut down on xorg.conf to about 4 lines and to not rely on hacks to get the binary blob going.
Back to top
View user's profile Send private message
netwinder
n00b
n00b


Joined: 23 Jun 2016
Posts: 24

PostPosted: Thu Jun 23, 2016 4:07 pm    Post subject: Reply with quote

Thanks! I will try migrating from FGLRX to Radeon, and I'll post back how the results go. (or if it gets even more broken :lol: )
Back to top
View user's profile Send private message
netwinder
n00b
n00b


Joined: 23 Jun 2016
Posts: 24

PostPosted: Thu Jun 23, 2016 6:14 pm    Post subject: Reply with quote

Hello Again,

I just installed the radeon driver and configured it, however it is broken. Here's what occurs:

If i try running startx, there is a fatal server error "no screens found"

If I look through the x log file, i see this:

https://bpaste.net/show/65a70690b5a8

And my xorg conf file is this now:

https://bpaste.net/show/894596fe779f

Any ideas?

NOTE: If i try running ssdm (for login) i get

Code:

/usr/xbin/xauth: (stdin):1:   bad "remove" command line
/usr/xbin/xauth: (stdin):2:   bad "add" command line
/usr/xbin/xauth: (stdin):1:   bad "remove" command line
/usr/xbin/xauth: (stdin):2:   bad "add" command line
Segmentation Fault
Back to top
View user's profile Send private message
netwinder
n00b
n00b


Joined: 23 Jun 2016
Posts: 24

PostPosted: Thu Jun 23, 2016 7:19 pm    Post subject: Reply with quote

I've changed my xorg.conf, to no avail:

Code:

Section "Device"
    Identifier "Card0"
    Driver "Radeon"
    BusID "PCI:1:00.0"
EndSection

This still does not work with "No screens found"

Any ideas?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8933

PostPosted: Thu Jun 23, 2016 7:51 pm    Post subject: Reply with quote

https://wiki.gentoo.org/wiki/Radeon#xorg.conf

Please also follow the rest of the guide. Capitalisation is important.
Back to top
View user's profile Send private message
netwinder
n00b
n00b


Joined: 23 Jun 2016
Posts: 24

PostPosted: Thu Jun 23, 2016 8:18 pm    Post subject: Reply with quote

I changed the configuration file to match the one in the tutorial, and yes this time around i changed Radeon to radeon, same output still from both startx and sddm
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8933

PostPosted: Thu Jun 23, 2016 9:04 pm    Post subject: Reply with quote

Did you follow the rest of the tutorial? Because it seems your kernel is still the one from 2 days ago, but for configuring radeon you should actually have built a new one including possibly firmware for your card.
Back to top
View user's profile Send private message
netwinder
n00b
n00b


Joined: 23 Jun 2016
Posts: 24

PostPosted: Fri Jun 24, 2016 12:25 am    Post subject: Reply with quote

Hello again!

Sorry that took long... I forgot to do something in the installation which was very stupid of me. I made my boot partition of type fat however i didnt compile fat support into the kernel. Once i sorted that out it was then an issue of "wait why is grub broken"

All is fixed now, I compiled the graphics support into the kernel and uname -a shows the kernel is from today HOWEVER no screens are found still.

So now i ask what firmware did I need to compile into the kernel? I did everything said in the radeon tutorial.

One question (this may be where i messed up) https://wiki.gentoo.org/wiki/Radeon#Firmware under here they say "radeon/<CARD-MODEL>.bin should be replaced with the full list (space separated) appearing in front of the chipset's name in the table below (e.g. for Northern Islands TURKS the correct entry into the kernel would be: (radeon/BTC_rlc.bin radeon/TURKS_mc.bin radeon/TURKS_me.bin radeon/TURKS_pfp.bin radeon/TURKS_smc.bin radeon/SUMO_uvd.bin) " but where in menuconfig do i enter these .bin declarations?

Device Drivers --->
Generic Driver Options --->
-*- Userspace firmware loading support
[*] Include in-kernel firmware blobs in kernel binary
(radeon/<YOUR-MODEL>.bin)
(/lib/firmware) Firmware blobs root directory

Under the "Include in-kernel firmware blobs in kernel binary" option there is no place to enter the specific names of the drivers, it instead says something in regards to external blobs to be compiled in

I did try entering the names of the blobs seperated by spaces into the external blobs segment, but make returned errors in regards to them.

Any ideas?

Thanks for your time :D
Back to top
View user's profile Send private message
kharitonow
n00b
n00b


Joined: 10 Dec 2015
Posts: 38

PostPosted: Fri Jun 24, 2016 3:34 pm    Post subject: Reply with quote

netwinder wrote:
Hello again!

Sorry that took long... I forgot to do something in the installation which was very stupid of me. I made my boot partition of type fat however i didnt compile fat support into the kernel. Once i sorted that out it was then an issue of "wait why is grub broken"

All is fixed now, I compiled the graphics support into the kernel and uname -a shows the kernel is from today HOWEVER no screens are found still.

So now i ask what firmware did I need to compile into the kernel? I did everything said in the radeon tutorial.

One question (this may be where i messed up) https://wiki.gentoo.org/wiki/Radeon#Firmware under here they say "radeon/<CARD-MODEL>.bin should be replaced with the full list (space separated) appearing in front of the chipset's name in the table below (e.g. for Northern Islands TURKS the correct entry into the kernel would be: (radeon/BTC_rlc.bin radeon/TURKS_mc.bin radeon/TURKS_me.bin radeon/TURKS_pfp.bin radeon/TURKS_smc.bin radeon/SUMO_uvd.bin) " but where in menuconfig do i enter these .bin declarations?

Device Drivers --->
Generic Driver Options --->
-*- Userspace firmware loading support
[*] Include in-kernel firmware blobs in kernel binary
(radeon/<YOUR-MODEL>.bin)
(/lib/firmware) Firmware blobs root directory

Under the "Include in-kernel firmware blobs in kernel binary" option there is no place to enter the specific names of the drivers, it instead says something in regards to external blobs to be compiled in

I did try entering the names of the blobs seperated by spaces into the external blobs segment, but make returned errors in regards to them.

Any ideas?

Thanks for your time :D


you don't need to include blobs in kernel. You can build radeon as a module and just emerge linux-firmware.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8933

PostPosted: Fri Jun 24, 2016 3:48 pm    Post subject: Reply with quote

CONFIG_EXTRA_FIRMWARE is found in:

Code:
 Prompt: External firmware blobs to build into the kernel binary
     Location:
       -> Device Drivers
         -> Generic Driver Options
           -> Userspace firmware loading support (FW_LOADER [=y])


and it depends on: FW_LOADER, also switched on in Device Drivers -> Generic Driver Options
Back to top
View user's profile Send private message
netwinder
n00b
n00b


Joined: 23 Jun 2016
Posts: 24

PostPosted: Sun Jun 26, 2016 10:24 pm    Post subject: Reply with quote

Thanks everybody! As of now I can now use KDE...

On 2 of the monitors. Ive been playing around with xrandr trying to enable the third monitor, and this is the only thing that works (kind of) currently:

Code:

Gentoo ~ # xrandr --current
Screen 0: minimum 320 x 200, current 3200 x 1080, maximum 16384 x 16384
HDMI-0 disconnected (normal left inverted right x axis y axis)
DVI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm
   1920x1080     60.00*+
   1600x1200     60.00 
   1680x1050     59.88 
   1280x1024     75.02    60.02 
   1440x900      59.90 
   1280x960      60.00 
   1152x864      75.00 
   1024x768      75.08    70.07    60.00 
   832x624       74.55 
   800x600       72.19    75.00    60.32    56.25 
   640x480       75.00    72.81    66.67    60.00 
   720x400       70.08 
VGA-0 connected 1280x1024+1920+0 (normal left inverted right x axis y axis) 380mm x 305mm
   1280x1024     60.02 +  75.02*
   1152x864      75.00 
   1024x768      75.08    60.00                                                                                                                                                   
   800x600       75.00    60.32                                                                                                                                                   
   640x480       75.00    60.00                                                                                                                                                   
   720x400       70.08                                                                                                                                                             
Gentoo ~ # xrandr --listproviders
Providers: number : 2                                                                                                                                                             
Provider 0: id: 0x86 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 2 outputs: 3 associated providers: 0 name:radeon                                   
Provider 1: id: 0x56 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 3 associated providers: 0 name:radeon                                   
Gentoo ~ # xrandr --setprovideroutputsource 1 0   
Gentoo ~ # xrandr --setprovideroffloadsink 1 0                                                                                                                                     
Gentoo ~ # xrandr --current
Screen 0: minimum 320 x 200, current 3200 x 1080, maximum 16384 x 16384                                                                                                           
HDMI-0 disconnected (normal left inverted right x axis y axis)                                                                                                                     
DVI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm                                                                                     
   1920x1080     60.00*+                                                                                                                                                           
   1600x1200     60.00                                                                                                                                                             
   1680x1050     59.88                                                                                                                                                             
   1280x1024     75.02    60.02                                                                                                                                                   
   1440x900      59.90                                                                                                                                                             
   1280x960      60.00                                                                                                                                                             
   1152x864      75.00                                                                                                                                                             
   1024x768      75.08    70.07    60.00                                                                                                                                           
   832x624       74.55                                                                                                                                                             
   800x600       72.19    75.00    60.32    56.25                                                                                                                                 
   640x480       75.00    72.81    66.67    60.00                                                                                                                                 
   720x400       70.08                                                                                                                                                             
VGA-0 connected 1280x1024+1920+0 (normal left inverted right x axis y axis) 380mm x 305mm                                                                                         
   1280x1024     60.02 +  75.02*                                                                                                                                                   
   1152x864      75.00                                                                                                                                                             
   1024x768      75.08    60.00                                                                                                                                                   
   800x600       75.00    60.32                                                                                                                                                   
   640x480       75.00    60.00                                                                                                                                                   
   720x400       70.08                                                                                                                                                             
HDMI-1-1 connected (normal left inverted right x axis y axis)                                                                                                                     
   1280x1024     60.02 +  75.02                                                                                                                                                   
   1152x864      75.00                                                                                                                                                             
   1280x720      60.00                                                                                                                                                             
   1024x768      75.08    60.00                                                                                                                                                   
   800x600       75.00    60.32                                                                                                                                                   
   640x480       75.00    60.00                                                                                                                                                   
   720x400       70.08                                                                                                                                                             
DVI-1-1 disconnected (normal left inverted right x axis y axis)                                                                                                                   
VGA-1-1 disconnected (normal left inverted right x axis y axis)                                                                                                                   
  1280x1024 (0x57) 108.000MHz                                                                                                                                                     
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz                                                                                                   
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz                                                                                                     
  1280x1024 (0x58) 135.000MHz                                                                                                                                                     
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock  79.98KHz                                                                                                   
        v: height 1024 start 1025 end 1028 total 1066           clock  75.02Hz                                                                                                     
  1152x864 (0x59) 108.000MHz                                                                                                                                                       
        h: width  1152 start 1216 end 1344 total 1600 skew    0 clock  67.50KHz                                                                                                   
        v: height  864 start  865 end  868 total  900           clock  75.00Hz
  1024x768 (0x5b) 78.800MHz
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock  60.06KHz
        v: height  768 start  769 end  772 total  800           clock  75.08Hz
  1024x768 (0x5c) 65.000MHz
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0x5d) 49.500MHz
        h: width   800 start  816 end  896 total 1056 skew    0 clock  46.88KHz
        v: height  600 start  601 end  604 total  625           clock  75.00Hz
  800x600 (0x5e) 40.000MHz
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  640x480 (0x5f) 31.500MHz
        h: width   640 start  656 end  720 total  840 skew    0 clock  37.50KHz
        v: height  480 start  481 end  484 total  500           clock  75.00Hz
  640x480 (0x60) 25.200MHz
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.50KHz
        v: height  480 start  490 end  492 total  525           clock  60.00Hz
  720x400 (0x61) 28.320MHz
        h: width   720 start  738 end  846 total  900 skew    0 clock  31.47KHz
        v: height  400 start  412 end  414 total  449           clock  70.08Hz

And then after this when i try and enable the output HDMI-1-1, X crashes and restarts and I am back at a login screen. Here is the logs for X: http://pastebin.com/UN0bYRYd

Any ideas as to getting the third display working?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8933

PostPosted: Sun Jun 26, 2016 10:45 pm    Post subject: Reply with quote

I am not an expert when it comes to multi-monitor, but, if you have installed stable Plasma (5.5.5) and are struggling with that, then the best fix really would be to upgrade straight to ~arch (unstable) Plasma-5.6.5 which (along with Qt-5.6.1) brought many related fixes, not least through Gentoo adding some backports.

You would have to unkeyword the desired version inside the /etc/portage/package.accept_keywords directory. Thankfully, you can pick a readymade file that should keep your efforts at a minimum: https://gitweb.gentoo.org/proj/kde.git/tree/Documentation/package.accept_keywords/kde-plasma-5.6.keywords
Back to top
View user's profile Send private message
KuroNeko
n00b
n00b


Joined: 08 Oct 2014
Posts: 23

PostPosted: Mon Jun 27, 2016 3:35 pm    Post subject: Reply with quote

Does a single monitor connected to your second card work?
Did you enable the drivers for both cards? Afaik the 250 needs radeonsi and the hd5450 needs r600.
Your log shows that screen0 isn't dri2 capable and direct rendering is disabled. Maybe that is an issue?
Can you configure your screen with the display settings module of kde?
Why do you need a xorg.conf? What happens if you remove it?
Back to top
View user's profile Send private message
netwinder
n00b
n00b


Joined: 23 Jun 2016
Posts: 24

PostPosted: Tue Jun 28, 2016 12:45 am    Post subject: Reply with quote

First,

Quote:
I am not an expert when it comes to multi-monitor, but, if you have installed stable Plasma (5.5.5) and are struggling with that, then the best fix really would be to upgrade straight to ~arch (unstable) Plasma-5.6.5 which (along with Qt-5.6.1) brought many related fixes, not least through Gentoo adding some backports.


I have upgraded to Plasma-5.6.5, and still no results in terms of the third display. At this point I believe this is a driver conflict and less of a KDE conflict.

Quote:
Does a single monitor connected to your second card work?

It does not. Interestingly enough though: It powers off (as there is no signal to it) when KDE is running however if I go to a console (CTRL-ALT f1) the monitor will power on and display all black, and the console will display on the other 2 monitors connected to the r7-250

Quote:

Did you enable the drivers for both cards? Afaik the 250 needs radeonsi and the hd5450 needs r600.


I believe I did enable the drivers for both cards, however after following the instructions in this post ( https://forums.gentoo.org/viewtopic-p-7101452.html#7101452 ) I was able to get X working on the two monitors. According to the instructions I should not build the extra firmware blobs, however I am now re-compiling with the blobs included (for both cards) hopefully this will work.

Quote:
Can you configure your screen with the display settings module of kde?
Why do you need a xorg.conf? What happens if you remove it?


I can configure the 2 screens that work, but the third screen is unheard of. Once I mess around with xrandr for a bit I can see the screen inside KDE's configuration however enabling the screen causes KDE to lock up and crash. And xorg.conf has been purged, if I make an xorg.conf KDE will not start or run.

Thank you for your help. Hopefully the issue will be resolved with rebuilding the kernel again.
Back to top
View user's profile Send private message
netwinder
n00b
n00b


Joined: 23 Jun 2016
Posts: 24

PostPosted: Mon Jul 04, 2016 11:00 pm    Post subject: Reply with quote

I've been at it for a few days and I'm out of ideas. I've tried many different things from changing driver related kernel options, to compiling with the firmware blobs, to compiling without firmware blobs. And the third monitor is still unusable.

What do you guys suggest? Time to use gnome3 or something? It seems that plasma doesn't support 3 monitors :/
Back to top
View user's profile Send private message
proteusx
Guru
Guru


Joined: 21 Jan 2008
Posts: 338

PostPosted: Tue Jul 05, 2016 1:31 am    Post subject: Reply with quote

I use KDE4 with 3x23'' monitors with a cheap nvidia GT 730 card ( it has 3 video outputs: VGA, DVI and HDMI), and the Nouveau driver.
I have no xorg.conf and I let X autodetect everything.
I arrange the position of the monitors from the System Settings/Display Configuration.
I hope this may be of help.
Feel free to ask if you need further details.

P.S. I do not care about Plasma5 because it does not allow different widgets and wallpapers for the virtual desktops.
Back to top
View user's profile Send private message
netwinder
n00b
n00b


Joined: 23 Jun 2016
Posts: 24

PostPosted: Tue Jul 05, 2016 2:33 am    Post subject: Reply with quote

Interesting. An update: Just as a test to see if i'm insane (and turns out im not), I tried a kubuntu live usb. Sure enough KDE Plasma works fine with 3 monitors, so KDE is not at fault.

Quote:
I use KDE4 with 3x23'' monitors with a cheap nvidia GT 730 card ( it has 3 video outputs: VGA, DVI and HDMI), and the Nouveau driver.
I have no xorg.conf and I let X autodetect everything.
I arrange the position of the monitors from the System Settings/Display Configuration.
I hope this may be of help.
Feel free to ask if you need further details.

P.S. I do not care about Plasma5 because it does not allow different widgets and wallpapers for the virtual desktops.


Our cases are different, however here are the similarities:

I also have no xorg.conf, and now KDE is working fine on 2 of the 3 monitors connected to one of the graphics cards. However the 2 monitors that do work are connected to the R7 250 graphics card which does not support 3 outputs at once. Therefore there is a second graphics card, and thats connected to the third monitor. X does not detect this third monitor (it appears this way in KDE's display manager) however when I run:

Code:
Gentoo ~ # xrandr --listproviders
Providers: number : 2                                                                                                                                                             
Provider 0: id: 0x86 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 2 outputs: 3 associated providers: 0 name:radeon                                   
Provider 1: id: 0x56 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 3 associated providers: 0 name:radeon                                   
Gentoo ~ # xrandr --setprovideroutputsource 1 0   
Gentoo ~ # xrandr --setprovideroffloadsink 1 0   


I am then able to see my third display in KDE's display configuration. I can then position it, click to enable it, and then kde becomes really glitchy with alot of vertical lines on one monitor and its generally unusable. What i'm working on is configuring the second graphics card to work with KDE (because now I know it can be done)
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8933

PostPosted: Tue Jul 05, 2016 6:07 am    Post subject: Reply with quote

proteusx wrote:
P.S. I do not care about Plasma5 because it does not allow different widgets and wallpapers for the virtual desktops.

Use activities instead of virtual desktops.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8933

PostPosted: Tue Jul 05, 2016 6:10 am    Post subject: Reply with quote

netwinder wrote:
Interesting. An update: Just as a test to see if i'm insane (and turns out im not), I tried a kubuntu live usb. Sure enough KDE Plasma works fine with 3 monitors, so KDE is not at fault.

You could check which modules and firmware blobs are loaded in Kubuntu to match that with your Gentoo configuration.
Back to top
View user's profile Send private message
proteusx
Guru
Guru


Joined: 21 Jan 2008
Posts: 338

PostPosted: Tue Jul 05, 2016 8:22 am    Post subject: Reply with quote

genstorm wrote:
Use activities instead of virtual desktops.

I already use Activities and each Activity has 2 Virtual Desktops each with its own widgets.

Removing the ability to give different widgets to the Virtual Desktops was a daft idea.
The Dashboard has gone too.

See these discussions:
https://bugs.kde.org/show_bug.cgi?id=341143
https://bugs.kde.org/show_bug.cgi?id=343246
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8933

PostPosted: Tue Jul 05, 2016 10:45 am    Post subject: Reply with quote

It wasn't so much removed as not yet re-implemented since Plasma-5 is a rewrite.
Back to top
View user's profile Send private message
netwinder
n00b
n00b


Joined: 23 Jun 2016
Posts: 24

PostPosted: Tue Jul 05, 2016 8:41 pm    Post subject: Reply with quote

genstorm wrote:
netwinder wrote:
Interesting. An update: Just as a test to see if i'm insane (and turns out im not), I tried a kubuntu live usb. Sure enough KDE Plasma works fine with 3 monitors, so KDE is not at fault.

You could check which modules and firmware blobs are loaded in Kubuntu to match that with your Gentoo configuration.


Good idea, I have done this (fairly cringe-worthy)

First I booted the kubuntu live cd, i then looked under its kernel sources (usr/src/linux*) and had a look at the makefile (make menuconfig), I saw alot of extra things checked off, and decided "why not get the redundant kernel for testing". Then i mounted my gentoo partition to /mnt, and trasfered the Kbuntu kernel source to my src folder in gentoo. I then rebooted into gentoo.

Once inside gentoo, things got sketchy:
1. I took the makefile form the Kubuntu kernel source and moved it into the gentoo kernel source (the existing makefile got moved to makefile.bak), I repeated the same with the .config
2. I know for a fact that the Kubuntu kernel has a folder full of driver sources, so I then moved that folder from the Kubuntu kernel source into the
gentoo kernel source
3. make && make install && make modules_install...etc
4. Take a nap because the kernel took 2 hours to compile (the default kubuntu config compiles nearly everything into the kernel)
4. Regenerated grub, initramfs.

And rebooted. I can verify the kernel is the one I compiled. Besides the boot sequence taking longer, nothing has changed. I can run:
Quote:
Gentoo ~ # xrandr --setprovideroutputsource 1 0
Gentoo ~ # xrandr --setprovideroffloadsink 1 0


And the extra display will appear in the display configuration, however when i enable it kde becomes effectively useless. The worst part is that the xorg log shows no issues (that i can see) involving the third display on the separate gpu.

Here's a few files to help:

Xorg.0.log (after enabling the third display and changing resolutions, then disabling the third display):
https://bpaste.net/show/33b49044229d

My kernel .config
https://bpaste.net/show/3cb720e48b1f

My conclusion from this: the kernel is fine. Something else is wrong (above the kernel's level)
Back to top
View user's profile Send private message
netwinder
n00b
n00b


Joined: 23 Jun 2016
Posts: 24

PostPosted: Wed Jul 06, 2016 3:19 am    Post subject: Reply with quote

This seems to be an X server issue. When the computer initally boots to a TTY terminal, the third display powers on (but does not display anything). When sddm starts (x server), the display then powers off, and then upon trying to power it on, it remains off

Code:

# Set up second GPU
Gentoo ~ # xrandr --setprovideroutputsource 1 0
Gentoo ~ # xrandr --setprovideroffloadsink 1 0
# Attempt to start display
Gentoo ~ # xrandr --verbose --output VGA-0 --auto
crtc 1:    1280x1024  60.02 +1920+0 "VGA-0"


As shown, the display can be switched successfully however the display does not work. The display remains off with no error codes showing why its not turned on.

Thank you for your help :D
Back to top
View user's profile Send private message
netwinder
n00b
n00b


Joined: 23 Jun 2016
Posts: 24

PostPosted: Thu Jul 07, 2016 2:20 am    Post subject: Reply with quote

Bump

Not to spam the fourm but nobody has any ideas on what to do?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum