Need help for gxconfig

Open development discussions

Moderator: Developer

User avatar
ericbsd
Developer
Posts: 2123
Joined: Mon Nov 19, 2012 7:54 pm

Need help for gxconfig

Post 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.
demetrioussharpe
Posts: 7
Joined: Sat Dec 15, 2018 3:21 pm

Re: Need help for gxconfig

Post 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"
User avatar
NevilleGoddard
Developer
Posts: 517
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan

Re: Need help for gxconfig

Post 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
vimanuelt
Posts: 11
Joined: Sun Dec 16, 2018 1:35 am

Re: Need help for gxconfig

Post 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
tpf
Posts: 1
Joined: Sun Dec 16, 2018 2:42 am

Re: Need help for gxconfig

Post 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
jochene
Posts: 2
Joined: Sun Dec 16, 2018 7:46 pm

Re: Need help for gxconfig

Post 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!
rgeorgia
Posts: 11
Joined: Tue Apr 10, 2018 2:35 pm

Re: Need help for gxconfig

Post 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"
t-cat
Posts: 1
Joined: Sun Nov 18, 2018 9:30 pm

Re: Need help for gxconfig

Post 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"
User avatar
ericbsd
Developer
Posts: 2123
Joined: Mon Nov 19, 2012 7:54 pm

Re: Need help for gxconfig

Post 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"
liam
Posts: 18
Joined: Wed Jan 02, 2019 4:55 pm

Re: Need help for gxconfig

Post 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 :-)
Last edited by liam on Wed Jan 02, 2019 6:29 pm, edited 1 time in total.
Post Reply