Need help for gxconfig

Open development discussions

Moderator: Developer

User avatar
ericbsd
Developer
Posts: 1355
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 34 times
Been thanked: 39 times

Need help for gxconfig

Post by ericbsd » Sat Dec 15, 2018 11:45 am

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
Has thanked: 0
Been thanked: 2 times

Re: Need help for gxconfig

Post by demetrioussharpe » Sat Dec 15, 2018 3:24 pm

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"
These users thanked the author demetrioussharpe for the post:
ericbsd (Sat Dec 15, 2018 3:25 pm)
Rating: 50%

NevilleGoddard
Developer
Posts: 475
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 9 times
Been thanked: 10 times

Re: Need help for gxconfig

Post by NevilleGoddard » Sat Dec 15, 2018 8:08 pm

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
These users thanked the author NevilleGoddard for the post:
ericbsd (Thu Dec 20, 2018 3:41 pm)
Rating: 50%

vimanuelt
Posts: 1
Joined: Sun Dec 16, 2018 1:35 am
Has thanked: 0
Been thanked: 1 time

Re: Need help for gxconfig

Post by vimanuelt » Sun Dec 16, 2018 1:40 am

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
These users thanked the author vimanuelt for the post:
ericbsd (Thu Dec 20, 2018 3:40 pm)
Rating: 50%

tpf
Posts: 1
Joined: Sun Dec 16, 2018 2:42 am
Has thanked: 0
Been thanked: 1 time

Re: Need help for gxconfig

Post by tpf » Sun Dec 16, 2018 2:46 am

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
These users thanked the author tpf for the post:
ericbsd (Thu Dec 20, 2018 3:40 pm)
Rating: 50%

jochene
Posts: 2
Joined: Sun Dec 16, 2018 7:46 pm
Has thanked: 0
Been thanked: 2 times

Re: Need help for gxconfig

Post by jochene » Sun Dec 16, 2018 8:53 pm

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!
These users thanked the author jochene for the post (total 2):
ericbsd (Thu Dec 20, 2018 3:40 pm) • NevilleGoddard (Fri Dec 28, 2018 3:06 am)
Rating: 100%

rgeorgia
Posts: 11
Joined: Tue Apr 10, 2018 2:35 pm
Has thanked: 0
Been thanked: 2 times

Re: Need help for gxconfig

Post by rgeorgia » Mon Dec 17, 2018 8:48 am

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"
These users thanked the author rgeorgia for the post:
ericbsd (Thu Dec 20, 2018 3:40 pm)
Rating: 50%

t-cat
Posts: 1
Joined: Sun Nov 18, 2018 9:30 pm
Has thanked: 0
Been thanked: 1 time

Re: Need help for gxconfig

Post by t-cat » Mon Dec 17, 2018 10:21 pm

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"
These users thanked the author t-cat for the post:
ericbsd (Thu Dec 20, 2018 3:39 pm)
Rating: 50%

User avatar
ericbsd
Developer
Posts: 1355
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 34 times
Been thanked: 39 times

Re: Need help for gxconfig

Post by ericbsd » Thu Dec 20, 2018 3:43 pm

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: 14
Joined: Wed Jan 02, 2019 4:55 pm
Has thanked: 25 times
Been thanked: 3 times

Re: Need help for gxconfig

Post by liam » Wed Jan 02, 2019 5:15 pm

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.
These users thanked the author liam for the post:
ericbsd (Thu Jan 03, 2019 1:55 pm)
Rating: 50%

Post Reply