The generated xorg.conf file was highly compatible with Puppy xorg utilities
UPDATE: xorg-autoconf is now stable at IBM-PC arch. ARM arch was on experimental stage
Usage:
Code: Select all
xorg-autoconf > /etc/X11/xorg.conf
Code: Select all
xorg-autoconf > /etc/X11/xorg.conf
Code: Select all
xorg-autoconf > /etc/X11/xorg.conf
... and then reboot or restart X?mistfire wrote:to apply the configuration just redirect the terminal output to xorg.conf like this
Code: Select all
xorg-autoconf > /etc/X11/xorg.conf
Why not choose intel with intel gc?I still make some improvements on the script especially on dealing with radeon video cards that supports amdgpu xorg driver and dealing with a proper modesetting configuration for newer gen intel HD graphics.
Just googling around I came on this:mistfire wrote:On xorg-autoconf script, if an intel video card was made year 2012 or older. intel driver will be selected otherwise modesetting will be selected if its drm kernel module was loaded.
Major distros abandon intel xorg driver in favor of modesetting ddx for newer intel video card due to uncertainties of development on its upstream.
https://forum.manjaro.org/t/intel-modes ... r/106549/2dglt wrote:skylake + modesetting = (yes, it's really that bad)
even with heavy compositor options the tearing is horrendous. with my optimus laptop with skylake cpu i use modesetting with nvidia prime mode because PRIME synchronization gets rid of tearing and modesetting is faster for offloading.
but using modesetting with intel-only mode is unusable, not just games or videos either. opening menus? tearing. webpage scrolling? tears that resemble the grand canyon.
from what i understand post-skylake cpu's dont have this issue with modesetting but i never tested this first hand.
Code: Select all
Section "Device"
Identifier "Card0"
Driver "modesetting" #card0driver
BusID "" #card0busid
EndSection
Code: Select all
# bid="$(echo "$PCILIST" | grep "$1" | cut -f 1 -d ' ' | sed -e "s#^0##g" -e "s#:0#:#g" -e "s#\.#:#g")"
bid="$($PCILIST | grep "$1" | cut -f 1 -d ' ' | sed -e "s#^0##g" -e "s#:0#:#g" -e "s#\.#:#g")"
Code: Select all
ls -la /usr/lib/xorg/modules/drivers
total 1772
drwxr-xr-x 2 root root 61 Nov 29 04:16 .
drwxr-xr-x 5 root root 252 Nov 29 04:16 ..
-rw-r--r-- 1 root root 1702440 Oct 9 2018 intel_drv.so
-rw-r--r-- 1 root root 111168 Mar 5 2019 modesetting_drv.so
Code: Select all
lspci -nn | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09)
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Whistler [Radeon HD 6730M/6770M/7690M XT] [1002:6740]
For AMD
lspci -nk -d 1002:6740 | grep -e "Kernel driver" | cut -f 2 -d ':' | tr -d ' '
radeon
find /lib/modules | grep -i radeon
/lib/modules/4.19.0-6-amd64/kernel/drivers/gpu/drm/radeon/radeon.ko
/lib/modules/4.19.0-6-amd64/kernel/drivers/video/fbdev/aty/radeonfb.ko
For Intel
lspci -nk -d 8086:0116 | grep -e "Kernel driver" | cut -f 2 -d ':' | tr -d ' '
i915
find /lib/modules | grep -i i915
/lib/modules/4.19.0-6-amd64/kernel/drivers/gpu/drm/i915
/lib/modules/4.19.0-6-amd64/kernel/drivers/gpu/drm/i915/i915.ko
Code: Select all
Section "Device"
Identifier "Card0"
Driver "i915" #card0driver
BusID "0:2:0" #card0busid
EndSection
Section "Device"
Identifier "Card1"
Driver "radeon" #card1driver
Option "AccelMethod" "exa"
BusID "1:0:0" #card1busid
EndSection
Code: Select all
Section "Screen"
Identifier "Screen0"
# Device "Card0"
Here is where you are the expert. I am only trying to learn from you. I will answer my best but I can be wrong. And again I am not trying to correct you.mistfire wrote:You cant load kernel module as xorg driver. modesetting or its companion xorg driver will utilize those kernel modules for video cards
Code: Select all
root@live:~# ls /usr/lib/xorg/modules/drivers
intel_drv.so modesetting_drv.so
root@live:~#
Code: Select all
root@live:~# lsmod | cut -f 1 -d ' ' | tr -d ' ' | grep -i -e 'intel_drv.so\|modesetting_drv.so'
root@live:~#
Code: Select all
For AMD
lspci -nk -d 1002:6740 | grep -e "Kernel driver" | cut -f 2 -d ':' | tr -d ' '
radeon
For Intel
lspci -nk -d 8086:0116 | grep -e "Kernel driver" | cut -f 2 -d ':' | tr -d ' '
i915
Code: Select all
root@live:~# lsmod | cut -f 1 -d ' ' | tr -d ' ' | grep -i -e 'i915\|radeon\|modesetting'
i915
radeon
root@live:~#
Code: Select all
root@live:~# ls /sys/bus/pci/devices/0000:00:02.0/driver/module/drivers
pci:i915
root@live:~# ls /sys/bus/pci/devices/0000:01:00.0/driver/module/drivers
pci:radeon
root@live:~#
Remeber I am a DebianDog user.mistfire wrote:How did you get the pci bus id without using busybox lspci applet?
For CPU Intelmistfire wrote:May I know your intel-amd hybrid gpu name and model please?
Code: Select all
root@live:~# lspci -nn | grep 8086:0116
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09)
cat /proc/cpuinfo | grep -i -e 'vendor_id\|model name'
vendor_id : GenuineIntel
model name : Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
cat /sys/bus/pci/devices/0000:00:02.0/uevent
DRIVER=i915
PCI_CLASS=30000
PCI_ID=8086:0116
PCI_SUBSYS_ID=103C:165A
PCI_SLOT_NAME=0000:00:02.0
MODALIAS=pci:v00008086d00000116sv0000103Csd0000165Abc03sc00i00
Code: Select all
lspci -nn | grep 1002:6740
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Whistler [Radeon HD 6730M/6770M/7690M XT] [1002:6740]
cat /sys/bus/pci/devices/0000:01:00.0/uevent
DRIVER=radeon
PCI_CLASS=30000
PCI_ID=1002:6740
PCI_SUBSYS_ID=103C:165A
PCI_SLOT_NAME=0000:01:00.0
MODALIAS=pci:v00001002d00006740sv0000103Csd0000165Abc03sc00i00
Code: Select all
http://pci-ids.ucw.cz/read/PC/1002/6740/103c165a
Code: Select all
root@live:~# DRI_PRIME=0 glxgears -info
GL_RENDERER = AMD TURKS (DRM 2.50.0 / 4.19.0-6-amd64, LLVM 7.0.1)
root@live:~#
root@live:~# DRI_PRIME=1 glxgears -info
GL_RENDERER = Mesa DRI Intel(R) Sandybridge Mobile
root@live:~#
Code: Select all
/lib/modules/4.19.0-6-amd64/kernel/drivers/gpu/drm/radeon/radeon.ko
/lib/modules/4.19.0-6-amd64/kernel/drivers/video/fbdev/aty/radeonfb.ko
Code: Select all
/usr/lib/xorg/modules/drivers
No. modesetting seems to be a one setting fits all, for all motherborads build after 2007. Another issue is if it is the best!You must need to install fbdev and vesa xorg driver as a fallback. I wonder why they didn't include those fallbacks on BusterDog & StrechDog?
I just use the driver that comes with the Puppy.mistfire wrote:@foxpup did you use the latest intel xorg driver? What is the model of your intel video card?
Code: Select all
▶—— Video ——◀
Display Specifications:
• Monitor VertRefresh: 60.01 times/s
• Screen Dimensions: 1920x1080 pixels (507x285 millimeters)
• Screen Depth: 24 bits (planes)
Xorg Startup Log (/var/log/Xorg.0.log):
• Xorg Driver in use: intel
• Loaded Modules: dbe dri2 dri3 evdev glx libinput present synaptics
• X.Org version: 1.19.2
OpenGL 2D/3D Rendering:
• Direct Rendering: Yes
• Vendor: Intel Open Source Technology Center
• Renderer: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) x86/MMX/SSE2
• Version: 3.0 Mesa 13.0.6
VGA controller [0300]: Intel Corporation Skylake GT2 [HD Graphics 520] [8086:1916] (rev 07)
• Kernel Driver: i915
• Memory Used by Driver: 1094.51 KB
• Path: /lib/modules/4.9.149-stretch/kernel/drivers/gpu/drm/i915/i915.ko
• Description: Intel Graphics
• Video RAM: 1536M total, 256M prefetchable