У меня новый HP Envy x360, и я не могу изменить ориентацию своих экранов. GNOME, кажется, не обнаруживает, что я могу перевернуть мой дисплей, и при этом я не могу перевернуть мой дисплей вручную. Я попытался:
sudo apt remove iio-sensor-proxy
, а затем изменил настройку в разделе дисплеев GNOME, но я нажму на ориентацию, изменив ее на инвертированный ландшафт, и он спросит, хочу ли я сохранить изменения (но экран по-прежнему был в обычном ландшафте), нажимая сохранить Изменения вернут меня обратно на экран, где будет показана ориентация как «Пейзаж». Я пытался использовать xrandr
xrandr -o inverted --verbose
SZ: Pixels Physical Refresh
*0 1920 x 1080 ( 508mm x 286mm ) *77
Current rotation - normal
Current reflection - none
Rotations possible - normal
Reflections possible - none
Setting size to 0, rotation to inverted
Setting reflection on neither axis
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 2 (RRSetScreenConfig)
Serial number of failed request: 14
Current serial number in output stream: 14
Я пытался найти точное имя дисплея, используя
xrandr -q --verbose
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected primary 1920x1080+0+0 (0x39f) normal (normal) 0mm x 0mm
Identifier: 0x39e
Timestamp: 51295
Subpixel: unknown
Clones:
CRTC: 0
CRTCs: 0
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
_MUTTER_PRESENTATION_OUTPUT: 0
non-desktop: 0
supported: 0, 1
1920x1080 (0x39f) 159.667MHz *current
h: width 1920 start 0 end 0 total 1920 skew 0 clock 83.16KHz
v: height 1080 start 0 end 0 total 1080 clock 77.00Hz
Я пытался использовать dnconf-editor, чтобы посмотреть, смогу ли я что-то изменить, но это не помогло. Работая
, я дважды проверил настройки с помощью gsettings и получил это
gsettings list-recursively org.gnome.settings-daemon.plugins.xrandr
org.gnome.settings-daemon.plugins.xrandr default-monitors-setup 'follow-lid'
org.gnome.settings-daemon.plugins.xrandr priority 0
org.gnome.settings-daemon.plugins.xrandr default-configuration-file '/org/gnome-settings-daemon/xrandr/monitors.xml'
org.gnome.settings-daemon.plugins.xrandr active true
и
gsettings list-recursively org.gnome.settings-daemon.peripherals.touchscreen
org.gnome.settings-daemon.peripherals.touchscreen orientation-lock false
и
gsettings list-recursively org.gnome.settings-daemon.plugins.remote-display
org.gnome.settings-daemon.plugins.remote-display priority 0
org.gnome.settings-daemon.plugins.remote-display active true
и переустановил iio-sensor-proxy на протяжении всех этих шагов и многих других вариантов. Любые идеи приветствуются
amd ryzen 7 4000u processors with integrated radeon graphics isn't supported in the 5.4 linux kernel. upgrading to 5.6 solves the issue. doesn't support auto rotate but keyboard shortcuts can be made to make it work, the brightness of the screen might be too bright after doing this. I suggest using brightness-controller to fix this issue. This solution works on ubuntu 20.04 and popOS 20.04.
check your kernel version with
uname -r
you'll need 5.6 or later
go to https://kernel.ubuntu.com/~kernel-ppa/mainline/ download the header, image, and modules .deb files you need (you probably don't need low latency unless you're doing audio recording)
I suggest copying them into their own folder and then running
sudo dpkg –i *.deb
this should solve the problem. If you also have monitor brightness problems you can install brightness-controller to solve that
sudo add-apt-repository ppa:apandada1/brightness-controller
sudo apt-get update
sudo apt-get install brightness-controller