Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
x11-drivers/ati-drivers deleted ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
newin
n00b
n00b


Joined: 27 Oct 2012
Posts: 27

PostPosted: Wed May 24, 2017 5:33 am    Post subject: x11-drivers/ati-drivers deleted ? Reply with quote

Hi,
I'm a game developer using Unreal Engine 4 everyday and make my own game engine.
I always used fglrx and it worked pretty well but a few month ago "x11-drivers/ati-drivers" gets deleted from portage. Not just frozen or anything just simply deleted.

My problem is: I have a GCN 1.0 (AMD R9M370X - Southern Islands - Cape Verde) which doesn't work with amdgpu (yet?) and according to benchmarks fglrx is still faster than radeonsi.
I also need opengl 4.5 (which include important features like bindless textures) to work but the stable mesa can't give me more than 4.4 at best.

In addition if I follow the official documentation:
wiki.gentoo.org/wiki/Fglrx
It says that I should use AMDGPU-PRO but it's a userland driver based on amdgpu for the kernel land and like I said amdgpu doesn't work with my GPU...


On the amdgpu page is says that my GPU is supported but I tried with linux 4.9, 4.10 and 4.11 I always get a black screen immediately after the driver gets mounted (yes I did enable SI support in the kernel).
My situation is kind of annoying I have to use a mesa, a Xorg-server and a ati-driver that doesn't exist anymore on portage.


I want to stick to "official" drivers so what do I should do ? Download fglrx Xorg and mesa from official website and work without portage ? freeze my portage ? Move to amdgpu with an "unstable" mesa ? If I should move to amdgpu and my GPU should be supported by it what did I missed ?


PS: It looks weird to see no one on internet complaining about that so I'm very sorry if that deletion was my fault...
PPS: I hesitate to post in "Kernel & Hardware" but there is a lot of userland stuff and from where I stand my GPU isn't supported.

[Moderator edit: fixed [url] tags. -Hu]
_________________
uname -a: Linux legion 4.12.0-rc7 #2 SMP Sun Jul 2 22:07:50 CEST 2017 x86_64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz GenuineIntel GNU/Linux
gcc : gcc (Gentoo 5.4.0-r3 p1.3, pie-0.6.5) 5.4.0
window manager : dwm 6.1
web browser : Vivaldi 1.10.867.42
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Wed May 24, 2017 5:51 am    Post subject: Reply with quote

You can use a overlay for have ati-drivers (see here), but I think you can have version problem with xorg
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
newin
n00b
n00b


Joined: 27 Oct 2012
Posts: 27

PostPosted: Wed May 24, 2017 6:30 am    Post subject: Reply with quote

Well, using layman didn't crossed my mind... That's good work around.

Would be great if someone can give some advice if I want to go the "official way" and/or about what is happening with amdgpu and GCN1.0 cards (in the case some GCN 1.0 guys like me read this).
_________________
uname -a: Linux legion 4.12.0-rc7 #2 SMP Sun Jul 2 22:07:50 CEST 2017 x86_64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz GenuineIntel GNU/Linux
gcc : gcc (Gentoo 5.4.0-r3 p1.3, pie-0.6.5) 5.4.0
window manager : dwm 6.1
web browser : Vivaldi 1.10.867.42
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Wed May 24, 2017 11:19 am    Post subject: Reply with quote

fglrx is dead for a long time, older cards are supposed to use the much better radeon opensource driver.
Back to top
View user's profile Send private message
shrike
Apprentice
Apprentice


Joined: 20 Feb 2004
Posts: 187
Location: Closer to home

PostPosted: Wed May 24, 2017 11:39 am    Post subject: Reply with quote

newin,

Until recently I was using amdgpu with a GCN 1.0 card (Oland). I reverted to radeonsi due to loss of audio_over_hdmi with 4.9 kernel.

Concerning black screen issue pls ensure CONFIG_FB is builtin.

Regards.
Back to top
View user's profile Send private message
newin
n00b
n00b


Joined: 27 Oct 2012
Posts: 27

PostPosted: Thu May 25, 2017 12:24 pm    Post subject: Reply with quote

shrike wrote:

Until recently I was using amdgpu with a GCN 1.0 card (Oland). I reverted to radeonsi due to loss of audio_over_hdmi with 4.9 kernel.

Concerning black screen issue pls ensure CONFIG_FB is builtin.


Which kernel do you have ?

asturm wrote:

fglrx is dead for a long time, older cards are supposed to use the much better radeon opensource driver.


I don't know what you call "much better" but from my experience radeon was always the slowest and was at very least 5 years late. Yes fglrx was unstable sometimes but it was so rare...
But yeah I think I will switch to amdgpu someday to get at least vulkan through RADV and OpenGL 4.6 in the future.
_________________
uname -a: Linux legion 4.12.0-rc7 #2 SMP Sun Jul 2 22:07:50 CEST 2017 x86_64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz GenuineIntel GNU/Linux
gcc : gcc (Gentoo 5.4.0-r3 p1.3, pie-0.6.5) 5.4.0
window manager : dwm 6.1
web browser : Vivaldi 1.10.867.42
Back to top
View user's profile Send private message
shrike
Apprentice
Apprentice


Joined: 20 Feb 2004
Posts: 187
Location: Closer to home

PostPosted: Thu May 25, 2017 1:20 pm    Post subject: Reply with quote

Quote:
Which kernel do you have ?


I upgraded 4.4 to 4.9.

Current kernel:
Code:
Linux nehalem 4.9.29-gentoo #1 SMP Sun May 21 08:14:15 EDT 2017 x86_64 Intel(R) Xeon(R) CPU W3565 @ 3.20GHz GenuineIntel GNU/Linux
Back to top
View user's profile Send private message
newin
n00b
n00b


Joined: 27 Oct 2012
Posts: 27

PostPosted: Thu May 25, 2017 5:20 pm    Post subject: Reply with quote

shrike wrote:
Quote:
Which kernel do you have ?


I upgraded 4.4 to 4.9.

Current kernel:
Code:
Linux nehalem 4.9.29-gentoo #1 SMP Sun May 21 08:14:15 EDT 2017 x86_64 Intel(R) Xeon(R) CPU W3565 @ 3.20GHz GenuineIntel GNU/Linux


Well, I just tried 4.11 and 4.12 under different configuration and it still doesn't work.
If I put amdgpu in buildin it freese before openRC.
If I put amdgpu in module it blackscreen after openRC.

here is a `cat /usr/src/linux-4.11.2-gentoo-r1/.config | grep AMD`

Code:
# CONFIG_X86_AMD_PLATFORM_DEVICE is not set
CONFIG_CPU_SUP_AMD=y
CONFIG_X86_MCE_AMD=y
# CONFIG_PERF_EVENTS_AMD_POWER is not set
CONFIG_MICROCODE_AMD=y
CONFIG_AMD_NUMA=y
# CONFIG_X86_AMD_FREQ_SENSITIVITY is not set
CONFIG_AMD_NB=y
CONFIG_PATA_AMD=y
# CONFIG_NET_VENDOR_AMD is not set
# CONFIG_HW_RANDOM_AMD is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
CONFIG_AGP_AMD64=y
CONFIG_DRM_AMDGPU=m
CONFIG_DRM_AMDGPU_SI=y
CONFIG_DRM_AMDGPU_CIK=y
CONFIG_DRM_AMDGPU_USERPTR=y
# CONFIG_DRM_AMDGPU_GART_DEBUGFS is not set
CONFIG_DRM_AMD_ACP=y
CONFIG_AMD_IOMMU=y
# CONFIG_AMD_IOMMU_V2 is not set
# CONFIG_MCE_AMD_INJ is not set


shrike wrote:

Concerning black screen issue pls ensure CONFIG_FB is builtin.


`cat /usr/src/linux-4.11.2-gentoo-r1/.config | grep CONFIG_FB | head -n 1`
Code:
CONFIG_FB=y


That wasn't the problem.
_________________
uname -a: Linux legion 4.12.0-rc7 #2 SMP Sun Jul 2 22:07:50 CEST 2017 x86_64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz GenuineIntel GNU/Linux
gcc : gcc (Gentoo 5.4.0-r3 p1.3, pie-0.6.5) 5.4.0
window manager : dwm 6.1
web browser : Vivaldi 1.10.867.42
Back to top
View user's profile Send private message
shrike
Apprentice
Apprentice


Joined: 20 Feb 2004
Posts: 187
Location: Closer to home

PostPosted: Thu May 25, 2017 6:45 pm    Post subject: Reply with quote

newin,

My 4.9.16 amdgpu .config file:

http://bpaste.net/show/9326643d0c76

grep drm dmesg-4.9.16

Code:

[    0.646584] device: 'inject_addrmatch': device_add
[    0.646588] bus: 'mc0': add device inject_addrmatch
[    0.646592] PM: Adding info for mc0:inject_addrmatch
[    2.347625] device class 'drm': registering
[    2.347637] [drm] Initialized
[    2.378612] [drm] amdgpu kernel modesetting enabled.
[    2.378876] [drm] initializing kernel modesetting (OLAND 0x1002:0x6610 0x1458:0x22BF 0x00).
[    2.378887] [drm] register mmio base: 0xF4000000
[    2.378888] [drm] register mmio size: 262144
[    2.378941] [drm] GPU post is not needed
[    2.379204] [drm] Detected VRAM RAM=2048M, BAR=256M
[    2.379204] [drm] RAM width 128bits DDR3
[    2.379215] [drm] amdgpu: 2048M of VRAM memory ready
[    2.379215] [drm] amdgpu: 6033M of GTT memory ready.
[    2.379302] [drm] GART: num cpu pages 1544468, num gpu pages 1544468
[    2.382130] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.382131] [drm] Driver supports precise vblank timestamp query.
[    2.382189] [drm] amdgpu: irq initialized.
[    2.382200] [drm] probing gen 2 caps for device 8086:340a = 3b3d02/0
[    2.382219] [drm] Internal thermal controller with fan control
[    2.382227] [drm] amdgpu: dpm initialized
[    2.382318] [drm] AMDGPU Display Connectors
[    2.382319] [drm] Connector 0:
[    2.382319] [drm]   HDMI-A-1
[    2.382320] [drm]   HPD1
[    2.382320] [drm]   DDC: 0x194c 0x194c 0x194d 0x194d 0x194e 0x194e 0x194f 0x194f
[    2.382321] [drm]   Encoders:
[    2.382321] [drm]     DFP1: INTERNAL_UNIPHY
[    2.382321] [drm] Connector 1:
[    2.382322] [drm]   DVI-D-1
[    2.382322] [drm]   HPD2
[    2.382323] [drm]   DDC: 0x1950 0x1950 0x1951 0x1951 0x1952 0x1952 0x1953 0x1953
[    2.382323] [drm]   Encoders:
[    2.382323] [drm]     DFP2: INTERNAL_UNIPHY
[    2.382324] [drm] Connector 2:
[    2.382324] [drm]   VGA-1
[    2.382325] [drm]   DDC: 0x1970 0x1970 0x1971 0x1971 0x1972 0x1972 0x1973 0x1973
[    2.382325] [drm]   Encoders:
[    2.382325] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    2.382738] [drm] probing gen 2 caps for device 8086:340a = 3b3d02/0
[    2.382740] [drm] PCIE gen 2 link speeds already enabled
[    2.560390] [drm] ring test on 0 succeeded in 10 usecs
[    2.562395] [drm] ring test on 1 succeeded in 1 usecs
[    2.562401] [drm] ring test on 2 succeeded in 2 usecs
[    2.562409] [drm] ring test on 3 succeeded in 3 usecs
[    2.562416] [drm] ring test on 4 succeeded in 4 usecs
[    2.649289] [drm] fb mappable at 0xE0C0C000
[    2.649291] [drm] vram apper at 0xE0000000
[    2.649291] [drm] size 33177600
[    2.649292] [drm] fb depth is 24
[    2.649293] [drm]    pitch is 15360
[    2.649539] amdgpu 0000:0f:00.0: fb0: amdgpudrmfb frame buffer device
[    2.654364] [drm] ib test on ring 0 succeeded
[    2.654381] [drm] ib test on ring 1 succeeded
[    2.654402] [drm] ib test on ring 2 succeeded
[    2.654423] [drm] ib test on ring 3 succeeded
[    2.654441] [drm] ib test on ring 4 succeeded
[    2.968269] [drm] Initialized amdgpu 3.8.0 20150101 for 0000:0f:00.0 on minor 0


The above kconfig and dmesg are leftovers from earlier troubleshooting efforts.. (black screen at openrc start but I could login blind, startx brought up desktop.)

btw, are you running on a intel or amd cpu? Your sig says intel, 'CONFIG_MICROCODE_AMD=y' says amd.. just to be clear.

shrike
Back to top
View user's profile Send private message
pcmaster
Advocate
Advocate


Joined: 04 Dec 2003
Posts: 2222
Location: Barcelona

PostPosted: Sun Jul 30, 2017 7:28 am    Post subject: Reply with quote

I'm using a GCN 1.0 card (R7 250) with ati-drivers, waiting for si driver stabilization (today is experimental).

If amdgpu works for you, you can try the amdgpu-pro driver.

I found this: https://github.com/volumetricsteve/AMDGPU-INSTALL
_________________
pcmaster
Back to top
View user's profile Send private message
NTU
Apprentice
Apprentice


Joined: 17 Jul 2015
Posts: 187

PostPosted: Thu Aug 24, 2017 12:53 am    Post subject: Reply with quote

I use the AMDGPU driver (IOMMU must be disabled in kernel to avoid stupid problems) on an R9 390X, no issues here. My $00.2.00.1. sents
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum