LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   second monitor not working. Debian GNU/Linux 8.2 (jessie) ( Radeon HD 8670 / R7 250 AND Xeon E3-1200 ) (https://www.linuxquestions.org/questions/debian-26/second-monitor-not-working-debian-gnu-linux-8-2-jessie-radeon-hd-8670-r7-250-and-xeon-e3-1200-a-4175563992/)

1redto 01-19-2016 12:20 PM

Quote:

Originally Posted by oldtechaa (Post 5480801)
Radeon is the name of the open-source driver, so it tells you its name when it reports things, and a DRM device means Direct Rendering Manager, in other words a graphics device.

Thanks. Do you know if there is a file that tells ubuntu system what to detect or load?
Code:

[  103.211] (II) xfree86: Adding drm device (/dev/dri/card1)
[  103.211] (II) xfree86: Adding drm device (/dev/dri/card0)

guess I will read up on Xorg.0.log

I wonder how the items get into the log. It is kind of puzzling that if I have two linux distros, ubuntu and debian, and one is working automatically and detecting and using both screens (ubuntu) and the other only uses 1 screen (debian). I would think isn't there a way to see what is different in some config file or something and then make the debian one look like the ubuntu one to fix this. Or do the two distros work so much different from each other that it is not that simple?

rokytnji 01-19-2016 01:00 PM

Quote:

Or do the two distros work so much different from each other that it is not that simple?
Yes. Yep. Uh Huh. You Betcha.

That is why

https://wiki.debian.org/DontBreakDebian

1redto 01-19-2016 02:03 PM

ok, If I understand the directions correctly it says here I will try...
https://wiki.debian.org/AtiHowTo
I added the below to source.list
Code:

# Debian 8 "Jessie"
deb http://httpredir.debian.org/debian/ jessie main contrib non-free

next I updated list of available packages:
Code:

# apt-get update
next I install the packages:
Code:

# apt-get install firmware-linux-nonfree libgl1-mesa-dri xserver-xorg-video-ati
Then it says Restart your system to load GPU device firmware.
So I Restarted. (Still only 1 screen)
Now Troubleshooting it says use dmesg..
this is what I get...
Code:

pawn57@debian:~$ dmesg | grep -E 'drm|radeon' | grep -iE 'firmware|microcode'
[    1.570832] [drm] Loading OLAND Microcode
[    1.570856] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/OLAND_pfp.bin
[    1.570866] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/OLAND_me.bin
[    1.570874] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/OLAND_ce.bin
[    1.570882] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/OLAND_rlc.bin
[    1.570893] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/OLAND_mc2.bin
[    1.570910] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/OLAND_smc.bin
[    1.576359] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/TAHITI_uvd.bin
pawn57@debian:~$

It says Configuration

In most cases, manual configuration for the open source display drivers is not required, as the Xorg X server automatically detects and configures available hardware.

I have jessie so not sure if I should do wht it says under debian Strech (testing)

This code looks safe to do though...
Code:

Check if both the cards are getting listed :

$ xrandr --listproviders

This is what I got...
Code:

pawn57@debian:~$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x90 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 3 outputs: 3 associated providers: 0 name:Intel
Provider 1: id: 0x54 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 2 outputs: 3 associated providers: 0 name:radeon
pawn57@debian:~$


1redto 01-19-2016 02:24 PM

This is the old way it was (copy from previous post)
Code:

pawn57@debian:~$ xvidtune -show
"1920x1080"  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync

pawn57@debian:~$ glxinfo | grep -i "direct rendering"
bash: glxinfo: command not found
pawn57@debian:~$ cat /var/log/Xorg.0.log | grep -i "dri" | grep -v -i "driver"
[    11.951] (II) xfree86: Adding drm device (/dev/dri/card0)
[    12.329] (II) Loading sub module "dri2"
[    12.329] (II) LoadModule: "dri2"
[    12.329] (II) Module "dri2" already built-in
[    12.329] (II) intel(0): [DRI2] Setup complete
[    12.332] (II) intel(0): direct rendering: DRI2 Enabled
[    12.506] (II) GLX: Initialized DRI2 GL provider for screen 0
pawn57@debian:~$

This is now after I did the instructions at
https://wiki.debian.org/AtiHowTo

Code:

pawn57@debian:~$ glxinfo | grep -i "direct rendering"
bash: glxinfo: command not found
pawn57@debian:~$ cat /var/log/Xorg.0.log | grep -i "dri" | grep -v -i "driver"
[    12.780] (II) xfree86: Adding drm device (/dev/dri/card0)
[    12.780] (II) xfree86: Adding drm device (/dev/dri/card1)
[    13.346] (II) Loading sub module "dri2"
[    13.346] (II) LoadModule: "dri2"
[    13.346] (II) Module "dri2" already built-in
[    13.347] (II) Loading sub module "dri2"
[    13.347] (II) LoadModule: "dri2"
[    13.347] (II) Module "dri2" already built-in
[    14.410] (II) glamor: EGL version 1.4 (DRI2):
[    14.670] (II) RADEON(G0): [DRI2] Setup complete
[    14.817] (II) intel(0): [DRI2] Setup complete
[    14.818] (II) intel(0): direct rendering: DRI2 Enabled
[    15.128] (II) GLX: Initialized DRI2 GL provider for screen 0
pawn57@debian:~$


And below is a copy of what it looked like on ubuntu (both screens worked)...

Code:

pawn57@pawn57-Inspiron-660:~$ xvidtune -show
"1920x1080"  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync

pawn57@pawn57-Inspiron-660:~$ glxinfo | grep -i "direct rendering"
direct rendering: Yes
pawn57@pawn57-Inspiron-660:~$ cat /var/log/Xorg.0.log | grep -i "dri" | grep -v -i "driver"
[  103.211] (II) xfree86: Adding drm device (/dev/dri/card1)
[  103.211] (II) xfree86: Adding drm device (/dev/dri/card0)
[  103.370] (II) Loading sub module "dri2"
[  103.370] (II) LoadModule: "dri2"
[  103.370] (II) Module "dri2" already built-in
[  103.370] (II) Loading sub module "dri2"
[  103.370] (II) LoadModule: "dri2"
[  103.370] (II) Module "dri2" already built-in
[  104.100] (II) glamor: EGL version 1.4 (DRI2):
[  104.310] (II) RADEON(G0): [DRI2] Setup complete
[  104.311] (==) RADEON(G0): DRI3 disabled
[  104.426] (II) intel(0): [DRI2] Setup complete
[  104.426] (II) intel(0): direct rendering: DRI2 enabled
[  104.528] (II) GLX: Initialized DRI2 GL provider for screen 0
pawn57@pawn57-Inspiron-660:~$


1redto 01-19-2016 02:44 PM

Well I went to reboot again to see if that would help (no. still only one screen.) Now when shutdown or reboot from debian. It takes a long time to shutdown, like it hangs, then if I push ctrl alt delete several times it finnish shutting down.

1redto 01-19-2016 03:24 PM

This is what I get if I use the dmesg command in ubuntu (both screens working)

Code:

pawn57@pawn57-Inspiron-660:~$ dmesg | grep -E 'drm|radeon' | grep -iE 'firmware|microcode'
[    1.729223] [drm] Loading oland Microcode
[    1.736750] [drm] Found VCE firmware/feedback version 50.0.1 / 17!
pawn57@pawn57-Inspiron-660:~$


1redto 01-19-2016 03:28 PM

And this is from xrandr --listproviders in ubuntu (both screens working)

Code:

pawn57@pawn57-Inspiron-660:~$ xrandr --listproviders
Providers: number : 3
Provider 0: id: 0x81 cap: 0x9, Source Output, Sink Offload crtcs: 4 outputs: 4 associated providers: 2 name:Intel
Provider 1: id: 0x44 cap: 0x6, Sink Output, Source Offload crtcs: 2 outputs: 3 associated providers: 2 name:radeon
Provider 2: id: 0x44 cap: 0x6, Sink Output, Source Offload crtcs: 2 outputs: 3 associated providers: 2 name:radeon
pawn57@pawn57-Inspiron-660:~$


1redto 01-19-2016 08:01 PM

ok after flowing the instruction for open source at https://wiki.debian.org/AtiHowTo
I still only have one monitor.

so I tried followng instructions of proprietary here
https://wiki.debian.org/ATIProprietary

Then I reboot to black screen.

So I had to reinstall debian.

Now I am back to square one.

rokytnji 01-19-2016 08:18 PM

Quote:

Originally Posted by 1redto (Post 5481241)
ok after flowing the instruction for open source at https://wiki.debian.org/AtiHowTo
I still only have one monitor.

so I tried followng instructions of proprietary here
https://wiki.debian.org/ATIProprietary

Then I reboot to black screen.

So I had to reinstall debian.

Now I am back to square one.

You were close with the open source radeon driver install.
I would have proceeded with using arandr in debian to enable both screens. Using the radeon driver.

https://christian.amsuess.com/tools/arandr/

http://screenshots.debian.net/package/arandr

1redto 01-19-2016 11:15 PM

Quote:

Originally Posted by rokytnji (Post 5481249)
You were close with the open source radeon driver install.
I would have proceeded with using arandr in debian to enable both screens. Using the radeon driver.

Thank You. I will see if I can do that now.

1redto 01-19-2016 11:31 PM

Code:

pawn57@debian:~$ su root
Password:
root@debian:/home/pawn57# cd /etc/apt
root@debian:/etc/apt# nano sources.list

#

# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL$

deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL B$

deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main
# Debian 8 "Jessie"
deb http://httpredir.debian.org/debian/ jessie main contrib non-free



                              [ Wrote 10 lines ]
^G Get Help  ^O WriteOut  ^R Read File ^Y Prev Page ^K Cut Text  ^C Cur Pos
^X Exit      ^J Justify  ^W Where Is  ^V Next Page ^U UnCut Text^T To Spell

root@debian:/etc/apt# apt-get update
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150908-21:48] jessie InRelease
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150908-21:48] jessie Release.gpg
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150908-21:48] jessie Release
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150908-21:48] jessie/main amd64 Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150908-21:48] jessie/main Translation-en_US
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150908-21:48] jessie/main Translation-en
Hit http://security.debian.org jessie/updates InRelease                       
Ign http://httpredir.debian.org jessie InRelease                             
Hit http://security.debian.org jessie/updates/main Sources
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://security.debian.org jessie/updates/main Translation-en
Get:1 http://httpredir.debian.org jessie Release.gpg [2,373 B]
Get:2 http://httpredir.debian.org jessie Release [148 kB]
Get:3 http://httpredir.debian.org jessie/main amd64 Packages [6,764 kB]
Get:4 http://httpredir.debian.org jessie/contrib amd64 Packages [50.1 kB]
Get:5 http://httpredir.debian.org jessie/non-free amd64 Packages [83.6 kB]
Get:6 http://httpredir.debian.org jessie/contrib Translation-en [38.4 kB]
Get:7 http://httpredir.debian.org jessie/main Translation-en [4,585 kB]   
Get:8 http://httpredir.debian.org jessie/non-free Translation-en [72.2 kB]
Fetched 11.7 MB in 3s (3,054 kB/s)                                           
Reading package lists... Done

root@debian:/etc/apt# apt-get install firmware-linux-nonfree libgl1-mesa-dri xserver-xorg-video-ati
Reading package lists... Done
Building dependency tree     
Reading state information... Done
libgl1-mesa-dri is already the newest version.
libgl1-mesa-dri set to manually installed.
xserver-xorg-video-ati is already the newest version.
xserver-xorg-video-ati set to manually installed.
The following NEW packages will be installed:
  firmware-linux-nonfree
0 upgraded, 1 newly installed, 0 to remove and 89 not upgraded.
Need to get 1,386 kB of archives.
After this operation, 5,128 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://httpredir.debian.org/debian/ jessie/non-free firmware-linux-nonfree all 0.43 [1,386 kB]
Fetched 1,386 kB in 7s (192 kB/s)               
Selecting previously unselected package firmware-linux-nonfree.
(Reading database ... 135909 files and directories currently installed.)
Preparing to unpack .../firmware-linux-nonfree_0.43_all.deb ...
Unpacking firmware-linux-nonfree (0.43) ...
Setting up firmware-linux-nonfree (0.43) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.120) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
root@debian:/etc/apt#

Now to reboot and learn arandr

1redto 01-19-2016 11:47 PM

Rebooted, installing arander

Code:

pawn57@debian:~$ su root
Password:
root@debian:/home/pawn57# aptitude install arandr
The following NEW packages will be installed:
  arandr
0 packages upgraded, 1 newly installed, 0 to remove and 89 not upgraded.
Need to get 78.7 kB of archives. After unpacking 546 kB will be used.
Get: 1 http://httpredir.debian.org/debian/ jessie/main arandr all 0.1.7.1-1 [78.7 kB]
Fetched 78.7 kB in 0s (187 kB/s)
Selecting previously unselected package arandr.
(Reading database ... 136136 files and directories currently installed.)
Preparing to unpack .../arandr_0.1.7.1-1_all.deb ...
Unpacking arandr (0.1.7.1-1) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.58) ...
Processing triggers for menu (2.1.47) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up arandr (0.1.7.1-1) ...
Processing triggers for menu (2.1.47) ...
                                       
root@debian:/home/pawn57#


1redto 01-20-2016 12:12 AM

My outputs available in the dropdown menu are
HDMI2
VGA2
DP1

HDMI2 is active. VGA2 and DP1 are gray and unclickable.

Looks like HDMI1 (possibly) is missing?

I got some errors in the terminal when I ran the program arandr.


Code:

root@debian:/home/pawn57# arandr
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)

I will reboot, and see if I can relaunch arander and see what I get and do some more reading and research.

1redto 01-20-2016 12:16 AM

1 Attachment(s)
Oh here is the screen shot I meant to add to the above post. Now I will reboot.

1redto 01-20-2016 12:23 AM

1 Attachment(s)
I didn't reboot yet. I closed and reopen arandr this time no error in the terminal but everything is the same. I did notice that in properties script said...

Code:

#!/bin/sh
%(xrandr)s

mabee this is the problem?

I made another screen shot.

Will reboot now.


All times are GMT -5. The time now is 11:39 PM.