albfneto
(usa openSUSE)
Enviado em 05/09/2019 - 16:16h
Estou mexendo nas configurações.
Combinei meu xorg.conf para meus mouse de sete botões:
https://edpsblog.wordpress.com/2019/02/26/dica-usando-mouse-de-7-botoes-em-sabayon-linux/
com o arquivo xorg.conf para AMD-ATI, driver livre, otimizado pela Phoronix; Resultou nisto:
# Arquivo /etc/X11/xorg.conf para placas de vídeo ATI, com driver Livre xf86-video-ati.
# Autoria de: Exershio (2009), Site Phoronix:
# http : //phoronix.com/forums/showthread.php?16969-Radeon-9550-xf86-video-ati-Crash
# modificado para Mouse de 7 Botões por Albfneto, Brasil (2019).
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Synaps"
ModelName "LCD Monitor"
HorizSync 30.0 - 130.0
VertRefresh 50.0 - 100.0
Option "DPMS" "True"
EndSection
Section "Device"
Option "AGPMode" "4"
Option "ColorTiling" "True"
Identifier "Card0"
Driver "radeon"
VendorName "ATI Technologies Inc"
# Substitua por sua placa, marca e modelo
BoardName "RV350 AS [Radeon 5550]"
# Substitua pelo BusID da sua placa, veja com o comando "sudo lspci | grep -i vga"
BusID "PCI:02:00:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
# Mouse com vários botões (no meu caso, 7) No meu linux, este driver funcionou melhor.
# em Linux antigos, na linha "device", pode ser necessário usar "/dev/psaux" ou "/dev/mouse"
Section "InputDevice"
Identifier "USB 7 Buttons Optical Mouse"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/input/mice"
Option "AccelerationScheme" "lightweight"
Option "AccelerationProfileAveraging" "True"
Option "Softening" "True"
Option "Emulate3Buttons" "true"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
Option "ButtonMapping" "1 3 2 8 9 7"
EndSection
Observe que agora, OpenGL, está na placa principal, offboard.... mas a placa onboard pequena, ainda é a principal:
$ glxinfo | egrep "OpenGL vendor|OpenGL renderer"
ATTENTION: default value of option vblank_mode overridden by environment.
OpenGL vendor string: X.Org
OpenGL renderer string: AMD CEDAR (DRM 2.50.0 / 5.2.0-sabayon, LLVM 8.0.1)
$ lspci | grep -i --color 'vga\|3d\|2d'
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS880 [Radeon HD 4250]
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series]
Mas veja, parece que a placa offboard que quero ativar me parece inativa:
Procedimento: https://unix.stackexchange.com/questions/16407/how-to-check-which-gpu-is-active-in-linux
[code]
$ lspci -vnnn | perl -lne 'print if /^\d+\:.+(\[\S+\:\S+\])/' | grep VGA
01:05.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RS880 [Radeon HD 4250] [1002:9715] (prog-if 00 [VGA controller])
02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series] [1002:68f9] (prog-if 00 [VGA controller])
AJUSTES DE HOJE, DIA 19.
Consegui editar um xorg.conf funcionando.
também consegui ajustar a placa offboard como principal, Card0 e a onboard, Card1;
comandos segui deste tutorial;
https://medium.com/@authmane512/how-to-configure-a-second-graphic-card-on-arch-linux-or-debian-9-str...
Observem:
$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x7a cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 3 associated providers: 1 name:ATI Radeon HD 5450 @ pci:0000:02:00.0
Provider 1: id: 0x43 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 2 outputs: 2 associated providers: 1 name:ATI Radeon HD 4250 @ pci:0000:01:05.0
$ xrandr
xrandr
Screen 0: minimum 320 x 200, current 1360 x 768, maximum 8192 x 8192
HDMI-0 disconnected (normal left inverted right x axis y axis)
DVI-0 disconnected (normal left inverted right x axis y axis)
VGA-1 connected primary 1360x768+0+0 (normal left inverted right x axis y axis) 406mm x 229mm
1360x768 60.02*+
1024x768 75.03 60.00
832x624 74.55
800x600 75.00 60.32
640x480 75.00 59.94
720x400 70.08
VGA-1-0 disconnected (normal left inverted right x axis y axis)
DVI-1-0 disconnected (normal left inverted right x axis y axis)
¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨
Albfneto,
Ribeirão Preto, S.P., Brasil.
Usuário Linux, Linux Counter: #479903.
Distros Favoritas:
Sabayon, Gentoo, openSUSE, Mageia e OpenMandriva .