You are not logged in.

#1 2013-07-31 06:19:37

alexey
Member
Registered: 2012-03-29
Posts: 56

[SOLVED] Blank screen issue with 3.10.3 kernel, zenbook UX21A, i915

Hi Guys,

I have the same thing with 3.10.3 kernel and blank screen (it flashes and get's blank having backlit on). I have UEFI zenbook UX21A. I have successfully downgraded to 3.9 using a kind of rescue mode in my loader. I use Shell.efi to boot.
Here are my Shell.efi boot files:
startup.nsh

\EFI\Linux\Boot\vmlinuz-linux quiet pcie_aspm=force root=/dev/mapper/root ro cryptdevice=/dev/sda2:root init=/usr/lib/systemd/systemd initrd=\EFI\Linux\Boot\initrd

rescue.nsh

\EFI\Linux\Boot\vmlinuz-linux quiet break=premount disablehooks=encrypt,uresume initrd=\EFI\Linux\Boot\initrd

And the structure of EFI partiotion (mounted to /boot/efi, which basically does not matter where to mount it, unless you know you should copy vmlinuz-linux and initrd after every kernel upgrade, i do it with a simple shell script):

efi/
efi/EFI
efi/EFI/Boot
efi/EFI/Boot/bootx64.efi
efi/EFI/Linux
efi/EFI/Linux/Boot
efi/EFI/Linux/Boot/vmlinuz-linux
efi/EFI/Linux/Boot/initrd
efi/Shell.efi
efi/rescue.nsh
efi/startup.nsh

So, the problem is not with Xorg, because even when i press Ctl+F1 and switch to console i can login and test system is running with speaker-test as well while the screen is blank. The Xorg.log looks ok with 3.10.

Last edited by alexey (2013-08-27 15:36:06)

Offline

#2 2013-07-31 06:21:52

alexey
Member
Registered: 2012-03-29
Posts: 56

Re: [SOLVED] Blank screen issue with 3.10.3 kernel, zenbook UX21A, i915

Here is /var/log/Xorg.0.log.old.blank:

[    11.480] 
X.Org X Server 1.14.2
Release Date: 2013-06-25
[    11.480] X Protocol Version 11, Revision 0
[    11.480] Build Operating System: Linux 3.9.7-1-ARCH x86_64 
[    11.480] Current Operating System: Linux localhost 3.10.3-1-ARCH #1 SMP PREEMPT Fri Jul 26 11:26:59 CEST 2013 x86_64
[    11.480] Kernel command line: \EFI\Linux\Boot\vmlinuz-linux quiet pcie_aspm=force root=/dev/mapper/root ro cryptdevice=/dev/sda2:root init=/usr/lib/systemd/systemd initrd=\EFI\Linux\Boot\initrd
[    11.480] Build Date: 01 July 2013  10:48:42AM
[    11.480]  
[    11.481] Current version of pixman: 0.30.0
[    11.481] 	Before reporting problems, check [url]http://wiki.x.org[/url]
	to make sure that you have the latest version.
[    11.481] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    11.481] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jul 29 21:37:01 2013
[    11.482] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    11.484] (==) No Layout section.  Using the first Screen section.
[    11.484] (==) No screen section available. Using defaults.
[    11.484] (**) |-->Screen "Default Screen Section" (0)
[    11.484] (**) |   |-->Monitor "<default monitor>"
[    11.484] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    11.484] (**) |   |-->Device "Card0"
[    11.484] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    11.484] (==) Automatically adding devices
[    11.484] (==) Automatically enabling devices
[    11.484] (==) Automatically adding GPU devices
[    11.487] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[    11.487] 	Entry deleted from font path.
[    11.489] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/Type1/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[    11.489] (==) ModulePath set to "/usr/lib/xorg/modules"
[    11.489] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    11.489] (II) Loader magic: 0x7fdc20
[    11.489] (II) Module ABI versions:
[    11.489] 	X.Org ANSI C Emulation: 0.4
[    11.489] 	X.Org Video Driver: 14.1
[    11.489] 	X.Org XInput driver : 19.1
[    11.489] 	X.Org Server Extension : 7.0
[    11.490] (II) xfree86: Adding drm device (/dev/dri/card0)
[    11.491] (--) PCI:*(0:0:2:0) 8086:0166:1043:1517 rev 9, Mem @ 0xf7800000/4194304, 0xe0000000/268435456, I/O @ 0x0000f000/64
[    11.491] Initializing built-in extension Generic Event Extension
[    11.491] Initializing built-in extension SHAPE
[    11.491] Initializing built-in extension MIT-SHM
[    11.491] Initializing built-in extension XInputExtension
[    11.491] Initializing built-in extension XTEST
[    11.491] Initializing built-in extension BIG-REQUESTS
[    11.491] Initializing built-in extension SYNC
[    11.491] Initializing built-in extension XKEYBOARD
[    11.491] Initializing built-in extension XC-MISC
[    11.491] Initializing built-in extension SECURITY
[    11.491] Initializing built-in extension XINERAMA
[    11.491] Initializing built-in extension XFIXES
[    11.491] Initializing built-in extension RENDER
[    11.491] Initializing built-in extension RANDR
[    11.491] Initializing built-in extension COMPOSITE
[    11.491] Initializing built-in extension DAMAGE
[    11.491] Initializing built-in extension MIT-SCREEN-SAVER
[    11.491] Initializing built-in extension DOUBLE-BUFFER
[    11.491] Initializing built-in extension RECORD
[    11.491] Initializing built-in extension DPMS
[    11.491] Initializing built-in extension X-Resource
[    11.491] Initializing built-in extension XVideo
[    11.491] Initializing built-in extension XVideo-MotionCompensation
[    11.491] Initializing built-in extension XFree86-VidModeExtension
[    11.491] Initializing built-in extension XFree86-DGA
[    11.491] Initializing built-in extension XFree86-DRI
[    11.491] Initializing built-in extension DRI2
[    11.491] (II) LoadModule: "glx"
[    11.493] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    11.495] (II) Module glx: vendor="X.Org Foundation"
[    11.495] 	compiled for 1.14.2, module version = 1.0.0
[    11.495] 	ABI class: X.Org Server Extension, version 7.0
[    11.495] (==) AIGLX enabled
[    11.495] Loading extension GLX
[    11.495] (II) LoadModule: "intel"
[    11.495] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    11.499] (II) Module intel: vendor="X.Org Foundation"
[    11.499] 	compiled for 1.14.2, module version = 2.21.12
[    11.499] 	Module class: X.Org Video Driver
[    11.499] 	ABI class: X.Org Video Driver, version 14.1
[    11.499] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
	i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
	E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
	965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
	4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
	Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
	Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
	Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
	Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
	Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server,
	Ivybridge Server (GT2), HD Graphics, HD Graphics 4600,
	Haswell Desktop (GT3), HD Graphics, HD Graphics 4600,
	Haswell Mobile (GT3), HD Graphics, HD Graphics P4600/P4700,
	Haswell Server (GT3), Haswell (GT1), Haswell (GT2), Haswell (GT3),
	HD Graphics, Haswell (GT2), Haswell (GT3), Haswell SDV Desktop (GT1),
	Haswell SDV Desktop (GT2), Haswell SDV Desktop (GT3),
	Haswell SDV Mobile (GT1), Haswell SDV Mobile (GT2),
	Haswell SDV Mobile (GT3), Haswell SDV Server (GT1),
	Haswell SDV Server (GT2), Haswell SDV Server (GT3),
	Haswell SDV (GT1), Haswell SDV (GT2), Haswell SDV (GT3),
	Haswell SDV (GT1), Haswell SDV (GT2), Haswell SDV (GT3),
	Haswell ULT Desktop (GT1), Haswell ULT Desktop (GT2),
	Iris(TM) Graphics 5100, HD Graphics, HD Graphics 4400,
	HD Graphics 5000, Haswell ULT Server (GT1), Haswell ULT Server (GT2),
	Iris(TM) Graphics 5100, Haswell ULT (GT1), Haswell ULT (GT2),
	Iris(TM) Graphics 5100, HD Graphics, HD Graphics 4200,
	Iris(TM) Graphics 5100, Haswell CRW Desktop (GT1), HD Graphics 4600,
	Iris(TM) Pro Graphics 5200, Haswell CRW Mobile (GT1),
	HD Graphics 4600, Iris(TM) Pro Graphics 5200,
	Haswell CRW Server (GT1), Haswell CRW Server (GT2),
	Iris(TM) Pro Graphics 5200, Haswell CRW (GT1), Haswell CRW (GT2),
	Iris(TM) Pro Graphics 5200, Haswell CRW (GT1), Haswell CRW (GT2),
	Iris(TM) Pro Graphics 5200, ValleyView PO board
[    11.500] (--) using VT number 2

[    11.500] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
[    11.500] (WW) xf86OpenConsole: setsid failed: Operation not permitted
[    11.509] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    11.509] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    11.509] (==) intel(0): RGB weight 888
[    11.509] (==) intel(0): Default visual is TrueColor
[    11.509] (**) intel(0): Option "AccelMethod" "sna"
[    11.509] (WW) intel(0): Option "DRI" requires a string value
[    11.509] (--) intel(0): Integrated Graphics Chipset: Intel(R) Ivybridge Mobile (GT2)
[    11.509] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx
[    11.509] (**) intel(0): Framebuffer tiled
[    11.509] (**) intel(0): Pixmaps tiled
[    11.509] (**) intel(0): "Tear free" disabled
[    11.509] (**) intel(0): Forcing per-crtc-pixmaps? no
[    11.509] (II) intel(0): Output eDP1 has no monitor section
[    11.509] (--) intel(0): found backlight control interface acpi_video0 (type 'firmware')
[    11.509] (II) intel(0): Output VGA1 has no monitor section
[    11.509] (II) intel(0): Output HDMI1 has no monitor section
[    11.509] (II) intel(0): Output DP1 has no monitor section
[    11.509] (II) intel(0): Output eDP1 using initial mode 1920x1080 on pipe 0
[    11.509] (==) intel(0): DPI set to (96, 96)
[    11.509] (II) Loading sub module "dri2"
[    11.509] (II) LoadModule: "dri2"
[    11.509] (II) Module "dri2" already built-in
[    11.509] (==) Depth 24 pixmap format is 32 bpp
[    11.514] (II) intel(0): SNA initialized with Ivybridge (gen7, gt2) backend
[    11.514] (==) intel(0): Backing store disabled
[    11.514] (==) intel(0): Silken mouse enabled
[    11.514] (II) intel(0): HW Cursor enabled
[    11.514] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    11.515] (==) intel(0): DPMS enabled
[    11.515] (II) intel(0): [DRI2] Setup complete
[    11.515] (II) intel(0): [DRI2]   DRI driver: i965
[    11.515] (II) intel(0): direct rendering: DRI2 Enabled
[    11.515] (==) intel(0): hotplug detection: "enabled"
[    11.516] (--) RandR disabled
[    11.545] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    11.545] (II) AIGLX: enabled GLX_INTEL_swap_event
[    11.545] (II) AIGLX: enabled GLX_ARB_create_context
[    11.545] (II) AIGLX: enabled GLX_ARB_create_context_profile
[    11.545] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[    11.545] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[    11.545] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    11.545] (II) AIGLX: Loaded and initialized i965
[    11.545] (II) GLX: Initialized DRI2 GL provider for screen 0
[    11.548] (II) intel(0): switch to mode 1920x1080 on pipe 0 using eDP1
[    11.570] (II) intel(0): Setting screen physical size to 508 x 285
[    11.684] (II) config/udev: Adding input device Video Bus (/dev/input/event8)
[    11.684] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    11.684] (**) Video Bus: Applying InputClass "keyboard-layout"
[    11.684] (II) LoadModule: "evdev"
[    11.684] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    11.686] (II) Module evdev: vendor="X.Org Foundation"
[    11.686] 	compiled for 1.14.2, module version = 2.8.1
[    11.686] 	Module class: X.Org XInput Driver
[    11.686] 	ABI class: X.Org XInput driver, version 19.1
[    11.686] (II) Using input driver 'evdev' for 'Video Bus'
[    11.686] (**) Video Bus: always reports core events
[    11.686] (**) evdev: Video Bus: Device: "/dev/input/event8"
[    11.686] (--) evdev: Video Bus: Vendor 0 Product 0x6
[    11.686] (--) evdev: Video Bus: Found keys
[    11.686] (II) evdev: Video Bus: Configuring as keyboard
[    11.686] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input9/event8"
[    11.686] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 6)
[    11.686] (**) Option "xkb_rules" "evdev"
[    11.686] (**) Option "xkb_model" "pc104"
[    11.686] (**) Option "xkb_layout" "us, ru"
[    11.686] (**) Option "xkb_options" "grp:ctrl_shift_toggle"
[    11.716] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[    11.716] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    11.716] (**) Power Button: Applying InputClass "keyboard-layout"
[    11.716] (II) Using input driver 'evdev' for 'Power Button'
[    11.716] (**) Power Button: always reports core events
[    11.716] (**) evdev: Power Button: Device: "/dev/input/event2"
[    11.716] (--) evdev: Power Button: Vendor 0 Product 0x1
[    11.716] (--) evdev: Power Button: Found keys
[    11.716] (II) evdev: Power Button: Configuring as keyboard
[    11.716] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input2/event2"
[    11.716] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[    11.716] (**) Option "xkb_rules" "evdev"
[    11.716] (**) Option "xkb_model" "pc104"
[    11.716] (**) Option "xkb_layout" "us, ru"
[    11.716] (**) Option "xkb_options" "grp:ctrl_shift_toggle"
[    11.717] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
[    11.717] (II) No input driver specified, ignoring this device.
[    11.717] (II) This device may have been added with another device file.
[    11.717] (II) config/udev: Adding input device Sleep Button (/dev/input/event3)
[    11.717] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[    11.717] (**) Sleep Button: Applying InputClass "keyboard-layout"
[    11.717] (II) Using input driver 'evdev' for 'Sleep Button'
[    11.717] (**) Sleep Button: always reports core events
[    11.717] (**) evdev: Sleep Button: Device: "/dev/input/event3"
[    11.717] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[    11.717] (--) evdev: Sleep Button: Found keys
[    11.717] (II) evdev: Sleep Button: Configuring as keyboard
[    11.717] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input3/event3"
[    11.717] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[    11.717] (**) Option "xkb_rules" "evdev"
[    11.717] (**) Option "xkb_model" "pc104"
[    11.717] (**) Option "xkb_layout" "us, ru"
[    11.717] (**) Option "xkb_options" "grp:ctrl_shift_toggle"
[    11.718] (II) config/udev: Adding drm device (/dev/dri/card0)
[    11.718] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event4)
[    11.718] (II) No input driver specified, ignoring this device.
[    11.718] (II) This device may have been added with another device file.
[    11.718] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event5)
[    11.718] (II) No input driver specified, ignoring this device.
[    11.718] (II) This device may have been added with another device file.
[    11.718] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[    11.718] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    11.718] (**) AT Translated Set 2 keyboard: Applying InputClass "keyboard-layout"
[    11.718] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[    11.718] (**) AT Translated Set 2 keyboard: always reports core events
[    11.718] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[    11.718] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[    11.718] (--) evdev: AT Translated Set 2 keyboard: Found keys
[    11.718] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[    11.719] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[    11.719] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 9)
[    11.719] (**) Option "xkb_rules" "evdev"
[    11.719] (**) Option "xkb_model" "pc104"
[    11.719] (**) Option "xkb_layout" "us, ru"
[    11.719] (**) Option "xkb_options" "grp:ctrl_shift_toggle"
[    11.719] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/event7)
[    11.719] (**) ETPS/2 Elantech Touchpad: Applying InputClass "evdev touchpad catchall"
[    11.719] (**) ETPS/2 Elantech Touchpad: Applying InputClass "touchpad catchall"
[    11.719] (**) ETPS/2 Elantech Touchpad: Applying InputClass "Default clickpad buttons"
[    11.719] (**) ETPS/2 Elantech Touchpad: Applying InputClass "touchpad catchall"
[    11.719] (II) LoadModule: "synaptics"
[    11.719] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[    11.720] (II) Module synaptics: vendor="X.Org Foundation"
[    11.720] 	compiled for 1.14.1, module version = 1.7.1
[    11.720] 	Module class: X.Org XInput Driver
[    11.720] 	ABI class: X.Org XInput driver, version 19.1
[    11.720] (II) Using input driver 'synaptics' for 'ETPS/2 Elantech Touchpad'
[    11.720] (**) ETPS/2 Elantech Touchpad: always reports core events
[    11.720] (**) Option "Device" "/dev/input/event7"
[    11.850] (II) synaptics: ETPS/2 Elantech Touchpad: found clickpad property
[    11.850] (--) synaptics: ETPS/2 Elantech Touchpad: x-axis range 0 - 3276 (res 33)
[    11.850] (--) synaptics: ETPS/2 Elantech Touchpad: y-axis range 0 - 1872 (res 32)
[    11.850] (--) synaptics: ETPS/2 Elantech Touchpad: pressure range 0 - 255
[    11.850] (--) synaptics: ETPS/2 Elantech Touchpad: finger width range 0 - 15
[    11.850] (--) synaptics: ETPS/2 Elantech Touchpad: buttons: left double triple
[    11.850] (--) synaptics: ETPS/2 Elantech Touchpad: Vendor 0x2 Product 0xe
[    11.850] (**) Option "VertTwoFingerScroll" "1"
[    11.850] (**) Option "HorizTwoFingerScroll" "1"
[    11.850] (**) Option "TapButton1" "1"
[    11.850] (**) Option "TapButton2" "3"
[    11.850] (**) Option "TapButton3" "2"
[    11.850] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
[    11.850] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
[    11.850] (**) ETPS/2 Elantech Touchpad: always reports core events
[    11.890] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio4/input/input8/event7"
[    11.890] (II) XINPUT: Adding extended input device "ETPS/2 Elantech Touchpad" (type: TOUCHPAD, id 10)
[    11.890] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) MinSpeed is now constant deceleration 2.5
[    11.890] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) MaxSpeed is now 1.75
[    11.890] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) AccelFactor is now 0.053
[    11.890] (**) ETPS/2 Elantech Touchpad: (accel) keeping acceleration scheme 1
[    11.890] (**) ETPS/2 Elantech Touchpad: (accel) acceleration profile 1
[    11.890] (**) ETPS/2 Elantech Touchpad: (accel) acceleration factor: 2.000
[    11.890] (**) ETPS/2 Elantech Touchpad: (accel) acceleration threshold: 4
[    11.890] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
[    11.891] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/mouse0)
[    11.891] (**) ETPS/2 Elantech Touchpad: Ignoring device from InputClass "touchpad ignore duplicates"
[    11.891] (II) config/udev: Adding input device PC Speaker (/dev/input/event6)
[    11.891] (II) No input driver specified, ignoring this device.
[    11.891] (II) This device may have been added with another device file.
[    35.876] (II) AIGLX: Suspending AIGLX clients for VT switch
[    41.627] (II) config/udev: Adding input device USB2.0 HD UVC WebCam (/dev/input/event9)
[    41.627] (**) USB2.0 HD UVC WebCam: Applying InputClass "evdev keyboard catchall"
[    41.627] (**) USB2.0 HD UVC WebCam: Applying InputClass "keyboard-layout"
[    41.627] (II) Using input driver 'evdev' for 'USB2.0 HD UVC WebCam'
[    41.627] (**) USB2.0 HD UVC WebCam: always reports core events
[    41.627] (**) evdev: USB2.0 HD UVC WebCam: Device: "/dev/input/event9"
[    41.627] (--) evdev: USB2.0 HD UVC WebCam: Vendor 0x4f2 Product 0xb330
[    41.627] (--) evdev: USB2.0 HD UVC WebCam: Found keys
[    41.627] (II) evdev: USB2.0 HD UVC WebCam: Configuring as keyboard
[    41.627] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.5/4-1.5:1.0/input/input10/event9"
[    41.628] (II) XINPUT: Adding extended input device "USB2.0 HD UVC WebCam" (type: KEYBOARD, id 11)
[    41.628] (**) Option "xkb_rules" "evdev"
[    41.628] (**) Option "xkb_model" "pc104"
[    41.628] (**) Option "xkb_layout" "us, ru"
[    41.628] (**) Option "xkb_options" "grp:ctrl_shift_toggle"
[    60.508] (II) UnloadModule: "synaptics"
[    60.508] (II) evdev: AT Translated Set 2 keyboard: Close
[    60.508] (II) UnloadModule: "evdev"
[    60.508] (II) evdev: Sleep Button: Close
[    60.508] (II) UnloadModule: "evdev"
[    60.508] (II) evdev: Power Button: Close
[    60.508] (II) UnloadModule: "evdev"
[    60.508] (II) evdev: Video Bus: Close
[    60.508] (II) UnloadModule: "evdev"
[    60.508] (II) evdev: USB2.0 HD UVC WebCam: Close
[    60.570] (II) UnloadModule: "evdev"
[    60.573] (EE) Server terminated successfully (0). Closing log file.

Last edited by alexey (2013-07-31 19:06:08)

Offline

#3 2013-07-31 06:31:00

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: [SOLVED] Blank screen issue with 3.10.3 kernel, zenbook UX21A, i915

Sweet jesus, you need to at least learn to use code tags alexey.  To see how, either hit the quote button of this post (or any other post with a code block), or see the BBCode link in the "Quick Post" area.

<-- These are code blocks (hit the quote button) -->

Offline

#4 2013-07-31 06:43:39

HalosGhost
Member
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 1,486
Website

Re: [SOLVED] Blank screen issue with 3.10.3 kernel, zenbook UX21A, i915

WonderWoofy wrote:

Sweet jesus, you need to at least learn to use code tags alexey.  To see how, either hit the quote button of this post (or any other post with a code block), or see the BBCode link in the "Quick Post" area.

<-- These are code blocks (hit the quote button) -->

Adding to that, there's no need to double-post. The BBS has an "edit" button for a reason smile

All the best,

-HG


"All errors are ᴘᴇʙᴋᴀᴄ errors—It's just a matter of narrowing down which keyboard and chair." -Trilby
\ldots

Offline

#5 2013-07-31 06:48:25

jasonwryan
Forum & Wiki Admin
From: .nz
Registered: 2009-05-09
Posts: 18,830
Website

Re: [SOLVED] Blank screen issue with 3.10.3 kernel, zenbook UX21A, i915

Splitting out the hijacked part of the thread...
https://wiki.archlinux.org/index.php/Fo … _Hijacking


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#6 2013-07-31 16:43:38

alexey
Member
Registered: 2012-03-29
Posts: 56

Re: [SOLVED] Blank screen issue with 3.10.3 kernel, zenbook UX21A, i915

sorry guys, i do not post to much on web boards. but the problem exists. any advices much appricated.

Offline

#7 2013-07-31 17:13:57

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: [SOLVED] Blank screen issue with 3.10.3 kernel, zenbook UX21A, i915

Please fix your posts, I'd rather not read through them when they are formatted like that.

Offline

#8 2013-07-31 19:07:42

alexey
Member
Registered: 2012-03-29
Posts: 56

Re: [SOLVED] Blank screen issue with 3.10.3 kernel, zenbook UX21A, i915

jasonwryan wrote:

Splitting out the hijacked part of the thread...
https://wiki.archlinux.org/index.php/Fo … _Hijacking

Basically this is not a hjacked post. I described the same issue after pacman -Syyu, provided my version of rescue boot to rollback, and asked any advices.

ps. I did format original post.

Offline

#9 2013-07-31 22:12:43

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: [SOLVED] Blank screen issue with 3.10.3 kernel, zenbook UX21A, i915

The thread was hijacked because you were trying to steal the focus of the thread.  It does not have to do with how similar or different your problem was.

Offline

#10 2013-08-01 01:59:46

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 5,662

Re: [SOLVED] Blank screen issue with 3.10.3 kernel, zenbook UX21A, i915

Can you boot to the command line without downgrading the kernel?

How are you starting X?


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

#11 2013-08-01 06:17:34

alexey
Member
Registered: 2012-03-29
Posts: 56

Re: [SOLVED] Blank screen issue with 3.10.3 kernel, zenbook UX21A, i915

I use systemd's display-manager.service with xdm (xdm-archlinux).
I will try to boot into command line, but i belive the same story as https://bbs.archlinux.org/viewtopic.php?id=167411

However in the initrd rescue console mode it's OK. But no i915 module is loaded yet at that time.

Offline

#12 2013-08-01 06:24:32

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: [SOLVED] Blank screen issue with 3.10.3 kernel, zenbook UX21A, i915

Maybe you just need early KMS.

Offline

#13 2013-08-02 07:10:09

alperenel
Member
From: Turkiye
Registered: 2011-02-05
Posts: 35
Website

Re: [SOLVED] Blank screen issue with 3.10.3 kernel, zenbook UX21A, i915

i have the same problem with asus zenbook prime ux32vd. No X, no tty just black screen. I had to downgrade linux to 3.9.9

Offline

#14 2013-08-06 05:43:29

ZeroLinux
Member
Registered: 2011-10-07
Posts: 88

Re: [SOLVED] Blank screen issue with 3.10.3 kernel, zenbook UX21A, i915

I have the same problem with laptop ASUS Zenbook ux32vd. I deleted all nvidia drivers, bumblebee, bbswitch to eliminate conflicts between drivers. Only driver xf86-video-intel left. But the problem persists. It displays images only on external HDMI display. The embedded laptop screen is black. Driver recognizes internal laptop screen showing its resolution and it is possible to move windows on that screen but it remains black. I don't know what to do. Is it possible that driver wrongly reads some EFI variables and therefore cannon switch on the screen?

Offline

#15 2013-08-19 09:10:06

JoKo
Member
Registered: 2010-04-09
Posts: 37

Re: [SOLVED] Blank screen issue with 3.10.3 kernel, zenbook UX21A, i915

It appears to be a kernel bug.

As a workaround for my Zenbook UX32VD, I have enabled CSM in BIOS settings.

Offline

#16 2013-08-20 17:51:14

ZeroLinux
Member
Registered: 2011-10-07
Posts: 88

Re: [SOLVED] Blank screen issue with 3.10.3 kernel, zenbook UX21A, i915

I posted here in #19 small instruction how to make patched 3.11 kernel without this problem

Offline

#17 2013-08-20 18:32:57

HalosGhost
Member
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 1,486
Website

Re: [SOLVED] Blank screen issue with 3.10.3 kernel, zenbook UX21A, i915

ZeroLinux wrote:

I posted here in #19 small instruction how to make patched 3.11 kernel without this problem

That's not really a fix so much as it is a workaround by moving to linux-mainline. But here is a direct link to the post for anyone who's interested: [link]

All the best,

-HG


"All errors are ᴘᴇʙᴋᴀᴄ errors—It's just a matter of narrowing down which keyboard and chair." -Trilby
\ldots

Offline

#18 2013-08-25 21:04:41

alexey
Member
Registered: 2012-03-29
Posts: 56

Re: [SOLVED] Blank screen issue with 3.10.3 kernel, zenbook UX21A, i915

Hi Guys,

I managed to fix that with a patch. I used PKGBUILD files from latest linux 3.10.9. And small patch i found on the internet (which i have a bit corrected and made it printing BPPHACK message in dmesg apart from drm debug on or not)

i915_intel_dp.patch

--- ./drivers/gpu/drm/i915/intel_dp.c.orig      2013-08-21 02:40:47.000000000 +0400
+++ ./drivers/gpu/drm/i915/intel_dp.c   2013-08-25 22:14:23.708490170 +0400
@@ -702,8 +702,10 @@
        /* Walk through all bpp values. Luckily they're all nicely spaced with 2
         * bpc in between. */
        bpp = min_t(int, 8*3, pipe_config->pipe_bpp);
-       if (is_edp(intel_dp) && dev_priv->edp.bpp)
-               bpp = min_t(int, bpp, dev_priv->edp.bpp);
+       if (is_edp(intel_dp) && dev_priv->edp.bpp) {
+       // bpp = min_t(int, bpp, dev_priv->edp.bpp);
+       printk("BPPHACK - pipe_config->pipe_bpp: %d, dev_priv->edp.bpp: %d\n", pipe_config->pipe_bpp, dev_priv->edp.bpp);
+    }
 
        for (; bpp >= 6*3; bpp -= 2*3) {
                mode_rate = intel_dp_link_required(target_clock, bpp);

Now you may see the dmesg out:

[    0.730850] i915 0000:00:02.0: irq 42 for MSI/MSI-X
[    0.730863] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[    0.730865] [drm] Driver supports precise vblank timestamp query.
[    0.730935] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    0.780107] fbcon: inteldrmfb (fb0) is primary device
[    0.780137] BPPHACK - pipe_config->pipe_bpp: 24, dev_priv->edp.bpp: 18

Here is full PKGBUILD:

# $Id$
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Maintainer: Thomas Baechler <thomas@archlinux.org>

pkgbase=linux               # Build stock -ARCH kernel
#pkgbase=linux-custom       # Build kernel with a different name
_srcname=linux-3.10
pkgver=3.10.9
pkgrel=1
arch=('i686' 'x86_64')
url="http://www.kernel.org/"
license=('GPL2')
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc')
options=('!strip')
source=("http://www.kernel.org/pub/linux/kernel/v3.x/${_srcname}.tar.xz"
        "http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz"
        # the main kernel config files
        'config' 'config.x86_64'
        # standard config files for mkinitcpio ramdisk
        'linux.preset'
        'change-default-console-loglevel.patch'
        'criu-no-expert.patch'
        'i915_intel_dp.patch'
        '3.10.6-logitech-dj.patch')
md5sums=('4f25cd5bec5f8d5a7d935b3f2ccb8481'
         '868d7f5315f95da5e48ed56691a36263'
         '09aad29932fe0d1aa765b314800db9a8'
         '5ffd739d5b3e7c68bf07472aaceca400'
         'eb14dcfd80c00852ef81ded6e826826a'
         'f3def2cefdcbb954c21d8505d23cc83c'
         'd50c1ac47394e9aec637002ef3392bd1'
         '35f63e04d1e5ac86d843a75575083a03'
         '3ff40ca684cfe719723e627e2cef7cea')

_kernelname=${pkgbase#linux}

# module.symbols md5sums
# x86_64
# 8eff46fa6e5604112ea3d0d0848c0005  /lib/modules/3.10.8-1-ARCH/modules.symbols
# i686
# bba2399c1ae0183280c52dffe95f77a2  /lib/modules/3.10.8-1-ARCH/modules.symbols

prepare() {
  cd "${srcdir}/${_srcname}"

  # add upstream patch
  patch -p1 -i "${srcdir}/patch-${pkgver}"

  # FIX for i915 zenbook intel_dp
  patch -p0 -i "${srcdir}/i915_intel_dp.patch"

  # add latest fixes from stable queue, if needed
  # http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git

  # set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)
  # remove this when a Kconfig knob is made available by upstream
  # (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
  patch -Np1 -i "${srcdir}/change-default-console-loglevel.patch"

  # allow criu without expert option set
  # patch from fedora
  patch -Np1 -i "${srcdir}/criu-no-expert.patch"
 
  # fix FS#35991 - [linux] 3.10.x renders Logitech Unified Receivers useless
  patch -Np1 -i  "${srcdir}/3.10.6-logitech-dj.patch"

  if [ "${CARCH}" = "x86_64" ]; then
    cat "${srcdir}/config.x86_64" > ./.config
  else
    cat "${srcdir}/config" > ./.config
  fi

  if [ "${_kernelname}" != "" ]; then
    sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
    sed -i "s|CONFIG_LOCALVERSION_AUTO=.*|CONFIG_LOCALVERSION_AUTO=n|" ./.config
  fi

  # set extraversion to pkgrel
  sed -ri "s|^(EXTRAVERSION =).*|\1 -${pkgrel}|" Makefile

  # don't run depmod on 'make install'. We'll do this ourselves in packaging
  sed -i '2iexit 0' scripts/depmod.sh
}

build() {
  cd "${srcdir}/${_srcname}"

  # get kernel version
  make prepare

  # load configuration
  # Configure the kernel. Replace the line below with one of your choice.
  #make menuconfig # CLI menu for configuration
  #make nconfig # new CLI menu for configuration
  #make xconfig # X-based configuration
  #make oldconfig # using old config from previous kernel version
  # ... or manually edit .config

  # rewrite configuration
  yes "" | make config >/dev/null

  # save configuration for later reuse
  if [ "${CARCH}" = "x86_64" ]; then
    cat .config > "${startdir}/config.x86_64.last"
  else
    cat .config > "${startdir}/config.last"
  fi

  ####################
  # stop here
  # this is useful to configure the kernel
  #msg "Stopping build"; return 1
  ####################

  # build!
  make ${MAKEFLAGS} LOCALVERSION= bzImage modules
}

_package() {
  pkgdesc="The ${pkgbase/linux/Linux} kernel and modules"
  [ "${pkgbase}" = "linux" ] && groups=('base')
  depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7')
  optdepends=('crda: to set the correct wireless channels of your country')
  provides=("kernel26${_kernelname}=${pkgver}")
  conflicts=("kernel26${_kernelname}")
  replaces=("kernel26${_kernelname}")
  backup=("etc/mkinitcpio.d/${pkgbase}.preset")
  install=linux.install

  cd "${srcdir}/${_srcname}"

  KARCH=x86

  # get kernel version
  _kernver="$(make LOCALVERSION= kernelrelease)"
  _basekernel=${_kernver%%-*}
  _basekernel=${_basekernel%.*}

  mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot}
  make LOCALVERSION= INSTALL_MOD_PATH="${pkgdir}" modules_install
  cp arch/$KARCH/boot/bzImage "${pkgdir}/boot/vmlinuz-${pkgbase}"

  # add vmlinux
  install -D -m644 vmlinux "${pkgdir}/usr/src/linux-${_kernver}/vmlinux"

  # set correct depmod command for install
  cp -f "${startdir}/${install}" "${startdir}/${install}.pkg"
  true && install=${install}.pkg
  sed \
    -e  "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/" \
    -e  "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/" \
    -i "${startdir}/${install}"

  # install mkinitcpio preset file for kernel
  install -D -m644 "${srcdir}/linux.preset" "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset"
  sed \
    -e "1s|'linux.*'|'${pkgbase}'|" \
    -e "s|ALL_kver=.*|ALL_kver=\"/boot/vmlinuz-${pkgbase}\"|" \
    -e "s|default_image=.*|default_image=\"/boot/initramfs-${pkgbase}.img\"|" \
    -e "s|fallback_image=.*|fallback_image=\"/boot/initramfs-${pkgbase}-fallback.img\"|" \
    -i "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset"

  # remove build and source links
  rm -f "${pkgdir}"/lib/modules/${_kernver}/{source,build}
  # remove the firmware
  rm -rf "${pkgdir}/lib/firmware"
  # gzip -9 all modules to save 100MB of space
  find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \;
  # make room for external modules
  ln -s "../extramodules-${_basekernel}${_kernelname:--ARCH}" "${pkgdir}/lib/modules/${_kernver}/extramodules"
  # add real version for building modules and running depmod from post_install/upgrade
  mkdir -p "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--ARCH}"
  echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--ARCH}/version"

  # Now we call depmod...
  depmod -b "$pkgdir" -F System.map "$_kernver"

  # move module tree /lib -> /usr/lib
  mv "$pkgdir/lib" "$pkgdir/usr"
}

_package-headers() {
  pkgdesc="Header files and scripts for building modules for ${pkgbase/linux/Linux} kernel"
  provides=("kernel26${_kernelname}-headers=${pkgver}")
  conflicts=("kernel26${_kernelname}-headers")
  replaces=("kernel26${_kernelname}-headers")

  install -dm755 "${pkgdir}/usr/lib/modules/${_kernver}"

  cd "${pkgdir}/usr/lib/modules/${_kernver}"
  ln -sf ../../../src/linux-${_kernver} build

  cd "${srcdir}/${_srcname}"
  install -D -m644 Makefile \
    "${pkgdir}/usr/src/linux-${_kernver}/Makefile"
  install -D -m644 kernel/Makefile \
    "${pkgdir}/usr/src/linux-${_kernver}/kernel/Makefile"
  install -D -m644 .config \
    "${pkgdir}/usr/src/linux-${_kernver}/.config"

  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include"

  for i in acpi asm-generic config crypto drm generated keys linux math-emu \
    media net pcmcia scsi sound trace uapi video xen; do
    cp -a include/${i} "${pkgdir}/usr/src/linux-${_kernver}/include/"
  done

  # copy arch includes for external modules
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/arch/x86"
  cp -a arch/x86/include "${pkgdir}/usr/src/linux-${_kernver}/arch/x86/"

  # copy files necessary for later builds, like nvidia and vmware
  cp Module.symvers "${pkgdir}/usr/src/linux-${_kernver}"
  cp -a scripts "${pkgdir}/usr/src/linux-${_kernver}"

  # fix permissions on scripts dir
  chmod og-w -R "${pkgdir}/usr/src/linux-${_kernver}/scripts"
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/.tmp_versions"

  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/kernel"

  cp arch/${KARCH}/Makefile "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/"

  if [ "${CARCH}" = "i686" ]; then
    cp arch/${KARCH}/Makefile_32.cpu "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/"
  fi

  cp arch/${KARCH}/kernel/asm-offsets.s "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/kernel/"

  # add headers for lirc package
  # pci
  for i in bt8xx cx88 saa7134; do
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/pci/${i}"
    cp -a drivers/media/pci/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/pci/${i}"
  done
  # usb
  for i in cpia2 em28xx pwc sn9c102; do
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/${i}"
    cp -a drivers/media/usb/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/${i}"
  done
  # i2c
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c"
  cp drivers/media/i2c/*.h  "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/"
  for i in cx25840; do
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/${i}"
    cp -a drivers/media/i2c/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/${i}"
  done

  # add docbook makefile
  install -D -m644 Documentation/DocBook/Makefile \
    "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile"

  # add dm headers
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/md"
  cp drivers/md/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/md"

  # add inotify.h
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include/linux"
  cp include/linux/inotify.h "${pkgdir}/usr/src/linux-${_kernver}/include/linux/"

  # add wireless headers
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/"
  cp net/mac80211/*.h "${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/"

  # add dvb headers for external modules
  # in reference to:
  # http://bugs.archlinux.org/task/9912
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-core"
  cp drivers/media/dvb-core/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-core/"
  # and...
  # http://bugs.archlinux.org/task/11194
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/"
  cp include/config/dvb/*.h "${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/"

  # add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new
  # in reference to:
  # http://bugs.archlinux.org/task/13146
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/"
  cp drivers/media/dvb-frontends/lgdt330x.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/"
  cp drivers/media/i2c/msp3400-driver.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/"

  # add dvb headers
  # in reference to:
  # http://bugs.archlinux.org/task/20402
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/dvb-usb"
  cp drivers/media/usb/dvb-usb/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/dvb-usb/"
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends"
  cp drivers/media/dvb-frontends/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/"
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/tuners"
  cp drivers/media/tuners/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/tuners/"

  # add xfs and shmem for aufs building
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs"
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/mm"
  cp fs/xfs/xfs_sb.h "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h"

  # copy in Kconfig files
  for i in `find . -name "Kconfig*"`; do
    mkdir -p "${pkgdir}"/usr/src/linux-${_kernver}/`echo ${i} | sed 's|/Kconfig.*||'`
    cp ${i} "${pkgdir}/usr/src/linux-${_kernver}/${i}"
  done

  chown -R root.root "${pkgdir}/usr/src/linux-${_kernver}"
  find "${pkgdir}/usr/src/linux-${_kernver}" -type d -exec chmod 755 {} \;

  # strip scripts directory
  find "${pkgdir}/usr/src/linux-${_kernver}/scripts" -type f -perm -u+w 2>/dev/null | while read binary ; do
    case "$(file -bi "${binary}")" in
      *application/x-sharedlib*) # Libraries (.so)
        /usr/bin/strip ${STRIP_SHARED} "${binary}";;
      *application/x-archive*) # Libraries (.a)
        /usr/bin/strip ${STRIP_STATIC} "${binary}";;
      *application/x-executable*) # Binaries
        /usr/bin/strip ${STRIP_BINARIES} "${binary}";;
    esac
  done

  # remove unneeded architectures
  rm -rf "${pkgdir}"/usr/src/linux-${_kernver}/arch/{alpha,arc,arm,arm26,arm64,avr32,blackfin,c6x,cris,frv,h8300,hexagon,ia64,m32r,m68k,m68knommu,metag,mips,microblaze,mn10300,openrisc,parisc,powerpc,ppc,s390,score,sh,sh64,sparc,sparc64,tile,unicore32,um,v850,xtensa}
}

_package-docs() {
  pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase/linux/Linux} kernel"
  provides=("kernel26${_kernelname}-docs=${pkgver}")
  conflicts=("kernel26${_kernelname}-docs")
  replaces=("kernel26${_kernelname}-docs")

  cd "${srcdir}/${_srcname}"

  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}"
  cp -al Documentation "${pkgdir}/usr/src/linux-${_kernver}"
  find "${pkgdir}" -type f -exec chmod 444 {} \;
  find "${pkgdir}" -type d -exec chmod 755 {} \;

  # remove a file already in linux package
  rm -f "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile"
}

pkgname=("${pkgbase}" "${pkgbase}-headers" "${pkgbase}-docs")
for _p in ${pkgname[@]}; do
  eval "package_${_p}() {
    _package${_p#${pkgbase}}
  }"
done

# vim:set ts=8 sts=2 sw=2 et:

Everyting is just fine. Do not forget to get other files as:

       'config' 'config.x86_64'
       'linux.preset'
        'change-default-console-loglevel.patch'
        'criu-no-expert.patch'
        'i915_intel_dp.patch'
        '3.10.6-logitech-dj.patch'

Hope this would help someone. At least i am on 3.10 :-)

Offline

#19 2013-08-26 19:59:57

ZeroLinux
Member
Registered: 2011-10-07
Posts: 88

Re: [SOLVED] Blank screen issue with 3.10.3 kernel, zenbook UX21A, i915

alexey, thank you a lot!!!
Will you be able to upload your work to AUR?

Offline

#20 2013-08-26 23:55:52

alexey
Member
Registered: 2012-03-29
Posts: 56

Re: [SOLVED] Blank screen issue with 3.10.3 kernel, zenbook UX21A, i915

HI!

When i try to submit source package to AUR it says: "Invalid name: only lowercase letters are allowed."
While i choose category "kernels" and try to upload file linux.tar.gz:

linux/
linux/criu-no-expert.patch
linux/config.x86_64
linux/linux.preset
linux/linux.install
linux/change-default-console-loglevel.patch
linux/intel_dp-code-rearrangement.patch
linux/config
linux/3.10.6-logitech-dj.patch
linux/PKGBUILD

Anyway guys, i changed a bit the patch according to Bug 59841. I used this patch by Jkp and it does work perfectly.

To build this kernel you need linux kernel source package files and replace PKGBUILD with:

# $Id$
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Maintainer: Thomas Baechler <thomas@archlinux.org>

pkgbase=linux               # Build stock -ARCH kernel
#pkgbase=linux-custom       # Build kernel with a different name
_srcname=linux-3.10
pkgver=3.10.9
pkgrel=1
arch=('i686' 'x86_64')
url="http://www.kernel.org/"
license=('GPL2')
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc')
options=('!strip')
source=("http://www.kernel.org/pub/linux/kernel/v3.x/${_srcname}.tar.xz"
        "http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz"
        # the main kernel config files
        'config' 'config.x86_64'
        # standard config files for mkinitcpio ramdisk
        'linux.preset'
        'change-default-console-loglevel.patch'
        'criu-no-expert.patch'
        'intel_dp-code-rearrangement.patch'
        '3.10.6-logitech-dj.patch')
md5sums=('4f25cd5bec5f8d5a7d935b3f2ccb8481'
         '868d7f5315f95da5e48ed56691a36263'
         '09aad29932fe0d1aa765b314800db9a8'
         '5ffd739d5b3e7c68bf07472aaceca400'
         'eb14dcfd80c00852ef81ded6e826826a'
         'f3def2cefdcbb954c21d8505d23cc83c'
         'd50c1ac47394e9aec637002ef3392bd1'
         '47f1ca97cc4fc8131348e1b79102afb5'
         '3ff40ca684cfe719723e627e2cef7cea')

_kernelname=${pkgbase#linux}

# module.symbols md5sums
# x86_64
# 8eff46fa6e5604112ea3d0d0848c0005  /lib/modules/3.10.8-1-ARCH/modules.symbols
# i686
# bba2399c1ae0183280c52dffe95f77a2  /lib/modules/3.10.8-1-ARCH/modules.symbols

prepare() {
  cd "${srcdir}/${_srcname}"

  # add upstream patch
  patch -p1 -i "${srcdir}/patch-${pkgver}"

  # add latest fixes from stable queue, if needed
  # http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git

  # code rearrangement patch https://bugzilla.kernel.org/show_bug.cgi?id=59841
  patch -Np1 -b -i "${srcdir}/intel_dp-code-rearrangement.patch"

  # set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)
  # remove this when a Kconfig knob is made available by upstream
  # (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
  patch -Np1 -i "${srcdir}/change-default-console-loglevel.patch"

  # allow criu without expert option set
  # patch from fedora
  patch -Np1 -i "${srcdir}/criu-no-expert.patch"
 
  # fix FS#35991 - [linux] 3.10.x renders Logitech Unified Receivers useless
  patch -Np1 -i  "${srcdir}/3.10.6-logitech-dj.patch"

  if [ "${CARCH}" = "x86_64" ]; then
    cat "${srcdir}/config.x86_64" > ./.config
  else
    cat "${srcdir}/config" > ./.config
  fi

  if [ "${_kernelname}" != "" ]; then
    sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
    sed -i "s|CONFIG_LOCALVERSION_AUTO=.*|CONFIG_LOCALVERSION_AUTO=n|" ./.config
  fi

  # set extraversion to pkgrel
  sed -ri "s|^(EXTRAVERSION =).*|\1 -${pkgrel}|" Makefile

  # don't run depmod on 'make install'. We'll do this ourselves in packaging
  sed -i '2iexit 0' scripts/depmod.sh
}

build() {
  cd "${srcdir}/${_srcname}"

  # get kernel version
  make prepare

  # load configuration
  # Configure the kernel. Replace the line below with one of your choice.
  #make menuconfig # CLI menu for configuration
  #make nconfig # new CLI menu for configuration
  #make xconfig # X-based configuration
  #make oldconfig # using old config from previous kernel version
  # ... or manually edit .config

  # rewrite configuration
  yes "" | make config >/dev/null

  # save configuration for later reuse
  if [ "${CARCH}" = "x86_64" ]; then
    cat .config > "${startdir}/config.x86_64.last"
  else
    cat .config > "${startdir}/config.last"
  fi

  ####################
  # stop here
  # this is useful to configure the kernel
  #msg "Stopping build"; return 1
  ####################

  # build!
  make ${MAKEFLAGS} LOCALVERSION= bzImage modules
}

_package() {
  pkgdesc="The ${pkgbase/linux/Linux} kernel and modules"
  [ "${pkgbase}" = "linux" ] && groups=('base')
  depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7')
  optdepends=('crda: to set the correct wireless channels of your country')
  provides=("kernel26${_kernelname}=${pkgver}")
  conflicts=("kernel26${_kernelname}")
  replaces=("kernel26${_kernelname}")
  backup=("etc/mkinitcpio.d/${pkgbase}.preset")
  install=linux.install

  cd "${srcdir}/${_srcname}"

  KARCH=x86

  # get kernel version
  _kernver="$(make LOCALVERSION= kernelrelease)"
  _basekernel=${_kernver%%-*}
  _basekernel=${_basekernel%.*}

  mkdir -p "${pkgdir}"/{lib/modules,lib/firmware,boot}
  make LOCALVERSION= INSTALL_MOD_PATH="${pkgdir}" modules_install
  cp arch/$KARCH/boot/bzImage "${pkgdir}/boot/vmlinuz-${pkgbase}"

  # add vmlinux
  install -D -m644 vmlinux "${pkgdir}/usr/src/linux-${_kernver}/vmlinux"

  # set correct depmod command for install
  cp -f "${startdir}/${install}" "${startdir}/${install}.pkg"
  true && install=${install}.pkg
  sed \
    -e  "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/" \
    -e  "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/" \
    -i "${startdir}/${install}"

  # install mkinitcpio preset file for kernel
  install -D -m644 "${srcdir}/linux.preset" "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset"
  sed \
    -e "1s|'linux.*'|'${pkgbase}'|" \
    -e "s|ALL_kver=.*|ALL_kver=\"/boot/vmlinuz-${pkgbase}\"|" \
    -e "s|default_image=.*|default_image=\"/boot/initramfs-${pkgbase}.img\"|" \
    -e "s|fallback_image=.*|fallback_image=\"/boot/initramfs-${pkgbase}-fallback.img\"|" \
    -i "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset"

  # remove build and source links
  rm -f "${pkgdir}"/lib/modules/${_kernver}/{source,build}
  # remove the firmware
  rm -rf "${pkgdir}/lib/firmware"
  # gzip -9 all modules to save 100MB of space
  find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \;
  # make room for external modules
  ln -s "../extramodules-${_basekernel}${_kernelname:--ARCH}" "${pkgdir}/lib/modules/${_kernver}/extramodules"
  # add real version for building modules and running depmod from post_install/upgrade
  mkdir -p "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--ARCH}"
  echo "${_kernver}" > "${pkgdir}/lib/modules/extramodules-${_basekernel}${_kernelname:--ARCH}/version"

  # Now we call depmod...
  depmod -b "$pkgdir" -F System.map "$_kernver"

  # move module tree /lib -> /usr/lib
  mv "$pkgdir/lib" "$pkgdir/usr"
}

_package-headers() {
  pkgdesc="Header files and scripts for building modules for ${pkgbase/linux/Linux} kernel"
  provides=("kernel26${_kernelname}-headers=${pkgver}")
  conflicts=("kernel26${_kernelname}-headers")
  replaces=("kernel26${_kernelname}-headers")

  install -dm755 "${pkgdir}/usr/lib/modules/${_kernver}"

  cd "${pkgdir}/usr/lib/modules/${_kernver}"
  ln -sf ../../../src/linux-${_kernver} build

  cd "${srcdir}/${_srcname}"
  install -D -m644 Makefile \
    "${pkgdir}/usr/src/linux-${_kernver}/Makefile"
  install -D -m644 kernel/Makefile \
    "${pkgdir}/usr/src/linux-${_kernver}/kernel/Makefile"
  install -D -m644 .config \
    "${pkgdir}/usr/src/linux-${_kernver}/.config"

  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include"

  for i in acpi asm-generic config crypto drm generated keys linux math-emu \
    media net pcmcia scsi sound trace uapi video xen; do
    cp -a include/${i} "${pkgdir}/usr/src/linux-${_kernver}/include/"
  done

  # copy arch includes for external modules
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/arch/x86"
  cp -a arch/x86/include "${pkgdir}/usr/src/linux-${_kernver}/arch/x86/"

  # copy files necessary for later builds, like nvidia and vmware
  cp Module.symvers "${pkgdir}/usr/src/linux-${_kernver}"
  cp -a scripts "${pkgdir}/usr/src/linux-${_kernver}"

  # fix permissions on scripts dir
  chmod og-w -R "${pkgdir}/usr/src/linux-${_kernver}/scripts"
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/.tmp_versions"

  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/kernel"

  cp arch/${KARCH}/Makefile "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/"

  if [ "${CARCH}" = "i686" ]; then
    cp arch/${KARCH}/Makefile_32.cpu "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/"
  fi

  cp arch/${KARCH}/kernel/asm-offsets.s "${pkgdir}/usr/src/linux-${_kernver}/arch/${KARCH}/kernel/"

  # add headers for lirc package
  # pci
  for i in bt8xx cx88 saa7134; do
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/pci/${i}"
    cp -a drivers/media/pci/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/pci/${i}"
  done
  # usb
  for i in cpia2 em28xx pwc sn9c102; do
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/${i}"
    cp -a drivers/media/usb/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/${i}"
  done
  # i2c
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c"
  cp drivers/media/i2c/*.h  "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/"
  for i in cx25840; do
    mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/${i}"
    cp -a drivers/media/i2c/${i}/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/${i}"
  done

  # add docbook makefile
  install -D -m644 Documentation/DocBook/Makefile \
    "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile"

  # add dm headers
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/md"
  cp drivers/md/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/md"

  # add inotify.h
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include/linux"
  cp include/linux/inotify.h "${pkgdir}/usr/src/linux-${_kernver}/include/linux/"

  # add wireless headers
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/"
  cp net/mac80211/*.h "${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/"

  # add dvb headers for external modules
  # in reference to:
  # http://bugs.archlinux.org/task/9912
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-core"
  cp drivers/media/dvb-core/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-core/"
  # and...
  # http://bugs.archlinux.org/task/11194
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/"
  cp include/config/dvb/*.h "${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/"

  # add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new
  # in reference to:
  # http://bugs.archlinux.org/task/13146
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/"
  cp drivers/media/dvb-frontends/lgdt330x.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/"
  cp drivers/media/i2c/msp3400-driver.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/i2c/"

  # add dvb headers
  # in reference to:
  # http://bugs.archlinux.org/task/20402
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/dvb-usb"
  cp drivers/media/usb/dvb-usb/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/usb/dvb-usb/"
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends"
  cp drivers/media/dvb-frontends/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb-frontends/"
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/tuners"
  cp drivers/media/tuners/*.h "${pkgdir}/usr/src/linux-${_kernver}/drivers/media/tuners/"

  # add xfs and shmem for aufs building
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs"
  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/mm"
  cp fs/xfs/xfs_sb.h "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h"

  # copy in Kconfig files
  for i in `find . -name "Kconfig*"`; do
    mkdir -p "${pkgdir}"/usr/src/linux-${_kernver}/`echo ${i} | sed 's|/Kconfig.*||'`
    cp ${i} "${pkgdir}/usr/src/linux-${_kernver}/${i}"
  done

  chown -R root.root "${pkgdir}/usr/src/linux-${_kernver}"
  find "${pkgdir}/usr/src/linux-${_kernver}" -type d -exec chmod 755 {} \;

  # strip scripts directory
  find "${pkgdir}/usr/src/linux-${_kernver}/scripts" -type f -perm -u+w 2>/dev/null | while read binary ; do
    case "$(file -bi "${binary}")" in
      *application/x-sharedlib*) # Libraries (.so)
        /usr/bin/strip ${STRIP_SHARED} "${binary}";;
      *application/x-archive*) # Libraries (.a)
        /usr/bin/strip ${STRIP_STATIC} "${binary}";;
      *application/x-executable*) # Binaries
        /usr/bin/strip ${STRIP_BINARIES} "${binary}";;
    esac
  done

  # remove unneeded architectures
  rm -rf "${pkgdir}"/usr/src/linux-${_kernver}/arch/{alpha,arc,arm,arm26,arm64,avr32,blackfin,c6x,cris,frv,h8300,hexagon,ia64,m32r,m68k,m68knommu,metag,mips,microblaze,mn10300,openrisc,parisc,powerpc,ppc,s390,score,sh,sh64,sparc,sparc64,tile,unicore32,um,v850,xtensa}
}

_package-docs() {
  pkgdesc="Kernel hackers manual - HTML documentation that comes with the ${pkgbase/linux/Linux} kernel"
  provides=("kernel26${_kernelname}-docs=${pkgver}")
  conflicts=("kernel26${_kernelname}-docs")
  replaces=("kernel26${_kernelname}-docs")

  cd "${srcdir}/${_srcname}"

  mkdir -p "${pkgdir}/usr/src/linux-${_kernver}"
  cp -al Documentation "${pkgdir}/usr/src/linux-${_kernver}"
  find "${pkgdir}" -type f -exec chmod 444 {} \;
  find "${pkgdir}" -type d -exec chmod 755 {} \;

  # remove a file already in linux package
  rm -f "${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile"
}

pkgname=("${pkgbase}" "${pkgbase}-headers" "${pkgbase}-docs")
for _p in ${pkgname[@]}; do
  eval "package_${_p}() {
    _package${_p#${pkgbase}}
  }"
done

# vim:set ts=8 sts=2 sw=2 et:

Also add file intel_dp-code-rearrangement.patch

--- linux-3.10/drivers/gpu/drm/i915/intel_dp.c.orig     2013-08-27 01:28:15.113882085 +0400
+++ linux-3.10/drivers/gpu/drm/i915/intel_dp.c  2013-08-27 02:44:47.905749264 +0400
@@ -702,8 +702,6 @@
        /* Walk through all bpp values. Luckily they're all nicely spaced with 2
         * bpc in between. */
        bpp = min_t(int, 8*3, pipe_config->pipe_bpp);
-       if (is_edp(intel_dp) && dev_priv->edp.bpp)
-               bpp = min_t(int, bpp, dev_priv->edp.bpp);
 
        for (; bpp >= 6*3; bpp -= 2*3) {
                mode_rate = intel_dp_link_required(target_clock, bpp);
@@ -742,7 +740,6 @@
        intel_dp->link_bw = bws[clock];
        intel_dp->lane_count = lane_count;
        adjusted_mode->clock = drm_dp_bw_code_to_link_rate(intel_dp->link_bw);
-       pipe_config->pipe_bpp = bpp;
        pipe_config->pixel_target_clock = target_clock;
 
        DRM_DEBUG_KMS("DP link bw %02x lane count %d clock %d bpp %d\n",
@@ -755,6 +752,10 @@
                               target_clock, adjusted_mode->clock,
                               &pipe_config->dp_m_n);
 
+       if (is_edp(intel_dp) && dev_priv->edp.bpp)
+               bpp = min_t(int, bpp, dev_priv->edp.bpp);
+       pipe_config->pipe_bpp = bpp;
+
        return true;
 }
 

Can anyone also please help me with advice on why i can not submit to aur with this error "Invalid name: only lowercase letters are allowed." The exact file name of source package is linux.tar.gz

Thanks!

Offline

#21 2013-08-27 00:11:56

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 5,662

Re: [SOLVED] Blank screen issue with 3.10.3 kernel, zenbook UX21A, i915

You can't submit a package with a name which clashes with the name of a package in the official repos. 'linux' is probably about the most basic clash you could try yikes.

EDIT: Obviously I agree that error is singularly unhelpful but I'm guessing it is just a poor error report. In any case, you'll have to change the name to avoid the clash.

Last edited by cfr (2013-08-27 00:13:06)


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

#22 2013-08-27 05:36:18

ZeroLinux
Member
Registered: 2011-10-07
Posts: 88

Re: [SOLVED] Blank screen issue with 3.10.3 kernel, zenbook UX21A, i915

I'd like to apply your patch. But I don't know where to take these files:

'config' 'config.x86_64'  
'linux.preset' 
'change-default-console-loglevel.patch'
'criu-no-expert.patch'
'3.10.6-logitech-dj.patch'

Update: I found them here
I tried to makepkg. Have error:

patching file drivers/gpu/drm/i915/intel_dp.c
Hunk #1 FAILED at 702.
Hunk #2 FAILED at 742.
Hunk #3 FAILED at 755.
3 out of 3 hunks FAILED -- saving rejects to file drivers/gpu/drm/i915/intel_dp.c.rej
==> ERROR: A failure occurred in prepare().
    Aborting...

Last edited by ZeroLinux (2013-08-27 09:35:05)

Offline

#23 2013-08-27 09:40:27

alexey
Member
Registered: 2012-03-29
Posts: 56

Re: [SOLVED] Blank screen issue with 3.10.3 kernel, zenbook UX21A, i915

Hi ZeroLinux,

If you could paste here your

drivers/gpu/drm/i915/intel_dp.c.rej
and original drivers/gpu/drm/i915/intel_dp.c

Offline

#24 2013-08-27 09:48:49

ZeroLinux
Member
Registered: 2011-10-07
Posts: 88

Re: [SOLVED] Blank screen issue with 3.10.3 kernel, zenbook UX21A, i915

Sure. Here it is:
intel_dp.c.rej

cat src/linux-3.10/drivers/gpu/drm/i915/intel_dp.c.rej
--- drivers/gpu/drm/i915/intel_dp.c.orig     2013-08-27 01:28:15.113882085 +0400
+++ drivers/gpu/drm/i915/intel_dp.c  2013-08-27 02:44:47.905749264 +0400
@@ -702,8 +702,6 @@
        /* Walk through all bpp values. Luckily they're all nicely spaced with 2
         * bpc in between. */
        bpp = min_t(int, 8*3, pipe_config->pipe_bpp);
-       if (is_edp(intel_dp) && dev_priv->edp.bpp)
-               bpp = min_t(int, bpp, dev_priv->edp.bpp);
 
        for (; bpp >= 6*3; bpp -= 2*3) {
                mode_rate = intel_dp_link_required(target_clock, bpp);
@@ -742,7 +740,6 @@
        intel_dp->link_bw = bws[clock];
        intel_dp->lane_count = lane_count;
        adjusted_mode->clock = drm_dp_bw_code_to_link_rate(intel_dp->link_bw);
-       pipe_config->pipe_bpp = bpp;
        pipe_config->pixel_target_clock = target_clock;
 
        DRM_DEBUG_KMS("DP link bw %02x lane count %d clock %d bpp %d\n",
@@ -755,6 +752,10 @@
                               target_clock, adjusted_mode->clock,
                               &pipe_config->dp_m_n);
 
+       if (is_edp(intel_dp) && dev_priv->edp.bpp)
+               bpp = min_t(int, bpp, dev_priv->edp.bpp);
+       pipe_config->pipe_bpp = bpp;
+
        return true;
 }

intel_dp.c

Offline

#25 2013-08-27 09:50:47

alexey
Member
Registered: 2012-03-29
Posts: 56

Re: [SOLVED] Blank screen issue with 3.10.3 kernel, zenbook UX21A, i915

ZeroLinux,

This is makepkge --source output (which does patching)

$ makepkg --source -f
==> Making package: linux-ak 3.10.9-1 (Tue Aug 27 13:49:00 MSK 2013)
==> Retrieving sources...
  -> Found linux-3.10.tar.xz
  -> Found patch-3.10.9.xz
  -> Found config
  -> Found config.x86_64
  -> Found linux.preset
  -> Found change-default-console-loglevel.patch
  -> Found criu-no-expert.patch
  -> Found intel_dp-code-rearrangement.patch
  -> Found 3.10.6-logitech-dj.patch
==> Validating source files with md5sums...
    linux-3.10.tar.xz ... Passed
    patch-3.10.9.xz ... Passed
    config ... Passed
    config.x86_64 ... Passed
    linux.preset ... Passed
    change-default-console-loglevel.patch ... Passed
    criu-no-expert.patch ... Passed
    intel_dp-code-rearrangement.patch ... Passed
    3.10.6-logitech-dj.patch ... Passed
==> Entering fakeroot environment...
==> Creating source package...
  -> Adding PKGBUILD...
  -> Adding config...
  -> Adding config.x86_64...
  -> Adding linux.preset...
  -> Adding change-default-console-loglevel.patch...
  -> Adding criu-no-expert.patch...
  -> Adding intel_dp-code-rearrangement.patch...
  -> Adding 3.10.6-logitech-dj.patch...
  -> Adding install file (linux.install)...
  -> Compressing source package...
==> Leaving fakeroot environment.
==> Source package created: linux-ak (Tue Aug 27 13:49:01 MSK 2013)


BTW, guys i have renamed package to linux-ak and i am still getting message "Invalid name: only lowercase letters are allowed." trying to submit to AUR.

Offline

Board footer

Powered by FluxBB