Re: Power problem with Radeon 7750 card and Nouveau driver

2021-02-10 Thread Jeffrey Walton
On Wed, Feb 10, 2021 at 3:24 AM Ralf Mardorf  wrote:
>
> On Tue, 9 Feb 2021 16:51:51 -0500, Jeffrey Walton wrote:
> >Does anyone have suggestions how to troubleshoot this further?
>
> it's probably not a driver related issue. At least you don't care for
> the correct driver. The Radeon driver is pre-installed and used for your
> Radeon graphics. The nouveau driver can't handle your AMD (the graphics
> brand formerly known as ATI) at all, since it's a driver for NVIDIA
> graphics.

Thanks Ralf.

It sounds like I picked the wrong card. My apologies for the noise.

Jeff

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Power problem with Radeon 7750 card and Nouveau driver

2021-02-10 Thread Ralf Mardorf
On Tue, 9 Feb 2021 16:51:51 -0500, Jeffrey Walton wrote:
>Does anyone have suggestions how to troubleshoot this further?  

Hi,

it's probably not a driver related issue. At least you don't care for
the correct driver. The Radeon driver is pre-installed and used for your
Radeon graphics. The nouveau driver can't handle your AMD (the graphics
brand formerly known as ATI) at all, since it's a driver for NVIDIA
graphics.

A workaround probably could be to migrate from "turn monitor off after
15 minute" to "never" do so.

However, in my experiences with Ubuntu flavours that suffer from this
screen blanking issue, the screen comes back, if you push
Ctrl + Alt + F1 (or F2, F3 ... F6) and right after that
Ctrl + Alt + F7. 

"nouveau (/nuːˈvoʊ/) is a free and open-source graphics device driver
for Nvidia video cards" [1]

"Radeon (/ˈreɪdiɒn/) is a brand of computer products, including
graphics processing units [...] by Radeon Technologies Group, a division
of Advanced Micro Devices (AMD)." [2]

"This guide shows you how to use the open source Radeon driver for some
ATI/AMD graphics cards and APUs, which is part of the
xserver-xorg-video-ati package. This driver provides 2D and 3D
acceleration in your video hardware. For the most recent releases of
Ubuntu (and its flavours) this driver is usually as fast as the
closed-source, proprietary fglrx driver (called AMD Catalyst) from AMD
Inc. Furthermore the Radeon driver supports some older chipsets that
fglrx does not.

The Radeon driver is already pre-installed in Ubuntu." [3]

Regards,
Ralf

[1] https://en.wikipedia.org/wiki/Nouveau_(software)
[2] https://en.wikipedia.org/wiki/Radeon
[3] https://help.ubuntu.com/community/RadeonDriver

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Power problem with Radeon 7750 card and Nouveau driver

2021-02-09 Thread Jeffrey Walton
Hi Everyone,

I'm working on Ubuntu 20.04, x86_64, fully patched. It has the
5.4.0-64 kernel. The machine is a Dell XPS 8930 with an i7-8700,
https://www.amazon.com/gp/product/B078N85NCR.

I'm having a power management problem. The monitor goes to sleep and
does not wake up. Power Management applet settings are (a) turn
monitor off after 15 minutes, and (b) never go to sleep. Moving the
mouse and tapping on the keyboard does not seem to wake the monitor.
In this state I can SSH into the machine.

I think this issue has to do with Noveau. The problem started after I
removed the original GeForce GTX 1060 (Nvidia driver) and installed a
Radeon 7750 (Nouveau driver). I switched cards for the open source
driver. The Radeon 7750 card is
https://www.amazon.com/gp/product/B00C7EPSVS. The monitor cable is
HDMI to Mini DisplayPort. It is a new cable for use with the Radeon
card. https://www.amazon.com/gp/product/B00YONKZ72.

I have the package xserver-xorg-video-nouveau installed. I removed all
the Nvidia and purged all the packages.

The logs I have found look like this (from log viewer):


12:10 PM radeon_dp_aux_transfer_native: 2510 callbacks suppressed
 2:00 PM radeon_dp_aux_transfer_native: 1040 callbacks suppressed

 2:01 PM [drm:radeon_dp_link_train [radeon]] *ERROR* displayport link
status failed
 2:01 PM [drm:radeon_dp_link_train [radeon]] *ERROR* clock recovery failed
 2:01 PM [drm:radeon_dp_link_train [radeon]] *ERROR* displayport link
status failed
 2:01 PM [drm:radeon_dp_link_train [radeon]] *ERROR* clock recovery failed
 2:05 PM radeon_dp_aux_transfer_native: 566 callbacks suppressed


I searched Freedesktop's GitLab issues
(https://gitlab.freedesktop.org/drm/nouveau/-/issues) related to
"*ERROR* displayport link status failed" and "*ERROR* clock recovery
failed". GitLab did not return any hits.

I noticed I was missing the nouveau-firmware package. When I added it
I lost the monitor completely. The monitor displayed a message similar
to "No HDMI signal present", even during a reboot. nouveau-firmware
definitely made things worse. Removing nouveau-firmware did not help.
The "No HDMI signal" problem persisted. I had to switch back to the
GeForce card and the Nvidia driver.

Does anyone have suggestions how to troubleshoot this further?

$ apt-cache show xserver-xorg-video-nouveau
Package: xserver-xorg-video-nouveau
Architecture: amd64
Version: 1:1.0.16-1
Priority: optional
Section: x11
Origin: Ubuntu
Maintainer: Ubuntu Developers 
Original-Maintainer: Debian X Strike Force 
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 278
Provides: xorg-driver-video
Depends: libc6 (>= 2.4), libdrm-nouveau2 (>= 2.4.38), libdrm2 (>=
2.4.61), libudev1 (>= 183), xorg-video-abi-24, xserver-xorg-core (>=
2:1.18.99.901)
Recommends: libgl1-mesa-dri (>= 9.0)

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss