Bug#1039600: libclc-15: Missing bitcode for AMD RDNA GPUs

2023-06-27 Thread Miroslav Maiksnar
Package: libclc-15
Version: 1:15.0.7-6
Severity: normal
X-Debbugs-Cc: bugs.debian@m.mixi.cz

Dear Maintainer,

when running OpenCL application built using LLVM on new RDNA AMD GPU (RX 7900 
XTX
in my case), I get following error:

fatal error: cannot open file '/usr/lib/clc/gfx1100-amdgcn-mesa-mesa3d.bc': No 
such file or directory

Example of application is https://github.com/nerdralph/cl-mem (part of 
phoronix-test-suite),
but other LLVM OpenCL applications I tried crash with same error.

On page https://llvm.org/docs/AMDGPUUsage.html#processors is list of GPUs 
supported by LLVM,
but none of bitcode bundles for listed RDNA 1-3 GPUs are present in 
/usr/lib/clc/ directory.

Thanks for fixing this.
Mixi

-- System Information:
Debian Release: trixie/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'unstable'), (100, 'stable'), 
(10, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.3.0-1-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libclc-15 depends on:
ii  libclang-common-15-dev  1:15.0.7-4
ii  libclc-15-dev   1:15.0.7-6

libclc-15 recommends no packages.

libclc-15 suggests no packages.

-- no debconf information



Bug#1028608: evdi-dkms: EVDI module does not build with linux-headers-6.0.0-6-amd64

2023-01-26 Thread Miroslav Maiksnar
Dne čtvrtek 26. ledna 2023 16:18:33 CET, Miroslav Maiksnar napsal(a):
> Dne pátek 20. ledna 2023 18:50:26 CET jste napsal(a):
> > Control: tag -1 unreproducible
> > Control: severity -1 normal
> > 
> > Hi,
> > 
> > On Fri, 13 Jan 2023 16:16:12 +0100 Miroslav Maiksnar
> > 
> >  wrote:
> > > Error! Bad return status for module build on kernel: 6.0.0-6-amd64
> > > (x86_64)
> > 
> > I cannot reproduce that with the Linux 6.1 kernel currently in sid.
> 
> I had same problem even with 6.1 kernel. Probably some dependencies, I'll
> try to investigate this more. I have trouble installing virtualbox right
> now though, so it may take bit more time.

I investigated this more and I noticed some weird behavior (at least for me, as 
I don't have much knowledge regarding DKMS).

Problem is, that evdi module is actually build twice in different ways which I 
didn't notice before.

First time it is built when setting up kernel image and it works just fine:


/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-1-amd64:Sign command: 
/usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
make -j8 KERNELRELEASE=6.1.0-1-amd64 -C /lib/modules/6.1.0-1-amd64/build 
M=/var/lib/dkms/evdi/1.12.0+dfsg/build DKMS_BUILD=1
Signing module /var/lib/dkms/evdi/1.12.0+dfsg/build/evdi.ko
Cleaning build area...

evdi.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.1.0-1-amd64/updates/dkms/
depmod...


Second time it is built when setting up kernel headers and it fails:


/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-1-amd64:Sign command: 
/usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
make -j8 KERNELRELEASE=6.1.0-1-amd64 all 
INCLUDEDIR=/lib/modules/6.1.0-1-amd64/build/include KVERSION=6.1.0-1-amd64 
DKMS_BUILD=1...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-1-amd64 (x86_64)
Consult /var/lib/dkms/evdi/1.12.0/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/header_postinst.d at 
/var/lib/dpkg/info/linux-headers-6.1.0-1-amd64.postinst line 11.
dpkg: chyba při zpracovávání balíku linux-headers-6.1.0-1-amd64 (--configure):
 installed linux-headers-6.1.0-1-amd64 package post-installation script 
subprocess returned error exit status 1


What did seem weird to me is different make command for building the module:

make -j8 KERNELRELEASE=6.1.0-1-amd64 -C /lib/modules/6.1.0-1-amd64/build 
M=/var/lib/dkms/evdi/1.12.0+dfsg/build DKMS_BUILD=1

vs. failed:

make -j8 KERNELRELEASE=6.1.0-1-amd64 all 
INCLUDEDIR=/lib/modules/6.1.0-1-amd64/build/include KVERSION=6.1.0-1-amd64 
DKMS_BUILD=1


I tested it on clean Debian Bookworm installation and upgrading to sid kernel 
went just fine. Module was compiled only first time and during kernel headers 
setup dkms printed only message about auto installation service.
So I guess some time during occasional bookworm updating my system got broken.

I'll close this bug now, as it is apparently relevant only to my (broken) setup.
Mixi


Bug#1028608: evdi-dkms: EVDI module does not build with linux-headers-6.0.0-6-amd64

2023-01-26 Thread Miroslav Maiksnar
Dne pátek 20. ledna 2023 18:50:26 CET jste napsal(a):
> Control: tag -1 unreproducible
> Control: severity -1 normal
> 
> Hi,
> 
> On Fri, 13 Jan 2023 16:16:12 +0100 Miroslav Maiksnar
> 
>  wrote:
> > Error! Bad return status for module build on kernel: 6.0.0-6-amd64
> > (x86_64)
> 
> I cannot reproduce that with the Linux 6.1 kernel currently in sid.

I had same problem even with 6.1 kernel. Probably some dependencies, I'll try 
to 
investigate this more. I have trouble installing virtualbox right now though, 
so it may take 
bit more time.

Mixi


Bug#1028608: evdi-dkms: EVDI module does not build with linux-headers-6.0.0-6-amd64

2023-01-13 Thread Miroslav Maiksnar
Package: evdi-dkms
Version: 1.12.0+dfsg-0.1
Severity: important
X-Debbugs-Cc: bugs.debian@m.mixi.cz

Dear Maintainer,

Upon updating Debian testing I received build error from evdi-dkms:

Setting up linux-headers-6.0.0-6-amd64 (6.0.12-1) ...
/etc/kernel/header_postinst.d/dkms:
dkms: running auto installation service for kernel 6.0.0-6-amd64:Sign command: 
/usr/lib/linux-kbuild-6.0/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
make -j8 KERNELRELEASE=6.0.0-6-amd64 all 
INCLUDEDIR=/lib/modules/6.0.0-6-amd64/build/include KVERSION=6.0.0-6-amd64 
DKMS_BUILD=1...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.0.0-6-amd64 (x86_64)
Consult /var/lib/dkms/evdi/1.12.0/build/make.log for more information.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
 failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/header_postinst.d at 
/var/lib/dpkg/info/linux-headers-6.0.0-6-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.0.0-6-amd64 (--configure):
 installed linux-headers-6.0.0-6-amd64 package post-installation script 
subprocess returned error exit status 1


Contents of /var/lib/dkms/evdi/1.12.0/build/make.log:
---
DKMS make.log for evdi-1.12.0 for kernel 6.0.0-6-amd64 (x86_64)
Fri Jan 13 16:01:26 CET 2023
make KBUILD_VERBOSE=1 M=/var/lib/dkms/evdi/1.12.0/build 
SUBDIRS=/var/lib/dkms/evdi/1.12.0/build SRCROOT=/var/lib/dkms/evdi/1.12.0/build 
CONFIG_MODULE_SIG= -C /lib/modules/6.0.0-6-amd64/build modules
make[1]: Entering directory '/usr/src/linux-headers-6.0.0-6-amd64'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (
\
echo >&2;   \
echo >&2 "  ERROR: Kernel configuration is invalid.";   \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are 
missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix 
it.";  \
echo >&2 ;  \
/bin/false)
make -f /usr/src/linux-headers-6.0.0-6-common/scripts/Makefile.build 
obj=/var/lib/dkms/evdi/1.12.0/build \
single-build= \
need-builtin=1 need-modorder=1
  printf '%s
'   evdi_platform_drv.o evdi_platform_dev.o evdi_sysfs.o evdi_modeset.o 
evdi_connector.o evdi_encoder.o evdi_drm_drv.o evdi_fb.o evdi_gem.o 
evdi_painter.o evdi_params.o evdi_cursor.o evdi_debug.o evdi_i2c.o evdi_ioc32.o 
| awk '!x[$0]++ { print("/var/lib/dkms/evdi/1.12.0/build/"$0) }' > 
/var/lib/dkms/evdi/1.12.0/build/evdi.mod
   gcc-12 -Wp,-MMD,/var/lib/dkms/evdi/1.12.0/build/.evdi_platform_drv.o.d 
-nostdinc -I/usr/src/linux-headers-6.0.0-6-common/arch/x86/include 
-I./arch/x86/include/generated -I/usr/src/linux-headers-6.0.0-6-common/include 
-I./include -I/usr/src/linux-headers-6.0.0-6-common/arch/x86/include/uapi 
-I./arch/x86/include/generated/uapi 
-I/usr/src/linux-headers-6.0.0-6-common/include/uapi -I./include/generated/uapi 
-include /usr/src/linux-headers-6.0.0-6-common/include/linux/compiler-version.h 
-include /usr/src/linux-headers-6.0.0-6-common/include/linux/kconfig.h -include 
/usr/src/linux-headers-6.0.0-6-common/include/linux/compiler_types.h 
-D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-6.0.0-6-common/= -Wall 
-Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing 
-fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration 
-Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 
-mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 
-falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 
-mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone 
-mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables 
-mindirect-branch=thunk-extern -mindirect-branch-register 
-mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables 
-mharden-sls=all -fno-delete-null-pointer-checks -Wno-frame-address 
-Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 
-fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong 
-Wno-array-bounds -Wimplicit-fallthrough=5 -Wno-main 
-Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer 
-ftrivial-auto-var-init=zero -fno-stack-clash-protection -pg -mrecord-mcount 
-mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla 
-Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation 
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized 
-Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check 
-fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types 
-Werror=designated-init -Wno-packed-not-aligned -g -Iinclude/drm  -DMODULE  

Bug#904109: kwin-x11: kwin frequently terminates without showing crash dialog

2018-08-29 Thread Miroslav Maiksnar
After upgrade to kwin-x11 4:5.13.4-1 kwin doesn't 
crash anymore on my system, so this bug report can 
be closed.

Best regards, 
Miroslav Maiksnar


Bug#904109: kwin-x11: kwin frequently terminates without showing crash dialog

2018-07-19 Thread Miroslav Maiksnar
Package: kwin-x11
Version: 4:5.13.1-1
Severity: important

Dear Maintainer,

kwin frequently terminates without crash dialog on my system. It happens in 
various situations, most often when switching virtual desktops. Every version I 
have tried from Buster so far was affected, only solution is to downgrade 
kwin-x11 to version from Stretch (4:5.8.6-1). Versions of kwin-x11 I have 
tested so far: 
4:5.10.5-2
4:5.12.1-1
4:5.13.1-1

When I run kwin from terminal window, I see following output:

===
$ kwin
QXcbConnection: XCB error: 3 (BadWindow), sequence: 172, resource id: 44040198, 
major code: 20 (GetProperty), minor code: 0
OpenGL vendor string:   NVIDIA Corporation
OpenGL renderer string: GeForce GTX 970/PCIe/SSE2
OpenGL version string:  3.1.0 NVIDIA 390.67
OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 390.67
GPU class:  Unknown
OpenGL version: 3.1
GLSL version:   1.40
X server version:   1.19.6
Linux kernel version:   4.16
Requires strict binding:no
GLSL shaders:   yes
Texture NPOT support:   yes
Virtual Machine:no
kf5.kcoreaddons.desktopparser: Property type "Url" is not a known QVariant 
type. Found while parsing property definition for "X-KWin-Video-Url" in 
"/usr/share/kservicetypes5/kwineffect.desktop"
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2572, resource id: 0, 
major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2573, resource id: 0, 
major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2574, resource id: 0, 
major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2576, resource id: 0, 
major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2578, resource id: 0, 
major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2579, resource id: 0, 
major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2582, resource id: 0, 
major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2592, resource id: 0, 
major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2593, resource id: 0, 
major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2594, resource id: 0, 
major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2595, resource id: 0, 
major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2596, resource id: 0, 
major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2597, resource id: 0, 
major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2598, resource id: 0, 
major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2599, resource id: 0, 
major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2602, resource id: 0, 
major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2603, resource id: 0, 
major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2604, resource id: 0, 
major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2605, resource id: 0, 
major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2606, resource id: 0, 
major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2607, resource id: 0, 
major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2608, resource id: 0, 
major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2609, resource id: 0, 
major code: 14 (GetGeometry), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 2802, resource id: 
44040247, major code: 3 (GetWindowAttributes), minor code: 0
QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2803, resource id: 
44040247, major code: 14 (GetGeometry), minor code: 0
trying to show an empty dialog
QXcbConnection: XCB error: 3 (BadWindow), sequence: 7610, resource id: 
44040387, major code: 3 (GetWindowAttributes), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 12114, resource id: 
44040439, major code: 3 (GetWindowAttributes), minor code: 0
QXcbConnection: XCB error: 9 

Bug#317554: laptop-mode-tools: package dependency should recommend acpid | apmd

2005-07-09 Thread Miroslav Maiksnar
Package: laptop-mode-tools
Version: 1.05-1
Severity: minor

Package currently recommens both acpid and apmd installed, but there is 
no point having installed acpid and apmd together as they are doing same 
thing in different and incompatible manner.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.7-toshiba32-1
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)

Versions of packages laptop-mode-tools depends on:
ii  powermgmt-base1.22   Common utils and configs for power

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#317554: laptop-mode-tools: package dependency should recommend acpid | apmd

2005-07-09 Thread Miroslav Maiksnar
Dne sobota 09 červenec 2005 18:31 Bart Samwel napsal(a):
 Miroslav Maiksnar wrote:
  Package currently recommens both acpid and apmd installed, but
  there is no point having installed acpid and apmd together as they
  are doing same thing in different and incompatible manner.

 Oh, is it possible to recommend acpid OR apmd then? This always
 bugged me but I never took the time to figure it out. I'll see what I
 can do.

Yes, it is possible, for example smartmontools package has such 
dependency.

Mixi


pgpQII6milAcy.pgp
Description: PGP signature


Bug#293439: mantis.postinst failed

2005-02-03 Thread Miroslav Maiksnar
Package: mantis
Version: 0.19.2-1
Severity: grave
Justification: renders package unusable



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-alfons32-2
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)

Versions of packages mantis depends on:
ii  apache [httpd]   1.3.33-3versatile, high-performance HTTP s
ii  apache2-mpm-prefork [httpd]  2.0.52-3Traditional model for Apache2
ii  debconf  1.4.30.11   Debian configuration management sy
ii  grep 2.5.1.ds1-4 GNU grep, egrep and fgrep
ii  libapache2-mod-php4  4:4.3.10-2  server-side, HTML-embedded scripti
ii  libphp-adodb 4.52-1  The 'adodb' database abstraction l
ii  makepasswd   1.10-2  Generate and encrypt passwords
ii  mysql-client 4.0.23-3mysql database client binaries
ii  php4-cgi 4:4.3.10-2  server-side, HTML-embedded scripti
ii  php4-cli 4:4.3.10-2  command-line interpreter for the p
ii  php4-mysql   4:4.3.10-2  MySQL module for php4
ii  wwwconfig-common 0.0.42  Debian web auto configuration

-- debconf information:
  mantis/title: Mantis
* mantis/url: http://localhost/mantis/
  mantis/bounce: [EMAIL PROTECTED]
* mantis/db_autoupdate: true
* mantis/ldap: false
  mantis/ldap_server: localhost
  mantis/version:
  mantis/from: [EMAIL PROTECTED]
  mantis/show_version: true
  mantis/root_mysql: root
  mantis/signup: true
  mantis/admin: [EMAIL PROTECTED]
  mantis/ldap_info:
* mantis/username: mantis
  mantis/webmaster: [EMAIL PROTECTED]
* mantis/purge_db: true
  mantis/dn: dn=
  mantis/mysql_port: 3306
* mantis/webserver: apache, apache-ssl
* mantis/app_configure: true
  mantis/language: english
* mantis/mysql_server: localhost
* mantis/database: bugtracker
  mantis/organisation:


-- apt output:
Setting up mantis (0.19.2-1) ...
I: Using password from existing config file.
I: Creating database user 'mantis'
I: User created.
I: Adding database 'bugtracker'
I: No need to create database.
Rotated `/etc/mantis/config.php' at Thu Feb  3 13:22:54 CET 2005.
I: creating /etc/mantis/config.php
/var/lib/dpkg/info/mantis.postinst: line 32: [: /etc/apache: binary
operator expected
/var/lib/dpkg/info/mantis.postinst: line 24: [: /etc/apache: binary
operator expected
/var/lib/dpkg/info/mantis.postinst: line 23: [: /etc/apache: binary
operator expected
/var/lib/dpkg/info/mantis.postinst: line 35: /etc/apache
apache-ssl/httpd.conf: No such file or directory
dpkg: error processing mantis (--configure):
 subprocess post-installation script returned error exit status 1
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]