Re: Restarting video driver to turn on external vga port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I just rebooted after applying new updates.  In the past, this got the external video going.  Not this time.

help?

On 6/30/23 08:34, Robert Moskowitz wrote:


On 6/30/23 07:44, George N. White III wrote:
On Fri, Jun 30, 2023 at 6:56 AM Robert Moskowitz <rgm@xxxxxxxxxxxxxxx> wrote:
I have a Lenovo x140e running F38.

The video driver is normally the Radeon, but some time ago here I was
told to change the amdgpu driver but

lspci -nnk | grep -iE "VGA|DISPLAY" -A3
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
[AMD/ATI] Kabini [Radeon HD 8330] [1002:9832]
     Subsystem: Lenovo Device [17aa:2219]
     Kernel driver in use: amdgpu
     Kernel modules: radeon, amdgpu

But sometimes after a few suspend/unsuspend when remote and no external
VGA, this system forgets about the external monitor.

By "remote" do you mean using the laptop away from the VGA monitor or
logging in from another (remote) system?  If you are reconnecting the
VGA after using the laptop in another location, I assume the laptop
is in some "suspend" mode.  When using the VGA monitor do you also
use the laptop display or is the laptop closed?

I mean I was out from town with my notebook and no external monitor connected.  And I suspended before I left, and then multiple times while away I resumed and suspended and so forth.


Is there someway to force the video driver to wake up and see the
attached vga monitor?

First, is your system fully updated including vendor firmware (so others will be using
the same software versions)?

It was as of Tuesday before leaving.


Are you using F38 Workstation and Gnome?   I have a desktop that has a
monitor and a TV that is usually turned off.   When first booted the login
shows on the TV, so I use Settings/Displays to make the monitor the
main display.   The system never suspends, but logging out and back in
some I sometimes have to connect the TV to get the login prompt. 

I use the everything network install to install workstation and Xfce.  Should have said Xfce, as it impacts what you say below.



Have you tried Settings/Displays to detect the VGA monitor?

Both from <winkey+P> and from the app pull down to get into Settings/Display.  The external monitor is just not listed.

BTW, it is often the case with this system that the external monitor is not listed, but just gets turned on, which is plain weird.

   Is the
system suspended or awake when VGA is connected, and is the monitor
on or off when making the connection?  A workaround may be a simple
change to your usual routine.

Before suspending to travel, I unplug everything (power, vga, usb kybd/mouse) then suspend.  Once home I connect everything and then open the notebook.

Normally udev should handle events like
connecting an external monitor.   If you have a way to ssh into the laptop
you could use "udevadm monitor" to see what happens when connecting the
monitor with the laptop lid closed. 

I always work at my desk with the notebook open so I have the internal mirroring to the external.

and

# udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

now nothing in the terminal window.  Like this is hung?  Or not expected to return back to the prompt?


How is this suppose to work:

KERNEL=="card1", SUBSYSTEM=="drm", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/vllblvck/.Xauthority", RUN+="/usr/bin/setup-ext-display.sh"

Is KERNEL a variable or is there some udev file I am suppose to set up?  No, at least recent, experience with udev stuff..





 
--
George N. White III


_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue


_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux