Need help for gxconfig

Open development discussions

Moderator: Developer

liam
Posts: 18
Joined: Wed Jan 02, 2019 4:55 pm

Re: Need help for gxconfig

Post by liam »

2014 Acer V3-112P-C9AX
Intel BayTrail Celeron (Atom 4core) N2940

liveCD sets resolution correctly, but still on "scfb" driver

freeBSD 12.0 stable & hardenedBSD 12.0 stable do just fine with the drm-kmod pkg.

Code: Select all

pciconf -lv | grep -B 4 VGA
vgapci0@pci0:0:2:0:     class=0x030000 card=0x09331025 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"
liam
Posts: 18
Joined: Wed Jan 02, 2019 4:55 pm

Re: Need help for gxconfig

Post by liam »

2015 ASUS X200MA
Intel BayTrail Celeron N2830

again, liveCD can't get resolution right

Code: Select all

pciconf -lv | grep -B 4 VGA
    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"
liam
Posts: 18
Joined: Wed Jan 02, 2019 4:55 pm

Re: Need help for gxconfig

Post by liam »

2013 Asus M5A97 Evo R2.0 (motherboard, socket AM3)
Radeon HD 6450 PCIe

liveCD works great

Code: Select all

pciconf -lv | grep -B 4 VGA
vgapci0@pci0:1:0:0:     class=0x030000 card=0xe199174b chip=0x67791002 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]'
    class      = display
    subclass   = VGA

Code: Select all

cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: No such file or directory
shastybsd
Posts: 1
Joined: Fri Jan 04, 2019 9:00 am

Re: Need help for gxconfig

Post by shastybsd »

Notebook Avell
hw.model: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz

Code: Select all

vgapci1@pci0:0:2:0:	class=0x030000 card=0x85871558 chip=0x591b8086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'HD Graphics 630'
    class      = display
    subclass   = VGA

Code: Select all

Driver     "scfb"
colossus48
Posts: 1
Joined: Sat Jan 26, 2019 7:14 pm

Re: Need help for gxconfig

Post by colossus48 »

~> pciconf -lv | grep -B3 display
vgapci0@pci0:0:1:0: class=0x030000 card=0x381a17aa chip=0x98511002 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'Mullins [Radeon R4/R5 Graphics]'
class = display
--
vgapci1@pci0:1:0:0: class=0x038000 card=0x381a17aa chip=0x666f1002 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'Sun LE [Radeon HD 8550M / R5 M230]'
class = display



~> pciconf -lv | grep -B 4 VGA
vgapci0@pci0:0:1:0: class=0x030000 card=0x381a17aa chip=0x98511002 rev=0x00 hdr=0x00
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'Mullins [Radeon R4/R5 Graphics]'
class = display
subclass = VGA




~> cat /etc/X11/xorg.conf | grep Driver
Driver "scfb"



LENOVO G50-45 , CPU AMD A6-6310 APU with AMD Radeon R4 Graphics , system memory 4096 MB
Is it possible to disable the integrated graphics controller ( Mullins Radeon R4/R5 ) & use only the discrete controller ( Sun LE [Radeon HD 8550M / R5 M230] ) ?
demetrioussharpe
Posts: 7
Joined: Sat Dec 15, 2018 3:21 pm

Re: Need help for gxconfig

Post by demetrioussharpe »

I can't give this output for one of my systems, since there doesn't seem to be a pkg for the required driver. I had to swap hard drives with another system in order to do the OS installation, & X11 won't even run. However, I can tell you specifically about the gpus that it's running & which driver it needs. It's running 2 GeForce GTX 760 in SLI. They require nvidia driver series 410.XX, however version 415.13 is currently in beta. I'm trying my best to install the driver from nvidia's site, but it's kind of tricky because it's crying about specifically needing the kernel sources -which I've just now realized that I can only get from the TrueOS github site. So, that's currently being cloned. Hopefully, I'll be able to run make install on the driver without running into another kernel<->driver version mismatch issue.
demetrioussharpe
Posts: 7
Joined: Sat Dec 15, 2018 3:21 pm

Re: Need help for gxconfig

Post by demetrioussharpe »

Looks like I was mistaken on the available nvidia driver versions.

Release - 415.27
Beta - 418.30
chkur6
Posts: 1
Joined: Tue Feb 19, 2019 8:14 pm

Re: Need help for gxconfig

Post by chkur6 »

Code: Select all

vgapci0@pci0:2:0:0:	class=0x030000 card=0x26633842 chip=0x11c010de rev=0xa1 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'GK106 [GeForce GTX 660]'
    class      = display
    subclass   = VGA

cat /etc/X11/xorg.conf | grep Driver
    Driver         "mouse"
    Driver         "keyboard"
    Driver         "nvidia"
lukasz
Posts: 1
Joined: Fri Mar 15, 2019 5:06 pm

Re: Need help for gxconfig

Post by lukasz »

Hello,

This is output from commands, I'm using GhostBSD 19.03, and did manual change in xorg conf from
nv
to
nvidia

Code: Select all

vgapci1@pci0:0:2:0:	class=0x030000 card=0x181d103c chip=0x01668086 rev=0x09 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '3rd Gen Core processor Graphics Controller'
    class      = display
    subclass   = VGA
--
vgapci0@pci0:1:0:0:	class=0x030000 card=0x181d103c chip=0x0de310de rev=0xa1 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'GF108M [GeForce GT 635M]'
    class      = display
    subclass   = VGA

Code: Select all

	Driver      "kbd"
	Driver      "mouse"
        ### Available Driver options are:-
	Driver      "modesetting"
        ### Available Driver options are:-
	Driver      "nvidia"
aht0
Posts: 7
Joined: Thu Apr 25, 2019 1:25 pm

Re: Need help for gxconfig

Post by aht0 »

Code: Select all

pciconf -lv | grep -B 4 VGA
vgapci0@pci0:8:0:0:	class=0x030000 card=0x6b761002 chip=0x687f1002 rev=0xc1 hdr=0x00
    vendor     = 'Advanced Micro Devices, Inc. [AMD/ATI]'
    device     = 'Vega 10 XL/XT [Radeon RX Vega 56/64]'
    class      = display
    subclass   = VGA

Code: Select all

cat /etc/X11/xorg.conf | grep Driver
	Driver     "amdgpu"
Vega64 (discrete) card is problematic. Well, it's that with vanilla FreeBSD as well. LiveCD works only with either Vesa or SCFB graphics. Selecting AMDGPU in installer will blank the screen and silence the fans (seems to take system completely offline in fact because not even keyboard leds blink after pushing CAPS/SCROLL/NUMLOCK).
4.16-based drm does not work in vanilla either, it's not GhostBSD-specific issue. I can get picture only with 5.0-based drm in vanilla FreeBSD, haven't even gotten up to trying Xorg neither here or in vanilla.

Found this:
https://forums.freebsd.org/threads/amd- ... ost-455723

Currently trying to implement it on GhostBSD install and see if I can get graphics to work. (pulling GhostBSD sources from github atm in order to compile kms-drm-drm-v5.0-fbsd12.1 ). Will update progress later.

EDIT: Compiling drm-v5 finished without errors. 'make install' went without hitch, as expected.

Loading Xorg+amdgpu failed with 'no screens found'. Even tried to define BusID - which was double-checked with "scfb" driver.
Can post error log if there's any interest.
should have gone to sleep earlier, made some stupid mistakes (like trying to load radeonkms driver instead of amdgpu)

EDIT3: after reinstalling from 0, compiling-installing drm v5, adding "amdgpu" into /etc/rc.conf kld_list and replacing scfb driver with amdgpu in /etc/X11/xorg.conf graphics is functional on Vega discrete graphics card.
Image

Users with Polaris card should get theirs working much the same way.
Post Reply