Page 1 of 2

Need help for gxconfig

Posted: Sat Dec 15, 2018 11:45 am
by ericbsd
I Need the output of pciconf -lv | grep -B 4 VGA and cat /etc/X11/xorg.conf | grep Driver from everyone to help me to make gxconfig better.

Code: Select all

pciconf -lv | grep -B 4 VGA
vgapci0@pci0:0:2:0:	class=0x030000 card=0x21f617aa chip=0x01668086 rev=0x09 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '3rd Gen Core processor Graphics Controller'
    class      = display
    subclass   = VGA

Code: Select all

cat /etc/X11/xorg.conf | grep Driver
	Driver     "intel"
Please live your output in this Post.

Re: Need help for gxconfig

Posted: Sat Dec 15, 2018 3:24 pm
by demetrioussharpe

Code: Select all

pciconf -lv | grep -B 4 VGA
vgapci0@pci0:132:0:0:	class=0x030000 card=0xc8613842 chip=0x062210de rev=0xa1 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'G94 [GeForce 9600 GT]'
    class      = display
    subclass   = VGA

Code: Select all

cat /etc/X11/xorg.conf | grep Driver
    Driver         "nvidia"

Re: Need help for gxconfig

Posted: Sat Dec 15, 2018 8:08 pm
by NevilleGoddard
vgapci0@pci0:9:0:0: class=0x030000 card=0x92701682 chip=0x68111002 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'Curacao PRO [Radeon R7 370 / R9 270/370 OEM]'
class = display
subclass = VGA

cat /etc/X11/xorg.conf | grep Driver
cat: /etc/X11/xorg.conf: No such file or directory

Re: Need help for gxconfig

Posted: Sun Dec 16, 2018 1:40 am
by vimanuelt
vgapci0@pci0:0:2:0: class=0x030000 card=0x90b7104d chip=0x01668086 rev=0x09 hdr=0x00
vendor = 'Intel Corporation'
device = '3rd Gen Core processor Graphics Controller'
class = display
subclass = VGA

cat: /etc/X11/xorg.conf: No such file or directory

Re: Need help for gxconfig

Posted: Sun Dec 16, 2018 2:46 am
by tpf
pciconf -lv | grep -B 4 VGA
vgapci0@pci0:1:5:0: class=0x030000 card=0x83a21043 chip=0x97101002 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'RS880 [Radeon HD 4200]'
class = display
subclass = VGA

cat /etc/X11/xorg.conf | grep Driver
cat: /etc/X11/xorg.conf: No such file or directory

cheers

Re: Need help for gxconfig

Posted: Sun Dec 16, 2018 8:53 pm
by jochene

Code: Select all

pciconf -lv | grep -B 4 VGA
vgapci1@pci0:0:2:0:	class=0x030000 card=0x9096104d chip=0x01268086 rev=0x09 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '2nd Generation Core Processor Family Integrated Graphics Controller'
    class      = display
    subclass   = VGA
--
vgapci0@pci0:1:0:0:	class=0x030000 card=0x9096104d chip=0x68401002 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'Thames [Radeon HD 7500M/7600M Series]'
    class      = display
    subclass   = VGA
and

Code: Select all

cat /etc/X11/xorg.conf | grep Driver
cat: /etc/X11/xorg.conf: No such file or directory
the latter non existing file is because this is a Laptop: Sony Vajo SVE14 with hybrid graphics
- one internal Intel "card"
- an extra Radeon card that can't be switched off via BIOS
To make X see and use that card I use a /usr/local/etc/X11/xorg.conf.d/10-intel.conf
with this content:

Code: Select all

Section "Device"
        Identifier      "Card0"
        Driver          "intel"
        BusID           "PCI:0:2:0"
EndSection
ps:
I managed to install FreeBSD and have XFCE up and running, but it was a bit of a struggle to get X up without a proper browser to read the documentation to find out how to do it ... ;)

Very probably because of the dual graphics GhostBSD doesn't fully boot - just a black screen eventually.

I also switched off the Radeon card using the acpi_call module as it is unused but using quite some power and generates only heat and fan noise

Code: Select all

kld_list="acpi_call"
in /etc/rc.conf
and the output of this script:
https://people.freebsd.org/~xmj/turn_off_gpu.sh
to put a command into /etc/rc.local - which then switches the Radeon off, like this:

Code: Select all

/usr/local/sbin/acpi_call -p "\_SB.PCI0.PEG0.PEGP._OFF" -o i
The machine is as quiet as it has never been in Linux ;)
Thanks FreeBSD!

Re: Need help for gxconfig

Posted: Mon Dec 17, 2018 8:48 am
by rgeorgia

Code: Select all

pciconf -lv | grep -B 4 VGA
vgapci0@pci0:1:0:0:	class=0x030000 card=0x84391043 chip=0x0fc610de rev=0xa1 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'GK107 [GeForce GTX 650]'
    class      = display
    subclass   = VGA

Code: Select all

cat /etc/X11/xorg.conf | grep Driver
        Driver          "nvidia"

Re: Need help for gxconfig

Posted: Mon Dec 17, 2018 10:21 pm
by t-cat
pciconf -lv | grep -B 4 VGA
vgapci0@pci0:0:2:0: class=0x030000 card=0x223817aa chip=0x19168086 rev=0x07 hdr=0x00
vendor = 'Intel Corporation'
device = 'Skylake GT2 [HD Graphics 520]'
class = display
subclass = VGA
--
none1@pci0:0:19:0: class=0x000000 card=0x223817aa chip=0x9d358086 rev=0x21 hdr=0x00
vendor = 'Intel Corporation'
device = 'Sunrise Point-LP Integrated Sensor Hub'
class = old
subclass = non-VGA display device

cat /etc/X11/xorg.conf | grep Driver
Driver "intel"

Re: Need help for gxconfig

Posted: Thu Dec 20, 2018 3:43 pm
by ericbsd

Code: Select all

pciconf -lv | grep -B 4 VGA                                                                                   6.3m  Thu Dec 20 15:42:00 2018
vgapci0@pci0:9:0:0:	class=0x030000 card=0x37631458 chip=0x1c8210de rev=0xa1 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'GP107 [GeForce GTX 1050 Ti]'
    class      = display
    subclass   = VGA

Code: Select all

cat /etc/X11/xorg.conf | grep Driver                                                                                 Thu Dec 20 15:43:04 2018
    Driver         "mouse"
    Driver         "keyboard"
    Driver         "nvidia"

Re: Need help for gxconfig

Posted: Wed Jan 02, 2019 5:15 pm
by liam
2015 Toshiba L15W-B1302
Intel BayTrail Celeron N2840

liveCD fails to set correct video driver.
Maybe a switch from pkg drm-next-kmod to drm-kmod will fix this?

the old TrueOS 12.current picked up the driver & resolution just fine.

Code: Select all

pciconf -lv | grep -B 4 VGA
vgapci0@pci0:0:2:0:     class=0x030000 card=0xfbb81179 chip=0x0f318086 rev=0x0e hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Atom Processor Z36xxx/Z37xxx Series Graphics & Display'
    class      = display
    subclass   = VGA

Code: Select all

cat /etc/X11/xorg.conf | grep Driver  
        Driver     "scfb"
full dmesg available upon request :-)