Ubuntu HowTo: a question for AMD 4600U:Ubuntu 20.04 LST, screen display brightness cannot be adjusted

Original Source Link

cpu:amd 4600u

This is an old question for a newly released CPU. If there is no answer, I will still be happy to post it here, and maybe provide some useful information.

Yes, there are not many laptops equipped with this CPU. I tried to delete Windows and installed Linux. At the beginning, I installed Ubuntu 19.10. After booting into the desktop, the screen went black for a long time. After updating to Ubuntu 20.04, I entered the desktop in seconds. The speed is fast, and the display effect is also very good. All Fn function keys can be used and are somewhat effective, except for brightness adjustment. I was surprised that the experience was almost the same as under Windows. I almost accepted that little flaw, but after working for a while, I found that I still couldn’t bear the dazzling screen.

I Googled this kind of problem and found that the problem of not being able to adjust the brightness has been around for many years, but I couldn’t find a solution. Is it a problem with the AMD graphics driver?

Ubuntu is doing very well, but is there any enthusiast who can icing on the cake?

Press the shortcut key to have a brightness adjustment bar, you can adjust the value, but the screen brightness does not change, the value in the brightness file will also change with the adjustment, but the brightness is still the largest.

lspci

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 7
01:00.0 Non-Volatile memory controller: Sandisk Corp Device 5006
02:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev ce)
04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1637
04:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
04:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
04:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
04:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor (rev 01)
04:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
05:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)
05:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)

Tagged : / / /

Linux HowTo: HP hotkey for prev/next multimedia keys?

Original Source Link

I only have buttons on my laptop keyboard that allows changing the volume level, however I want to switch previous/next track in multimedia programs.

When I change the volume I see floating bar in the left-upper side which has those media buttons along with play/pause

enter image description here

However, I have no prev/next/play/pause buttons on keyboard with dedicated painted symbols. Can I launch them directly without opening the volume bar?

Laptop model: HP EliteBook Folio 9480m

Tagged : / /

Making Game: I am using a monitor to my notebook, but have problems [closed]

Original Source Link

I am using a monitor to my notebook, but have problems, when I am using a extern monitor for my notebook the OS is often slow, why?

One way to know what is slowing down a computer is monitoring usage in Task manager.
Right click the taskbar and click on task manager, Go to performance tap and check if anything is near 100% when your computer is slow.

My guess is your graphics card is not good enough to run two monitors or the resolution of it, But that shouldn’t slow down your PC only your graphics applications.

Tagged : / /

Linux HowTo: I am using a monitor to my notebook, but have problems [closed]

Original Source Link

I am using a monitor to my notebook, but have problems, when I am using a extern monitor for my notebook the OS is often slow, why?

One way to know what is slowing down a computer is monitoring usage in Task manager.
Right click the taskbar and click on task manager, Go to performance tap and check if anything is near 100% when your computer is slow.

My guess is your graphics card is not good enough to run two monitors or the resolution of it, But that shouldn’t slow down your PC only your graphics applications.

Tagged : / /

Ubuntu HowTo: Laptop screen blank after suspend, though external monitors working

Original Source Link

Laptop screen remained blank after resumed from suspend, though external monitors were working.

Could not do anything about it because ‘Displays’ dialogue opened on the primary screen, which was the laptop screen. Don’t want to simply reboot, because can’t easily check what needs saving, and indeed may not be able to save if can’t see primary screen.

So how get the laptop screen back to life?

This was, by the way, after I had entered the user password. It wasn’t one of those common occasions where the screens are blank when you are trying to enter the password.

  1. open a terminal, and use xrandr command to get identity of displays:

    $ xrandr

    Screen 0: minimum 320 x 200, current 2304 x 2048
    LVDS-1 connected primary 1366×768+417+1280 …
    VGA-1 connected 1280×1024+1024+256 …
    HDMI-1 connected 1024×1280+0+0 left …

  2. tell xrandr to revive laptop screen

    $ xrandr –output “LVDS-1” –auto

By the way, often laptop screen and external monitors are all blank on resume from suspend, when the system requires a password. It seems that nothing will revive the screen. It is possible to enter the password blindly, and the screens will come on. But you might be able to revive the screens so you can see what you are doing when entering the password, by pressing the “Fn” key.

Tagged : / / / /

Making Game: How can I boot a Live CD on laptop with broken internal hdd?

Original Source Link

My laptop’s internal hard drive is broken, and while there is an SSD, it is 22GB capacity and is also not the boot drive. Whenever I try to boot from a Live CD (ParrotOS) it loops an I/O error (blk_update_request) and eventually stops with “BOOT FAILED!” even though I want nothing to do with that drive.

My laptop is a Thinkpad S230u, which I don’t know the specs of offhand.

I just need to know if I can somehow boot without it attempting whatever its doing on the broken drive. I have an issue right now that I can only solve with ParrotOS and don’t have access to anything else today.

EDIT: I don’t know if this is important, but the terminal also inconsistently says “mount: mounting /dev/sda1 on /run/live/medium failed: invalid argument”, maybe this is because I took everything out of boot order save for the live cd? I’ll put it back at the bottom and report back.

EDIT2: Restoring hdd, ssd, and others to the bottom of the boot order made no difference. Also, switching the Live CD to a different USB port made no difference as well.

Disconnect all your internal drives and try to boot your live CD.
Then try to boot again adding one drive after another to search the culprit that prevents booting.

The best thing is to remove your broken drive and connect it to a running linux system to see if it is recognized there.

Tagged : / / / /

Ubuntu HowTo: Issue with switchable graphic AMD APU and Nvidia dGPU

Original Source Link

I have an ASUS Laptop that as an AMD ryzen 35550H ( Vega 8 ) and an Nvidia GTX 1650m.I installed kubuntu 20.04 on it, upgraded to the liquorix kernel and installed the driver for my wifi card like normal but when i wanted to use the nvidia dGPU i found an issue.

Output of sudo gpu-manager :

last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
can't access /run/u-d-c-nvidia-was-loaded file
can't access /opt/amdgpu-pro/bin/amdgpu-pro-px
Looking for nvidia modules in /lib/modules/5.6.0-16.1-liquorix-amd64/updates/dkms
Looking for amdgpu modules in /lib/modules/5.6.0-16.1-liquorix-amd64/updates/dkms
Is nvidia loaded? no
Was nvidia unloaded? no
Is nvidia blacklisted? no
Is intel loaded? no
Is radeon loaded? no
Is radeon blacklisted? no
Is amdgpu loaded? yes
Is amdgpu blacklisted? no
Is amdgpu versioned? no
Is amdgpu pro stack? no
Is nouveau loaded? no
Is nouveau blacklisted? yes
Is nvidia kernel module available? no
Is amdgpu kernel module available? no
Vendor/Device Id: 10de:1f91
BusID "PCI:[email protected]:0:0"
Is boot vga? no
Error: can't access /sys/bus/pci/devices/0000:01:00.0/driver
The device is not bound to any driver.
Vendor/Device Id: 1002:15d8
BusID "PCI:[email protected]:0:0"
Is boot vga? yes
Found "/dev/dri/card0", driven by "amdgpu"
output 0:
        card0-eDP-1
Number of connected outputs for /dev/dri/card0: 1
Skipping "/dev/dri/card0", driven by "amdgpu"
Skipping "/dev/dri/card0", driven by "amdgpu"
Skipping "/dev/dri/card0", driven by "amdgpu"
Does it require offloading? no
last cards number = 2
Has amd? yes
Has intel? no
Has nvidia? yes
How many cards? 2
Has the system changed? No
Unsupported discrete card vendor: 10de
Nothing to do

Output of xrandr --listprovider :

Providers: number : 1
Provider 0: id: 0x54 cap: 0x9, Source Output, Sink Offload crtcs: 4 outputs: 1 associated providers: 0 name:Unknown AMD Radeon GPU @ pci:0000:05:00.0

Nvidia prime and the nvidia drivers are installed.

It was working when i was using PopOS! so i searched their github on found this : https://github.com/pop-os/system76-power/issues/73

But i don’t know how i can use their version of ubuntu-driver-common or even if i should, because when i had any of their repositories, apt says they don’t have a release file.

Don’t hesitate if you need more information.

Tagged : / / / /

Ubuntu HowTo: automatic brightness on 18.04 simply does not exist!

Original Source Link

I have been looking everywhere to make my dell XPS 13.3 running 18.04 LTS adjust the screen brightness automatically.
Initially I found that wildguppy which I did manage to install but it is not working.
Then I installed the dconf which does have an automatic brightness setting but flipping the switch, once again, does nothing!
Then I went to the BIOS and found a dynamic brightness adjustment sth option which was already enabled…. so nothing there too
How can this be possible? How can there be absolutely no way to automatically adjust the brightness on 18.04? I hear this feature exists in 20.04 but I cant upgrade, yet…

Tagged : / / / /

Making Game: Solution to remember a window’s size and position for laptop built-in monitor vs external monitor on Windows?

Original Source Link

Some laptops, like mine, are so easy to dock/undock. So, I do that all the time. When docked, my screen is Full HD. When undocked, it’s smaller. So, everytime I dock/undock my window arrangements get messed up.

Does anyone know of a solution that could make my laptop monitor-aware and restore the arrangements of my windows based on the monitor being used?

I’m on Windows 8, by the way.

Actual Window Manager, among other things, allows you to restrict the size and position for your elements. Believe me, I tried to solve a very similar problem for years (remember window position and size accross three screens), and this is the closest I got to it. Besides, it’s an awesome app, allows you to control multiple aspects of the windows GUI, and supports profiles, which would allow you to accomplish your goal.

Specifically, once you install the app, double click the tray icon, then under window settings, right click specific settings and select Add window rule. then on the right pane go to the target window tab and select the app you want to control. After that, you can control its position under position -> restrict placement, and its size unger Size -> fix minimal size and fix maximal size.

After you’ve finished configuring it, right click the tray icon and select desktop profiles -> configure.

You want to end up with one profile with position/size rules for fullHD and another for when your laptop is undocked.

I just tried a program called Mosaico that seems to do almost exactly what is wanted except that it can’t handle full screen windows well on my computer.

Also, another downside is that it is not free, although there is a trial period.

http://www.soulidstudio.com/#mosaico_features

Edit:

I also use Display Fusion which has some of the options described in Actual Window Manager if you need an alternative to that option.

DisplayFusion is another viable alternative. Two of its features are relevant:

  1. Window Position Profiles: one profile identifies all existing windows uniquely, and stores their window-position;
  2. Monitor Profiles: one profile stores the monitor configuration, and can auto-reset other settings that are specific to such monitor-layout.

Upon docking a laptop, or connecting an external monitor, the monitor layout will change. Upon assigning a certain Window Position profile to the monitor profile, physically switching monitor layouts will reload the corresponding Window Position Profile.

Tagged : / / / /