Re: ATI video card not recognized

Bartlomiej Krawczyk <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
On 12/6/23 09:52, Reinoud Zandijk wrote:
> On Mon, Dec 04, 2023 at 04:15:39PM +0100, Reinoud Zandijk wrote:
> Another data point, Firefox with hardware acceleration is completely screwing
> up the display. GLXgears works fine though i still have some DRI access rights
> issues.

I have a similar experience on 10.0RC2 with Radeon HD 8570.

- boot works ok and radeon driver detects the card and creates 
radeondrmkmsfb0 properly

- startx (modular-xorg with no config file) starts with radeon driver 
and work, glxgears -info work and report AMD as renderer and vendor
	glxgears -info:
	GL_RENDERER   = AMD OLAND (DRM 2.50.0, 10.0_RC2, LLVM 13.0.1)
	GL_VERSION    = 4.5 (Compatibility Profile) Mesa 21.3.9
	GL_VENDOR     = AMD

- starting any application requiring DRI messes up the screen completely 
or just the application window. The same with starting picom or enabling 
a compositing in xfce4.

- adding a gpu.conf file in /etc/X11/xorg.conf.d forcing the 
"modesetting" driver gets me software rendering but at least everything 
works - albeit very slow:
	/etc/X11/xorg.conf.d/gpu.conf:
	Section "Device"
		Identifier "radeonhd"
		Driver "modesetting"
		BusID "PCI:6:0:0"
	EndSection


	GL_RENDERER   = llvmpipe (LLVM 13.0.1, 256 bits)
	GL_VERSION    = 4.5 (Compatibility Profile) Mesa 21.3.9
	GL_VENDOR     = Mesa/X.org

- recompiling the kernel with "radeon" driver commented out and enabling 
"amdgpu" doesn't bring drm up during boot and no drmkmsfb is enabled.

A Radeon HD 7450 is on my way for further tests. Then I'll move towards 
Radeon HD 6000 series.

-- 
Regards,
Bartlomiej Krawczyk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.