* AMDGPU without display output
@ 2017-04-13 14:31 Dennis Schridde
2017-04-13 15:15 ` Deucher, Alexander
0 siblings, 1 reply; 5+ messages in thread
From: Dennis Schridde @ 2017-04-13 14:31 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 1272 bytes --]
Hello again!
I am trying to use a AMD FirePro S7150X2 with the AMDGPU driver of a Linux
4.10.9 kernel (CoreOS Container Linux) and linux-firmware
e39f0e3e6897ad865b3704f61218ae83f98a85da.
Since the card has no display output and I want to run remote applications
only, I would like to prevent any interference with mode setting and the
kernel console. Thus I set "nomodeset" on the kernel command line to prevent
the kernel from trying to initialise anything but the rendering functions of
the card. However, this leads to following error message:
[drm:init_module [amdgpu]] *ERROR* VGACON disables amdgpu kernel modesetting.
The result is that the AMDGPU module can not be loaded.
Is this generally the right approach to use this driver for rendering without
display output, or can I safely leave KMS enabled and it will not interfere
with my application's X servers and the OpenGL applications running on them?
Assuming I have to disable KMS, how would I get past this error, i.e. to
initialise the card's rendering functions, but skipping initialisation of the
output part of the driver?
Generally asking: How do people use this card for GPGPU compute (i.e.
headless) tasks? Is there some documentation what I need to pay attention to?
Thanks,
Dennis
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 681 bytes --]
[-- Attachment #2: Type: text/plain, Size: 154 bytes --]
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: AMDGPU without display output
2017-04-13 14:31 AMDGPU without display output Dennis Schridde
@ 2017-04-13 15:15 ` Deucher, Alexander
[not found] ` <BN6PR12MB165282CADA64ADF35AD09EF4F7020-/b2+HYfkarQqUD6E6FAiowdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Deucher, Alexander @ 2017-04-13 15:15 UTC (permalink / raw)
To: 'Dennis Schridde',
amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
> -----Original Message-----
> From: amd-gfx [mailto:amd-gfx-bounces@lists.freedesktop.org] On Behalf
> Of Dennis Schridde
> Sent: Thursday, April 13, 2017 10:32 AM
> To: amd-gfx@lists.freedesktop.org
> Subject: AMDGPU without display output
>
> Hello again!
>
> I am trying to use a AMD FirePro S7150X2 with the AMDGPU driver of a Linux
> 4.10.9 kernel (CoreOS Container Linux) and linux-firmware
> e39f0e3e6897ad865b3704f61218ae83f98a85da.
>
> Since the card has no display output and I want to run remote applications
> only, I would like to prevent any interference with mode setting and the
> kernel console. Thus I set "nomodeset" on the kernel command line to
> prevent
> the kernel from trying to initialise anything but the rendering functions of
> the card. However, this leads to following error message:
>
> [drm:init_module [amdgpu]] *ERROR* VGACON disables amdgpu kernel
> modesetting.
>
> The result is that the AMDGPU module can not be loaded.
nomodeset prevents the driver from loading. It's a way to disable the KMS altogether.
>
> Is this generally the right approach to use this driver for rendering without
> display output, or can I safely leave KMS enabled and it will not interfere
> with my application's X servers and the OpenGL applications running on
> them?
>
The driver only exposes display connectors when they exist.
> Assuming I have to disable KMS, how would I get past this error, i.e. to
> initialise the card's rendering functions, but skipping initialisation of the
> output part of the driver?
>
You don't have disable KMS. there is no way to. The driver will expose the hw that exists on the card. If there are not display connectors, none will be exposed. It's up to the user to configure X to use or not use specific cards.
> Generally asking: How do people use this card for GPGPU compute (i.e.
> headless) tasks? Is there some documentation what I need to pay attention
> to?
It should just work as long as the driver is loaded.
Alex
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: AMDGPU without display output
[not found] ` <BN6PR12MB165282CADA64ADF35AD09EF4F7020-/b2+HYfkarQqUD6E6FAiowdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
@ 2017-04-13 15:20 ` Dennis Schridde
2017-04-14 1:50 ` Yu, Qiang
0 siblings, 1 reply; 5+ messages in thread
From: Dennis Schridde @ 2017-04-13 15:20 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Deucher, Alexander
[-- Attachment #1.1: Type: text/plain, Size: 13 bytes --]
Thanks, Alex!
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 681 bytes --]
[-- Attachment #2: Type: text/plain, Size: 154 bytes --]
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: AMDGPU without display output
2017-04-13 15:20 ` Dennis Schridde
@ 2017-04-14 1:50 ` Yu, Qiang
[not found] ` <DM5PR12MB1739D59ACC914AE04D4A35E38F050-2J9CzHegvk/RSyQDjr89dQdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Yu, Qiang @ 2017-04-14 1:50 UTC (permalink / raw)
To: Dennis Schridde,
amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Cc: Deucher, Alexander
PS. If you want to use X11/OGL on this no display output card, just add an option to
the amdgpu kernel module "virtual_display=all" which will fake a display output so that
the xserver can start with amdgpu DDX successfully. You can use remote desktop apps
like VNC to view the X screen.
Regards,
Qiang
________________________________________
From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of Dennis Schridde <dennis.schridde@uni-heidelberg.de>
Sent: Thursday, April 13, 2017 11:20:22 PM
To: amd-gfx@lists.freedesktop.org
Cc: Deucher, Alexander
Subject: Re: AMDGPU without display output
Thanks, Alex!
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: AMDGPU without display output
[not found] ` <DM5PR12MB1739D59ACC914AE04D4A35E38F050-2J9CzHegvk/RSyQDjr89dQdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
@ 2017-04-18 12:25 ` Dennis Schridde
0 siblings, 0 replies; 5+ messages in thread
From: Dennis Schridde @ 2017-04-18 12:25 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Deucher, Alexander, Yu, Qiang
[-- Attachment #1.1: Type: text/plain, Size: 512 bytes --]
On Freitag, 14. April 2017 03:50:30 CEST Yu, Qiang wrote:
> PS. If you want to use X11/OGL on this no display output card, just add an
> option to the amdgpu kernel module "virtual_display=all" which will fake a
> display output so that the xserver can start with amdgpu DDX successfully.
> You can use remote desktop apps like VNC to view the X screen.
Thanks a lot for that information! This will likely simplify several things,
once we solve the "Fatal error during GPU init" (see my other email).
--Dennis
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 681 bytes --]
[-- Attachment #2: Type: text/plain, Size: 154 bytes --]
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-04-18 12:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-13 14:31 AMDGPU without display output Dennis Schridde
2017-04-13 15:15 ` Deucher, Alexander
[not found] ` <BN6PR12MB165282CADA64ADF35AD09EF4F7020-/b2+HYfkarQqUD6E6FAiowdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2017-04-13 15:20 ` Dennis Schridde
2017-04-14 1:50 ` Yu, Qiang
[not found] ` <DM5PR12MB1739D59ACC914AE04D4A35E38F050-2J9CzHegvk/RSyQDjr89dQdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2017-04-18 12:25 ` Dennis Schridde
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.