View previous topic :: View next topic |
Author |
Message |
stephansama n00b
Joined: 11 Jul 2018 Posts: 2
|
Posted: Wed Jul 11, 2018 3:08 pm Post subject: Configuring xorg for amdgpu |
|
|
Hey all, I built my computer not too long ago and installed gentoo on it.
I didn't install a de as I wanted to use i3 with gaps instead.
But my system only displays in 1024x768.
I updated the kernel
I added the use flags
I added a preferred option inside of a monitor conf (but unable to use specific monitor name since)
Xrandr only gives me that it failed to get the size of the gamma.
I don't know where I'm going wrong.
CPU: Ryzen 5 1600
GPU: RX 460 |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54097 Location: 56N 3W
|
Posted: Wed Jul 11, 2018 4:48 pm Post subject: |
|
|
stephansama,
Welcome to Gentoo.
Please put your /var/log/Xorg.0.log onto a pastebin site and post the link.
Its too big to fit into a post.
wgetpaste can help you. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
stephansama n00b
Joined: 11 Jul 2018 Posts: 2
|
Posted: Wed Jul 11, 2018 5:07 pm Post subject: |
|
|
NeddySeagoon wrote: |
Please put your /var/log/Xorg.0.log onto a pastebin site and post the link.
Its too big to fit into a post.
|
Here it is https://pastebin.com/89Kj41Y0 |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54097 Location: 56N 3W
|
Posted: Wed Jul 11, 2018 5:26 pm Post subject: |
|
|
stephansama,
Code: | [ 7.817] Current Operating System: Linux gentoo-rx516 4.14.52-gentoo #1 SMP Mon Jul 9 14:27:19 CDT 2018 x86_64 | the amdgpu driver was rewritten for kernel 4.15.0 and lots of things that were turmed off by default became enabled.
Code: | [ 7.928] (II) RADEON: Driver for ATI/AMD Radeon chipsets: |
You are trying to use the Radeon driver, not amdgpu but that fails
Code: | [ 7.931] (EE) open /dev/dri/card0: No such file or directory |
because kernel support is missing.
Eventually, Xorg starts with the fbdev driver
Code: | [ 7.931] (--) FBDEV(0): Virtual size is 1024x768 (pitch 1024) |
Upgrade your kernel to the current testing kernel, thats 4.17.x
Follow the wiki for kernel settings, a few other things, then run Code: | emerge -uNDav @world | so the settings take effect.
Eventually, the log should show something like my
Code: | [ 46.905] (--) AMDGPU(0): Chipset: "AMD Radeon (TM) RX 460 Graphics" (ChipID = 0x67ef) |
_________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
screen010 n00b
Joined: 10 Apr 2020 Posts: 4
|
Posted: Fri Apr 10, 2020 8:58 am Post subject: yo dude |
|
|
try the following :
1) xrandr --listproviders
2) acording to the gaphic card your using use the following string 1st time allways charm : "xrandr --setprovideroffloadsink 1 0" ; mine is a RX560X
3) DRI_PRIME=1 <program name>
REGARDS,
Nuno Faisca |
|
Back to top |
|
|
screen010 n00b
Joined: 10 Apr 2020 Posts: 4
|
Posted: Fri Apr 10, 2020 9:03 am Post subject: Re: yo dude |
|
|
screen010 wrote: | try the following :
1) xrandr --listproviders
2) acording to the gaphic card your using use the following string 1st time allways charm : "xrandr --setprovideroffloadsink 1 0" ; mine is a RX560X
3) DRI_PRIME=1 <program name>
REGARDS,
Nuno Faisca |
IF status OK ; go further in 3D GAMING
IF status FALSE ;
Apply this fix :
xrandr --setprovideroffloadsink 0x44 0x6b
Use the hex(key) ascii identifier ,
mine was 0x44 0x6b as shown bellow; as they are default sink place
"
Providers: number : 2
Provider 0: id: 0x6b cap: 0x9, Source Output, Sink Offload crtcs: 3 outputs: 4 associated providers: 1 name:modesetting
Provider 1: id: 0x44 cap: 0x6, Sink Output, Source Offload crtcs: 5 outputs: 0 associated providers: 1 name:Radeon RX 560 Series @ pci:0000:01:00.
"
Last edited by screen010 on Fri Apr 10, 2020 9:08 am; edited 1 time in total |
|
Back to top |
|
|
screen010 n00b
Joined: 10 Apr 2020 Posts: 4
|
Posted: Fri Apr 10, 2020 9:06 am Post subject: Re: yo dude |
|
|
screen010 wrote: | screen010 wrote: | try the following :
1) xrandr --listproviders
2) acording to the gaphic card your using use the following string 1st time allways charm : "xrandr --setprovideroffloadsink 1 0" ; mine is a RX560X
3) DRI_PRIME=1 <program name>
REGARDS,
Nuno Faisca |
IF status OK ; go further in 3D GAMING
IFTHEMELSE status FALSE ;
Apply this fix :
xrandr --setprovideroffloadsink 0x44 0x6b
Use the hex(key) ascii identifier ,
mine was 0x44 0x6b as shown bellow;
"
Providers: number : 2
Provider 0: id: 0x6b cap: 0x9, Source Output, Sink Offload crtcs: 3 outputs: 4 associated providers: 1 name:modesetting
Provider 1: id: 0x44 cap: 0x6, Sink Output, Source Offload crtcs: 5 outputs: 0 associated providers: 1 name:Radeon RX 560 Series @ pci:0000:01:00.
" |
never switch the "x11-xorg" drivers from "eselect opengl";
IF STATUS OK ;
IFTHEMELSE2:
"
Use this command: xrandr --setprovideroffloadsink 0x44 0x6b
and then: DRI_PRIME=1 steam
If that doesn’t work, then use this command:
xrandr --setprovideroffloadsink "Radeon RX 560 Series @ pci:0000:01:00.0"
and then: DRI_PRIME=1 steam
For steam games, the recommended method is not to use DRI_PRIME=1 steam, but to just start steam the normal way and add to the game launch options this: DRI_PRIME=1 %command% |
|
Back to top |
|
|
|